lyflowchart 1.0.92 → 1.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ function Q_() {
11
11
  (function(n, r) {
12
12
  e.exports = r();
13
13
  })($c, function() {
14
- var n = navigator.userAgent, r = navigator.platform, a = /gecko\/\d/i.test(n), o = /MSIE \d/.test(n), l = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(n), u = /Edge\/(\d+)/.exec(n), c = o || l || u, d = c && (o ? document.documentMode || 6 : +(u || l)[1]), v = !u && /WebKit\//.test(n), m = v && /Qt\/\d+\.\d+/.test(n), y = !u && /Chrome\/(\d+)/.exec(n), b = y && +y[1], E = /Opera\//.test(n), S = /Apple Computer/.test(navigator.vendor), A = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(n), F = /PhantomJS/.test(n), M = S && (/Mobile\/\w+/.test(n) || navigator.maxTouchPoints > 2), D = /Android/.test(n), R = M || D || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(n), N = M || /Mac/.test(r), O = /\bCrOS\b/.test(n), G = /win/i.test(r), K = E && n.match(/Version\/(\d*\.\d*)/);
14
+ var n = navigator.userAgent, r = navigator.platform, a = /gecko\/\d/i.test(n), o = /MSIE \d/.test(n), l = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(n), u = /Edge\/(\d+)/.exec(n), c = o || l || u, d = c && (o ? document.documentMode || 6 : +(u || l)[1]), v = !u && /WebKit\//.test(n), m = v && /Qt\/\d+\.\d+/.test(n), y = !u && /Chrome\/(\d+)/.exec(n), b = y && +y[1], E = /Opera\//.test(n), x = /Apple Computer/.test(navigator.vendor), A = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(n), F = /PhantomJS/.test(n), M = x && (/Mobile\/\w+/.test(n) || navigator.maxTouchPoints > 2), D = /Android/.test(n), R = M || D || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(n), N = M || /Mac/.test(r), O = /\bCrOS\b/.test(n), G = /win/i.test(r), K = E && n.match(/Version\/(\d*\.\d*)/);
15
15
  K && (K = Number(K[1])), K && K >= 15 && (E = !1, v = !0);
16
16
  var U = N && (m || E && (K == null || K < 12.11)), $ = a || c && d >= 9;
17
17
  function z(i) {
@@ -66,7 +66,7 @@ function Q_() {
66
66
  return !0;
67
67
  while (s = s.parentNode);
68
68
  }
69
- function x(i) {
69
+ function S(i) {
70
70
  var s = i.ownerDocument || i, f;
71
71
  try {
72
72
  f = i.activeElement;
@@ -2340,7 +2340,7 @@ b`.split(/\n/).length != 3 ? function(i) {
2340
2340
  function tC(i) {
2341
2341
  var s = i.cm;
2342
2342
  i.adjustWidthTo != null && (s.display.sizer.style.minWidth = i.adjustWidthTo + "px", i.maxScrollLeft < s.doc.scrollLeft && Qa(s, Math.min(s.display.scroller.scrollLeft, i.maxScrollLeft), !0), s.display.maxLineChanged = !1);
2343
- var f = i.focus && i.focus == x(ee(s));
2343
+ var f = i.focus && i.focus == S(ee(s));
2344
2344
  i.preparedSelection && s.display.input.showSelection(i.preparedSelection, f), (i.updatedDisplay || i.startHeight != s.doc.height) && Uo(s, i.barMeasure), i.updatedDisplay && ld(s, i.barMeasure), i.selectionChanged && ed(s), s.state.focused && i.updateInput && s.display.input.reset(i.typing), f && Rg(i.cm);
2345
2345
  }
2346
2346
  function nC(i) {
@@ -2453,7 +2453,7 @@ b`.split(/\n/).length != 3 ? function(i) {
2453
2453
  function aC(i) {
2454
2454
  if (i.hasFocus())
2455
2455
  return null;
2456
- var s = x(ee(i));
2456
+ var s = S(ee(i));
2457
2457
  if (!s || !le(i.display.lineDiv, s))
2458
2458
  return null;
2459
2459
  var f = { activeElt: s };
@@ -2464,7 +2464,7 @@ b`.split(/\n/).length != 3 ? function(i) {
2464
2464
  return f;
2465
2465
  }
2466
2466
  function oC(i) {
2467
- if (!(!i || !i.activeElt || i.activeElt == x(ne(i.activeElt))) && (i.activeElt.focus(), !/^(INPUT|TEXTAREA)$/.test(i.activeElt.nodeName) && i.anchorNode && le(document.body, i.anchorNode) && le(document.body, i.focusNode))) {
2467
+ if (!(!i || !i.activeElt || i.activeElt == S(ne(i.activeElt))) && (i.activeElt.focus(), !/^(INPUT|TEXTAREA)$/.test(i.activeElt.nodeName) && i.anchorNode && le(document.body, i.anchorNode) && le(document.body, i.focusNode))) {
2468
2468
  var s = i.activeElt.ownerDocument, f = s.defaultView.getSelection(), p = s.createRange();
2469
2469
  p.setEnd(i.anchorNode, i.anchorOffset), p.collapse(!1), f.removeAllRanges(), f.addRange(p), f.extend(i.focusNode, i.focusOffset);
2470
2470
  }
@@ -2603,7 +2603,7 @@ b`.split(/\n/).length != 3 ? function(i) {
2603
2603
  h.mover = j("div", [g], null, "position: relative"), h.sizer = j("div", [h.mover], "CodeMirror-sizer"), h.sizerWidth = null, h.heightForcer = j("div", null, null, "position: absolute; height: " + he + "px; width: 1px;"), h.gutters = j("div", null, "CodeMirror-gutters"), h.lineGutter = null, h.scroller = j("div", [h.sizer, h.heightForcer, h.gutters], "CodeMirror-scroll"), h.scroller.setAttribute("tabIndex", "-1"), h.wrapper = j("div", [h.scrollbarFiller, h.gutterFiller, h.scroller], "CodeMirror"), y && b === 105 && (h.wrapper.style.clipPath = "inset(0px)"), h.wrapper.setAttribute("translate", "no"), c && d < 8 && (h.gutters.style.zIndex = -1, h.scroller.style.paddingRight = 0), !v && !(a && R) && (h.scroller.draggable = !0), i && (i.appendChild ? i.appendChild(h.wrapper) : i(h.wrapper)), h.viewFrom = h.viewTo = s.first, h.reportedViewFrom = h.reportedViewTo = s.first, h.view = [], h.renderedView = null, h.externalMeasured = null, h.viewOffset = 0, h.lastWrapHeight = h.lastWrapWidth = 0, h.updateLineNumbers = null, h.nativeBarWidth = h.barHeight = h.barWidth = 0, h.scrollbarsClipped = !1, h.lineNumWidth = h.lineNumInnerWidth = h.lineNumChars = null, h.alignWidgets = !1, h.cachedCharWidth = h.cachedTextHeight = h.cachedPaddingH = null, h.maxLine = null, h.maxLineLength = 0, h.maxLineChanged = !1, h.wheelDX = h.wheelDY = h.wheelStartX = h.wheelStartY = null, h.shift = !1, h.selForContextMenu = null, h.activeTouch = null, h.gutterSpecs = ud(p.gutters, p.lineNumbers), $g(h), f.init(h);
2604
2604
  }
2605
2605
  var qu = 0, wi = null;
2606
- c ? wi = -0.53 : a ? wi = 15 : y ? wi = -0.7 : S && (wi = -1 / 3);
2606
+ c ? wi = -0.53 : a ? wi = 15 : y ? wi = -0.7 : x && (wi = -1 / 3);
2607
2607
  function Hg(i) {
2608
2608
  var s = i.wheelDeltaX, f = i.wheelDeltaY;
2609
2609
  return s == null && i.detail && i.axis == i.HORIZONTAL_AXIS && (s = i.detail), f == null && i.detail && i.axis == i.VERTICAL_AXIS ? f = i.detail : f == null && (f = i.wheelDelta), { x: s, y: f };
@@ -3958,7 +3958,7 @@ b`.split(/\n/).length != 3 ? function(i) {
3958
3958
  za(s);
3959
3959
  return;
3960
3960
  }
3961
- if (!(Bt(i, s) || Ei(i.display, s)) && (s.dataTransfer.setData("Text", i.getSelection()), s.dataTransfer.effectAllowed = "copyMove", s.dataTransfer.setDragImage && !S)) {
3961
+ if (!(Bt(i, s) || Ei(i.display, s)) && (s.dataTransfer.setData("Text", i.getSelection()), s.dataTransfer.effectAllowed = "copyMove", s.dataTransfer.setDragImage && !x)) {
3962
3962
  var f = j("img", null, null, "position: fixed; left: 0; top: 0;");
3963
3963
  f.src = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", E && (f.width = f.height = 1, i.display.wrapper.appendChild(f), f._top = f.offsetTop), s.dataTransfer.setDragImage(f, 0, 0), E && f.parentNode.removeChild(f);
3964
3964
  }
@@ -4622,7 +4622,7 @@ b`.split(/\n/).length != 3 ? function(i) {
4622
4622
  var bd = null;
4623
4623
  function Cy(i) {
4624
4624
  var s = this;
4625
- if (!(i.target && i.target != s.display.input.getField()) && (s.curOp.focus = x(ee(s)), !Bt(s, i))) {
4625
+ if (!(i.target && i.target != s.display.input.getField()) && (s.curOp.focus = S(ee(s)), !Bt(s, i))) {
4626
4626
  c && d < 11 && i.keyCode == 27 && (i.returnValue = !1);
4627
4627
  var f = i.keyCode;
4628
4628
  s.display.shift = f == 16 || i.shiftKey;
@@ -4706,13 +4706,13 @@ b`.split(/\n/).length != 3 ? function(i) {
4706
4706
  return (h.extend == null || i.doc.extend) && (h.extend = i.doc.extend || f.shiftKey), h.addNew == null && (h.addNew = N ? f.metaKey : f.ctrlKey), h.moveOnDrag == null && (h.moveOnDrag = !(N ? f.altKey : f.ctrlKey)), h;
4707
4707
  }
4708
4708
  function jC(i, s, f, p) {
4709
- c ? setTimeout($e(Rg, i), 0) : i.curOp.focus = x(ee(i));
4709
+ c ? setTimeout($e(Rg, i), 0) : i.curOp.focus = S(ee(i));
4710
4710
  var h = zC(i, f, p), g = i.doc.sel, _;
4711
4711
  i.options.dragDrop && Of && !i.isReadOnly() && f == "single" && (_ = g.contains(s)) > -1 && (Ze((_ = g.ranges[_]).from(), s) < 0 || s.xRel > 0) && (Ze(_.to(), s) > 0 || s.xRel < 0) ? WC(i, p, s, h) : UC(i, p, s, h);
4712
4712
  }
4713
4713
  function WC(i, s, f, p) {
4714
4714
  var h = i.display, g = !1, _ = pn(i, function(P) {
4715
- v && (h.scroller.draggable = !1), i.state.draggingText = !1, i.state.delayingBlurEvent && (i.hasFocus() ? i.state.delayingBlurEvent = !1 : td(i)), On(h.wrapper.ownerDocument, "mouseup", _), On(h.wrapper.ownerDocument, "mousemove", w), On(h.scroller, "dragstart", C), On(h.scroller, "drop", _), g || (En(P), p.addNew || Zu(i.doc, f, null, null, p.extend), v && !S || c && d == 9 ? setTimeout(function() {
4715
+ v && (h.scroller.draggable = !1), i.state.draggingText = !1, i.state.delayingBlurEvent && (i.hasFocus() ? i.state.delayingBlurEvent = !1 : td(i)), On(h.wrapper.ownerDocument, "mouseup", _), On(h.wrapper.ownerDocument, "mousemove", w), On(h.scroller, "dragstart", C), On(h.scroller, "drop", _), g || (En(P), p.addNew || Zu(i.doc, f, null, null, p.extend), v && !x || c && d == 9 ? setTimeout(function() {
4716
4716
  h.wrapper.ownerDocument.body.focus({ preventScroll: !0 }), h.input.focus();
4717
4717
  }, 20) : h.input.focus());
4718
4718
  }), w = function(P) {
@@ -4779,7 +4779,7 @@ b`.split(/\n/).length != 3 ? function(i) {
4779
4779
  var Re = ++ue, ze = Za(i, we, !0, p.unit == "rectangle");
4780
4780
  if (ze)
4781
4781
  if (Ze(ze, W) != 0) {
4782
- i.curOp.focus = x(ee(i)), Z(ze);
4782
+ i.curOp.focus = S(ee(i)), Z(ze);
4783
4783
  var Be = Gu(h, g);
4784
4784
  (ze.line >= Be.to || ze.line < Be.from) && setTimeout(pn(i, function() {
4785
4785
  ue == Re && pe(we);
@@ -5434,7 +5434,7 @@ b`.split(/\n/).length != 3 ? function(i) {
5434
5434
  p != null && p == this.state.overwrite || ((this.state.overwrite = !this.state.overwrite) ? T(this.display.cursorDiv, "CodeMirror-overwrite") : oe(this.display.cursorDiv, "CodeMirror-overwrite"), Ot(this, "overwriteToggle", this, this.state.overwrite));
5435
5435
  },
5436
5436
  hasFocus: function() {
5437
- return this.display.input.getField() == x(ee(this));
5437
+ return this.display.input.getField() == S(ee(this));
5438
5438
  },
5439
5439
  isReadOnly: function() {
5440
5440
  return !!(this.options.readOnly || this.doc.cantEdit);
@@ -5627,7 +5627,7 @@ b`.split(/\n/).length != 3 ? function(i) {
5627
5627
  var H = By(), W = H.firstChild;
5628
5628
  Sd(W), p.display.lineSpace.insertBefore(H, p.display.lineSpace.firstChild), W.value = Hr.text.join(`
5629
5629
  `);
5630
- var Z = x(ne(h));
5630
+ var Z = S(ne(h));
5631
5631
  Q(W), setTimeout(function() {
5632
5632
  p.display.lineSpace.removeChild(H), Z.focus(), Z == h && f.showPrimarySelection();
5633
5633
  }, 50);
@@ -5638,7 +5638,7 @@ b`.split(/\n/).length != 3 ? function(i) {
5638
5638
  i ? this.div.setAttribute("aria-label", i) : this.div.removeAttribute("aria-label");
5639
5639
  }, St.prototype.prepareSelection = function() {
5640
5640
  var i = Pg(this.cm, !1);
5641
- return i.focus = x(ne(this.div)) == this.div, i;
5641
+ return i.focus = S(ne(this.div)) == this.div, i;
5642
5642
  }, St.prototype.showSelection = function(i, s) {
5643
5643
  !i || !this.cm.display.view.length || ((i.focus || s) && this.showPrimarySelection(), this.showMultipleSelections(i));
5644
5644
  }, St.prototype.getSelection = function() {
@@ -5686,7 +5686,7 @@ b`.split(/\n/).length != 3 ? function(i) {
5686
5686
  var s = i.getRangeAt(0).commonAncestorContainer;
5687
5687
  return le(this.div, s);
5688
5688
  }, St.prototype.focus = function() {
5689
- this.cm.options.readOnly != "nocursor" && ((!this.selectionInEditor() || x(ne(this.div)) != this.div) && this.showSelection(this.prepareSelection(), !0), this.div.focus());
5689
+ this.cm.options.readOnly != "nocursor" && ((!this.selectionInEditor() || S(ne(this.div)) != this.div) && this.showSelection(this.prepareSelection(), !0), this.div.focus());
5690
5690
  }, St.prototype.blur = function() {
5691
5691
  this.div.blur();
5692
5692
  }, St.prototype.getField = function() {
@@ -5984,7 +5984,7 @@ b`.split(/\n/).length != 3 ? function(i) {
5984
5984
  }, zt.prototype.supportsTouch = function() {
5985
5985
  return !1;
5986
5986
  }, zt.prototype.focus = function() {
5987
- if (this.cm.options.readOnly != "nocursor" && (!R || x(ne(this.textarea)) != this.textarea))
5987
+ if (this.cm.options.readOnly != "nocursor" && (!R || S(ne(this.textarea)) != this.textarea))
5988
5988
  try {
5989
5989
  this.textarea.focus();
5990
5990
  } catch {
@@ -6086,7 +6086,7 @@ b`.split(/\n/).length != 3 ? function(i) {
6086
6086
  }, zt.prototype.needsContentAttribute = !1;
6087
6087
  function t2(i, s) {
6088
6088
  if (s = s ? qe(s) : {}, s.value = i.value, !s.tabindex && i.tabIndex && (s.tabindex = i.tabIndex), !s.placeholder && i.placeholder && (s.placeholder = i.placeholder), s.autofocus == null) {
6089
- var f = x(ne(i));
6089
+ var f = S(ne(i));
6090
6090
  s.autofocus = f == i || i.getAttribute("autofocus") != null && f == document.body;
6091
6091
  }
6092
6092
  function p() {
@@ -6255,8 +6255,8 @@ b`.split(/\n/).length != 3 ? function(i) {
6255
6255
  if (le == "<")
6256
6256
  return j.eat("!") ? j.eat("[") ? j.match("CDATA[") ? re(A("atom", "]]>")) : null : j.match("--") ? re(A("comment", "-->")) : j.match("DOCTYPE", !0, !0) ? (j.eatWhile(/[\w\._\-]/), re(F(1))) : null : j.eat("?") ? (j.eatWhile(/[\w\._\-]/), J.tokenize = A("meta", "?>"), "meta") : (m = j.eat("/") ? "closeTag" : "openTag", J.tokenize = E, "tag bracket");
6257
6257
  if (le == "&") {
6258
- var x;
6259
- return j.eat("#") ? j.eat("x") ? x = j.eatWhile(/[a-fA-F\d]/) && j.eat(";") : x = j.eatWhile(/[\d]/) && j.eat(";") : x = j.eatWhile(/[\w\.\-:]/) && j.eat(";"), x ? "atom" : "error";
6258
+ var S;
6259
+ return j.eat("#") ? j.eat("x") ? S = j.eatWhile(/[a-fA-F\d]/) && j.eat(";") : S = j.eatWhile(/[\d]/) && j.eat(";") : S = j.eatWhile(/[\w\.\-:]/) && j.eat(";"), S ? "atom" : "error";
6260
6260
  } else
6261
6261
  return j.eatWhile(/[^&<]/), null;
6262
6262
  }
@@ -6272,9 +6272,9 @@ b`.split(/\n/).length != 3 ? function(i) {
6272
6272
  var le = J.tokenize(j, J);
6273
6273
  return le ? le + " tag error" : "tag error";
6274
6274
  } else
6275
- return /[\'\"]/.test(re) ? (J.tokenize = S(re), J.stringStartCol = j.column(), J.tokenize(j, J)) : (j.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/), "word");
6275
+ return /[\'\"]/.test(re) ? (J.tokenize = x(re), J.stringStartCol = j.column(), J.tokenize(j, J)) : (j.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/), "word");
6276
6276
  }
6277
- function S(j) {
6277
+ function x(j) {
6278
6278
  var J = function(re, le) {
6279
6279
  for (; !re.eol(); )
6280
6280
  if (re.next() == j) {
@@ -6351,8 +6351,8 @@ b`.split(/\n/).length != 3 ? function(i) {
6351
6351
  if (j == "word")
6352
6352
  return y = "attribute", oe;
6353
6353
  if (j == "endTag" || j == "selfcloseTag") {
6354
- var le = re.tagName, x = re.tagStart;
6355
- return re.tagName = re.tagStart = null, j == "selfcloseTag" || c.autoSelfClosers.hasOwnProperty(M(le)) ? N(re, le) : (N(re, le), re.context = new D(re, le, x == re.indented)), O;
6354
+ var le = re.tagName, S = re.tagStart;
6355
+ return re.tagName = re.tagStart = null, j == "selfcloseTag" || c.autoSelfClosers.hasOwnProperty(M(le)) ? N(re, le) : (N(re, le), re.context = new D(re, le, S == re.indented)), O;
6356
6356
  }
6357
6357
  return y = "error", z;
6358
6358
  }
@@ -6396,20 +6396,20 @@ b`.split(/\n/).length != 3 ? function(i) {
6396
6396
  return c.multilineTagIndentPastTag !== !1 ? j.tagStart + j.tagName.length + 2 : j.tagStart + u * (c.multilineTagIndentFactor || 1);
6397
6397
  if (c.alignCDATA && /<!\[CDATA\[/.test(J))
6398
6398
  return 0;
6399
- var x = J && /^<(\/)?([\w_:\.-]*)/.exec(J);
6400
- if (x && x[1])
6399
+ var S = J && /^<(\/)?([\w_:\.-]*)/.exec(J);
6400
+ if (S && S[1])
6401
6401
  for (; le; )
6402
- if (le.tagName == x[2]) {
6402
+ if (le.tagName == S[2]) {
6403
6403
  le = le.prev;
6404
6404
  break;
6405
6405
  } else if (c.implicitlyClosed.hasOwnProperty(M(le.tagName)))
6406
6406
  le = le.prev;
6407
6407
  else
6408
6408
  break;
6409
- else if (x)
6409
+ else if (S)
6410
6410
  for (; le; ) {
6411
6411
  var T = c.contextGrabbers[M(le.tagName)];
6412
- if (T && T.hasOwnProperty(M(x[2])))
6412
+ if (T && T.hasOwnProperty(M(S[2])))
6413
6413
  le = le.prev;
6414
6414
  else
6415
6415
  break;
@@ -7275,7 +7275,7 @@ function dE(e, t) {
7275
7275
  });
7276
7276
  };
7277
7277
  }
7278
- function S(M) {
7278
+ function x(M) {
7279
7279
  const D = M.__exports__;
7280
7280
  if (D) {
7281
7281
  const R = M.__modules__, N = Object.keys(M).reduce(($, z) => (z !== "__exports__" && z !== "__modules__" && z !== "__init__" && z !== "__depends__" && ($[z] = M[z]), $), /* @__PURE__ */ Object.create(null)), O = (R || []).concat(N), G = y(O), K = Hc(function($) {
@@ -7306,7 +7306,7 @@ function dE(e, t) {
7306
7306
  return M.indexOf(D) !== -1 || (M = (D.__depends__ || []).reduce(A, M), M.indexOf(D) !== -1) ? M : M.concat(D);
7307
7307
  }
7308
7308
  function F(M) {
7309
- const D = M.reduce(A, []).map(S);
7309
+ const D = M.reduce(A, []).map(x);
7310
7310
  let R = !1;
7311
7311
  return function() {
7312
7312
  R || (R = !0, D.forEach((N) => N()));
@@ -7685,10 +7685,10 @@ function op(e) {
7685
7685
  return t.toString = yE, t;
7686
7686
  }
7687
7687
  function Xy(e, t, n, r, a, o, l, u, c) {
7688
- var d = 1 - c, v = Yy(d, 3), m = Yy(d, 2), y = c * c, b = y * c, E = v * e + m * 3 * c * n + d * 3 * c * c * a + b * l, S = v * t + m * 3 * c * r + d * 3 * c * c * o + b * u;
7688
+ var d = 1 - c, v = Yy(d, 3), m = Yy(d, 2), y = c * c, b = y * c, E = v * e + m * 3 * c * n + d * 3 * c * c * a + b * l, x = v * t + m * 3 * c * r + d * 3 * c * c * o + b * u;
7689
7689
  return {
7690
7690
  x: sp(E),
7691
- y: sp(S)
7691
+ y: sp(x)
7692
7692
  };
7693
7693
  }
7694
7694
  function Zy(e) {
@@ -7713,7 +7713,7 @@ function Jy(e, t, n, r, a) {
7713
7713
  function Qy(e, t, n, r, a, o, l, u, c) {
7714
7714
  c == null && (c = 1), c = c > 1 ? 1 : c < 0 ? 0 : c;
7715
7715
  for (var d = c / 2, v = 12, m = [-0.1252, 0.1252, -0.3678, 0.3678, -0.5873, 0.5873, -0.7699, 0.7699, -0.9041, 0.9041, -0.9816, 0.9816], y = [0.2491, 0.2491, 0.2335, 0.2335, 0.2032, 0.2032, 0.1601, 0.1601, 0.1069, 0.1069, 0.0472, 0.0472], b = 0, E = 0; E < v; E++) {
7716
- var S = d * m[E] + d, A = Jy(S, e, n, a, l), F = Jy(S, t, r, o, u), M = A * A + F * F;
7716
+ var x = d * m[E] + d, A = Jy(x, e, n, a, l), F = Jy(x, t, r, o, u), M = A * A + F * F;
7717
7717
  b += y[E] * jt.sqrt(M);
7718
7718
  }
7719
7719
  return d * b;
@@ -7742,8 +7742,8 @@ function kT(e, t, n) {
7742
7742
  for (b = 0; b < c + 1; b++)
7743
7743
  E = Xy.apply(0, t.concat(b / c)), v.push({ x: E.x, y: E.y, t: b / c });
7744
7744
  for (b = 0; b < u; b++)
7745
- for (var S = 0; S < c; S++) {
7746
- var A = d[b], F = d[b + 1], M = v[S], D = v[S + 1], R = ca(F.x - A.x) < 0.01 ? "y" : "x", N = ca(D.x - M.x) < 0.01 ? "y" : "x", O = RT(A.x, A.y, F.x, F.y, M.x, M.y, D.x, D.y), G;
7745
+ for (var x = 0; x < c; x++) {
7746
+ var A = d[b], F = d[b + 1], M = v[x], D = v[x + 1], R = ca(F.x - A.x) < 0.01 ? "y" : "x", N = ca(D.x - M.x) < 0.01 ? "y" : "x", O = RT(A.x, A.y, F.x, F.y, M.x, M.y, D.x, D.y), G;
7747
7747
  if (O) {
7748
7748
  if (G = O.x.toFixed(9) + "#" + O.y.toFixed(9), m[G])
7749
7749
  continue;
@@ -7761,7 +7761,7 @@ function kT(e, t, n) {
7761
7761
  }
7762
7762
  function DT(e, t, n) {
7763
7763
  e = nb(e), t = nb(t);
7764
- for (var r, a, o, l, u, c, d, v, m, y, b = n ? 0 : [], E = 0, S = e.length; E < S; E++) {
7764
+ for (var r, a, o, l, u, c, d, v, m, y, b = n ? 0 : [], E = 0, x = e.length; E < x; E++) {
7765
7765
  var A = e[E];
7766
7766
  if (A[0] == "M")
7767
7767
  r = u = A[1], a = c = A[2];
@@ -7814,8 +7814,8 @@ function MT(e) {
7814
7814
  d[b] = +v[b] + (b % 2 ? r : a);
7815
7815
  }
7816
7816
  else
7817
- for (var S = 0, A = v.length; S < A; S++)
7818
- d[S] = v[S];
7817
+ for (var x = 0, A = v.length; x < A; x++)
7818
+ d[x] = v[x];
7819
7819
  switch (c = c.toUpperCase(), d[0]) {
7820
7820
  case "Z":
7821
7821
  r = +o, a = +l;
@@ -7867,9 +7867,9 @@ function bE(e, t, n, r, a, o, l, u, c, d) {
7867
7867
  G = d[0], K = d[1], N = d[2], O = d[3];
7868
7868
  else {
7869
7869
  b = E(e, t, -m), e = b.x, t = b.y, b = E(u, c, -m), u = b.x, c = b.y;
7870
- var S = (e - u) / 2, A = (t - c) / 2, F = S * S / (n * n) + A * A / (r * r);
7870
+ var x = (e - u) / 2, A = (t - c) / 2, F = x * x / (n * n) + A * A / (r * r);
7871
7871
  F > 1 && (F = jt.sqrt(F), n = F * n, r = F * r);
7872
- var M = n * n, D = r * r, R = (o == l ? -1 : 1) * jt.sqrt(ca((M * D - M * A * A - D * S * S) / (M * A * A + D * S * S))), N = R * n * A / r + (e + u) / 2, O = R * -r * S / n + (t + c) / 2, G = jt.asin(((t - O) / r).toFixed(9)), K = jt.asin(((c - O) / r).toFixed(9));
7872
+ var M = n * n, D = r * r, R = (o == l ? -1 : 1) * jt.sqrt(ca((M * D - M * A * A - D * x * x) / (M * A * A + D * x * x))), N = R * n * A / r + (e + u) / 2, O = R * -r * x / n + (t + c) / 2, G = jt.asin(((t - O) / r).toFixed(9)), K = jt.asin(((c - O) / r).toFixed(9));
7873
7873
  G = e < N ? oa - G : G, K = u < N ? oa - K : K, G < 0 && (G = oa * 2 + G), K < 0 && (K = oa * 2 + K), l && G > K && (G = G - oa * 2), !l && K > G && (K = K - oa * 2);
7874
7874
  }
7875
7875
  var U = K - G;
@@ -7878,7 +7878,7 @@ function bE(e, t, n, r, a, o, l, u, c, d) {
7878
7878
  K = G + v * (l && K > G ? 1 : -1), u = N + n * jt.cos(K), c = O + r * jt.sin(K), y = bE(u, c, n, r, a, 0, l, z, oe, [K, $, N, O]);
7879
7879
  }
7880
7880
  U = K - G;
7881
- var ie = jt.cos(G), te = jt.sin(G), j = jt.cos(K), J = jt.sin(K), re = jt.tan(U / 4), le = 4 / 3 * n * re, x = 4 / 3 * r * re, T = [e, t], B = [e + le * te, t - x * ie], Q = [u + le * J, c - x * j], fe = [u, c];
7881
+ var ie = jt.cos(G), te = jt.sin(G), j = jt.cos(K), J = jt.sin(K), re = jt.tan(U / 4), le = 4 / 3 * n * re, S = 4 / 3 * r * re, T = [e, t], B = [e + le * te, t - S * ie], Q = [u + le * J, c - S * j], fe = [u, c];
7882
7882
  if (B[0] = 2 * T[0] - B[0], B[1] = 2 * T[1] - B[1], d)
7883
7883
  return [B, Q, fe].concat(y);
7884
7884
  y = [B, Q, fe].concat(y).join().split(",");
@@ -7887,14 +7887,14 @@ function bE(e, t, n, r, a, o, l, u, c, d) {
7887
7887
  return ee;
7888
7888
  }
7889
7889
  function NT(e, t, n, r, a, o, l, u) {
7890
- for (var c = [], d = [[], []], v, m, y, b, E, S, A, F, M = 0; M < 2; ++M) {
7890
+ for (var c = [], d = [[], []], v, m, y, b, E, x, A, F, M = 0; M < 2; ++M) {
7891
7891
  if (M == 0 ? (m = 6 * e - 12 * n + 6 * a, v = -3 * e + 9 * n - 9 * a + 3 * l, y = 3 * n - 3 * e) : (m = 6 * t - 12 * r + 6 * o, v = -3 * t + 9 * r - 9 * o + 3 * u, y = 3 * r - 3 * t), ca(v) < 1e-12) {
7892
7892
  if (ca(m) < 1e-12)
7893
7893
  continue;
7894
7894
  b = -y / m, 0 < b && b < 1 && c.push(b);
7895
7895
  continue;
7896
7896
  }
7897
- A = m * m - 4 * y * v, F = jt.sqrt(A), !(A < 0) && (E = (-m + F) / (2 * v), 0 < E && E < 1 && c.push(E), S = (-m - F) / (2 * v), 0 < S && S < 1 && c.push(S));
7897
+ A = m * m - 4 * y * v, F = jt.sqrt(A), !(A < 0) && (E = (-m + F) / (2 * v), 0 < E && E < 1 && c.push(E), x = (-m - F) / (2 * v), 0 < x && x < 1 && c.push(x));
7898
7898
  }
7899
7899
  for (var D = c.length, R = D, N; D--; )
7900
7900
  b = c[D], N = 1 - b, d[0][D] = N * N * N * e + 3 * N * N * b * n + 3 * N * b * b * a + b * b * b * l, d[1][D] = N * N * N * t + 3 * N * N * b * r + 3 * N * b * b * o + b * b * b * u;
@@ -7909,7 +7909,7 @@ function nb(e) {
7909
7909
  var t = us(e);
7910
7910
  if (t.curve)
7911
7911
  return op(t.curve);
7912
- for (var n = MT(e), r = { x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null }, a = function(b, E, S) {
7912
+ for (var n = MT(e), r = { x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null }, a = function(b, E, x) {
7913
7913
  var A, F;
7914
7914
  if (!b)
7915
7915
  return ["C", E.x, E.y, E.x, E.y, E.x, E.y];
@@ -7921,10 +7921,10 @@ function nb(e) {
7921
7921
  b = ["C"].concat(bE.apply(0, [E.x, E.y].concat(b.slice(1))));
7922
7922
  break;
7923
7923
  case "S":
7924
- S == "C" || S == "S" ? (A = E.x * 2 - E.bx, F = E.y * 2 - E.by) : (A = E.x, F = E.y), b = ["C", A, F].concat(b.slice(1));
7924
+ x == "C" || x == "S" ? (A = E.x * 2 - E.bx, F = E.y * 2 - E.by) : (A = E.x, F = E.y), b = ["C", A, F].concat(b.slice(1));
7925
7925
  break;
7926
7926
  case "T":
7927
- S == "Q" || S == "T" ? (E.qx = E.x * 2 - E.qx, E.qy = E.y * 2 - E.qy) : (E.qx = E.x, E.qy = E.y), b = ["C"].concat(tb(E.x, E.y, E.qx, E.qy, b[1], b[2]));
7927
+ x == "Q" || x == "T" ? (E.qx = E.x * 2 - E.qx, E.qy = E.y * 2 - E.qy) : (E.qx = E.x, E.qy = E.y), b = ["C"].concat(tb(E.x, E.y, E.qx, E.qy, b[1], b[2]));
7928
7928
  break;
7929
7929
  case "Q":
7930
7930
  E.qx = b[1], E.qy = b[2], b = ["C"].concat(tb(E.x, E.y, b[1], b[2], b[3], b[4]));
@@ -7946,8 +7946,8 @@ function nb(e) {
7946
7946
  }, o = function(b, E) {
7947
7947
  if (b[E].length > 7) {
7948
7948
  b[E].shift();
7949
- for (var S = b[E]; S.length; )
7950
- l[E] = "A", b.splice(E++, 0, ["C"].concat(S.splice(0, 6)));
7949
+ for (var x = b[E]; x.length; )
7950
+ l[E] = "A", b.splice(E++, 0, ["C"].concat(x.splice(0, 6)));
7951
7951
  b.splice(E, 1), v = n.length;
7952
7952
  }
7953
7953
  }, l = [], u = "", c = "", d = 0, v = n.length; d < v; d++) {
@@ -7999,13 +7999,13 @@ function IT(e) {
7999
7999
  for (var t = e.waypoints, n = t.reduce(function(d, v, m) {
8000
8000
  var y = t[m - 1];
8001
8001
  if (y) {
8002
- var b = d[d.length - 1], E = b && b.endLength || 0, S = $T(y, v);
8002
+ var b = d[d.length - 1], E = b && b.endLength || 0, x = $T(y, v);
8003
8003
  d.push({
8004
8004
  start: y,
8005
8005
  end: v,
8006
8006
  startLength: E,
8007
- endLength: E + S,
8008
- length: S
8007
+ endLength: E + x,
8008
+ length: x
8009
8009
  });
8010
8010
  }
8011
8011
  return d;
@@ -8363,8 +8363,8 @@ et.prototype.scrollToElement = function(e, t) {
8363
8363
  if (!(a.width < l.width && a.height < l.height))
8364
8364
  c = a.x - l.x, d = a.y - l.y;
8365
8365
  else {
8366
- const y = Math.max(0, o.right - v.right), b = Math.min(0, o.left - v.left), E = Math.max(0, o.bottom - v.bottom), S = Math.min(0, o.top - v.top);
8367
- c = y || b, d = E || S;
8366
+ const y = Math.max(0, o.right - v.right), b = Math.min(0, o.left - v.left), E = Math.max(0, o.bottom - v.bottom), x = Math.min(0, o.top - v.top);
8367
+ c = y || b, d = E || x;
8368
8368
  }
8369
8369
  this.scroll({ dx: -c * u, dy: -d * u });
8370
8370
  };
@@ -9287,7 +9287,7 @@ function vA(e) {
9287
9287
  function FE(e) {
9288
9288
  if (!this)
9289
9289
  return new FE(e);
9290
- var t = e && e.proxy, n, r, a, o, l = vA, u, c, d, v, m = cb, y = !1, b = !1, E = null, S = !1, A;
9290
+ var t = e && e.proxy, n, r, a, o, l = vA, u, c, d, v, m = cb, y = !1, b = !1, E = null, x = !1, A;
9291
9291
  function F(R) {
9292
9292
  R instanceof Error || (R = ns(R)), E = R, l(R, m);
9293
9293
  }
@@ -9339,12 +9339,12 @@ function FE(e) {
9339
9339
  }, this.parse = function(R) {
9340
9340
  if (typeof R != "string")
9341
9341
  throw ns("required args <xml=string>");
9342
- return E = null, D(R), m = cb, S = !1, E;
9342
+ return E = null, D(R), m = cb, x = !1, E;
9343
9343
  }, this.stop = function() {
9344
- S = !0;
9344
+ x = !0;
9345
9345
  };
9346
9346
  function D(R) {
9347
- var N = b ? [] : null, O = b ? hA(A) : null, G, K = [], U = 0, $ = !1, z = !1, oe = 0, ie = 0, te, j, J, re, le, x, T, B, Q, fe = "", ee = 0, ne;
9347
+ var N = b ? [] : null, O = b ? hA(A) : null, G, K = [], U = 0, $ = !1, z = !1, oe = 0, ie = 0, te, j, J, re, le, S, T, B, Q, fe = "", ee = 0, ne;
9348
9348
  function xe() {
9349
9349
  if (ne !== null)
9350
9350
  return ne;
@@ -9454,16 +9454,16 @@ function FE(e) {
9454
9454
  }
9455
9455
  if (ie !== oe) {
9456
9456
  if (K.length) {
9457
- if (n && (n(R.substring(ie, oe), ao, m), S))
9457
+ if (n && (n(R.substring(ie, oe), ao, m), x))
9458
9458
  return;
9459
- } else if (R.substring(ie, oe).trim() && (M(lb), S))
9459
+ } else if (R.substring(ie, oe).trim() && (M(lb), x))
9460
9460
  return;
9461
9461
  }
9462
9462
  if (re = R.charCodeAt(oe + 1), re === 33) {
9463
9463
  if (J = R.charCodeAt(oe + 2), J === 91 && R.substr(oe + 3, 6) === "CDATA[") {
9464
9464
  if (ie = R.indexOf("]]>", oe), ie === -1)
9465
9465
  return F("unclosed cdata");
9466
- if (o && (o(R.substring(oe + 9, ie), m), S))
9466
+ if (o && (o(R.substring(oe + 9, ie), m), x))
9467
9467
  return;
9468
9468
  ie += 3;
9469
9469
  continue;
@@ -9471,7 +9471,7 @@ function FE(e) {
9471
9471
  if (J === 45 && R.charCodeAt(oe + 3) === 45) {
9472
9472
  if (ie = R.indexOf("-->", oe), ie === -1)
9473
9473
  return F("unclosed comment");
9474
- if (c && (c(R.substring(oe + 4, ie), ao, m), S))
9474
+ if (c && (c(R.substring(oe + 4, ie), ao, m), x))
9475
9475
  return;
9476
9476
  ie += 3;
9477
9477
  continue;
@@ -9480,7 +9480,7 @@ function FE(e) {
9480
9480
  if (re === 63) {
9481
9481
  if (ie = R.indexOf("?>", oe), ie === -1)
9482
9482
  return F("unclosed question");
9483
- if (d && (d(R.substring(oe, ie + 2), m), S))
9483
+ if (d && (d(R.substring(oe, ie + 2), m), x))
9484
9484
  return;
9485
9485
  ie += 2;
9486
9486
  continue;
@@ -9498,7 +9498,7 @@ function FE(e) {
9498
9498
  }
9499
9499
  }
9500
9500
  if (re === 33) {
9501
- if (v && (v(R.substring(oe, ie + 1), ao, m), S))
9501
+ if (v && (v(R.substring(oe, ie + 1), ao, m), x))
9502
9502
  return;
9503
9503
  ie += 1;
9504
9504
  continue;
@@ -9526,17 +9526,17 @@ function FE(e) {
9526
9526
  }
9527
9527
  if (b) {
9528
9528
  if (G = O, $ && (z || N.push(G), ne === null && (y = te.indexOf("xmlns", J) !== -1) && (ee = J, fe = te, xe(), y = !1)), B = T, re = T.indexOf(":"), re !== -1) {
9529
- if (x = O[T.substring(0, re)], !x)
9529
+ if (S = O[T.substring(0, re)], !S)
9530
9530
  return F("missing namespace on <" + B + ">");
9531
9531
  T = T.substr(re + 1);
9532
9532
  } else
9533
- x = O.xmlns;
9534
- x && (T = x + ":" + T);
9533
+ S = O.xmlns;
9534
+ S && (T = S + ":" + T);
9535
9535
  }
9536
- if ($ && (ee = J, fe = te, r && (t ? r(Q, ao, z, m) : r(T, xe, ao, z, m), S)))
9536
+ if ($ && (ee = J, fe = te, r && (t ? r(Q, ao, z, m) : r(T, xe, ao, z, m), x)))
9537
9537
  return;
9538
9538
  if (z) {
9539
- if (a && (a(t ? Q : T, ao, $, m), S))
9539
+ if (a && (a(t ? Q : T, ao, $, m), x))
9540
9540
  return;
9541
9541
  b && ($ ? O = G : O = N.pop());
9542
9542
  }
@@ -10163,11 +10163,11 @@ dv.prototype.fromXML = function(e, t, n) {
10163
10163
  function y() {
10164
10164
  c.pop().handleEnd();
10165
10165
  }
10166
- var b = /^<\?xml /i, E = / encoding="([^"]+)"/i, S = /^utf-8$/i;
10166
+ var b = /^<\?xml /i, E = / encoding="([^"]+)"/i, x = /^utf-8$/i;
10167
10167
  function A(N) {
10168
10168
  if (b.test(N)) {
10169
10169
  var O = E.exec(N), G = O && O[1];
10170
- !G || S.test(G) || l.addWarning({
10170
+ !G || x.test(G) || l.addWarning({
10171
10171
  message: "unsupported document encoding <" + G + ">, falling back to UTF-8"
10172
10172
  });
10173
10173
  }
@@ -14284,9 +14284,9 @@ function OP(e, t) {
14284
14284
  E(ee.plane);
14285
14285
  }
14286
14286
  function E(ee) {
14287
- y(ee), V(ee.planeElement, S);
14287
+ y(ee), V(ee.planeElement, x);
14288
14288
  }
14289
- function S(ee) {
14289
+ function x(ee) {
14290
14290
  y(ee);
14291
14291
  }
14292
14292
  function A(ee, ne) {
@@ -14332,7 +14332,7 @@ function OP(e, t) {
14332
14332
  ee = r.shift(), ee();
14333
14333
  }
14334
14334
  function M(ee, ne) {
14335
- x(ee, ne), z(ee.ioSpecification, ne), $(ee.artifacts, ne), l(ee);
14335
+ S(ee, ne), z(ee.ioSpecification, ne), $(ee.artifacts, ne), l(ee);
14336
14336
  }
14337
14337
  function D(ee, ne) {
14338
14338
  var xe = tt(ee, function($e) {
@@ -14369,7 +14369,7 @@ function OP(e, t) {
14369
14369
  ee && (V(ee.dataInputs, o(G, ne)), V(ee.dataOutputs, o(K, ne)));
14370
14370
  }
14371
14371
  function oe(ee, ne) {
14372
- x(ee, ne), $(ee.artifacts, ne);
14372
+ S(ee, ne), $(ee.artifacts, ne);
14373
14373
  }
14374
14374
  function ie(ee, ne) {
14375
14375
  var xe = v(ee, ne);
@@ -14395,7 +14395,7 @@ function OP(e, t) {
14395
14395
  function le(ee, ne) {
14396
14396
  V(ee, o(re, ne));
14397
14397
  }
14398
- function x(ee, ne) {
14398
+ function S(ee, ne) {
14399
14399
  T(ee.flowElements, ne), ee.laneSets && le(ee.laneSets, ne);
14400
14400
  }
14401
14401
  function T(ee, ne) {
@@ -14471,9 +14471,9 @@ function IP(e, t, n) {
14471
14471
  V(E, function(A) {
14472
14472
  b.handleDefinitions(v, A);
14473
14473
  });
14474
- var S = m.plane.bpmnElement.id;
14474
+ var x = m.plane.bpmnElement.id;
14475
14475
  l.setRootElement(
14476
- l.findRoot(S + "_plane") || l.findRoot(S)
14476
+ l.findRoot(x + "_plane") || l.findRoot(x)
14477
14477
  );
14478
14478
  }
14479
14479
  return new Promise(function(v, m) {
@@ -14904,8 +14904,8 @@ var lR = new li(), Wc = 10, Nd = 3, rs = 0.95, uR = 0.35, cR = 10;
14904
14904
  function So(e, t, n, r, a, o, l) {
14905
14905
  Bi.call(this, t, l);
14906
14906
  var u = e && e.defaultFillColor, c = e && e.defaultStrokeColor, d = e && e.defaultLabelColor, v = lR.next(), m = {};
14907
- function y(x) {
14908
- return n.computeStyle(x, {
14907
+ function y(S) {
14908
+ return n.computeStyle(S, {
14909
14909
  strokeLinecap: "round",
14910
14910
  strokeLinejoin: "round",
14911
14911
  stroke: _l,
@@ -14913,21 +14913,21 @@ function So(e, t, n, r, a, o, l) {
14913
14913
  fill: "white"
14914
14914
  });
14915
14915
  }
14916
- function b(x) {
14917
- return n.computeStyle(x, ["no-fill"], {
14916
+ function b(S) {
14917
+ return n.computeStyle(S, ["no-fill"], {
14918
14918
  strokeLinecap: "round",
14919
14919
  strokeLinejoin: "round",
14920
14920
  stroke: _l,
14921
14921
  strokeWidth: 2
14922
14922
  });
14923
14923
  }
14924
- function E(x, T) {
14924
+ function E(S, T) {
14925
14925
  var {
14926
14926
  ref: B = { x: 0, y: 0 },
14927
14927
  scale: Q = 1,
14928
14928
  element: fe
14929
14929
  } = T, ee = He("marker", {
14930
- id: x,
14930
+ id: S,
14931
14931
  viewBox: "0 0 20 20",
14932
14932
  refX: B.x,
14933
14933
  refY: B.y,
@@ -14937,16 +14937,16 @@ function So(e, t, n, r, a, o, l) {
14937
14937
  });
14938
14938
  Ve(ee, fe);
14939
14939
  var ne = Ct("defs", a._svg);
14940
- ne || (ne = He("defs"), Ve(a._svg, ne)), Ve(ne, ee), m[x] = ee;
14940
+ ne || (ne = He("defs"), Ve(a._svg, ne)), Ve(ne, ee), m[S] = ee;
14941
14941
  }
14942
- function S(x) {
14943
- return x.replace(/[^0-9a-zA-z]+/g, "_");
14942
+ function x(S) {
14943
+ return S.replace(/[^0-9a-zA-z]+/g, "_");
14944
14944
  }
14945
- function A(x, T, B) {
14946
- var Q = x + "-" + S(T) + "-" + S(B) + "-" + v;
14947
- return m[Q] || F(Q, x, T, B), "url(#" + Q + ")";
14945
+ function A(S, T, B) {
14946
+ var Q = S + "-" + x(T) + "-" + x(B) + "-" + v;
14947
+ return m[Q] || F(Q, S, T, B), "url(#" + Q + ")";
14948
14948
  }
14949
- function F(x, T, B, Q) {
14949
+ function F(S, T, B, Q) {
14950
14950
  if (T === "sequenceflow-end") {
14951
14951
  var fe = He("path", {
14952
14952
  d: "M 1 5 L 11 10 L 1 15 Z",
@@ -14956,7 +14956,7 @@ function So(e, t, n, r, a, o, l) {
14956
14956
  strokeWidth: 1
14957
14957
  })
14958
14958
  });
14959
- E(x, {
14959
+ E(S, {
14960
14960
  element: fe,
14961
14961
  ref: { x: 11, y: 10 },
14962
14962
  scale: 0.5
@@ -14976,7 +14976,7 @@ function So(e, t, n, r, a, o, l) {
14976
14976
  strokeDasharray: [1e4, 1]
14977
14977
  })
14978
14978
  });
14979
- E(x, {
14979
+ E(S, {
14980
14980
  element: ee,
14981
14981
  ref: { x: 6, y: 6 }
14982
14982
  });
@@ -14993,7 +14993,7 @@ function So(e, t, n, r, a, o, l) {
14993
14993
  strokeDasharray: [1e4, 1]
14994
14994
  })
14995
14995
  });
14996
- E(x, {
14996
+ E(S, {
14997
14997
  element: ne,
14998
14998
  ref: { x: 8.5, y: 5 }
14999
14999
  });
@@ -15010,7 +15010,7 @@ function So(e, t, n, r, a, o, l) {
15010
15010
  strokeDasharray: [1e4, 1]
15011
15011
  })
15012
15012
  });
15013
- E(x, {
15013
+ E(S, {
15014
15014
  element: xe,
15015
15015
  ref: { x: 1, y: 10 },
15016
15016
  scale: 0.5
@@ -15028,7 +15028,7 @@ function So(e, t, n, r, a, o, l) {
15028
15028
  strokeDasharray: [1e4, 1]
15029
15029
  })
15030
15030
  });
15031
- E(x, {
15031
+ E(S, {
15032
15032
  element: $e,
15033
15033
  ref: { x: 11, y: 10 },
15034
15034
  scale: 0.5
@@ -15042,7 +15042,7 @@ function So(e, t, n, r, a, o, l) {
15042
15042
  stroke: Q
15043
15043
  })
15044
15044
  });
15045
- E(x, {
15045
+ E(S, {
15046
15046
  element: qe,
15047
15047
  ref: { x: -1, y: 10 },
15048
15048
  scale: 0.5
@@ -15055,14 +15055,14 @@ function So(e, t, n, r, a, o, l) {
15055
15055
  stroke: Q
15056
15056
  })
15057
15057
  });
15058
- E(x, {
15058
+ E(S, {
15059
15059
  element: je,
15060
15060
  ref: { x: 0, y: 10 },
15061
15061
  scale: 0.5
15062
15062
  });
15063
15063
  }
15064
15064
  }
15065
- function M(x, T, B, Q, fe) {
15065
+ function M(S, T, B, Q, fe) {
15066
15066
  Cn(Q) && (fe = Q, Q = 0), Q = Q || 0, fe = y(fe), fe.fill === "none" && delete fe.fillOpacity;
15067
15067
  var ee = T / 2, ne = B / 2, xe = He("circle", {
15068
15068
  cx: ee,
@@ -15070,9 +15070,9 @@ function So(e, t, n, r, a, o, l) {
15070
15070
  r: Math.round((T + B) / 4 - Q),
15071
15071
  ...fe
15072
15072
  });
15073
- return Ve(x, xe), xe;
15073
+ return Ve(S, xe), xe;
15074
15074
  }
15075
- function D(x, T, B, Q, fe, ee) {
15075
+ function D(S, T, B, Q, fe, ee) {
15076
15076
  Cn(fe) && (ee = fe, fe = 0), fe = fe || 0, ee = y(ee);
15077
15077
  var ne = He("rect", {
15078
15078
  x: fe,
@@ -15083,9 +15083,9 @@ function So(e, t, n, r, a, o, l) {
15083
15083
  ry: Q,
15084
15084
  ...ee
15085
15085
  });
15086
- return Ve(x, ne), ne;
15086
+ return Ve(S, ne), ne;
15087
15087
  }
15088
- function R(x, T, B, Q) {
15088
+ function R(S, T, B, Q) {
15089
15089
  var fe = T / 2, ee = B / 2, ne = [
15090
15090
  { x: fe, y: 0 },
15091
15091
  { x: T, y: ee },
@@ -15099,51 +15099,51 @@ function So(e, t, n, r, a, o, l) {
15099
15099
  ...Q,
15100
15100
  points: xe
15101
15101
  });
15102
- return Ve(x, $e), $e;
15102
+ return Ve(S, $e), $e;
15103
15103
  }
15104
- function N(x, T, B, Q) {
15104
+ function N(S, T, B, Q) {
15105
15105
  B = b(B);
15106
15106
  var fe = Cp(T, B, Q);
15107
- return Ve(x, fe), fe;
15107
+ return Ve(S, fe), fe;
15108
15108
  }
15109
- function O(x, T, B) {
15110
- return N(x, T, B, 5);
15109
+ function O(S, T, B) {
15110
+ return N(S, T, B, 5);
15111
15111
  }
15112
- function G(x, T, B) {
15112
+ function G(S, T, B) {
15113
15113
  B = b(B);
15114
15114
  var Q = He("path", {
15115
15115
  ...B,
15116
15116
  d: T
15117
15117
  });
15118
- return Ve(x, Q), Q;
15118
+ return Ve(S, Q), Q;
15119
15119
  }
15120
- function K(x, T, B, Q) {
15121
- return G(T, B, X({ "data-marker": x }, Q));
15120
+ function K(S, T, B, Q) {
15121
+ return G(T, B, X({ "data-marker": S }, Q));
15122
15122
  }
15123
- function U(x) {
15124
- return J[x];
15123
+ function U(S) {
15124
+ return J[S];
15125
15125
  }
15126
- function $(x) {
15126
+ function $(S) {
15127
15127
  return function(T, B) {
15128
- return U(x)(T, B);
15128
+ return U(S)(T, B);
15129
15129
  };
15130
15130
  }
15131
- function z(x, T) {
15132
- var B = $n(x), Q = nR(B);
15133
- return B.eventDefinitions && B.eventDefinitions.length > 1 ? B.parallelMultiple ? U("bpmn:ParallelMultipleEventDefinition")(T, x, Q) : U("bpmn:MultipleEventDefinition")(T, x, Q) : ti(B, "bpmn:MessageEventDefinition") ? U("bpmn:MessageEventDefinition")(T, x, Q) : ti(B, "bpmn:TimerEventDefinition") ? U("bpmn:TimerEventDefinition")(T, x, Q) : ti(B, "bpmn:ConditionalEventDefinition") ? U("bpmn:ConditionalEventDefinition")(T, x) : ti(B, "bpmn:SignalEventDefinition") ? U("bpmn:SignalEventDefinition")(T, x, Q) : ti(B, "bpmn:EscalationEventDefinition") ? U("bpmn:EscalationEventDefinition")(T, x, Q) : ti(B, "bpmn:LinkEventDefinition") ? U("bpmn:LinkEventDefinition")(T, x, Q) : ti(B, "bpmn:ErrorEventDefinition") ? U("bpmn:ErrorEventDefinition")(T, x, Q) : ti(B, "bpmn:CancelEventDefinition") ? U("bpmn:CancelEventDefinition")(T, x, Q) : ti(B, "bpmn:CompensateEventDefinition") ? U("bpmn:CompensateEventDefinition")(T, x, Q) : ti(B, "bpmn:TerminateEventDefinition") ? U("bpmn:TerminateEventDefinition")(T, x, Q) : null;
15131
+ function z(S, T) {
15132
+ var B = $n(S), Q = nR(B);
15133
+ return B.eventDefinitions && B.eventDefinitions.length > 1 ? B.parallelMultiple ? U("bpmn:ParallelMultipleEventDefinition")(T, S, Q) : U("bpmn:MultipleEventDefinition")(T, S, Q) : ti(B, "bpmn:MessageEventDefinition") ? U("bpmn:MessageEventDefinition")(T, S, Q) : ti(B, "bpmn:TimerEventDefinition") ? U("bpmn:TimerEventDefinition")(T, S, Q) : ti(B, "bpmn:ConditionalEventDefinition") ? U("bpmn:ConditionalEventDefinition")(T, S) : ti(B, "bpmn:SignalEventDefinition") ? U("bpmn:SignalEventDefinition")(T, S, Q) : ti(B, "bpmn:EscalationEventDefinition") ? U("bpmn:EscalationEventDefinition")(T, S, Q) : ti(B, "bpmn:LinkEventDefinition") ? U("bpmn:LinkEventDefinition")(T, S, Q) : ti(B, "bpmn:ErrorEventDefinition") ? U("bpmn:ErrorEventDefinition")(T, S, Q) : ti(B, "bpmn:CancelEventDefinition") ? U("bpmn:CancelEventDefinition")(T, S, Q) : ti(B, "bpmn:CompensateEventDefinition") ? U("bpmn:CompensateEventDefinition")(T, S, Q) : ti(B, "bpmn:TerminateEventDefinition") ? U("bpmn:TerminateEventDefinition")(T, S, Q) : null;
15134
15134
  }
15135
- function oe(x, T, B) {
15135
+ function oe(S, T, B) {
15136
15136
  B = X({
15137
15137
  size: {
15138
15138
  width: 100
15139
15139
  }
15140
15140
  }, B);
15141
15141
  var Q = o.createText(T || "", B);
15142
- return ct(Q).add("djs-label"), Ve(x, Q), Q;
15142
+ return ct(Q).add("djs-label"), Ve(S, Q), Q;
15143
15143
  }
15144
- function ie(x, T, B) {
15144
+ function ie(S, T, B) {
15145
15145
  var Q = $n(T);
15146
- return oe(x, Q.name, {
15146
+ return oe(S, Q.name, {
15147
15147
  box: T,
15148
15148
  align: B,
15149
15149
  padding: 7,
@@ -15152,14 +15152,14 @@ function So(e, t, n, r, a, o, l) {
15152
15152
  }
15153
15153
  });
15154
15154
  }
15155
- function te(x, T) {
15155
+ function te(S, T) {
15156
15156
  var B = {
15157
15157
  width: 90,
15158
15158
  height: 30,
15159
15159
  x: T.width / 2 + T.x,
15160
15160
  y: T.height / 2 + T.y
15161
15161
  };
15162
- return oe(x, Gr(T), {
15162
+ return oe(S, Gr(T), {
15163
15163
  box: B,
15164
15164
  fitBox: !0,
15165
15165
  style: X(
@@ -15171,8 +15171,8 @@ function So(e, t, n, r, a, o, l) {
15171
15171
  )
15172
15172
  });
15173
15173
  }
15174
- function j(x, T, B) {
15175
- var Q = oe(x, T, {
15174
+ function j(S, T, B) {
15175
+ var Q = oe(S, T, {
15176
15176
  box: {
15177
15177
  height: 30,
15178
15178
  width: B.height
@@ -15185,10 +15185,10 @@ function So(e, t, n, r, a, o, l) {
15185
15185
  fh(Q, 0, -fe, 270);
15186
15186
  }
15187
15187
  var J = this.handlers = {
15188
- "bpmn:Event": function(x, T, B) {
15189
- return "fillOpacity" in B || (B.fillOpacity = rs), M(x, T.width, T.height, B);
15188
+ "bpmn:Event": function(S, T, B) {
15189
+ return "fillOpacity" in B || (B.fillOpacity = rs), M(S, T.width, T.height, B);
15190
15190
  },
15191
- "bpmn:StartEvent": function(x, T) {
15191
+ "bpmn:StartEvent": function(S, T) {
15192
15192
  var B = {
15193
15193
  fill: pt(T, u),
15194
15194
  stroke: Se(T, c)
@@ -15198,10 +15198,10 @@ function So(e, t, n, r, a, o, l) {
15198
15198
  fill: pt(T, u),
15199
15199
  stroke: Se(T, c)
15200
15200
  });
15201
- var fe = U("bpmn:Event")(x, T, B);
15202
- return z(T, x), fe;
15201
+ var fe = U("bpmn:Event")(S, T, B);
15202
+ return z(T, S), fe;
15203
15203
  },
15204
- "bpmn:MessageEventDefinition": function(x, T, B) {
15204
+ "bpmn:MessageEventDefinition": function(S, T, B) {
15205
15205
  var Q = r.getScaledPath("EVENT_MESSAGE", {
15206
15206
  xScaleFactor: 0.9,
15207
15207
  yScaleFactor: 0.9,
@@ -15211,15 +15211,15 @@ function So(e, t, n, r, a, o, l) {
15211
15211
  mx: 0.235,
15212
15212
  my: 0.315
15213
15213
  }
15214
- }), fe = B ? Se(T, c) : pt(T, u), ee = B ? pt(T, u) : Se(T, c), ne = G(x, Q, {
15214
+ }), fe = B ? Se(T, c) : pt(T, u), ee = B ? pt(T, u) : Se(T, c), ne = G(S, Q, {
15215
15215
  strokeWidth: 1,
15216
15216
  fill: fe,
15217
15217
  stroke: ee
15218
15218
  });
15219
15219
  return ne;
15220
15220
  },
15221
- "bpmn:TimerEventDefinition": function(x, T) {
15222
- var B = M(x, T.width, T.height, 0.2 * T.height, {
15221
+ "bpmn:TimerEventDefinition": function(S, T) {
15222
+ var B = M(S, T.width, T.height, 0.2 * T.height, {
15223
15223
  strokeWidth: 2,
15224
15224
  fill: pt(T, u),
15225
15225
  stroke: Se(T, c)
@@ -15233,7 +15233,7 @@ function So(e, t, n, r, a, o, l) {
15233
15233
  my: 0.5
15234
15234
  }
15235
15235
  });
15236
- G(x, Q, {
15236
+ G(S, Q, {
15237
15237
  strokeWidth: 2,
15238
15238
  stroke: Se(T, c)
15239
15239
  });
@@ -15248,7 +15248,7 @@ function So(e, t, n, r, a, o, l) {
15248
15248
  my: 0.5
15249
15249
  }
15250
15250
  }), ne = T.width / 2, xe = T.height / 2;
15251
- G(x, ee, {
15251
+ G(S, ee, {
15252
15252
  strokeWidth: 1,
15253
15253
  transform: "rotate(" + fe * 30 + "," + xe + "," + ne + ")",
15254
15254
  stroke: Se(T, c)
@@ -15256,7 +15256,7 @@ function So(e, t, n, r, a, o, l) {
15256
15256
  }
15257
15257
  return B;
15258
15258
  },
15259
- "bpmn:EscalationEventDefinition": function(x, T, B) {
15259
+ "bpmn:EscalationEventDefinition": function(S, T, B) {
15260
15260
  var Q = r.getScaledPath("EVENT_ESCALATION", {
15261
15261
  xScaleFactor: 1,
15262
15262
  yScaleFactor: 1,
@@ -15267,13 +15267,13 @@ function So(e, t, n, r, a, o, l) {
15267
15267
  my: 0.2
15268
15268
  }
15269
15269
  }), fe = B ? Se(T, c) : "none";
15270
- return G(x, Q, {
15270
+ return G(S, Q, {
15271
15271
  strokeWidth: 1,
15272
15272
  fill: fe,
15273
15273
  stroke: Se(T, c)
15274
15274
  });
15275
15275
  },
15276
- "bpmn:ConditionalEventDefinition": function(x, T) {
15276
+ "bpmn:ConditionalEventDefinition": function(S, T) {
15277
15277
  var B = r.getScaledPath("EVENT_CONDITIONAL", {
15278
15278
  xScaleFactor: 1,
15279
15279
  yScaleFactor: 1,
@@ -15284,12 +15284,12 @@ function So(e, t, n, r, a, o, l) {
15284
15284
  my: 0.222
15285
15285
  }
15286
15286
  });
15287
- return G(x, B, {
15287
+ return G(S, B, {
15288
15288
  strokeWidth: 1,
15289
15289
  stroke: Se(T, c)
15290
15290
  });
15291
15291
  },
15292
- "bpmn:LinkEventDefinition": function(x, T, B) {
15292
+ "bpmn:LinkEventDefinition": function(S, T, B) {
15293
15293
  var Q = r.getScaledPath("EVENT_LINK", {
15294
15294
  xScaleFactor: 1,
15295
15295
  yScaleFactor: 1,
@@ -15300,13 +15300,13 @@ function So(e, t, n, r, a, o, l) {
15300
15300
  my: 0.263
15301
15301
  }
15302
15302
  }), fe = B ? Se(T, c) : "none";
15303
- return G(x, Q, {
15303
+ return G(S, Q, {
15304
15304
  strokeWidth: 1,
15305
15305
  fill: fe,
15306
15306
  stroke: Se(T, c)
15307
15307
  });
15308
15308
  },
15309
- "bpmn:ErrorEventDefinition": function(x, T, B) {
15309
+ "bpmn:ErrorEventDefinition": function(S, T, B) {
15310
15310
  var Q = r.getScaledPath("EVENT_ERROR", {
15311
15311
  xScaleFactor: 1.1,
15312
15312
  yScaleFactor: 1.1,
@@ -15317,13 +15317,13 @@ function So(e, t, n, r, a, o, l) {
15317
15317
  my: 0.722
15318
15318
  }
15319
15319
  }), fe = B ? Se(T, c) : "none";
15320
- return G(x, Q, {
15320
+ return G(S, Q, {
15321
15321
  strokeWidth: 1,
15322
15322
  fill: fe,
15323
15323
  stroke: Se(T, c)
15324
15324
  });
15325
15325
  },
15326
- "bpmn:CancelEventDefinition": function(x, T, B) {
15326
+ "bpmn:CancelEventDefinition": function(S, T, B) {
15327
15327
  var Q = r.getScaledPath("EVENT_CANCEL_45", {
15328
15328
  xScaleFactor: 1,
15329
15329
  yScaleFactor: 1,
@@ -15333,14 +15333,14 @@ function So(e, t, n, r, a, o, l) {
15333
15333
  mx: 0.638,
15334
15334
  my: -0.055
15335
15335
  }
15336
- }), fe = B ? Se(T, c) : "none", ee = G(x, Q, {
15336
+ }), fe = B ? Se(T, c) : "none", ee = G(S, Q, {
15337
15337
  strokeWidth: 1,
15338
15338
  fill: fe,
15339
15339
  stroke: Se(T, c)
15340
15340
  });
15341
15341
  return LE(ee, 45), ee;
15342
15342
  },
15343
- "bpmn:CompensateEventDefinition": function(x, T, B) {
15343
+ "bpmn:CompensateEventDefinition": function(S, T, B) {
15344
15344
  var Q = r.getScaledPath("EVENT_COMPENSATION", {
15345
15345
  xScaleFactor: 1,
15346
15346
  yScaleFactor: 1,
@@ -15351,13 +15351,13 @@ function So(e, t, n, r, a, o, l) {
15351
15351
  my: 0.5
15352
15352
  }
15353
15353
  }), fe = B ? Se(T, c) : "none";
15354
- return G(x, Q, {
15354
+ return G(S, Q, {
15355
15355
  strokeWidth: 1,
15356
15356
  fill: fe,
15357
15357
  stroke: Se(T, c)
15358
15358
  });
15359
15359
  },
15360
- "bpmn:SignalEventDefinition": function(x, T, B) {
15360
+ "bpmn:SignalEventDefinition": function(S, T, B) {
15361
15361
  var Q = r.getScaledPath("EVENT_SIGNAL", {
15362
15362
  xScaleFactor: 0.9,
15363
15363
  yScaleFactor: 0.9,
@@ -15368,13 +15368,13 @@ function So(e, t, n, r, a, o, l) {
15368
15368
  my: 0.2
15369
15369
  }
15370
15370
  }), fe = B ? Se(T, c) : "none";
15371
- return G(x, Q, {
15371
+ return G(S, Q, {
15372
15372
  strokeWidth: 1,
15373
15373
  fill: fe,
15374
15374
  stroke: Se(T, c)
15375
15375
  });
15376
15376
  },
15377
- "bpmn:MultipleEventDefinition": function(x, T, B) {
15377
+ "bpmn:MultipleEventDefinition": function(S, T, B) {
15378
15378
  var Q = r.getScaledPath("EVENT_MULTIPLE", {
15379
15379
  xScaleFactor: 1.1,
15380
15380
  yScaleFactor: 1.1,
@@ -15385,12 +15385,12 @@ function So(e, t, n, r, a, o, l) {
15385
15385
  my: 0.36
15386
15386
  }
15387
15387
  }), fe = B ? Se(T, c) : "none";
15388
- return G(x, Q, {
15388
+ return G(S, Q, {
15389
15389
  strokeWidth: 1,
15390
15390
  fill: fe
15391
15391
  });
15392
15392
  },
15393
- "bpmn:ParallelMultipleEventDefinition": function(x, T) {
15393
+ "bpmn:ParallelMultipleEventDefinition": function(S, T) {
15394
15394
  var B = r.getScaledPath("EVENT_PARALLEL_MULTIPLE", {
15395
15395
  xScaleFactor: 1.2,
15396
15396
  yScaleFactor: 1.2,
@@ -15401,60 +15401,60 @@ function So(e, t, n, r, a, o, l) {
15401
15401
  my: 0.194
15402
15402
  }
15403
15403
  });
15404
- return G(x, B, {
15404
+ return G(S, B, {
15405
15405
  strokeWidth: 1,
15406
15406
  fill: Se(T, c),
15407
15407
  stroke: Se(T, c)
15408
15408
  });
15409
15409
  },
15410
- "bpmn:EndEvent": function(x, T) {
15411
- var B = U("bpmn:Event")(x, T, {
15410
+ "bpmn:EndEvent": function(S, T) {
15411
+ var B = U("bpmn:Event")(S, T, {
15412
15412
  strokeWidth: 4,
15413
15413
  fill: pt(T, u),
15414
15414
  stroke: Se(T, c)
15415
15415
  });
15416
- return z(T, x), B;
15416
+ return z(T, S), B;
15417
15417
  },
15418
- "bpmn:TerminateEventDefinition": function(x, T) {
15419
- var B = M(x, T.width, T.height, 8, {
15418
+ "bpmn:TerminateEventDefinition": function(S, T) {
15419
+ var B = M(S, T.width, T.height, 8, {
15420
15420
  strokeWidth: 4,
15421
15421
  fill: Se(T, c),
15422
15422
  stroke: Se(T, c)
15423
15423
  });
15424
15424
  return B;
15425
15425
  },
15426
- "bpmn:IntermediateEvent": function(x, T) {
15427
- var B = U("bpmn:Event")(x, T, {
15426
+ "bpmn:IntermediateEvent": function(S, T) {
15427
+ var B = U("bpmn:Event")(S, T, {
15428
15428
  strokeWidth: 1.5,
15429
15429
  fill: pt(T, u),
15430
15430
  stroke: Se(T, c)
15431
15431
  });
15432
- return M(x, T.width, T.height, Nd, {
15432
+ return M(S, T.width, T.height, Nd, {
15433
15433
  strokeWidth: 1.5,
15434
15434
  fill: pt(T, "none"),
15435
15435
  stroke: Se(T, c)
15436
- }), z(T, x), B;
15436
+ }), z(T, S), B;
15437
15437
  },
15438
15438
  "bpmn:IntermediateCatchEvent": $("bpmn:IntermediateEvent"),
15439
15439
  "bpmn:IntermediateThrowEvent": $("bpmn:IntermediateEvent"),
15440
- "bpmn:Activity": function(x, T, B) {
15441
- return B = B || {}, "fillOpacity" in B || (B.fillOpacity = rs), D(x, T.width, T.height, Wc, B);
15440
+ "bpmn:Activity": function(S, T, B) {
15441
+ return B = B || {}, "fillOpacity" in B || (B.fillOpacity = rs), D(S, T.width, T.height, Wc, B);
15442
15442
  },
15443
- "bpmn:Task": function(x, T) {
15443
+ "bpmn:Task": function(S, T) {
15444
15444
  var B = {
15445
15445
  fill: pt(T, u),
15446
15446
  stroke: Se(T, c)
15447
- }, Q = U("bpmn:Activity")(x, T, B);
15448
- return ie(x, T, "center-middle"), re(x, T), Q;
15447
+ }, Q = U("bpmn:Activity")(S, T, B);
15448
+ return ie(S, T, "center-middle"), re(S, T), Q;
15449
15449
  },
15450
- "bpmn:ServiceTask": function(x, T) {
15451
- var B = U("bpmn:Task")(x, T), Q = r.getScaledPath("TASK_TYPE_SERVICE", {
15450
+ "bpmn:ServiceTask": function(S, T) {
15451
+ var B = U("bpmn:Task")(S, T), Q = r.getScaledPath("TASK_TYPE_SERVICE", {
15452
15452
  abspos: {
15453
15453
  x: 12,
15454
15454
  y: 18
15455
15455
  }
15456
15456
  });
15457
- G(x, Q, {
15457
+ G(S, Q, {
15458
15458
  strokeWidth: 1,
15459
15459
  fill: pt(T, u),
15460
15460
  stroke: Se(T, c)
@@ -15465,7 +15465,7 @@ function So(e, t, n, r, a, o, l) {
15465
15465
  y: 18
15466
15466
  }
15467
15467
  });
15468
- G(x, fe, {
15468
+ G(S, fe, {
15469
15469
  strokeWidth: 0,
15470
15470
  fill: pt(T, u)
15471
15471
  });
@@ -15475,20 +15475,20 @@ function So(e, t, n, r, a, o, l) {
15475
15475
  y: 22
15476
15476
  }
15477
15477
  });
15478
- return G(x, ee, {
15478
+ return G(S, ee, {
15479
15479
  strokeWidth: 1,
15480
15480
  fill: pt(T, u),
15481
15481
  stroke: Se(T, c)
15482
15482
  }), B;
15483
15483
  },
15484
- "bpmn:UserTask": function(x, T) {
15485
- var B = U("bpmn:Task")(x, T), Q = 15, fe = 12, ee = r.getScaledPath("TASK_TYPE_USER_1", {
15484
+ "bpmn:UserTask": function(S, T) {
15485
+ var B = U("bpmn:Task")(S, T), Q = 15, fe = 12, ee = r.getScaledPath("TASK_TYPE_USER_1", {
15486
15486
  abspos: {
15487
15487
  x: Q,
15488
15488
  y: fe
15489
15489
  }
15490
15490
  });
15491
- G(x, ee, {
15491
+ G(S, ee, {
15492
15492
  strokeWidth: 0.5,
15493
15493
  fill: pt(T, u),
15494
15494
  stroke: Se(T, c)
@@ -15499,7 +15499,7 @@ function So(e, t, n, r, a, o, l) {
15499
15499
  y: fe
15500
15500
  }
15501
15501
  });
15502
- G(x, ne, {
15502
+ G(S, ne, {
15503
15503
  strokeWidth: 0.5,
15504
15504
  fill: pt(T, u),
15505
15505
  stroke: Se(T, c)
@@ -15510,28 +15510,28 @@ function So(e, t, n, r, a, o, l) {
15510
15510
  y: fe
15511
15511
  }
15512
15512
  });
15513
- return G(x, xe, {
15513
+ return G(S, xe, {
15514
15514
  strokeWidth: 0.5,
15515
15515
  fill: Se(T, c),
15516
15516
  stroke: Se(T, c)
15517
15517
  }), B;
15518
15518
  },
15519
- "bpmn:ManualTask": function(x, T) {
15520
- var B = U("bpmn:Task")(x, T), Q = r.getScaledPath("TASK_TYPE_MANUAL", {
15519
+ "bpmn:ManualTask": function(S, T) {
15520
+ var B = U("bpmn:Task")(S, T), Q = r.getScaledPath("TASK_TYPE_MANUAL", {
15521
15521
  abspos: {
15522
15522
  x: 17,
15523
15523
  y: 15
15524
15524
  }
15525
15525
  });
15526
- return G(x, Q, {
15526
+ return G(S, Q, {
15527
15527
  strokeWidth: 0.5,
15528
15528
  // 0.25,
15529
15529
  fill: pt(T, u),
15530
15530
  stroke: Se(T, c)
15531
15531
  }), B;
15532
15532
  },
15533
- "bpmn:SendTask": function(x, T) {
15534
- var B = U("bpmn:Task")(x, T), Q = r.getScaledPath("TASK_TYPE_SEND", {
15533
+ "bpmn:SendTask": function(S, T) {
15534
+ var B = U("bpmn:Task")(S, T), Q = r.getScaledPath("TASK_TYPE_SEND", {
15535
15535
  xScaleFactor: 1,
15536
15536
  yScaleFactor: 1,
15537
15537
  containerWidth: 21,
@@ -15541,15 +15541,15 @@ function So(e, t, n, r, a, o, l) {
15541
15541
  my: 0.357
15542
15542
  }
15543
15543
  });
15544
- return G(x, Q, {
15544
+ return G(S, Q, {
15545
15545
  strokeWidth: 1,
15546
15546
  fill: Se(T, c),
15547
15547
  stroke: pt(T, u)
15548
15548
  }), B;
15549
15549
  },
15550
- "bpmn:ReceiveTask": function(x, T) {
15551
- var B = $n(T), Q = U("bpmn:Task")(x, T), fe;
15552
- return B.instantiate ? (M(x, 28, 28, 20 * 0.22, { strokeWidth: 1 }), fe = r.getScaledPath("TASK_TYPE_INSTANTIATING_SEND", {
15550
+ "bpmn:ReceiveTask": function(S, T) {
15551
+ var B = $n(T), Q = U("bpmn:Task")(S, T), fe;
15552
+ return B.instantiate ? (M(S, 28, 28, 20 * 0.22, { strokeWidth: 1 }), fe = r.getScaledPath("TASK_TYPE_INSTANTIATING_SEND", {
15553
15553
  abspos: {
15554
15554
  x: 7.77,
15555
15555
  y: 9.52
@@ -15563,31 +15563,31 @@ function So(e, t, n, r, a, o, l) {
15563
15563
  mx: 0.3,
15564
15564
  my: 0.4
15565
15565
  }
15566
- }), G(x, fe, {
15566
+ }), G(S, fe, {
15567
15567
  strokeWidth: 1,
15568
15568
  fill: pt(T, u),
15569
15569
  stroke: Se(T, c)
15570
15570
  }), Q;
15571
15571
  },
15572
- "bpmn:ScriptTask": function(x, T) {
15573
- var B = U("bpmn:Task")(x, T), Q = r.getScaledPath("TASK_TYPE_SCRIPT", {
15572
+ "bpmn:ScriptTask": function(S, T) {
15573
+ var B = U("bpmn:Task")(S, T), Q = r.getScaledPath("TASK_TYPE_SCRIPT", {
15574
15574
  abspos: {
15575
15575
  x: 15,
15576
15576
  y: 20
15577
15577
  }
15578
15578
  });
15579
- return G(x, Q, {
15579
+ return G(S, Q, {
15580
15580
  strokeWidth: 1,
15581
15581
  stroke: Se(T, c)
15582
15582
  }), B;
15583
15583
  },
15584
- "bpmn:BusinessRuleTask": function(x, T) {
15585
- var B = U("bpmn:Task")(x, T), Q = r.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER", {
15584
+ "bpmn:BusinessRuleTask": function(S, T) {
15585
+ var B = U("bpmn:Task")(S, T), Q = r.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER", {
15586
15586
  abspos: {
15587
15587
  x: 8,
15588
15588
  y: 8
15589
15589
  }
15590
- }), fe = G(x, Q);
15590
+ }), fe = G(S, Q);
15591
15591
  Ae(fe, {
15592
15592
  strokeWidth: 1,
15593
15593
  fill: pt(T, "#aaaaaa"),
@@ -15598,48 +15598,48 @@ function So(e, t, n, r, a, o, l) {
15598
15598
  x: 8,
15599
15599
  y: 8
15600
15600
  }
15601
- }), ne = G(x, ee);
15601
+ }), ne = G(S, ee);
15602
15602
  return Ae(ne, {
15603
15603
  strokeWidth: 1,
15604
15604
  stroke: Se(T, c)
15605
15605
  }), B;
15606
15606
  },
15607
- "bpmn:SubProcess": function(x, T, B) {
15607
+ "bpmn:SubProcess": function(S, T, B) {
15608
15608
  B = {
15609
15609
  fill: pt(T, u),
15610
15610
  stroke: Se(T, c),
15611
15611
  ...B
15612
15612
  };
15613
- var Q = U("bpmn:Activity")(x, T, B), fe = ft(T);
15613
+ var Q = U("bpmn:Activity")(S, T, B), fe = ft(T);
15614
15614
  return sr(T) && Ae(Q, {
15615
15615
  strokeDasharray: "0, 5.5",
15616
15616
  strokeWidth: 2.5
15617
- }), ie(x, T, fe ? "center-top" : "center-middle"), fe ? re(x, T) : re(x, T, ["SubProcessMarker"]), Q;
15617
+ }), ie(S, T, fe ? "center-top" : "center-middle"), fe ? re(S, T) : re(S, T, ["SubProcessMarker"]), Q;
15618
15618
  },
15619
- "bpmn:AdHocSubProcess": function(x, T) {
15620
- return U("bpmn:SubProcess")(x, T);
15619
+ "bpmn:AdHocSubProcess": function(S, T) {
15620
+ return U("bpmn:SubProcess")(S, T);
15621
15621
  },
15622
- "bpmn:Transaction": function(x, T) {
15623
- var B = U("bpmn:SubProcess")(x, T, { strokeWidth: 1.5 }), Q = n.style(["no-fill", "no-events"], {
15622
+ "bpmn:Transaction": function(S, T) {
15623
+ var B = U("bpmn:SubProcess")(S, T, { strokeWidth: 1.5 }), Q = n.style(["no-fill", "no-events"], {
15624
15624
  stroke: Se(T, c),
15625
15625
  strokeWidth: 1.5
15626
15626
  });
15627
- return D(x, T.width, T.height, Wc - 3, Nd, Q), B;
15627
+ return D(S, T.width, T.height, Wc - 3, Nd, Q), B;
15628
15628
  },
15629
- "bpmn:CallActivity": function(x, T) {
15630
- return U("bpmn:SubProcess")(x, T, {
15629
+ "bpmn:CallActivity": function(S, T) {
15630
+ return U("bpmn:SubProcess")(S, T, {
15631
15631
  strokeWidth: 5
15632
15632
  });
15633
15633
  },
15634
- "bpmn:Participant": function(x, T) {
15634
+ "bpmn:Participant": function(S, T) {
15635
15635
  var B = 1.5, Q = {
15636
15636
  fillOpacity: rs,
15637
15637
  fill: pt(T, u),
15638
15638
  stroke: Se(T, c),
15639
15639
  strokeWidth: B
15640
- }, fe = U("bpmn:Lane")(x, T, Q), ee = ft(T);
15640
+ }, fe = U("bpmn:Lane")(S, T, Q), ee = ft(T);
15641
15641
  if (ee) {
15642
- N(x, [
15642
+ N(S, [
15643
15643
  { x: 30, y: 0 },
15644
15644
  { x: 30, y: T.height }
15645
15645
  ], {
@@ -15647,10 +15647,10 @@ function So(e, t, n, r, a, o, l) {
15647
15647
  strokeWidth: B
15648
15648
  });
15649
15649
  var ne = $n(T).name;
15650
- j(x, ne, T);
15650
+ j(S, ne, T);
15651
15651
  } else {
15652
15652
  var xe = $n(T).name;
15653
- oe(x, xe, {
15653
+ oe(S, xe, {
15654
15654
  box: T,
15655
15655
  align: "center-middle",
15656
15656
  style: {
@@ -15659,10 +15659,10 @@ function So(e, t, n, r, a, o, l) {
15659
15659
  });
15660
15660
  }
15661
15661
  var $e = !!$n(T).participantMultiplicity;
15662
- return $e && U("ParticipantMultiplicityMarker")(x, T), fe;
15662
+ return $e && U("ParticipantMultiplicityMarker")(S, T), fe;
15663
15663
  },
15664
- "bpmn:Lane": function(x, T, B) {
15665
- var Q = D(x, T.width, T.height, 0, {
15664
+ "bpmn:Lane": function(S, T, B) {
15665
+ var Q = D(S, T.width, T.height, 0, {
15666
15666
  fill: pt(T, u),
15667
15667
  fillOpacity: uR,
15668
15668
  stroke: Se(T, c),
@@ -15671,20 +15671,20 @@ function So(e, t, n, r, a, o, l) {
15671
15671
  }), fe = $n(T);
15672
15672
  if (fe.$type === "bpmn:Lane") {
15673
15673
  var ee = fe.name;
15674
- j(x, ee, T);
15674
+ j(S, ee, T);
15675
15675
  }
15676
15676
  return Q;
15677
15677
  },
15678
- "bpmn:InclusiveGateway": function(x, T) {
15679
- var B = U("bpmn:Gateway")(x, T);
15680
- return M(x, T.width, T.height, T.height * 0.24, {
15678
+ "bpmn:InclusiveGateway": function(S, T) {
15679
+ var B = U("bpmn:Gateway")(S, T);
15680
+ return M(S, T.width, T.height, T.height * 0.24, {
15681
15681
  strokeWidth: 2.5,
15682
15682
  fill: pt(T, u),
15683
15683
  stroke: Se(T, c)
15684
15684
  }), B;
15685
15685
  },
15686
- "bpmn:ExclusiveGateway": function(x, T) {
15687
- var B = U("bpmn:Gateway")(x, T), Q = r.getScaledPath("GATEWAY_EXCLUSIVE", {
15686
+ "bpmn:ExclusiveGateway": function(S, T) {
15687
+ var B = U("bpmn:Gateway")(S, T), Q = r.getScaledPath("GATEWAY_EXCLUSIVE", {
15688
15688
  xScaleFactor: 0.4,
15689
15689
  yScaleFactor: 0.4,
15690
15690
  containerWidth: T.width,
@@ -15694,14 +15694,14 @@ function So(e, t, n, r, a, o, l) {
15694
15694
  my: 0.3
15695
15695
  }
15696
15696
  });
15697
- return mt(T).isMarkerVisible && G(x, Q, {
15697
+ return mt(T).isMarkerVisible && G(S, Q, {
15698
15698
  strokeWidth: 1,
15699
15699
  fill: Se(T, c),
15700
15700
  stroke: Se(T, c)
15701
15701
  }), B;
15702
15702
  },
15703
- "bpmn:ComplexGateway": function(x, T) {
15704
- var B = U("bpmn:Gateway")(x, T), Q = r.getScaledPath("GATEWAY_COMPLEX", {
15703
+ "bpmn:ComplexGateway": function(S, T) {
15704
+ var B = U("bpmn:Gateway")(S, T), Q = r.getScaledPath("GATEWAY_COMPLEX", {
15705
15705
  xScaleFactor: 0.5,
15706
15706
  yScaleFactor: 0.5,
15707
15707
  containerWidth: T.width,
@@ -15711,14 +15711,14 @@ function So(e, t, n, r, a, o, l) {
15711
15711
  my: 0.26
15712
15712
  }
15713
15713
  });
15714
- return G(x, Q, {
15714
+ return G(S, Q, {
15715
15715
  strokeWidth: 1,
15716
15716
  fill: Se(T, c),
15717
15717
  stroke: Se(T, c)
15718
15718
  }), B;
15719
15719
  },
15720
- "bpmn:ParallelGateway": function(x, T) {
15721
- var B = U("bpmn:Gateway")(x, T), Q = r.getScaledPath("GATEWAY_PARALLEL", {
15720
+ "bpmn:ParallelGateway": function(S, T) {
15721
+ var B = U("bpmn:Gateway")(S, T), Q = r.getScaledPath("GATEWAY_PARALLEL", {
15722
15722
  xScaleFactor: 0.6,
15723
15723
  yScaleFactor: 0.6,
15724
15724
  containerWidth: T.width,
@@ -15728,15 +15728,15 @@ function So(e, t, n, r, a, o, l) {
15728
15728
  my: 0.2
15729
15729
  }
15730
15730
  });
15731
- return G(x, Q, {
15731
+ return G(S, Q, {
15732
15732
  strokeWidth: 1,
15733
15733
  fill: Se(T, c),
15734
15734
  stroke: Se(T, c)
15735
15735
  }), B;
15736
15736
  },
15737
- "bpmn:EventBasedGateway": function(x, T) {
15738
- var B = $n(T), Q = U("bpmn:Gateway")(x, T);
15739
- M(x, T.width, T.height, T.height * 0.2, {
15737
+ "bpmn:EventBasedGateway": function(S, T) {
15738
+ var B = $n(T), Q = U("bpmn:Gateway")(S, T);
15739
+ M(S, T.width, T.height, T.height * 0.2, {
15740
15740
  strokeWidth: 1,
15741
15741
  fill: "none",
15742
15742
  stroke: Se(T, c)
@@ -15753,7 +15753,7 @@ function So(e, t, n, r, a, o, l) {
15753
15753
  my: 0.44
15754
15754
  }
15755
15755
  });
15756
- G(x, $e, {
15756
+ G(S, $e, {
15757
15757
  strokeWidth: 2,
15758
15758
  fill: pt(T, "none"),
15759
15759
  stroke: Se(T, c)
@@ -15770,27 +15770,27 @@ function So(e, t, n, r, a, o, l) {
15770
15770
  my: 0.296
15771
15771
  }
15772
15772
  });
15773
- G(x, xe, {
15773
+ G(S, xe, {
15774
15774
  strokeWidth: 1,
15775
15775
  fill: "none"
15776
15776
  });
15777
15777
  } else
15778
- fe === "Exclusive" && (ee || M(x, T.width, T.height, T.height * 0.26, {
15778
+ fe === "Exclusive" && (ee || M(S, T.width, T.height, T.height * 0.26, {
15779
15779
  strokeWidth: 1,
15780
15780
  fill: "none",
15781
15781
  stroke: Se(T, c)
15782
15782
  }), ne());
15783
15783
  return Q;
15784
15784
  },
15785
- "bpmn:Gateway": function(x, T) {
15786
- return R(x, T.width, T.height, {
15785
+ "bpmn:Gateway": function(S, T) {
15786
+ return R(S, T.width, T.height, {
15787
15787
  fill: pt(T, u),
15788
15788
  fillOpacity: rs,
15789
15789
  stroke: Se(T, c)
15790
15790
  });
15791
15791
  },
15792
- "bpmn:SequenceFlow": function(x, T) {
15793
- var B = pt(T, u), Q = Se(T, c), fe = O(x, T.waypoints, {
15792
+ "bpmn:SequenceFlow": function(S, T) {
15793
+ var B = pt(T, u), Q = Se(T, c), fe = O(S, T.waypoints, {
15794
15794
  markerEnd: A("sequenceflow-end", B, Q),
15795
15795
  stroke: Se(T, c)
15796
15796
  }), ee = $n(T), ne;
@@ -15800,28 +15800,28 @@ function So(e, t, n, r, a, o, l) {
15800
15800
  markerStart: A("conditional-default-flow-marker", B, Q)
15801
15801
  })), fe;
15802
15802
  },
15803
- "bpmn:Association": function(x, T, B) {
15803
+ "bpmn:Association": function(S, T, B) {
15804
15804
  var Q = $n(T), fe = pt(T, u), ee = Se(T, c);
15805
15805
  return B = {
15806
15806
  strokeDasharray: "0, 5",
15807
15807
  stroke: Se(T, c),
15808
15808
  ...B
15809
- }, (Q.associationDirection === "One" || Q.associationDirection === "Both") && (B.markerEnd = A("association-end", fe, ee)), Q.associationDirection === "Both" && (B.markerStart = A("association-start", fe, ee)), O(x, T.waypoints, B);
15809
+ }, (Q.associationDirection === "One" || Q.associationDirection === "Both") && (B.markerEnd = A("association-end", fe, ee)), Q.associationDirection === "Both" && (B.markerStart = A("association-start", fe, ee)), O(S, T.waypoints, B);
15810
15810
  },
15811
- "bpmn:DataInputAssociation": function(x, T) {
15811
+ "bpmn:DataInputAssociation": function(S, T) {
15812
15812
  var B = pt(T, u), Q = Se(T, c);
15813
- return U("bpmn:Association")(x, T, {
15813
+ return U("bpmn:Association")(S, T, {
15814
15814
  markerEnd: A("association-end", B, Q)
15815
15815
  });
15816
15816
  },
15817
- "bpmn:DataOutputAssociation": function(x, T) {
15817
+ "bpmn:DataOutputAssociation": function(S, T) {
15818
15818
  var B = pt(T, u), Q = Se(T, c);
15819
- return U("bpmn:Association")(x, T, {
15819
+ return U("bpmn:Association")(S, T, {
15820
15820
  markerEnd: A("association-end", B, Q)
15821
15821
  });
15822
15822
  },
15823
- "bpmn:MessageFlow": function(x, T) {
15824
- var B = $n(T), Q = mt(T), fe = pt(T, u), ee = Se(T, c), ne = O(x, T.waypoints, {
15823
+ "bpmn:MessageFlow": function(S, T) {
15824
+ var B = $n(T), Q = mt(T), fe = pt(T, u), ee = Se(T, c), ne = O(S, T.waypoints, {
15825
15825
  markerEnd: A("messageflow-end", fe, ee),
15826
15826
  markerStart: A("messageflow-start", fe, ee),
15827
15827
  strokeDasharray: "10, 11",
@@ -15836,7 +15836,7 @@ function So(e, t, n, r, a, o, l) {
15836
15836
  }
15837
15837
  }), qe = { strokeWidth: 1 };
15838
15838
  Q.messageVisibleKind === "initiating" ? (qe.fill = "white", qe.stroke = _l) : (qe.fill = "#888", qe.stroke = "white");
15839
- var je = G(x, $e, qe), Je = B.messageRef.name, ht = oe(x, Je, {
15839
+ var je = G(S, $e, qe), Je = B.messageRef.name, ht = oe(S, Je, {
15840
15840
  align: "center-top",
15841
15841
  fitBox: !0,
15842
15842
  style: {
@@ -15847,7 +15847,7 @@ function So(e, t, n, r, a, o, l) {
15847
15847
  }
15848
15848
  return ne;
15849
15849
  },
15850
- "bpmn:DataObject": function(x, T) {
15850
+ "bpmn:DataObject": function(S, T) {
15851
15851
  var B = r.getScaledPath("DATA_OBJECT_PATH", {
15852
15852
  xScaleFactor: 1,
15853
15853
  yScaleFactor: 1,
@@ -15857,26 +15857,26 @@ function So(e, t, n, r, a, o, l) {
15857
15857
  mx: 0.474,
15858
15858
  my: 0.296
15859
15859
  }
15860
- }), Q = G(x, B, {
15860
+ }), Q = G(S, B, {
15861
15861
  fill: pt(T, u),
15862
15862
  fillOpacity: rs,
15863
15863
  stroke: Se(T, c)
15864
15864
  }), fe = $n(T);
15865
- return rR(fe) && le(x, T), Q;
15865
+ return rR(fe) && le(S, T), Q;
15866
15866
  },
15867
15867
  "bpmn:DataObjectReference": $("bpmn:DataObject"),
15868
- "bpmn:DataInput": function(x, T) {
15869
- var B = r.getRawPath("DATA_ARROW"), Q = U("bpmn:DataObject")(x, T);
15870
- return G(x, B, { strokeWidth: 1 }), Q;
15868
+ "bpmn:DataInput": function(S, T) {
15869
+ var B = r.getRawPath("DATA_ARROW"), Q = U("bpmn:DataObject")(S, T);
15870
+ return G(S, B, { strokeWidth: 1 }), Q;
15871
15871
  },
15872
- "bpmn:DataOutput": function(x, T) {
15873
- var B = r.getRawPath("DATA_ARROW"), Q = U("bpmn:DataObject")(x, T);
15874
- return G(x, B, {
15872
+ "bpmn:DataOutput": function(S, T) {
15873
+ var B = r.getRawPath("DATA_ARROW"), Q = U("bpmn:DataObject")(S, T);
15874
+ return G(S, B, {
15875
15875
  strokeWidth: 1,
15876
15876
  fill: _l
15877
15877
  }), Q;
15878
15878
  },
15879
- "bpmn:DataStoreReference": function(x, T) {
15879
+ "bpmn:DataStoreReference": function(S, T) {
15880
15880
  var B = r.getScaledPath("DATA_STORE", {
15881
15881
  xScaleFactor: 1,
15882
15882
  yScaleFactor: 1,
@@ -15886,7 +15886,7 @@ function So(e, t, n, r, a, o, l) {
15886
15886
  mx: 0,
15887
15887
  my: 0.133
15888
15888
  }
15889
- }), Q = G(x, B, {
15889
+ }), Q = G(S, B, {
15890
15890
  strokeWidth: 2,
15891
15891
  fill: pt(T, u),
15892
15892
  fillOpacity: rs,
@@ -15894,7 +15894,7 @@ function So(e, t, n, r, a, o, l) {
15894
15894
  });
15895
15895
  return Q;
15896
15896
  },
15897
- "bpmn:BoundaryEvent": function(x, T) {
15897
+ "bpmn:BoundaryEvent": function(S, T) {
15898
15898
  var B = $n(T), Q = B.cancelActivity, fe = {
15899
15899
  strokeWidth: 1.5,
15900
15900
  fill: pt(T, u),
@@ -15907,11 +15907,11 @@ function So(e, t, n, r, a, o, l) {
15907
15907
  }, ne = {
15908
15908
  ...fe,
15909
15909
  fill: "none"
15910
- }, xe = U("bpmn:Event")(x, T, ee);
15911
- return M(x, T.width, T.height, Nd, ne), z(T, x), xe;
15910
+ }, xe = U("bpmn:Event")(S, T, ee);
15911
+ return M(S, T.width, T.height, Nd, ne), z(T, S), xe;
15912
15912
  },
15913
- "bpmn:Group": function(x, T) {
15914
- return D(x, T.width, T.height, Wc, {
15913
+ "bpmn:Group": function(S, T) {
15914
+ return D(S, T.width, T.height, Wc, {
15915
15915
  stroke: Se(T, c),
15916
15916
  strokeWidth: 1.5,
15917
15917
  strokeDasharray: "10,6,0,6",
@@ -15919,11 +15919,11 @@ function So(e, t, n, r, a, o, l) {
15919
15919
  pointerEvents: "none"
15920
15920
  });
15921
15921
  },
15922
- label: function(x, T) {
15923
- return te(x, T);
15922
+ label: function(S, T) {
15923
+ return te(S, T);
15924
15924
  },
15925
- "bpmn:TextAnnotation": function(x, T) {
15926
- var B = D(x, T.width, T.height, 0, 0, {
15925
+ "bpmn:TextAnnotation": function(S, T) {
15926
+ var B = D(S, T.width, T.height, 0, 0, {
15927
15927
  fill: "none",
15928
15928
  stroke: "none"
15929
15929
  }), Q = r.getScaledPath("TEXT_ANNOTATION", {
@@ -15936,11 +15936,11 @@ function So(e, t, n, r, a, o, l) {
15936
15936
  my: 0
15937
15937
  }
15938
15938
  });
15939
- G(x, Q, {
15939
+ G(S, Q, {
15940
15940
  stroke: Se(T, c)
15941
15941
  });
15942
15942
  var fe = $n(T).text || "";
15943
- return oe(x, fe, {
15943
+ return oe(S, fe, {
15944
15944
  box: T,
15945
15945
  align: "left-top",
15946
15946
  padding: 7,
@@ -15949,7 +15949,7 @@ function So(e, t, n, r, a, o, l) {
15949
15949
  }
15950
15950
  }), B;
15951
15951
  },
15952
- ParticipantMultiplicityMarker: function(x, T) {
15952
+ ParticipantMultiplicityMarker: function(S, T) {
15953
15953
  var B = r.getScaledPath("MARKER_PARALLEL", {
15954
15954
  xScaleFactor: 1,
15955
15955
  yScaleFactor: 1,
@@ -15960,14 +15960,14 @@ function So(e, t, n, r, a, o, l) {
15960
15960
  my: (T.height - 15) / T.height
15961
15961
  }
15962
15962
  });
15963
- K("participant-multiplicity", x, B, {
15963
+ K("participant-multiplicity", S, B, {
15964
15964
  strokeWidth: 2,
15965
15965
  fill: pt(T, u),
15966
15966
  stroke: Se(T, c)
15967
15967
  });
15968
15968
  },
15969
- SubProcessMarker: function(x, T) {
15970
- var B = D(x, 14, 14, 0, {
15969
+ SubProcessMarker: function(S, T) {
15970
+ var B = D(S, 14, 14, 0, {
15971
15971
  strokeWidth: 1,
15972
15972
  fill: pt(T, u),
15973
15973
  stroke: Se(T, c)
@@ -15983,12 +15983,12 @@ function So(e, t, n, r, a, o, l) {
15983
15983
  my: (T.height - 20) / T.height
15984
15984
  }
15985
15985
  });
15986
- K("sub-process", x, Q, {
15986
+ K("sub-process", S, Q, {
15987
15987
  fill: pt(T, u),
15988
15988
  stroke: Se(T, c)
15989
15989
  });
15990
15990
  },
15991
- ParallelMarker: function(x, T, B) {
15991
+ ParallelMarker: function(S, T, B) {
15992
15992
  var Q = r.getScaledPath("MARKER_PARALLEL", {
15993
15993
  xScaleFactor: 1,
15994
15994
  yScaleFactor: 1,
@@ -15999,12 +15999,12 @@ function So(e, t, n, r, a, o, l) {
15999
15999
  my: (T.height - 20) / T.height
16000
16000
  }
16001
16001
  });
16002
- K("parallel", x, Q, {
16002
+ K("parallel", S, Q, {
16003
16003
  fill: pt(T, u),
16004
16004
  stroke: Se(T, c)
16005
16005
  });
16006
16006
  },
16007
- SequentialMarker: function(x, T, B) {
16007
+ SequentialMarker: function(S, T, B) {
16008
16008
  var Q = r.getScaledPath("MARKER_SEQUENTIAL", {
16009
16009
  xScaleFactor: 1,
16010
16010
  yScaleFactor: 1,
@@ -16015,12 +16015,12 @@ function So(e, t, n, r, a, o, l) {
16015
16015
  my: (T.height - 19) / T.height
16016
16016
  }
16017
16017
  });
16018
- K("sequential", x, Q, {
16018
+ K("sequential", S, Q, {
16019
16019
  fill: pt(T, u),
16020
16020
  stroke: Se(T, c)
16021
16021
  });
16022
16022
  },
16023
- CompensationMarker: function(x, T, B) {
16023
+ CompensationMarker: function(S, T, B) {
16024
16024
  var Q = r.getScaledPath("MARKER_COMPENSATION", {
16025
16025
  xScaleFactor: 1,
16026
16026
  yScaleFactor: 1,
@@ -16031,13 +16031,13 @@ function So(e, t, n, r, a, o, l) {
16031
16031
  my: (T.height - 13) / T.height
16032
16032
  }
16033
16033
  });
16034
- K("compensation", x, Q, {
16034
+ K("compensation", S, Q, {
16035
16035
  strokeWidth: 1,
16036
16036
  fill: pt(T, u),
16037
16037
  stroke: Se(T, c)
16038
16038
  });
16039
16039
  },
16040
- LoopMarker: function(x, T, B) {
16040
+ LoopMarker: function(S, T, B) {
16041
16041
  var Q = r.getScaledPath("MARKER_LOOP", {
16042
16042
  xScaleFactor: 1,
16043
16043
  yScaleFactor: 1,
@@ -16048,14 +16048,14 @@ function So(e, t, n, r, a, o, l) {
16048
16048
  my: (T.height - 7) / T.height
16049
16049
  }
16050
16050
  });
16051
- K("loop", x, Q, {
16051
+ K("loop", S, Q, {
16052
16052
  strokeWidth: 1.5,
16053
16053
  fill: pt(T, u),
16054
16054
  stroke: Se(T, c),
16055
16055
  strokeMiterlimit: 0.5
16056
16056
  });
16057
16057
  },
16058
- AdhocMarker: function(x, T, B) {
16058
+ AdhocMarker: function(S, T, B) {
16059
16059
  var Q = r.getScaledPath("MARKER_ADHOC", {
16060
16060
  xScaleFactor: 1,
16061
16061
  yScaleFactor: 1,
@@ -16066,14 +16066,14 @@ function So(e, t, n, r, a, o, l) {
16066
16066
  my: (T.height - 15) / T.height
16067
16067
  }
16068
16068
  });
16069
- K("adhoc", x, Q, {
16069
+ K("adhoc", S, Q, {
16070
16070
  strokeWidth: 1,
16071
16071
  fill: Se(T, c),
16072
16072
  stroke: Se(T, c)
16073
16073
  });
16074
16074
  }
16075
16075
  };
16076
- function re(x, T, B) {
16076
+ function re(S, T, B) {
16077
16077
  var Q = $n(T), fe = B && B.indexOf("SubProcessMarker") !== -1, ee;
16078
16078
  fe ? ee = {
16079
16079
  seq: -21,
@@ -16088,12 +16088,12 @@ function So(e, t, n, r, a, o, l) {
16088
16088
  loop: 0,
16089
16089
  adhoc: 10
16090
16090
  }, V(B, function($e) {
16091
- U($e)(x, T, ee);
16092
- }), Q.isForCompensation && U("CompensationMarker")(x, T, ee), Q.$type === "bpmn:AdHocSubProcess" && U("AdhocMarker")(x, T, ee);
16091
+ U($e)(S, T, ee);
16092
+ }), Q.isForCompensation && U("CompensationMarker")(S, T, ee), Q.$type === "bpmn:AdHocSubProcess" && U("AdhocMarker")(S, T, ee);
16093
16093
  var ne = Q.loopCharacteristics, xe = ne && ne.isSequential;
16094
- ne && (xe === void 0 && U("LoopMarker")(x, T, ee), xe === !1 && U("ParallelMarker")(x, T, ee), xe === !0 && U("SequentialMarker")(x, T, ee));
16094
+ ne && (xe === void 0 && U("LoopMarker")(S, T, ee), xe === !1 && U("ParallelMarker")(S, T, ee), xe === !0 && U("SequentialMarker")(S, T, ee));
16095
16095
  }
16096
- function le(x, T) {
16096
+ function le(S, T) {
16097
16097
  var B = (T.height - 18) / T.height, Q = r.getScaledPath("DATA_OBJECT_COLLECTION_PATH", {
16098
16098
  xScaleFactor: 1,
16099
16099
  yScaleFactor: 1,
@@ -16104,7 +16104,7 @@ function So(e, t, n, r, a, o, l) {
16104
16104
  my: B
16105
16105
  }
16106
16106
  });
16107
- G(x, Q, {
16107
+ G(S, Q, {
16108
16108
  strokeWidth: 2
16109
16109
  });
16110
16110
  }
@@ -16237,12 +16237,12 @@ Op.prototype.layoutText = function(e, t) {
16237
16237
  return M + (u || D.height);
16238
16238
  }, 0) + o.top + o.bottom, E = lr(d, function(M, D, R) {
16239
16239
  return D.width > M ? D.width : M;
16240
- }, 0), S = o.top;
16241
- a.vertical === "middle" && (S += (n.height - b) / 2), S -= (u || d[0].height) / 4;
16240
+ }, 0), x = o.top;
16241
+ a.vertical === "middle" && (x += (n.height - b) / 2), x -= (u || d[0].height) / 4;
16242
16242
  var A = He("text");
16243
16243
  Ae(A, r), V(d, function(M) {
16244
16244
  var D;
16245
- switch (S += u || M.height, a.horizontal) {
16245
+ switch (x += u || M.height, a.horizontal) {
16246
16246
  case "left":
16247
16247
  D = o.left;
16248
16248
  break;
@@ -16253,7 +16253,7 @@ Op.prototype.layoutText = function(e, t) {
16253
16253
  D = Math.max(((l ? E : v) - M.width) / 2 + o.left, 0);
16254
16254
  }
16255
16255
  var R = He("tspan");
16256
- Ae(R, { x: D, y: S }), R.textContent = M.text, Ve(A, R);
16256
+ Ae(R, { x: D, y: x }), R.textContent = M.text, Ve(A, R);
16257
16257
  }), Kt(m);
16258
16258
  var F = {
16259
16259
  width: E,
@@ -16875,13 +16875,13 @@ function sw(e, t, n) {
16875
16875
  y(K, $, U);
16876
16876
  });
16877
16877
  }
16878
- function S(K) {
16878
+ function x(K) {
16879
16879
  V(c, function(U, $) {
16880
16880
  b(K, $, U);
16881
16881
  });
16882
16882
  }
16883
16883
  e.on("canvas.destroy", function(K) {
16884
- S(K.svg);
16884
+ x(K.svg);
16885
16885
  }), e.on("canvas.init", function(K) {
16886
16886
  E(K.svg);
16887
16887
  }), e.on(["shape.added", "connection.added"], function(K) {
@@ -17459,16 +17459,16 @@ function vw(e, t, n, r) {
17459
17459
  function c(d) {
17460
17460
  d && (u = nk(d));
17461
17461
  var v = u.map(function(y) {
17462
- var b = yh(y.name || y.id), E = At('<li><span class="bjs-crumb"><a title="' + b + '">' + b + "</a></span></li>"), S = r.findRoot(Ai(y)) || r.findRoot(y.id);
17463
- if (!S && k(y, "bpmn:Process")) {
17462
+ var b = yh(y.name || y.id), E = At('<li><span class="bjs-crumb"><a title="' + b + '">' + b + "</a></span></li>"), x = r.findRoot(Ai(y)) || r.findRoot(y.id);
17463
+ if (!x && k(y, "bpmn:Process")) {
17464
17464
  var A = t.find(function(F) {
17465
17465
  var M = Pe(F);
17466
17466
  return M && M.processRef && M.processRef === y;
17467
17467
  });
17468
- S = r.findRoot(A.id);
17468
+ x = r.findRoot(A.id);
17469
17469
  }
17470
17470
  return E.addEventListener("click", function() {
17471
- r.setRootElement(S);
17471
+ r.setRootElement(x);
17472
17472
  }), E;
17473
17473
  });
17474
17474
  a.innerHTML = "";
@@ -18159,8 +18159,8 @@ var Tw = { exports: {} };
18159
18159
  return ut && ut.call(t.console, ae, De), L.apply(this, arguments);
18160
18160
  };
18161
18161
  }
18162
- var S;
18163
- typeof Object.assign != "function" ? S = function(I) {
18162
+ var x;
18163
+ typeof Object.assign != "function" ? x = function(I) {
18164
18164
  if (I === a || I === null)
18165
18165
  throw new TypeError("Cannot convert undefined or null to object");
18166
18166
  for (var q = Object(I), ae = 1; ae < arguments.length; ae++) {
@@ -18170,7 +18170,7 @@ var Tw = { exports: {} };
18170
18170
  ve.hasOwnProperty(De) && (q[De] = ve[De]);
18171
18171
  }
18172
18172
  return q;
18173
- } : S = Object.assign;
18173
+ } : x = Object.assign;
18174
18174
  var A = E(function(I, q, ae) {
18175
18175
  for (var ve = Object.keys(q), De = 0; De < ve.length; )
18176
18176
  (!ae || ae && I[ve[De]] === a) && (I[ve[De]] = q[ve[De]]), De++;
@@ -18180,7 +18180,7 @@ var Tw = { exports: {} };
18180
18180
  }, "merge", "Use `assign`.");
18181
18181
  function M(L, I, q) {
18182
18182
  var ae = I.prototype, ve;
18183
- ve = L.prototype = Object.create(ae), ve.constructor = L, ve._super = ae, q && S(ve, q);
18183
+ ve = L.prototype = Object.create(ae), ve.constructor = L, ve._super = ae, q && x(ve, q);
18184
18184
  }
18185
18185
  function D(L, I) {
18186
18186
  return function() {
@@ -18255,7 +18255,7 @@ var Tw = { exports: {} };
18255
18255
  var I = L.ownerDocument || L;
18256
18256
  return I.defaultView || I.parentWindow || t;
18257
18257
  }
18258
- var le = /mobile|tablet|ip(ad|hone|od)|android/i, x = "ontouchstart" in t, T = te(t, "PointerEvent") !== a, B = x && le.test(navigator.userAgent), Q = "touch", fe = "pen", ee = "mouse", ne = "kinect", xe = 25, $e = 1, qe = 2, je = 4, Je = 8, ht = 1, he = 2, ye = 4, Te = 8, st = 16, vt = he | ye, at = Te | st, rt = vt | at, Lt = ["x", "y"], Ne = ["clientX", "clientY"];
18258
+ var le = /mobile|tablet|ip(ad|hone|od)|android/i, S = "ontouchstart" in t, T = te(t, "PointerEvent") !== a, B = S && le.test(navigator.userAgent), Q = "touch", fe = "pen", ee = "mouse", ne = "kinect", xe = 25, $e = 1, qe = 2, je = 4, Je = 8, ht = 1, he = 2, ye = 4, Te = 8, st = 16, vt = he | ye, at = Te | st, rt = vt | at, Lt = ["x", "y"], Ne = ["clientX", "clientY"];
18259
18259
  function lt(L, I) {
18260
18260
  var q = this;
18261
18261
  this.manager = L, this.callback = I, this.element = L.element, this.target = L.options.inputTarget, this.domHandler = function(ae) {
@@ -18284,7 +18284,7 @@ var Tw = { exports: {} };
18284
18284
  };
18285
18285
  function Mo(L) {
18286
18286
  var I, q = L.options.inputClass;
18287
- return q ? I = q : T ? I = Bt : B ? I = qi : x ? I = Os : I = Ha, new I(L, Ln);
18287
+ return q ? I = q : T ? I = Bt : B ? I = qi : S ? I = Os : I = Ha, new I(L, Ln);
18288
18288
  }
18289
18289
  function Ln(L, I, q) {
18290
18290
  var ae = q.pointers.length, ve = q.changedPointers.length, De = I & $e && ae - ve === 0, ut = I & (je | Je) && ae - ve === 0;
@@ -18617,7 +18617,7 @@ var Tw = { exports: {} };
18617
18617
  }
18618
18618
  var br = 1, In = 2, gi = 4, xt = 8, ke = xt, fr = 16, nr = 32;
18619
18619
  function on(L) {
18620
- this.options = S({}, this.defaults, L || {}), this.id = J(), this.manager = null, this.options.enable = N(this.options.enable, !0), this.state = br, this.simultaneous = {}, this.requireFail = [];
18620
+ this.options = x({}, this.defaults, L || {}), this.id = J(), this.manager = null, this.options.enable = N(this.options.enable, !0), this.state = br, this.simultaneous = {}, this.requireFail = [];
18621
18621
  }
18622
18622
  on.prototype = {
18623
18623
  /**
@@ -18631,7 +18631,7 @@ var Tw = { exports: {} };
18631
18631
  * @return {Recognizer}
18632
18632
  */
18633
18633
  set: function(L) {
18634
- return S(this.options, L), this.manager && this.manager.touchAction.update(), this;
18634
+ return x(this.options, L), this.manager && this.manager.touchAction.update(), this;
18635
18635
  },
18636
18636
  /**
18637
18637
  * recognize simultaneous with an other recognizer.
@@ -18730,7 +18730,7 @@ var Tw = { exports: {} };
18730
18730
  * @param {Object} inputData
18731
18731
  */
18732
18732
  recognize: function(L) {
18733
- var I = S({}, L);
18733
+ var I = x({}, L);
18734
18734
  if (!R(this.options.enable, [this, I])) {
18735
18735
  this.reset(), this.state = nr;
18736
18736
  return;
@@ -19105,7 +19105,7 @@ var Tw = { exports: {} };
19105
19105
  };
19106
19106
  var Qe = 1, Du = 2;
19107
19107
  function Io(L, I) {
19108
- this.options = S({}, _r.defaults, I || {}), this.options.inputTarget = this.options.inputTarget || L, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = L, this.input = Mo(this), this.touchAction = new Ga(this, this.options.touchAction), qa(this, !0), b(this.options.recognizers, function(q) {
19108
+ this.options = x({}, _r.defaults, I || {}), this.options.inputTarget = this.options.inputTarget || L, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = L, this.input = Mo(this), this.touchAction = new Ga(this, this.options.touchAction), qa(this, !0), b(this.options.recognizers, function(q) {
19109
19109
  var ae = this.add(new q[0](q[1]));
19110
19110
  q[2] && ae.recognizeWith(q[2]), q[3] && ae.requireFailure(q[3]);
19111
19111
  }, this);
@@ -19117,7 +19117,7 @@ var Tw = { exports: {} };
19117
19117
  * @returns {Manager}
19118
19118
  */
19119
19119
  set: function(L) {
19120
- return S(this.options, L), L.touchAction && this.touchAction.update(), L.inputTarget && (this.input.destroy(), this.input.target = L.inputTarget, this.input.init()), this;
19120
+ return x(this.options, L), L.touchAction && this.touchAction.update(), L.inputTarget && (this.input.destroy(), this.input.target = L.inputTarget, this.input.init()), this;
19121
19121
  },
19122
19122
  /**
19123
19123
  * stop recognizing for this session.
@@ -19250,7 +19250,7 @@ var Tw = { exports: {} };
19250
19250
  var q = n.createEvent("Event");
19251
19251
  q.initEvent(L, !0, !0), q.gesture = I, I.target.dispatchEvent(q);
19252
19252
  }
19253
- S(_r, {
19253
+ x(_r, {
19254
19254
  INPUT_START: $e,
19255
19255
  INPUT_MOVE: qe,
19256
19256
  INPUT_END: je,
@@ -19291,7 +19291,7 @@ var Tw = { exports: {} };
19291
19291
  each: b,
19292
19292
  merge: F,
19293
19293
  extend: A,
19294
- assign: S,
19294
+ assign: x,
19295
19295
  inherit: M,
19296
19296
  bindFn: D,
19297
19297
  prefixed: te
@@ -19352,9 +19352,9 @@ function Id(e) {
19352
19352
  function Aw(e, t, n, r, a) {
19353
19353
  var o = vc("dragging", e), l = vc("move", e), u = vc("contextPad", e), c = vc("palette", e), d;
19354
19354
  function v(b, E) {
19355
- return function(S) {
19356
- var A = m(S.target), F = A && r.get(A);
19357
- return E && (S.srcEvent.button = E), a.fire(b, S, F);
19355
+ return function(x) {
19356
+ var A = m(x.target), F = A && r.get(A);
19357
+ return E && (x.srcEvent.button = E), a.fire(b, x, F);
19358
19358
  };
19359
19359
  }
19360
19360
  function m(b) {
@@ -19374,7 +19374,7 @@ function Aw(e, t, n, r, a) {
19374
19374
  }
19375
19375
  d.on("panmove", R), d.on("panend", N), d.on("pancancel", N);
19376
19376
  }
19377
- function S(F) {
19377
+ function x(F) {
19378
19378
  var M = m(F.target), D = M && r.get(M);
19379
19379
  if (l && t.getRootElement() !== D)
19380
19380
  return l.start(F, D, !0);
@@ -19391,30 +19391,30 @@ function Aw(e, t, n, r, a) {
19391
19391
  }
19392
19392
  d.on("pinchmove", R), d.on("pinchend", N), d.on("pinchcancel", N);
19393
19393
  }
19394
- d.on("tap", v("element.click")), d.on("doubletap", v("element.dblclick", 1)), d.on("panstart", S), d.on("press", S), d.on("pinchstart", A);
19394
+ d.on("tap", v("element.click")), d.on("doubletap", v("element.dblclick", 1)), d.on("panstart", x), d.on("press", x), d.on("pinchstart", A);
19395
19395
  }
19396
19396
  o && n.on("drag.move", function(b) {
19397
19397
  var E = b.originalEvent;
19398
19398
  if (!(!E || E instanceof MouseEvent)) {
19399
- var S = ga(E), A = document.elementFromPoint(S.x, S.y), F = m(A), M = F && r.get(F);
19399
+ var x = ga(E), A = document.elementFromPoint(x.x, x.y), F = m(A), M = F && r.get(F);
19400
19400
  M !== b.hover && (b.hover && o.out(b), M && (o.hover({ element: M, gfx: F }), b.hover = M, b.hoverGfx = F));
19401
19401
  }
19402
19402
  }), u && n.on("contextPad.create", function(b) {
19403
- var E = b.pad.html, S = Id(E);
19404
- S.on("panstart", function(A) {
19403
+ var E = b.pad.html, x = Id(E);
19404
+ x.on("panstart", function(A) {
19405
19405
  u.trigger("dragstart", A, !0);
19406
- }), S.on("press", function(A) {
19406
+ }), x.on("press", function(A) {
19407
19407
  u.trigger("dragstart", A, !0);
19408
- }), S.on("tap", function(A) {
19408
+ }), x.on("tap", function(A) {
19409
19409
  u.trigger("click", A);
19410
19410
  });
19411
19411
  }), c && n.on("palette.create", function(b) {
19412
- var E = b.container, S = Id(E);
19413
- S.on("panstart", function(A) {
19412
+ var E = b.container, x = Id(E);
19413
+ x.on("panstart", function(A) {
19414
19414
  c.trigger("dragstart", A, !0);
19415
- }), S.on("press", function(A) {
19415
+ }), x.on("press", function(A) {
19416
19416
  c.trigger("dragstart", A, !0);
19417
- }), S.on("tap", function(A) {
19417
+ }), x.on("tap", function(A) {
19418
19418
  c.trigger("click", A);
19419
19419
  });
19420
19420
  }), n.on("canvas.init", function(b) {
@@ -19750,10 +19750,10 @@ function cp() {
19750
19750
  cp.__r = 0;
19751
19751
  }
19752
19752
  function Iw(e, t, n, r, a, o, l, u, c, d, v) {
19753
- var m, y, b, E, S, A, F, M = r && r.__k || Nw, D = t.length;
19753
+ var m, y, b, E, x, A, F, M = r && r.__k || Nw, D = t.length;
19754
19754
  for (c = Hk(n, t, M, c, D), m = 0; m < D; m++)
19755
- (b = n.__k[m]) != null && (y = b.__i == -1 ? Ll : M[b.__i] || Ll, b.__i = m, A = Rv(e, b, y, a, o, l, u, c, d, v), E = b.__e, b.ref && y.ref != b.ref && (y.ref && kv(y.ref, null, b), v.push(b.ref, b.__c || E, b)), S == null && E != null && (S = E), (F = !!(4 & b.__u)) || y.__k === b.__k ? c = Bw(b, c, e, F) : typeof b.type == "function" && A !== void 0 ? c = A : E && (c = E.nextSibling), b.__u &= -7);
19756
- return n.__e = S, c;
19755
+ (b = n.__k[m]) != null && (y = b.__i == -1 ? Ll : M[b.__i] || Ll, b.__i = m, A = Rv(e, b, y, a, o, l, u, c, d, v), E = b.__e, b.ref && y.ref != b.ref && (y.ref && kv(y.ref, null, b), v.push(b.ref, b.__c || E, b)), x == null && E != null && (x = E), (F = !!(4 & b.__u)) || y.__k === b.__k ? c = Bw(b, c, e, F) : typeof b.type == "function" && A !== void 0 ? c = A : E && (c = E.nextSibling), b.__u &= -7);
19756
+ return n.__e = x, c;
19757
19757
  }
19758
19758
  function Hk(e, t, n, r, a) {
19759
19759
  var o, l, u, c, d, v = n.length, m = v, y = 0;
@@ -19832,7 +19832,7 @@ function kb(e) {
19832
19832
  };
19833
19833
  }
19834
19834
  function Rv(e, t, n, r, a, o, l, u, c, d) {
19835
- var v, m, y, b, E, S, A, F, M, D, R, N, O, G, K, U, $, z = t.type;
19835
+ var v, m, y, b, E, x, A, F, M, D, R, N, O, G, K, U, $, z = t.type;
19836
19836
  if (t.constructor != null)
19837
19837
  return null;
19838
19838
  128 & n.__u && (c = !!(32 & n.__u), o = [u = t.__e = n.__e]), (v = kt.__b) && v(t);
@@ -19851,7 +19851,7 @@ function Rv(e, t, n, r, a, o, l, u, c, d) {
19851
19851
  break e;
19852
19852
  }
19853
19853
  m.componentWillUpdate != null && m.componentWillUpdate(F, m.__s, R), M && m.componentDidUpdate != null && m.__h.push(function() {
19854
- m.componentDidUpdate(b, E, S);
19854
+ m.componentDidUpdate(b, E, x);
19855
19855
  });
19856
19856
  }
19857
19857
  if (m.context = R, m.props = F, m.__P = e, m.__e = !1, O = kt.__r, G = 0, M) {
@@ -19862,7 +19862,7 @@ function Rv(e, t, n, r, a, o, l, u, c, d) {
19862
19862
  do
19863
19863
  m.__d = !1, O && O(t), v = m.render(m.props, m.state, m.context), m.state = m.__s;
19864
19864
  while (m.__d && ++G < 25);
19865
- m.state = m.__s, m.getChildContext != null && (r = ki(ki({}, r), m.getChildContext())), M && !y && m.getSnapshotBeforeUpdate != null && (S = m.getSnapshotBeforeUpdate(b, E)), U = v, v != null && v.type === Kp && v.key == null && (U = $w(v.props.children)), u = Iw(e, Gp(U) ? U : [U], t, n, r, a, o, l, u, c, d), m.base = t.__e, t.__u &= -161, m.__h.length && l.push(m), A && (m.__E = m.__ = null);
19865
+ m.state = m.__s, m.getChildContext != null && (r = ki(ki({}, r), m.getChildContext())), M && !y && m.getSnapshotBeforeUpdate != null && (x = m.getSnapshotBeforeUpdate(b, E)), U = v, v != null && v.type === Kp && v.key == null && (U = $w(v.props.children)), u = Iw(e, Gp(U) ? U : [U], t, n, r, a, o, l, u, c, d), m.base = t.__e, t.__u &= -161, m.__h.length && l.push(m), A && (m.__E = m.__ = null);
19866
19866
  } catch (oe) {
19867
19867
  if (t.__v = null, c || o != null)
19868
19868
  if (oe.then) {
@@ -19902,7 +19902,7 @@ function $w(e) {
19902
19902
  return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Gp(e) ? e.map($w) : ki({}, e);
19903
19903
  }
19904
19904
  function jk(e, t, n, r, a, o, l, u, c) {
19905
- var d, v, m, y, b, E, S, A = n.props, F = t.props, M = t.type;
19905
+ var d, v, m, y, b, E, x, A = n.props, F = t.props, M = t.type;
19906
19906
  if (M == "svg" ? a = "http://www.w3.org/2000/svg" : M == "math" ? a = "http://www.w3.org/1998/Math/MathML" : a || (a = "http://www.w3.org/1999/xhtml"), o != null) {
19907
19907
  for (d = 0; d < o.length; d++)
19908
19908
  if ((b = o[d]) && "setAttribute" in b == !!M && (M ? b.localName == M : b.nodeType == 3)) {
@@ -19932,13 +19932,13 @@ function jk(e, t, n, r, a, o, l, u, c) {
19932
19932
  }
19933
19933
  }
19934
19934
  for (d in F)
19935
- b = F[d], d == "children" ? y = b : d == "dangerouslySetInnerHTML" ? v = b : d == "value" ? E = b : d == "checked" ? S = b : u && typeof b != "function" || A[d] === b || mc(e, d, b, A[d], a);
19935
+ b = F[d], d == "children" ? y = b : d == "dangerouslySetInnerHTML" ? v = b : d == "value" ? E = b : d == "checked" ? x = b : u && typeof b != "function" || A[d] === b || mc(e, d, b, A[d], a);
19936
19936
  if (v)
19937
19937
  u || m && (v.__html == m.__html || v.__html == e.innerHTML) || (e.innerHTML = v.__html), t.__k = [];
19938
19938
  else if (m && (e.innerHTML = ""), Iw(t.type == "template" ? e.content : e, Gp(y) ? y : [y], t, n, r, M == "foreignObject" ? "http://www.w3.org/1999/xhtml" : a, o, l, o ? o[0] : n.__k && fs(n, 0), u, c), o != null)
19939
19939
  for (d = o.length; d--; )
19940
19940
  Pv(o[d]);
19941
- u || (d = "value", M == "progress" && E == null ? e.removeAttribute("value") : E != null && (E !== e[d] || M == "progress" && !E || M == "option" && E != A[d]) && mc(e, d, E, A[d], a), d = "checked", S != null && S != e[d] && mc(e, d, S, A[d], a));
19941
+ u || (d = "value", M == "progress" && E == null ? e.removeAttribute("value") : E != null && (E !== e[d] || M == "progress" && !E || M == "option" && E != A[d]) && mc(e, d, E, A[d], a), d = "checked", x != null && x != e[d] && mc(e, d, x, A[d], a));
19942
19942
  }
19943
19943
  return e;
19944
19944
  }
@@ -20297,7 +20297,7 @@ function Jk(e) {
20297
20297
  entries: v,
20298
20298
  onOpened: m,
20299
20299
  onClosed: y
20300
- } = e, b = Il(() => nn(d) ? v.length > 5 : !1, [d, v]), E = Dv(), [S, A] = $d(""), F = ss((z, oe) => {
20300
+ } = e, b = Il(() => nn(d) ? v.length > 5 : !1, [d, v]), E = Dv(), [x, A] = $d(""), F = ss((z, oe) => {
20301
20301
  if (!b)
20302
20302
  return z;
20303
20303
  const ie = (te) => {
@@ -20311,12 +20311,12 @@ function Jk(e) {
20311
20311
  return oe.toLowerCase().split(/\s/g).every((J) => j.includes(J));
20312
20312
  };
20313
20313
  return z.filter(ie);
20314
- }, [b]), [M, D] = $d(F(v, S)), [R, N] = $d(M[0]), O = ss((z) => {
20314
+ }, [b]), [M, D] = $d(F(v, x)), [R, N] = $d(M[0]), O = ss((z) => {
20315
20315
  (!R || !z.includes(R)) && N(z[0]), D(z);
20316
20316
  }, [R, D, N]);
20317
20317
  Hd(() => {
20318
- O(F(v, S));
20319
- }, [S, v]), Hd(() => {
20318
+ O(F(v, x));
20319
+ }, [x, v]), Hd(() => {
20320
20320
  const z = (oe) => {
20321
20321
  if (oe.key === "Escape")
20322
20322
  return oe.preventDefault(), t();
@@ -20852,27 +20852,27 @@ function cD(e, t) {
20852
20852
  }
20853
20853
  var r = t.defaultDistance || qw, a = t.direction || "e", o = t.filter, l = t.getWeight || n, u = t.maxDistance || lD, c = t.reference || "start";
20854
20854
  o || (o = hD);
20855
- function d(E, S) {
20856
- return a === "n" ? c === "start" ? Fe(E).top - Fe(S).bottom : c === "center" ? Fe(E).top - Xe(S).y : Fe(E).top - Fe(S).top : a === "w" ? c === "start" ? Fe(E).left - Fe(S).right : c === "center" ? Fe(E).left - Xe(S).x : Fe(E).left - Fe(S).left : a === "s" ? c === "start" ? Fe(S).top - Fe(E).bottom : c === "center" ? Xe(S).y - Fe(E).bottom : Fe(S).bottom - Fe(E).bottom : c === "start" ? Fe(S).left - Fe(E).right : c === "center" ? Xe(S).x - Fe(E).right : Fe(S).right - Fe(E).right;
20855
+ function d(E, x) {
20856
+ return a === "n" ? c === "start" ? Fe(E).top - Fe(x).bottom : c === "center" ? Fe(E).top - Xe(x).y : Fe(E).top - Fe(x).top : a === "w" ? c === "start" ? Fe(E).left - Fe(x).right : c === "center" ? Fe(E).left - Xe(x).x : Fe(E).left - Fe(x).left : a === "s" ? c === "start" ? Fe(x).top - Fe(E).bottom : c === "center" ? Xe(x).y - Fe(E).bottom : Fe(x).bottom - Fe(E).bottom : c === "start" ? Fe(x).left - Fe(E).right : c === "center" ? Xe(x).x - Fe(E).right : Fe(x).right - Fe(E).right;
20857
20857
  }
20858
20858
  var v = e.incoming.filter(o).map(function(E) {
20859
- var S = l(E), A = S < 0 ? d(E.source, e) : d(e, E.source);
20859
+ var x = l(E), A = x < 0 ? d(E.source, e) : d(e, E.source);
20860
20860
  return {
20861
20861
  id: E.source.id,
20862
20862
  distance: A,
20863
- weight: S
20863
+ weight: x
20864
20864
  };
20865
20865
  }), m = e.outgoing.filter(o).map(function(E) {
20866
- var S = l(E), A = S > 0 ? d(e, E.target) : d(E.target, e);
20866
+ var x = l(E), A = x > 0 ? d(e, E.target) : d(E.target, e);
20867
20867
  return {
20868
20868
  id: E.target.id,
20869
20869
  distance: A,
20870
- weight: S
20870
+ weight: x
20871
20871
  };
20872
- }), y = v.concat(m).reduce(function(E, S) {
20873
- return E[S.id + "__weight_" + S.weight] = S, E;
20874
- }, {}), b = lr(y, function(E, S) {
20875
- var A = S.distance, F = S.weight;
20872
+ }), y = v.concat(m).reduce(function(E, x) {
20873
+ return E[x.id + "__weight_" + x.weight] = x, E;
20874
+ }, {}), b = lr(y, function(E, x) {
20875
+ var A = x.distance, F = x.weight;
20876
20876
  return A < 0 || A > u || (E[String(A)] || (E[String(A)] = 0), E[String(A)] += 1 * F, (!E.distance || E[E.distance] < E[String(A)]) && (E.distance = A)), E;
20877
20877
  }, {});
20878
20878
  return b.distance || r;
@@ -21266,7 +21266,7 @@ function nx(e, t, n, r) {
21266
21266
  var R = o.payload;
21267
21267
  R.hoverGfx = D.gfx, R.hover = D.element, u("hover");
21268
21268
  }
21269
- function S(D) {
21269
+ function x(D) {
21270
21270
  u("out");
21271
21271
  var R = o.payload;
21272
21272
  R.hoverGfx = null, R.hover = null;
@@ -21280,7 +21280,7 @@ function nx(e, t, n, r) {
21280
21280
  }
21281
21281
  function F(D) {
21282
21282
  var R, N;
21283
- u("cleanup"), Ew(), o.trapClick ? N = y : N = v, Ue.unbind(document, "mousemove", d), Ue.unbind(document, "dragstart", lo), Ue.unbind(document, "selectstart", lo), Ue.unbind(document, "mousedown", N, !0), Ue.unbind(document, "mouseup", N, !0), Ue.unbind(document, "keyup", m), Ue.unbind(document, "touchstart", b, !0), Ue.unbind(document, "touchcancel", A, !0), Ue.unbind(document, "touchmove", d, !0), Ue.unbind(document, "touchend", v, !0), e.off("element.hover", E), e.off("element.out", S), t.removeMarker(t.getRootElement(), jb);
21283
+ u("cleanup"), Ew(), o.trapClick ? N = y : N = v, Ue.unbind(document, "mousemove", d), Ue.unbind(document, "dragstart", lo), Ue.unbind(document, "selectstart", lo), Ue.unbind(document, "mousedown", N, !0), Ue.unbind(document, "mouseup", N, !0), Ue.unbind(document, "keyup", m), Ue.unbind(document, "touchstart", b, !0), Ue.unbind(document, "touchcancel", A, !0), Ue.unbind(document, "touchmove", d, !0), Ue.unbind(document, "touchend", v, !0), e.off("element.hover", E), e.off("element.out", x), t.removeMarker(t.getRootElement(), jb);
21284
21284
  var O = o.payload.previousSelection;
21285
21285
  return D !== !1 && O && !n.get().length && c(O), R = o, o = null, R;
21286
21286
  }
@@ -21295,9 +21295,9 @@ function nx(e, t, n, r) {
21295
21295
  displacement: Wr(R, $),
21296
21296
  localStart: $,
21297
21297
  isTouch: oe
21298
- }, O), O.manual || (oe ? (Ue.bind(document, "touchstart", b, !0), Ue.bind(document, "touchcancel", A, !0), Ue.bind(document, "touchmove", d, !0), Ue.bind(document, "touchend", v, !0)) : (Ue.bind(document, "mousemove", d), Ue.bind(document, "dragstart", lo), Ue.bind(document, "selectstart", lo), Ue.bind(document, "mousedown", z, !0), Ue.bind(document, "mouseup", z, !0)), Ue.bind(document, "keyup", m), e.on("element.hover", E), e.on("element.out", S)), u("init"), O.autoActivate && d(D, !0);
21298
+ }, O), O.manual || (oe ? (Ue.bind(document, "touchstart", b, !0), Ue.bind(document, "touchcancel", A, !0), Ue.bind(document, "touchmove", d, !0), Ue.bind(document, "touchend", v, !0)) : (Ue.bind(document, "mousemove", d), Ue.bind(document, "dragstart", lo), Ue.bind(document, "selectstart", lo), Ue.bind(document, "mousedown", z, !0), Ue.bind(document, "mouseup", z, !0)), Ue.bind(document, "keyup", m), e.on("element.hover", E), e.on("element.out", x)), u("init"), O.autoActivate && d(D, !0);
21299
21299
  }
21300
- e.on("diagram.destroy", A), this.init = M, this.move = d, this.hover = E, this.out = S, this.end = v, this.cancel = A, this.context = function() {
21300
+ e.on("diagram.destroy", A), this.init = M, this.move = d, this.hover = E, this.out = x, this.end = v, this.cancel = A, this.context = function() {
21301
21301
  return o;
21302
21302
  }, this.setOptions = function(D) {
21303
21303
  X(a, D);
@@ -21598,7 +21598,7 @@ function ux(e, t, n, r, a) {
21598
21598
  Kt(R);
21599
21599
  });
21600
21600
  }
21601
- function S(D) {
21601
+ function x(D) {
21602
21602
  var R = d(D);
21603
21603
  return R || (R = d(D, !0), m(R, D), y(R, D)), R;
21604
21604
  }
@@ -21627,7 +21627,7 @@ function ux(e, t, n, r, a) {
21627
21627
  R && Kt(R);
21628
21628
  }), e.on("element.marker.update", function(D) {
21629
21629
  var R = D.element, N;
21630
- R.waypoints && (N = S(R), D.add ? ct(N).add(D.marker) : ct(N).remove(D.marker));
21630
+ R.waypoints && (N = x(R), D.add ? ct(N).add(D.marker) : ct(N).remove(D.marker));
21631
21631
  }), e.on("element.mousemove", function(D) {
21632
21632
  var R = D.element, N = R.waypoints, O, G;
21633
21633
  if (N) {
@@ -21643,10 +21643,10 @@ function ux(e, t, n, r, a) {
21643
21643
  }
21644
21644
  }), e.on("selection.changed", function(D) {
21645
21645
  var R = D.newSelection, N = R[0];
21646
- N && N.waypoints && S(N);
21646
+ N && N.waypoints && x(N);
21647
21647
  }), e.on("element.hover", function(D) {
21648
21648
  var R = D.element;
21649
- R.waypoints && (S(R), n.registerEvent(D.gfx, "mousemove", "element.mousemove"));
21649
+ R.waypoints && (x(R), n.registerEvent(D.gfx, "mousemove", "element.mousemove"));
21650
21650
  }), e.on("element.out", function(D) {
21651
21651
  n.unregisterEvent(D.gfx, "mousemove", "element.mousemove");
21652
21652
  }), e.on("element.updateId", function(D) {
@@ -21655,7 +21655,7 @@ function ux(e, t, n, r, a) {
21655
21655
  var O = d(R);
21656
21656
  O && Ae(O, { "data-element-id": N });
21657
21657
  }
21658
- }), this.addHandles = S, this.updateHandles = A, this.getBendpointsContainer = d, this.getSegmentDragger = v;
21658
+ }), this.addHandles = x, this.updateHandles = A, this.getBendpointsContainer = d, this.getSegmentDragger = v;
21659
21659
  }
21660
21660
  ux.$inject = [
21661
21661
  "eventBus",
@@ -21672,12 +21672,12 @@ function Bv(e, t, n, r, a, o) {
21672
21672
  this._injector = e, this.start = function(l, u, c, d) {
21673
21673
  var v = n.getGraphics(u), m = u.source, y = u.target, b = u.waypoints, E;
21674
21674
  !d && c === 0 ? E = uo : !d && c === b.length - 1 ? E = co : E = fl;
21675
- var S = E === fl ? "connection.updateWaypoints" : "connection.reconnect", A = a.allowed(S, {
21675
+ var x = E === fl ? "connection.updateWaypoints" : "connection.reconnect", A = a.allowed(x, {
21676
21676
  connection: u,
21677
21677
  source: m,
21678
21678
  target: y
21679
21679
  });
21680
- A === !1 && (A = a.allowed(S, {
21680
+ A === !1 && (A = a.allowed(x, {
21681
21681
  connection: u,
21682
21682
  source: y,
21683
21683
  target: m
@@ -21720,16 +21720,16 @@ function Bv(e, t, n, r, a, o) {
21720
21720
  var u = l.context, c = u.type;
21721
21721
  u.hover = null, u.source = null, u.target = null, c !== fl && (u.allowed = !1);
21722
21722
  }), t.on("bendpoint.move.end", function(l) {
21723
- var u = l.context, c = u.allowed, d = u.bendpointIndex, v = u.connection, m = u.insert, y = v.waypoints.slice(), b = u.source, E = u.target, S = u.type, A = u.hints || {}, F = {
21723
+ var u = l.context, c = u.allowed, d = u.bendpointIndex, v = u.connection, m = u.insert, y = v.waypoints.slice(), b = u.source, E = u.target, x = u.type, A = u.hints || {}, F = {
21724
21724
  x: Ub(l.x),
21725
21725
  y: Ub(l.y)
21726
21726
  };
21727
21727
  if (!c)
21728
21728
  return !1;
21729
- S === fl ? (m ? y.splice(d, 0, F) : y[d] = F, A.bendpointMove = {
21729
+ x === fl ? (m ? y.splice(d, 0, F) : y[d] = F, A.bendpointMove = {
21730
21730
  insert: m,
21731
21731
  bendpointIndex: d
21732
- }, y = this.cropWaypoints(v, y), o.updateWaypoints(v, FT(y), A)) : (S === uo ? (A.docking = "source", vp(u) && (A.docking = "target", A.newWaypoints = y.reverse())) : S === co && (A.docking = "target", vp(u) && (A.docking = "source", A.newWaypoints = y.reverse())), o.reconnect(v, b, E, F, A));
21732
+ }, y = this.cropWaypoints(v, y), o.updateWaypoints(v, FT(y), A)) : (x === uo ? (A.docking = "source", vp(u) && (A.docking = "target", A.newWaypoints = y.reverse())) : x === co && (A.docking = "target", vp(u) && (A.docking = "source", A.newWaypoints = y.reverse())), o.reconnect(v, b, E, F, A));
21733
21733
  }, this);
21734
21734
  }
21735
21735
  Bv.$inject = [
@@ -21777,8 +21777,8 @@ function cx(e, t, n, r) {
21777
21777
  var l = o.context, u = l.hover, c = l.target;
21778
21778
  u && (r.removeMarker(u, Kb), r.removeMarker(u, c ? dl : yc));
21779
21779
  }), n.on("bendpoint.move.move", function(o) {
21780
- var l = o.context, u = l.allowed, c = l.bendpointIndex, d = l.draggerGfx, v = l.hover, m = l.type, y = l.connection, b = y.source, E = y.target, S = y.waypoints.slice(), A = { x: o.x, y: o.y }, F = l.hints || {}, M = {};
21781
- a && (F.connectionStart && (M.connectionStart = F.connectionStart), F.connectionEnd && (M.connectionEnd = F.connectionEnd), m === UD ? vp(l) ? (M.connectionEnd = M.connectionEnd || A, M.source = E, M.target = v || b, S = S.reverse()) : (M.connectionStart = M.connectionStart || A, M.source = v || b, M.target = E) : m === GD ? vp(l) ? (M.connectionStart = M.connectionStart || A, M.source = v || E, M.target = b, S = S.reverse()) : (M.connectionEnd = M.connectionEnd || A, M.source = b, M.target = v || E) : (M.noCropping = !0, M.noLayout = !0, S[c] = A), m === Gb && (S = e.cropWaypoints(y, S)), M.waypoints = S, a.drawPreview(l, u, M)), or(d, o.x, o.y);
21780
+ var l = o.context, u = l.allowed, c = l.bendpointIndex, d = l.draggerGfx, v = l.hover, m = l.type, y = l.connection, b = y.source, E = y.target, x = y.waypoints.slice(), A = { x: o.x, y: o.y }, F = l.hints || {}, M = {};
21781
+ a && (F.connectionStart && (M.connectionStart = F.connectionStart), F.connectionEnd && (M.connectionEnd = F.connectionEnd), m === UD ? vp(l) ? (M.connectionEnd = M.connectionEnd || A, M.source = E, M.target = v || b, x = x.reverse()) : (M.connectionStart = M.connectionStart || A, M.source = v || b, M.target = E) : m === GD ? vp(l) ? (M.connectionStart = M.connectionStart || A, M.source = v || E, M.target = b, x = x.reverse()) : (M.connectionEnd = M.connectionEnd || A, M.source = b, M.target = v || E) : (M.noCropping = !0, M.noLayout = !0, x[c] = A), m === Gb && (x = e.cropWaypoints(y, x)), M.waypoints = x, a.drawPreview(l, u, M)), or(d, o.x, o.y);
21782
21782
  }, this), n.on([
21783
21783
  "bendpoint.move.end",
21784
21784
  "bendpoint.move.cancel"
@@ -21817,7 +21817,7 @@ function Qb(e, t, n) {
21817
21817
  function fx(e, t, n, r, a, o) {
21818
21818
  var l = e.get("connectionDocking", !1);
21819
21819
  this.start = function(m, y, b) {
21820
- var E, S = n.getGraphics(y), A = b - 1, F = b, M = y.waypoints, D = M[A], R = M[F], N = Th(n, M, m), O, G, K;
21820
+ var E, x = n.getGraphics(y), A = b - 1, F = b, M = y.waypoints, D = M[A], R = M[F], N = Th(n, M, m), O, G, K;
21821
21821
  O = Pi(D, R), O && (G = O === "v" ? "x" : "y", A === 0 && (D = Qb(D, y.source, G)), F === M.length - 1 && (R = Qb(R, y.target, G)), N ? K = N.point : K = {
21822
21822
  x: (D.x + R.x) / 2,
21823
21823
  y: (D.y + R.y) / 2
@@ -21833,7 +21833,7 @@ function fx(e, t, n, r, a, o) {
21833
21833
  cursor: G === "x" ? "resize-ew" : "resize-ns",
21834
21834
  data: {
21835
21835
  connection: y,
21836
- connectionGfx: S,
21836
+ connectionGfx: x,
21837
21837
  context: E
21838
21838
  }
21839
21839
  }));
@@ -21848,12 +21848,12 @@ function fx(e, t, n, r, a, o) {
21848
21848
  a.update("connection", m.connection, m.connectionGfx);
21849
21849
  }
21850
21850
  function d(m, y, b) {
21851
- var E = m.newWaypoints, S = m.segmentStartIndex + y, A = E[S], F = m.segmentEndIndex + y, M = E[F], D = px(m.axis), R = KD(b, A, M, D);
21851
+ var E = m.newWaypoints, x = m.segmentStartIndex + y, A = E[x], F = m.segmentEndIndex + y, M = E[F], D = px(m.axis), R = KD(b, A, M, D);
21852
21852
  or(m.draggerGfx, R.x, R.y);
21853
21853
  }
21854
21854
  function v(m, y) {
21855
- var b = 0, E = m.filter(function(S, A) {
21856
- return iv(m[A - 1], m[A + 1], S) ? (b = A <= y ? b - 1 : b, !1) : !0;
21855
+ var b = 0, E = m.filter(function(x, A) {
21856
+ return iv(m[A - 1], m[A + 1], x) ? (b = A <= y ? b - 1 : b, !1) : !0;
21857
21857
  });
21858
21858
  return {
21859
21859
  waypoints: E,
@@ -21864,10 +21864,10 @@ function fx(e, t, n, r, a, o) {
21864
21864
  var y = m.context, b = m.connection, E = n.getLayer("overlays");
21865
21865
  y.originalWaypoints = b.waypoints.slice(), y.draggerGfx = lx(E, y.segmentStart, y.segmentEnd), ct(y.draggerGfx).add("djs-dragging"), n.addMarker(b, Zb);
21866
21866
  }), t.on("connectionSegment.move.move", function(m) {
21867
- var y = m.context, b = y.connection, E = y.segmentStartIndex, S = y.segmentEndIndex, A = y.segmentStart, F = y.segmentEnd, M = y.axis, D = y.originalWaypoints.slice(), R = Jb(A, M, m["d" + M]), N = Jb(F, M, m["d" + M]), O = D.length, G = 0;
21868
- D[E] = R, D[S] = N;
21867
+ var y = m.context, b = y.connection, E = y.segmentStartIndex, x = y.segmentEndIndex, A = y.segmentStart, F = y.segmentEnd, M = y.axis, D = y.originalWaypoints.slice(), R = Jb(A, M, m["d" + M]), N = Jb(F, M, m["d" + M]), O = D.length, G = 0;
21868
+ D[E] = R, D[x] = N;
21869
21869
  var K, U;
21870
- E < 2 && (K = Dn(b.source, R), E === 1 ? K === "intersect" && (D.shift(), D[0] = R, G--) : K !== "intersect" && (D.unshift(A), G++)), S > O - 3 && (U = Dn(b.target, N), S === O - 2 ? U === "intersect" && (D.pop(), D[D.length - 1] = N) : U !== "intersect" && D.push(F)), y.newWaypoints = b.waypoints = u(b, D), d(y, G, m), y.newSegmentStartIndex = E + G, c(m);
21870
+ E < 2 && (K = Dn(b.source, R), E === 1 ? K === "intersect" && (D.shift(), D[0] = R, G--) : K !== "intersect" && (D.unshift(A), G++)), x > O - 3 && (U = Dn(b.target, N), x === O - 2 ? U === "intersect" && (D.pop(), D[D.length - 1] = N) : U !== "intersect" && D.push(F)), y.newWaypoints = b.waypoints = u(b, D), d(y, G, m), y.newSegmentStartIndex = E + G, c(m);
21871
21871
  }), t.on("connectionSegment.move.hover", function(m) {
21872
21872
  m.context.hover = m.hover, n.addMarker(m.hover, Xb);
21873
21873
  }), t.on([
@@ -21886,7 +21886,7 @@ function fx(e, t, n, r, a, o) {
21886
21886
  var y = m.context, b = y.connection;
21887
21887
  b.waypoints = y.originalWaypoints, c(m);
21888
21888
  }), t.on("connectionSegment.move.end", function(m) {
21889
- var y = m.context, b = y.connection, E = y.newWaypoints, S = y.newSegmentStartIndex;
21889
+ var y = m.context, b = y.connection, E = y.newWaypoints, x = y.newSegmentStartIndex;
21890
21890
  E = E.map(function(N) {
21891
21891
  return {
21892
21892
  original: N.original,
@@ -21894,10 +21894,10 @@ function fx(e, t, n, r, a, o) {
21894
21894
  y: Math.round(N.y)
21895
21895
  };
21896
21896
  });
21897
- var A = v(E, S), F = A.waypoints, M = u(b, F), D = A.segmentOffset, R = {
21897
+ var A = v(E, x), F = A.waypoints, M = u(b, F), D = A.segmentOffset, R = {
21898
21898
  segmentMove: {
21899
21899
  segmentStartIndex: y.segmentStartIndex,
21900
- newSegmentStartIndex: S + D
21900
+ newSegmentStartIndex: x + D
21901
21901
  }
21902
21902
  };
21903
21903
  o.updateWaypoints(b, M, R);
@@ -21982,13 +21982,13 @@ function mx(e) {
21982
21982
  var l = o.context, u = l.snapPoints, c = l.connection, d = c.waypoints, v = l.segmentStart, m = l.segmentStartIndex, y = l.segmentEnd, b = l.segmentEndIndex, E = l.axis;
21983
21983
  if (u)
21984
21984
  return u;
21985
- var S = [
21985
+ var x = [
21986
21986
  d[m - 1],
21987
21987
  v,
21988
21988
  y,
21989
21989
  d[b + 1]
21990
21990
  ];
21991
- return m < 2 && S.unshift(n(c.source, o)), b > d.length - 3 && S.unshift(n(c.target, o)), l.snapPoints = u = { horizontal: [], vertical: [] }, V(S, function(A) {
21991
+ return m < 2 && x.unshift(n(c.source, o)), b > d.length - 3 && x.unshift(n(c.target, o)), l.snapPoints = u = { horizontal: [], vertical: [] }, V(x, function(A) {
21992
21992
  A && (A = A.original || A, E === "y" && u.horizontal.push(A.y), E === "x" && u.vertical.push(A.x));
21993
21993
  }), u;
21994
21994
  }
@@ -22025,13 +22025,13 @@ function mx(e) {
22025
22025
  var l = o.context, u = a(l), c = l.hover, d = c && n(c, o), v = o.x, m = o.y, y, b;
22026
22026
  if (u) {
22027
22027
  y = t(d ? u.vertical.concat([d.x]) : u.vertical, v), b = t(d ? u.horizontal.concat([d.y]) : u.horizontal, m);
22028
- var E = v - y, S = m - b;
22028
+ var E = v - y, x = m - b;
22029
22029
  X(o, {
22030
22030
  dx: o.dx - E,
22031
- dy: o.dy - S,
22031
+ dy: o.dy - x,
22032
22032
  x: o.x - E,
22033
- y: o.y - S
22034
- }), (E || u.vertical.indexOf(v) !== -1) && Gt(o, "x", y), (S || u.horizontal.indexOf(m) !== -1) && Gt(o, "y", b);
22033
+ y: o.y - x
22034
+ }), (E || u.vertical.indexOf(v) !== -1) && Gt(o, "x", y), (x || u.horizontal.indexOf(m) !== -1) && Gt(o, "y", b);
22035
22035
  }
22036
22036
  });
22037
22037
  }
@@ -22115,12 +22115,12 @@ function yx(e, t, n) {
22115
22115
  var o = a.context, l = o.canExecute, u = o.hover, c = o.source, d = o.start, v = o.startPosition, m = o.target, y = o.connectionStart || v, b = o.connectionEnd || {
22116
22116
  x: a.x,
22117
22117
  y: a.y
22118
- }, E = y, S = b;
22119
- Rh(o) && (E = b, S = y), r.drawPreview(o, l, {
22118
+ }, E = y, x = b;
22119
+ Rh(o) && (E = b, x = y), r.drawPreview(o, l, {
22120
22120
  source: c || d,
22121
22121
  target: m || u,
22122
22122
  connectionStart: E,
22123
- connectionEnd: S
22123
+ connectionEnd: x
22124
22124
  });
22125
22125
  }), t.on("connect.hover", QD, function(a) {
22126
22126
  var o = a.context, l = a.hover, u = o.canExecute;
@@ -22165,8 +22165,8 @@ Wi.$inject = [
22165
22165
  Wi.prototype.drawPreview = function(e, t, n) {
22166
22166
  n = n || {};
22167
22167
  var r = e.connectionPreviewGfx, a = e.getConnection, o = n.source, l = n.target, u = n.waypoints, c = n.connectionStart, d = n.connectionEnd, v = n.noLayout, m = n.noCropping, y = n.noNoop, b, E = this;
22168
- if (r || (r = e.connectionPreviewGfx = this.createConnectionPreviewGfx()), Sp(r), a || (a = e.getConnection = tM(function(S, A, F) {
22169
- return E.getConnection(S, A, F);
22168
+ if (r || (r = e.connectionPreviewGfx = this.createConnectionPreviewGfx()), Sp(r), a || (a = e.getConnection = tM(function(x, A, F) {
22169
+ return E.getConnection(x, A, F);
22170
22170
  })), t && (b = a(t, o, l)), !b) {
22171
22171
  !y && this.drawNoopPreview(r, n);
22172
22172
  return;
@@ -22330,8 +22330,8 @@ qr.prototype._insertTextIE = function(e) {
22330
22330
  this.content.insertBefore(m, u[a]), c = m, d = m.textContent.length;
22331
22331
  } else {
22332
22332
  var y = u.indexOf(n), b = u.indexOf(r);
22333
- u.forEach(function(E, S) {
22334
- S === y ? E.textContent = n.textContent.substring(0, a) + e + r.textContent.substring(o) : S > y && S <= b && ui(E);
22333
+ u.forEach(function(E, x) {
22334
+ x === y ? E.textContent = n.textContent.substring(0, a) + e + r.textContent.substring(o) : x > y && x <= b && ui(E);
22335
22335
  }), c = n, d = a + e.length;
22336
22336
  }
22337
22337
  c && d !== void 0 && setTimeout(function() {
@@ -22358,12 +22358,12 @@ qr.prototype.resizable = function() {
22358
22358
  );
22359
22359
  var u, c, d, v, m = function(E) {
22360
22360
  Wd(E), Tl(E), u = E.clientX, c = E.clientY;
22361
- var S = t.getBoundingClientRect();
22362
- d = S.width, v = S.height, Ue.bind(document, "mousemove", y), Ue.bind(document, "mouseup", b);
22361
+ var x = t.getBoundingClientRect();
22362
+ d = x.width, v = x.height, Ue.bind(document, "mousemove", y), Ue.bind(document, "mouseup", b);
22363
22363
  }, y = function(E) {
22364
22364
  Wd(E), Tl(E);
22365
- var S = i0(a0(d + E.clientX - u, r), o), A = i0(a0(v + E.clientY - c, a), l);
22366
- t.style.width = S + "px", t.style.height = A + "px", e.resizeHandler({
22365
+ var x = i0(a0(d + E.clientX - u, r), o), A = i0(a0(v + E.clientY - c, a), l);
22366
+ t.style.width = x + "px", t.style.height = A + "px", e.resizeHandler({
22367
22367
  width: d,
22368
22368
  height: v,
22369
22369
  dx: E.clientX - u,
@@ -22582,7 +22582,7 @@ function _x(e, t, n, r, a) {
22582
22582
  });
22583
22583
  var b = dt(c, function(M) {
22584
22584
  return !El(M);
22585
- }), E = !1, S = !1, A = !1;
22585
+ }), E = !1, x = !1, A = !1;
22586
22586
  p0(c) && (E = a.allowed("shape.attach", {
22587
22587
  position: v,
22588
22588
  shape: b,
@@ -22598,7 +22598,7 @@ function _x(e, t, n, r, a) {
22598
22598
  target: d
22599
22599
  }));
22600
22600
  var F = y.connectionTarget;
22601
- return A || E ? (b && m && (S = a.allowed("connection.create", {
22601
+ return A || E ? (b && m && (x = a.allowed("connection.create", {
22602
22602
  source: F === m ? b : m,
22603
22603
  target: F === m ? m : b,
22604
22604
  hints: {
@@ -22607,7 +22607,7 @@ function _x(e, t, n, r, a) {
22607
22607
  }
22608
22608
  })), {
22609
22609
  attach: E,
22610
- connect: S
22610
+ connect: x
22611
22611
  }) : A === null || E === null ? null : !1;
22612
22612
  }
22613
22613
  function l(c, d) {
@@ -22625,13 +22625,13 @@ function _x(e, t, n, r, a) {
22625
22625
  var E = {
22626
22626
  x: c.x,
22627
22627
  y: c.y
22628
- }, S = d.canExecute = m && o(v, m, E, y, b);
22629
- m && S !== null && (d.target = m, S && S.attach ? l(m, s0) : l(m, S ? l0 : o0));
22628
+ }, x = d.canExecute = m && o(v, m, E, y, b);
22629
+ m && x !== null && (d.target = m, x && x.attach ? l(m, s0) : l(m, x ? l0 : o0));
22630
22630
  }), n.on(["create.end", "create.out", "create.cleanup"], function(c) {
22631
22631
  var d = c.hover;
22632
22632
  d && l(d, null);
22633
22633
  }), n.on("create.end", function(c) {
22634
- var d = c.context, v = d.source, m = d.shape, y = d.elements, b = d.target, E = d.canExecute, S = E && E.attach, A = E && E.connect, F = d.hints || {};
22634
+ var d = c.context, v = d.source, m = d.shape, y = d.elements, b = d.target, E = d.canExecute, x = E && E.attach, A = E && E.connect, F = d.hints || {};
22635
22635
  if (E === !1 || !b)
22636
22636
  return !1;
22637
22637
  c0(c);
@@ -22640,11 +22640,11 @@ function _x(e, t, n, r, a) {
22640
22640
  y: c.y
22641
22641
  };
22642
22642
  A ? m = r.appendShape(v, m, M, b, {
22643
- attach: S,
22643
+ attach: x,
22644
22644
  connection: A === !0 ? {} : A,
22645
22645
  connectionTarget: F.connectionTarget
22646
22646
  }) : (y = r.createElements(y, M, b, X({}, F, {
22647
- attach: S
22647
+ attach: x
22648
22648
  })), m = dt(y, function(D) {
22649
22649
  return !El(D);
22650
22650
  })), X(d, {
@@ -22680,10 +22680,10 @@ function _x(e, t, n, r, a) {
22680
22680
  return !E.hidden;
22681
22681
  }), b = Vt(y);
22682
22682
  V(d, function(E) {
22683
- El(E) && (E.waypoints = gn(E.waypoints, function(S) {
22683
+ El(E) && (E.waypoints = gn(E.waypoints, function(x) {
22684
22684
  return {
22685
- x: S.x - b.x - b.width / 2,
22686
- y: S.y - b.y - b.height / 2
22685
+ x: x.x - b.x - b.width / 2,
22686
+ y: x.y - b.y - b.height / 2
22687
22687
  };
22688
22688
  })), X(E, {
22689
22689
  x: E.x - b.x - b.width / 2,
@@ -22963,10 +22963,10 @@ Yr.prototype.createTree = function(e) {
22963
22963
  u(E, m);
22964
22964
  });
22965
22965
  function y(E) {
22966
- E && E.length && V(E, function(S) {
22967
- V(S.labels, function(A) {
22966
+ E && E.length && V(E, function(x) {
22967
+ V(x.labels, function(A) {
22968
22968
  u(A, m);
22969
- }), u(S, m);
22969
+ }), u(x, m);
22970
22970
  });
22971
22971
  }
22972
22972
  V([d.attachers, d.incoming, d.outgoing], y), u(d, m);
@@ -23062,8 +23062,8 @@ function wx(e, t, n) {
23062
23062
  element: m,
23063
23063
  property: "default"
23064
23064
  }), c.host && (Pe(c).attachedToRef = Pe(d[c.host])), Oi(v, lr(v, function(y, b, E) {
23065
- var S = b.element, A = b.property;
23066
- return E === c.id && (S[A] = m, y.push(c.id)), y;
23065
+ var x = b.element, A = b.property;
23066
+ return E === c.id && (x[A] = m, y.push(c.id)), y;
23067
23067
  }, []));
23068
23068
  }
23069
23069
  t.on("copyPaste.pasteElement", function(c) {
@@ -23278,7 +23278,7 @@ function Cx(e, t, n, r, a, o, l) {
23278
23278
  "border-color",
23279
23279
  "color"
23280
23280
  ]);
23281
- var S = kh(y.$descriptor), A = kh(b.$descriptor, !0), F = PM(S, A);
23281
+ var x = kh(y.$descriptor), A = kh(b.$descriptor, !0), F = PM(x, A);
23282
23282
  X(b, Ar(d, TM));
23283
23283
  var M = tt(F, function(R) {
23284
23284
  return R === "eventDefinitions" ? m0(c, d.eventDefinitionType) : R === "loopCharacteristics" ? !sr(b) : !(ai(b, R) || R === "processRef" && d.isExpanded === !1 || R === "triggeredByEvent");
@@ -24481,8 +24481,8 @@ function nu(e, t, n, r, a, o, l, u, c, d, v, m) {
24481
24481
  e = e || {}, r.registerProvider(this), this._contextPad = r, this._modeling = a, this._elementFactory = o, this._connect = l, this._create = u, this._popupMenu = c, this._canvas = d, this._rules = v, this._translate = m, e.autoPlace !== !1 && (this._autoPlace = t.get("autoPlace", !1)), n.on("create.end", 250, function(y) {
24482
24482
  var b = y.context, E = b.shape;
24483
24483
  if (!(!yo(y) || !r.isOpen(E))) {
24484
- var S = r.getEntries(E);
24485
- S.replace && S.replace.action.click(y, E);
24484
+ var x = r.getEntries(E);
24485
+ x.replace && x.replace.action.click(y, E);
24486
24486
  }
24487
24487
  });
24488
24488
  }
@@ -24541,7 +24541,7 @@ nu.prototype.getContextPadEntries = function(e) {
24541
24541
  };
24542
24542
  return G;
24543
24543
  }
24544
- function S(D, R, N, O) {
24544
+ function x(D, R, N, O) {
24545
24545
  typeof N != "string" && (O = N, N = d("Append {type}", { type: D.replace(/^bpmn:/, "") }));
24546
24546
  function G(U, $) {
24547
24547
  var z = r.createShape(X({ type: D }, O));
@@ -24613,37 +24613,37 @@ nu.prototype.getContextPadEntries = function(e) {
24613
24613
  });
24614
24614
  }
24615
24615
  k(m, "bpmn:FlowNode") && (k(m, "bpmn:EventBasedGateway") ? X(v, {
24616
- "append.receive-task": S(
24616
+ "append.receive-task": x(
24617
24617
  "bpmn:ReceiveTask",
24618
24618
  "bpmn-icon-receive-task",
24619
24619
  d("Append ReceiveTask")
24620
24620
  ),
24621
- "append.message-intermediate-event": S(
24621
+ "append.message-intermediate-event": x(
24622
24622
  "bpmn:IntermediateCatchEvent",
24623
24623
  "bpmn-icon-intermediate-event-catch-message",
24624
24624
  d("Append MessageIntermediateCatchEvent"),
24625
24625
  { eventDefinitionType: "bpmn:MessageEventDefinition" }
24626
24626
  ),
24627
- "append.timer-intermediate-event": S(
24627
+ "append.timer-intermediate-event": x(
24628
24628
  "bpmn:IntermediateCatchEvent",
24629
24629
  "bpmn-icon-intermediate-event-catch-timer",
24630
24630
  d("Append TimerIntermediateCatchEvent"),
24631
24631
  { eventDefinitionType: "bpmn:TimerEventDefinition" }
24632
24632
  ),
24633
- "append.condition-intermediate-event": S(
24633
+ "append.condition-intermediate-event": x(
24634
24634
  "bpmn:IntermediateCatchEvent",
24635
24635
  "bpmn-icon-intermediate-event-catch-condition",
24636
24636
  d("Append ConditionIntermediateCatchEvent"),
24637
24637
  { eventDefinitionType: "bpmn:ConditionalEventDefinition" }
24638
24638
  ),
24639
- "append.signal-intermediate-event": S(
24639
+ "append.signal-intermediate-event": x(
24640
24640
  "bpmn:IntermediateCatchEvent",
24641
24641
  "bpmn-icon-intermediate-event-catch-signal",
24642
24642
  d("Append SignalIntermediateCatchEvent"),
24643
24643
  { eventDefinitionType: "bpmn:SignalEventDefinition" }
24644
24644
  )
24645
24645
  }) : b0(m, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? X(v, {
24646
- "append.compensation-activity": S(
24646
+ "append.compensation-activity": x(
24647
24647
  "bpmn:Task",
24648
24648
  "bpmn-icon-task",
24649
24649
  d("Append compensation activity"),
@@ -24652,22 +24652,22 @@ nu.prototype.getContextPadEntries = function(e) {
24652
24652
  }
24653
24653
  )
24654
24654
  }) : !k(m, "bpmn:EndEvent") && !m.isForCompensation && !b0(m, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !sr(m) && X(v, {
24655
- "append.end-event": S(
24655
+ "append.end-event": x(
24656
24656
  "bpmn:EndEvent",
24657
24657
  "bpmn-icon-end-event-none",
24658
24658
  d("Append EndEvent")
24659
24659
  ),
24660
- "append.gateway": S(
24660
+ "append.gateway": x(
24661
24661
  "bpmn:ExclusiveGateway",
24662
24662
  "bpmn-icon-gateway-none",
24663
24663
  d("Append Gateway")
24664
24664
  ),
24665
- "append.append-task": S(
24665
+ "append.append-task": x(
24666
24666
  "bpmn:Task",
24667
24667
  "bpmn-icon-task",
24668
24668
  d("Append Task")
24669
24669
  ),
24670
- "append.intermediate-event": S(
24670
+ "append.intermediate-event": x(
24671
24671
  "bpmn:IntermediateThrowEvent",
24672
24672
  "bpmn-icon-intermediate-event-none",
24673
24673
  d("Append Intermediate/Boundary Event")
@@ -24691,7 +24691,7 @@ nu.prototype.getContextPadEntries = function(e) {
24691
24691
  }
24692
24692
  }
24693
24693
  }), k(m, "bpmn:SequenceFlow") && X(v, {
24694
- "append.text-annotation": S(
24694
+ "append.text-annotation": x(
24695
24695
  "bpmn:TextAnnotation",
24696
24696
  "bpmn-icon-text-annotation"
24697
24697
  )
@@ -24701,7 +24701,7 @@ nu.prototype.getContextPadEntries = function(e) {
24701
24701
  "bpmn:DataObjectReference",
24702
24702
  "bpmn:DataStoreReference"
24703
24703
  ]) && X(v, {
24704
- "append.text-annotation": S(
24704
+ "append.text-annotation": x(
24705
24705
  "bpmn:TextAnnotation",
24706
24706
  "bpmn-icon-text-annotation"
24707
24707
  ),
@@ -24737,7 +24737,7 @@ nu.prototype.getContextPadEntries = function(e) {
24737
24737
  }
24738
24738
  }
24739
24739
  }), k(m, "bpmn:Group") && X(v, {
24740
- "append.text-annotation": S("bpmn:TextAnnotation", "bpmn-icon-text-annotation")
24740
+ "append.text-annotation": x("bpmn:TextAnnotation", "bpmn-icon-text-annotation")
24741
24741
  });
24742
24742
  var M = u.allowed("elements.delete", { elements: [e] });
24743
24743
  return nt(M) && (M = M[0] === e), M && X(v, {
@@ -26024,10 +26024,10 @@ sf.prototype._registerDefaultActions = function(e) {
26024
26024
  Dr.prototype._registerDefaultActions.call(this, e);
26025
26025
  var t = e.get("canvas", !1), n = e.get("elementRegistry", !1), r = e.get("selection", !1), a = e.get("spaceTool", !1), o = e.get("lassoTool", !1), l = e.get("handTool", !1), u = e.get("globalConnect", !1), c = e.get("distributeElements", !1), d = e.get("alignElements", !1), v = e.get("directEditing", !1), m = e.get("searchPad", !1), y = e.get("modeling", !1), b = e.get("contextPad", !1);
26026
26026
  t && n && r && this._registerAction("selectElements", function() {
26027
- var E = t.getRootElement(), S = n.filter(function(A) {
26027
+ var E = t.getRootElement(), x = n.filter(function(A) {
26028
26028
  return A !== E;
26029
26029
  });
26030
- return r.select(S), S;
26030
+ return r.select(x), x;
26031
26031
  }), a && this._registerAction("spaceTool", function() {
26032
26032
  a.toggle();
26033
26033
  }), o && this._registerAction("lassoTool", function() {
@@ -26037,30 +26037,30 @@ sf.prototype._registerDefaultActions = function(e) {
26037
26037
  }), u && this._registerAction("globalConnectTool", function() {
26038
26038
  u.toggle();
26039
26039
  }), r && c && this._registerAction("distributeElements", function(E) {
26040
- var S = r.get(), A = E.type;
26041
- S.length && c.trigger(S, A);
26040
+ var x = r.get(), A = E.type;
26041
+ x.length && c.trigger(x, A);
26042
26042
  }), r && d && this._registerAction("alignElements", function(E) {
26043
- var S = r.get(), A = [], F = E.type;
26044
- S.length && (A = tt(S, function(M) {
26043
+ var x = r.get(), A = [], F = E.type;
26044
+ x.length && (A = tt(x, function(M) {
26045
26045
  return !k(M, "bpmn:Lane");
26046
26046
  }), d.trigger(A, F));
26047
26047
  }), r && y && this._registerAction("setColor", function(E) {
26048
- var S = r.get();
26049
- S.length && y.setColor(S, E);
26048
+ var x = r.get();
26049
+ x.length && y.setColor(x, E);
26050
26050
  }), r && v && this._registerAction("directEditing", function() {
26051
26051
  var E = r.get();
26052
26052
  E.length && v.activate(E[0]);
26053
26053
  }), m && this._registerAction("find", function() {
26054
26054
  m.toggle();
26055
26055
  }), t && y && this._registerAction("moveToOrigin", function() {
26056
- var E = t.getRootElement(), S, A;
26056
+ var E = t.getRootElement(), x, A;
26057
26057
  k(E, "bpmn:Collaboration") ? A = n.filter(function(F) {
26058
26058
  return k(F.parent, "bpmn:Collaboration");
26059
26059
  }) : A = n.filter(function(F) {
26060
26060
  return F !== E && !k(F.parent, "bpmn:SubProcess");
26061
- }), S = Vt(A), y.moveElements(
26061
+ }), x = Vt(A), y.moveElements(
26062
26062
  A,
26063
- { x: -S.x, y: -S.y },
26063
+ { x: -x.x, y: -x.y },
26064
26064
  E
26065
26065
  );
26066
26066
  }), r && b && this._registerAction("replaceElement", function(E) {
@@ -26814,16 +26814,16 @@ lu.prototype.getEditingBBox = function(e) {
26814
26814
  paddingLeft: 5 * l + "px",
26815
26815
  paddingRight: 5 * l + "px"
26816
26816
  }));
26817
- var E = 90 * l, S = 7 * l, A = 4 * l;
26817
+ var E = 90 * l, x = 7 * l, A = 4 * l;
26818
26818
  if (n.labelTarget && (X(o, {
26819
26819
  width: E,
26820
- height: r.height + S + A,
26820
+ height: r.height + x + A,
26821
26821
  x: a.x - E / 2,
26822
- y: r.y - S
26822
+ y: r.y - x
26823
26823
  }), X(b, {
26824
26824
  fontSize: d + "px",
26825
26825
  lineHeight: v,
26826
- paddingTop: S + "px",
26826
+ paddingTop: x + "px",
26827
26827
  paddingBottom: A + "px"
26828
26828
  })), go(n) && !Bp(n) && !yn(n)) {
26829
26829
  var F = Fp(e), M = t.getAbsoluteBBox({
@@ -26831,7 +26831,7 @@ lu.prototype.getEditingBBox = function(e) {
26831
26831
  y: F.y,
26832
26832
  width: 0,
26833
26833
  height: 0
26834
- }), D = d + S + A;
26834
+ }), D = d + x + A;
26835
26835
  X(o, {
26836
26836
  width: E,
26837
26837
  height: D,
@@ -26840,7 +26840,7 @@ lu.prototype.getEditingBBox = function(e) {
26840
26840
  }), X(b, {
26841
26841
  fontSize: d + "px",
26842
26842
  lineHeight: v,
26843
- paddingTop: S + "px",
26843
+ paddingTop: x + "px",
26844
26844
  paddingBottom: A + "px"
26845
26845
  });
26846
26846
  }
@@ -27303,8 +27303,8 @@ function em(e, t) {
27303
27303
  c && (n(l, c, u) || qt(l.get("properties"), c));
27304
27304
  }
27305
27305
  function o(l) {
27306
- var u = l.context, c = u.connection, d = c.businessObject, v = c.target, m = v && v.businessObject, y = u.newTarget, b = y && y.businessObject, E = u.oldTarget || u.target, S = E && E.businessObject, A = c.businessObject, F;
27307
- S && S !== m && a(S, d), b && b !== m && a(b, d), m ? (F = r(m, !0), A.targetRef = F) : A.targetRef = null;
27306
+ var u = l.context, c = u.connection, d = c.businessObject, v = c.target, m = v && v.businessObject, y = u.newTarget, b = y && y.businessObject, E = u.oldTarget || u.target, x = E && E.businessObject, A = c.businessObject, F;
27307
+ x && x !== m && a(x, d), b && b !== m && a(b, d), m ? (F = r(m, !0), A.targetRef = F) : A.targetRef = null;
27308
27308
  }
27309
27309
  }
27310
27310
  em.$inject = [
@@ -27504,7 +27504,7 @@ function NL(e, t) {
27504
27504
  function rm(e, t, n) {
27505
27505
  _e.call(this, e);
27506
27506
  function r(a, o, l) {
27507
- var u = o.waypoints, c, d, v, m, y, b, E, S = a.outgoing.slice(), A = a.incoming.slice(), F;
27507
+ var u = o.waypoints, c, d, v, m, y, b, E, x = a.outgoing.slice(), A = a.incoming.slice(), F;
27508
27508
  Ke(l.width) ? F = Xe(l) : F = l;
27509
27509
  var M = Ch(u, F);
27510
27510
  if (M) {
@@ -27521,7 +27521,7 @@ function rm(e, t, n) {
27521
27521
  b && tt(A, function(R) {
27522
27522
  return R.source === b.source;
27523
27523
  }) || [],
27524
- E && tt(S, function(R) {
27524
+ E && tt(x, function(R) {
27525
27525
  return R.target === E.target;
27526
27526
  }) || []
27527
27527
  );
@@ -27673,78 +27673,78 @@ function am(e, t, n, r, a, o) {
27673
27673
  return k(E, "bpmn:Group");
27674
27674
  });
27675
27675
  }
27676
- function u(E, S) {
27676
+ function u(E, x) {
27677
27677
  return E.some(function(A) {
27678
27678
  var F = Pe(A), M = F.categoryValueRef && F.categoryValueRef.$parent;
27679
- return M === S;
27679
+ return M === x;
27680
27680
  });
27681
27681
  }
27682
- function c(E, S) {
27682
+ function c(E, x) {
27683
27683
  return E.some(function(A) {
27684
27684
  var F = Pe(A);
27685
- return F.categoryValueRef === S;
27685
+ return F.categoryValueRef === x;
27686
27686
  });
27687
27687
  }
27688
- function d(E, S, A) {
27688
+ function d(E, x, A) {
27689
27689
  var F = l().filter(function(M) {
27690
27690
  return M.businessObject !== A;
27691
27691
  });
27692
- S && !u(F, S) && $L(S), E && !c(F, E) && FL(E);
27692
+ x && !u(F, x) && $L(x), E && !c(F, E) && FL(E);
27693
27693
  }
27694
- function v(E, S) {
27695
- return BL(E, S, t.getDefinitions());
27694
+ function v(E, x) {
27695
+ return BL(E, x, t.getDefinitions());
27696
27696
  }
27697
- function m(E, S) {
27697
+ function m(E, x) {
27698
27698
  var A = Pe(E), F = A.categoryValueRef;
27699
- F || (F = A.categoryValueRef = S.categoryValue = S.categoryValue || IL(e));
27699
+ F || (F = A.categoryValueRef = x.categoryValue = x.categoryValue || IL(e));
27700
27700
  var M = F.$parent;
27701
- M || (M = F.$parent = S.category = S.category || OL(e)), v(F, M, t.getDefinitions());
27701
+ M || (M = F.$parent = x.category = x.category || OL(e)), v(F, M, t.getDefinitions());
27702
27702
  }
27703
- function y(E, S) {
27704
- var A = S.category, F = S.categoryValue, M = Pe(E);
27703
+ function y(E, x) {
27704
+ var A = x.category, F = x.categoryValue, M = Pe(E);
27705
27705
  F ? (M.categoryValueRef = null, d(F, A, M)) : d(null, M.categoryValueRef.$parent, M);
27706
27706
  }
27707
27707
  this.execute("label.create", function(E) {
27708
- var S = E.context, A = S.labelTarget;
27709
- k(A, "bpmn:Group") && m(A, S);
27708
+ var x = E.context, A = x.labelTarget;
27709
+ k(A, "bpmn:Group") && m(A, x);
27710
27710
  }), this.revert("label.create", function(E) {
27711
- var S = E.context, A = S.labelTarget;
27712
- k(A, "bpmn:Group") && y(A, S);
27711
+ var x = E.context, A = x.labelTarget;
27712
+ k(A, "bpmn:Group") && y(A, x);
27713
27713
  }), this.execute("shape.delete", function(E) {
27714
- var S = E.context, A = S.shape, F = Pe(A);
27714
+ var x = E.context, A = x.shape, F = Pe(A);
27715
27715
  if (!(!k(A, "bpmn:Group") || A.labelTarget)) {
27716
- var M = S.categoryValue = F.categoryValueRef, D;
27717
- M && (D = S.category = M.$parent, d(M, D, F), F.categoryValueRef = null);
27716
+ var M = x.categoryValue = F.categoryValueRef, D;
27717
+ M && (D = x.category = M.$parent, d(M, D, F), F.categoryValueRef = null);
27718
27718
  }
27719
27719
  }), this.reverted("shape.delete", function(E) {
27720
- var S = E.context, A = S.shape;
27720
+ var x = E.context, A = x.shape;
27721
27721
  if (!(!k(A, "bpmn:Group") || A.labelTarget)) {
27722
- var F = S.category, M = S.categoryValue, D = Pe(A);
27722
+ var F = x.category, M = x.categoryValue, D = Pe(A);
27723
27723
  M && (D.categoryValueRef = M, v(M, F));
27724
27724
  }
27725
27725
  }), this.execute("shape.create", function(E) {
27726
- var S = E.context, A = S.shape;
27727
- !k(A, "bpmn:Group") || A.labelTarget || Pe(A).categoryValueRef && m(A, S);
27726
+ var x = E.context, A = x.shape;
27727
+ !k(A, "bpmn:Group") || A.labelTarget || Pe(A).categoryValueRef && m(A, x);
27728
27728
  }), this.reverted("shape.create", function(E) {
27729
- var S = E.context, A = S.shape;
27730
- !k(A, "bpmn:Group") || A.labelTarget || Pe(A).categoryValueRef && y(A, S);
27729
+ var x = E.context, A = x.shape;
27730
+ !k(A, "bpmn:Group") || A.labelTarget || Pe(A).categoryValueRef && y(A, x);
27731
27731
  });
27732
- function b(E, S) {
27732
+ function b(E, x) {
27733
27733
  var A = e.create(E.$type);
27734
- return o.copyElement(E, A, null, S);
27734
+ return o.copyElement(E, A, null, x);
27735
27735
  }
27736
27736
  r.on("copyPaste.copyElement", j0, function(E) {
27737
- var S = E.descriptor, A = E.element;
27737
+ var x = E.descriptor, A = E.element;
27738
27738
  if (!(!k(A, "bpmn:Group") || A.labelTarget)) {
27739
27739
  var F = Pe(A);
27740
27740
  if (F.categoryValueRef) {
27741
27741
  var M = F.categoryValueRef;
27742
- S.categoryValue = b(M, !0), M.$parent && (S.category = b(M.$parent, !0));
27742
+ x.categoryValue = b(M, !0), M.$parent && (x.category = b(M.$parent, !0));
27743
27743
  }
27744
27744
  }
27745
27745
  }), r.on("copyPaste.pasteElement", j0, function(E) {
27746
- var S = E.descriptor, A = S.businessObject, F = S.categoryValue, M = S.category;
27747
- F && (F = A.categoryValueRef = b(F)), M && (F.$parent = b(M)), delete S.category, delete S.categoryValue;
27746
+ var x = E.descriptor, A = x.businessObject, F = x.categoryValue, M = x.category;
27747
+ F && (F = A.categoryValueRef = b(F)), M && (F.$parent = b(M)), delete x.category, delete x.categoryValue;
27748
27748
  });
27749
27749
  }
27750
27750
  am.$inject = [
@@ -27840,9 +27840,9 @@ function jL(e, t, n, r) {
27840
27840
  var a = t.x - e.x, o = t.y - e.y, l = n.x - e.x, u = n.y - e.y, c = a * a + o * o, d = a * l + o * u, v = l * l + u * u - r * r, m = d / c, y = v / c, b = m * m - y;
27841
27841
  if (b < 0 && b > -1e-6 && (b = 0), b < 0)
27842
27842
  return [];
27843
- var E = qx(b), S = -m + E, A = -m - E, F = {
27844
- x: e.x - a * S,
27845
- y: e.y - o * S
27843
+ var E = qx(b), x = -m + E, A = -m - E, F = {
27844
+ x: e.x - a * x,
27845
+ y: e.y - o * x
27846
27846
  };
27847
27847
  if (b === 0)
27848
27848
  return [F];
@@ -27897,10 +27897,10 @@ function Xx(e, t, n, r) {
27897
27897
  return l;
27898
27898
  var v = q0(n, c), m = q0(t, d), y = u.position, b = VL(v, y), E = KL(v, m);
27899
27899
  if (u.type === "bendpoint") {
27900
- var S = t.length - n.length, A = u.bendpointIndex, F = n[A];
27900
+ var x = t.length - n.length, A = u.bendpointIndex, F = n[A];
27901
27901
  if (t.indexOf(F) !== -1)
27902
27902
  return l;
27903
- if (S === 0) {
27903
+ if (x === 0) {
27904
27904
  var M = t[A];
27905
27905
  return a = M.x - u.position.x, o = M.y - u.position.y, {
27906
27906
  delta: {
@@ -27913,7 +27913,7 @@ function Xx(e, t, n, r) {
27913
27913
  }
27914
27914
  };
27915
27915
  }
27916
- S < 0 && A !== 0 && A < n.length - 1 && (b = Zx(n, A));
27916
+ x < 0 && A !== 0 && A < n.length - 1 && (b = Zx(n, A));
27917
27917
  }
27918
27918
  var D = {
27919
27919
  x: (m[1].x - m[0].x) * b + m[0].x,
@@ -28673,33 +28673,33 @@ function Ra(e, t, n, r, a, o, l) {
28673
28673
  }, !0), this.postExecuted("shape.replace", function(m) {
28674
28674
  var y = m.newShape, b = m.oldRoot, E = e.findRoot(Ai(y));
28675
28675
  if (!(!b || !E)) {
28676
- var S = b.children;
28677
- n.moveElements(S, { x: 0, y: 0 }, E);
28676
+ var x = b.children;
28677
+ n.moveElements(x, { x: 0, y: 0 }, E);
28678
28678
  }
28679
28679
  }, !0), this.executed("element.updateProperties", function(m) {
28680
28680
  var y = m.element;
28681
28681
  if (k(y, "bpmn:SubProcess")) {
28682
- var b = m.properties, E = m.oldProperties, S = E.id, A = b.id;
28683
- if (S !== A) {
28682
+ var b = m.properties, E = m.oldProperties, x = E.id, A = b.id;
28683
+ if (x !== A) {
28684
28684
  if (Od(y)) {
28685
- l.updateId(y, oo(A)), l.updateId(S, A);
28685
+ l.updateId(y, oo(A)), l.updateId(x, A);
28686
28686
  return;
28687
28687
  }
28688
- var F = l.get(oo(S));
28689
- F && l.updateId(oo(S), oo(A));
28688
+ var F = l.get(oo(x));
28689
+ F && l.updateId(oo(x), oo(A));
28690
28690
  }
28691
28691
  }
28692
28692
  }, !0), this.reverted("element.updateProperties", function(m) {
28693
28693
  var y = m.element;
28694
28694
  if (k(y, "bpmn:SubProcess")) {
28695
- var b = m.properties, E = m.oldProperties, S = E.id, A = b.id;
28696
- if (S !== A) {
28695
+ var b = m.properties, E = m.oldProperties, x = E.id, A = b.id;
28696
+ if (x !== A) {
28697
28697
  if (Od(y)) {
28698
- l.updateId(y, oo(S)), l.updateId(A, S);
28698
+ l.updateId(y, oo(x)), l.updateId(A, x);
28699
28699
  return;
28700
28700
  }
28701
28701
  var F = l.get(oo(A));
28702
- F && l.updateId(F, oo(S));
28702
+ F && l.updateId(F, oo(x));
28703
28703
  }
28704
28704
  }
28705
28705
  }, !0), t.on("element.changed", function(m) {
@@ -28723,13 +28723,13 @@ function Ra(e, t, n, r, a, o, l) {
28723
28723
  }, !0), t.on("copyPaste.createTree", function(m) {
28724
28724
  var y = m.element, b = m.children;
28725
28725
  if (c(y)) {
28726
- var E = Ai(y), S = l.get(E);
28727
- S && b.push.apply(b, S.children);
28726
+ var E = Ai(y), x = l.get(E);
28727
+ x && b.push.apply(b, x.children);
28728
28728
  }
28729
28729
  }), t.on("copyPaste.copyElement", function(m) {
28730
- var y = m.descriptor, b = m.element, E = m.elements, S = b.parent, A = k(mt(S), "bpmndi:BPMNPlane");
28730
+ var y = m.descriptor, b = m.element, E = m.elements, x = b.parent, A = k(mt(x), "bpmndi:BPMNPlane");
28731
28731
  if (A) {
28732
- var F = bb(S), M = dt(E, function(D) {
28732
+ var F = bb(x), M = dt(E, function(D) {
28733
28733
  return D.id === F;
28734
28734
  });
28735
28735
  M && (y.parent = M.id);
@@ -29676,11 +29676,11 @@ function Mr(e, t, n, r, a, o, l) {
29676
29676
  var d = c.context, v = d.axis, m = d.direction, y = d.movingShapes, b = d.resizingShapes, E = d.start;
29677
29677
  if (d.initialized) {
29678
29678
  o_(c);
29679
- var S = {
29679
+ var x = {
29680
29680
  x: 0,
29681
29681
  y: 0
29682
29682
  };
29683
- S[v] = lI(c["d" + v]), u.makeSpace(y, b, S, m, E), n.once("spaceTool.ended", function(A) {
29683
+ x[v] = lI(c["d" + v]), u.makeSpace(y, b, x, m, E), n.once("spaceTool.ended", function(A) {
29684
29684
  u.activateSelection(A.originalEvent, !0, !0);
29685
29685
  });
29686
29686
  }
@@ -29782,8 +29782,8 @@ Mr.prototype.calculateAdjustments = function(e, t, n, r) {
29782
29782
  var b = y.host;
29783
29783
  ho(m, b) && d(y);
29784
29784
  }), m = o.concat(l), V(c, function(y) {
29785
- var b = y.source, E = y.target, S = y.label;
29786
- ho(m, b) && ho(m, E) && S && d(S);
29785
+ var b = y.source, E = y.target, x = y.label;
29786
+ ho(m, b) && ho(m, E) && x && d(x);
29787
29787
  }), {
29788
29788
  movingShapes: o,
29789
29789
  resizingShapes: l
@@ -29821,10 +29821,10 @@ function cI(e, t, n, r, a) {
29821
29821
  return V(l, function(v) {
29822
29822
  var m = v.attachers, y = v.children, b = Fe(v), E = tt(y, function($) {
29823
29823
  return !Hh($) && !zh($) && !ho(o, $) && !ho(l, $);
29824
- }), S = tt(y, function($) {
29824
+ }), x = tt(y, function($) {
29825
29825
  return !Hh($) && !zh($) && ho(o, $);
29826
29826
  }), A, F, M, D = [], R = [], N, O, G, K;
29827
- E.length && (F = a_(Fe(Vt(E))), A = r - b[la[n]] + F[la[n]], n === "n" ? u.bottom = d = Ke(d) ? Math.min(d, A) : A : n === "w" ? u.right = d = Ke(d) ? Math.min(d, A) : A : n === "s" ? u.top = c = Ke(c) ? Math.max(c, A) : A : n === "e" && (u.left = c = Ke(c) ? Math.max(c, A) : A)), S.length && (M = a_(Fe(Vt(S))), A = r - M[la[Dc[n]]] + b[la[Dc[n]]], n === "n" ? u.bottom = d = Ke(d) ? Math.min(d, A) : A : n === "w" ? u.right = d = Ke(d) ? Math.min(d, A) : A : n === "s" ? u.top = c = Ke(c) ? Math.max(c, A) : A : n === "e" && (u.left = c = Ke(c) ? Math.max(c, A) : A)), m && m.length && (m.forEach(function($) {
29827
+ E.length && (F = a_(Fe(Vt(E))), A = r - b[la[n]] + F[la[n]], n === "n" ? u.bottom = d = Ke(d) ? Math.min(d, A) : A : n === "w" ? u.right = d = Ke(d) ? Math.min(d, A) : A : n === "s" ? u.top = c = Ke(c) ? Math.max(c, A) : A : n === "e" && (u.left = c = Ke(c) ? Math.max(c, A) : A)), x.length && (M = a_(Fe(Vt(x))), A = r - M[la[Dc[n]]] + b[la[Dc[n]]], n === "n" ? u.bottom = d = Ke(d) ? Math.min(d, A) : A : n === "w" ? u.right = d = Ke(d) ? Math.min(d, A) : A : n === "s" ? u.top = c = Ke(c) ? Math.max(c, A) : A : n === "e" && (u.left = c = Ke(c) ? Math.max(c, A) : A)), m && m.length && (m.forEach(function($) {
29828
29828
  ho(o, $) ? D.push($) : R.push($);
29829
29829
  }), D.length && (N = Fe(Vt(D.map(Xe))), O = b[la[Dc[n]]] - (N[la[Dc[n]]] - r)), R.length && (G = Fe(Vt(R.map(Xe))), K = G[la[n]] - (b[la[n]] - r)), n === "n" ? (A = Math.min(O || 1 / 0, K || 1 / 0), u.bottom = d = Ke(d) ? Math.min(d, A) : A) : n === "w" ? (A = Math.min(O || 1 / 0, K || 1 / 0), u.right = d = Ke(d) ? Math.min(d, A) : A) : n === "s" ? (A = Math.max(O || -1 / 0, K || -1 / 0), u.top = c = Ke(c) ? Math.max(c, A) : A) : n === "e" && (A = Math.max(O || -1 / 0, K || -1 / 0), u.left = c = Ke(c) ? Math.max(c, A) : A));
29830
29830
  var U = a && a[v.id];
@@ -29904,16 +29904,16 @@ function w1(e, t, n, r, a) {
29904
29904
  o(E, b), u.dragGroup = b;
29905
29905
  }
29906
29906
  if (!u.frameGroup) {
29907
- var S = He("g");
29908
- Ae(S, r.cls("djs-frame-group", ["no-events"])), Ve(n.getActiveLayer(), S);
29907
+ var x = He("g");
29908
+ Ae(x, r.cls("djs-frame-group", ["no-events"])), Ve(n.getActiveLayer(), x);
29909
29909
  var A = [];
29910
29910
  V(m, function(R) {
29911
- var N = a.addFrame(R, S), O = N.getBBox();
29911
+ var N = a.addFrame(R, x), O = N.getBBox();
29912
29912
  A.push({
29913
29913
  element: N,
29914
29914
  initialBounds: O
29915
29915
  }), n.addMarker(R, s_);
29916
- }), u.frameGroup = S, u.frames = A;
29916
+ }), u.frameGroup = x, u.frames = A;
29917
29917
  }
29918
29918
  var F = {
29919
29919
  x: "M" + l.x + ", -10000 L" + l.x + ", 10000",
@@ -30377,8 +30377,8 @@ function Rm(e, t, n, r, a) {
30377
30377
  var u = l.context, c = u.shape, d = u.oldBounds, v = u.newBounds, m = c.attachers, y = u.hints || {};
30378
30378
  y.attachSupport !== !1 && V(m, function(b) {
30379
30379
  var E = Y0(b, d, v);
30380
- a.moveShape(b, E, b.parent), V(b.labels, function(S) {
30381
- a.moveShape(S, E, S.parent);
30380
+ a.moveShape(b, E, b.parent), V(b.labels, function(x) {
30381
+ a.moveShape(x, E, x.parent);
30382
30382
  });
30383
30383
  });
30384
30384
  }), this.preExecute("shape.delete", function(l) {
@@ -30503,8 +30503,8 @@ function pr(e, t, n, r) {
30503
30503
  _e.call(this, e), this._bpmnFactory = t, this._translate = r;
30504
30504
  var a = this;
30505
30505
  function o(b) {
30506
- var E = b.context, S = E.hints || {}, A;
30507
- !E.cropped && S.createElementsBehavior !== !1 && (A = E.connection, A.waypoints = n.getCroppedWaypoints(A), E.cropped = !0);
30506
+ var E = b.context, x = E.hints || {}, A;
30507
+ !E.cropped && x.createElementsBehavior !== !1 && (A = E.connection, A.waypoints = n.getCroppedWaypoints(A), E.cropped = !0);
30508
30508
  }
30509
30509
  this.executed([
30510
30510
  "connection.layout",
@@ -30517,8 +30517,8 @@ function pr(e, t, n, r) {
30517
30517
  a.updateParent(E.shape || E.connection, E.oldParent);
30518
30518
  }
30519
30519
  function u(b) {
30520
- var E = b.context, S = E.shape || E.connection, A = E.parent || E.newParent;
30521
- a.updateParent(S, A);
30520
+ var E = b.context, x = E.shape || E.connection, A = E.parent || E.newParent;
30521
+ a.updateParent(x, A);
30522
30522
  }
30523
30523
  this.executed([
30524
30524
  "shape.move",
@@ -30536,7 +30536,7 @@ function pr(e, t, n, r) {
30536
30536
  "connection.delete"
30537
30537
  ], xr(u));
30538
30538
  function c(b) {
30539
- var E = b.context, S = E.oldRoot, A = S.children;
30539
+ var E = b.context, x = E.oldRoot, A = x.children;
30540
30540
  V(A, function(F) {
30541
30541
  k(F, "bpmn:BaseElement") && a.updateParent(F);
30542
30542
  });
@@ -30579,14 +30579,14 @@ function pr(e, t, n, r) {
30579
30579
  "connection.move",
30580
30580
  "connection.updateWaypoints"
30581
30581
  ], xr(m)), this.executed("connection.reconnect", xr(function(b) {
30582
- var E = b.context, S = E.connection, A = E.oldSource, F = E.newSource, M = Pe(S), D = Pe(A), R = Pe(F);
30582
+ var E = b.context, x = E.connection, A = E.oldSource, F = E.newSource, M = Pe(x), D = Pe(A), R = Pe(F);
30583
30583
  M.conditionExpression && !it(R, [
30584
30584
  "bpmn:Activity",
30585
30585
  "bpmn:ExclusiveGateway",
30586
30586
  "bpmn:InclusiveGateway"
30587
30587
  ]) && (E.oldConditionExpression = M.conditionExpression, delete M.conditionExpression), A !== F && D.default === M && (E.oldDefault = D.default, delete D.default);
30588
30588
  })), this.reverted("connection.reconnect", xr(function(b) {
30589
- var E = b.context, S = E.connection, A = E.oldSource, F = E.newSource, M = Pe(S), D = Pe(A), R = Pe(F);
30589
+ var E = b.context, x = E.connection, A = E.oldSource, F = E.newSource, M = Pe(x), D = Pe(A), R = Pe(F);
30590
30590
  E.oldConditionExpression && (M.conditionExpression = E.oldConditionExpression), E.oldDefault && (D.default = E.oldDefault, delete R.default);
30591
30591
  }));
30592
30592
  function y(b) {
@@ -31051,11 +31051,11 @@ xf.prototype.preExecute = function(e) {
31051
31051
  var M = { y: 0 };
31052
31052
  M[r] = A - l(F), M[r] && (M[h_[r]] = 0, t.moveElements([F], M, F.parent));
31053
31053
  }
31054
- var v = n[0], m = u(n), y = n[m], b, E, S = 0;
31054
+ var v = n[0], m = u(n), y = n[m], b, E, x = 0;
31055
31055
  V(n, function(A, F) {
31056
31056
  var M, D, R;
31057
31057
  if (A.elements.length < 2) {
31058
- F && F !== n.length - 1 && (o(A, A.elements[0]), S += c(A.range));
31058
+ F && F !== n.length - 1 && (o(A, A.elements[0]), x += c(A.range));
31059
31059
  return;
31060
31060
  }
31061
31061
  M = Ur(A.elements, r), D = M[0], F === m && (D = M[u(M)]), R = l(D), A.range = null, V(M, function(N) {
@@ -31067,8 +31067,8 @@ xf.prototype.preExecute = function(e) {
31067
31067
  return;
31068
31068
  }
31069
31069
  o(A, N);
31070
- }), F && F !== n.length - 1 && (S += c(A.range));
31071
- }), E = Math.abs(y.range.min - v.range.max), b = Math.round((E - S) / (n.length - 1)), !(b < n.length - 1) && V(n, function(A, F) {
31070
+ }), F && F !== n.length - 1 && (x += c(A.range));
31071
+ }), E = Math.abs(y.range.min - v.range.max), b = Math.round((E - x) / (n.length - 1)), !(b < n.length - 1) && V(n, function(A, F) {
31072
31072
  var M = {}, D;
31073
31073
  A === v || A === y || (D = n[F - 1], A.range.max = 0, V(A.elements, function(R, N) {
31074
31074
  M[h_[r]] = 0, M[r] = D.range.max - R[r] + b, A.range.min !== R[r] && (M[r] += R[r] - A.range.min), M[r] && t.moveElements([R], M, R.parent), A.range.max = Math.max(R[r] + R[a], N ? A.range.max : 0);
@@ -31222,11 +31222,11 @@ function Gi(e, t) {
31222
31222
  Gi.$inject = ["modeling", "rules"];
31223
31223
  Gi.prototype.preExecute = function(e) {
31224
31224
  var t = this, n = this._modeling, r = this._rules, a = e.oldShape, o = e.newData, l = e.hints || {}, u;
31225
- function c(E, S, A) {
31225
+ function c(E, x, A) {
31226
31226
  return r.allowed("connection.reconnect", {
31227
31227
  connection: A,
31228
31228
  source: E,
31229
- target: S
31229
+ target: x
31230
31230
  });
31231
31231
  }
31232
31232
  var d = {
@@ -31243,7 +31243,7 @@ Gi.prototype.preExecute = function(e) {
31243
31243
  l.moveChildren !== !1 && (m = a.children.slice(), n.moveElements(m, { x: 0, y: 0 }, u, l));
31244
31244
  var y = a.incoming.slice(), b = a.outgoing.slice();
31245
31245
  V(y, function(E) {
31246
- var S = E.source, A = c(S, u, E);
31246
+ var x = E.source, A = c(x, u, E);
31247
31247
  A && t.reconnectEnd(
31248
31248
  E,
31249
31249
  u,
@@ -31251,7 +31251,7 @@ Gi.prototype.preExecute = function(e) {
31251
31251
  l
31252
31252
  );
31253
31253
  }), V(b, function(E) {
31254
- var S = E.target, A = c(u, S, E);
31254
+ var x = E.target, A = c(u, x, E);
31255
31255
  A && t.reconnectStart(
31256
31256
  E,
31257
31257
  u,
@@ -31369,8 +31369,8 @@ Ma.prototype.updateConnectionWaypoints = function(e, t, n, r, a, o, l) {
31369
31369
  var u = this, c = a.concat(o);
31370
31370
  V(e, function(d) {
31371
31371
  var v = d.source, m = d.target, y = BI(d), b = T1(n), E = {};
31372
- ua(c, v) && ua(c, m) ? (y = gn(y, function(S) {
31373
- return g_(S, r, n) && (S[b] = S[b] + t[b]), S.original && g_(S.original, r, n) && (S.original[b] = S.original[b] + t[b]), S;
31372
+ ua(c, v) && ua(c, m) ? (y = gn(y, function(x) {
31373
+ return g_(x, r, n) && (x[b] = x[b] + t[b]), x.original && g_(x.original, r, n) && (x.original[b] = x.original[b] + t[b]), x;
31374
31374
  }), u._modeling.updateWaypoints(d, y, {
31375
31375
  labelBehavior: !1
31376
31376
  })) : (ua(c, v) || ua(c, m)) && (ua(a, v) ? E.connectionStart = um(d, v, t) : ua(a, m) ? E.connectionEnd = cm(d, m, t) : ua(o, v) ? E.connectionStart = df(
@@ -31864,8 +31864,8 @@ Om.prototype.preExecute = function(e) {
31864
31864
  height: r.height
31865
31865
  }, u);
31866
31866
  var d = [];
31867
- Eo(o, function(S) {
31868
- return d.push(S), S.label && d.push(S.label), S === r ? [] : tt(S.children, function(A) {
31867
+ Eo(o, function(x) {
31868
+ return d.push(x), x.label && d.push(x.label), x === r ? [] : tt(x.children, function(A) {
31869
31869
  return A !== r;
31870
31870
  });
31871
31871
  });
@@ -32114,8 +32114,8 @@ function I1(e, t, n) {
32114
32114
  E.removeShape !== !1 && e.removeShape(m, { unsetLabel: !1 });
32115
32115
  return;
32116
32116
  }
32117
- var S = Gr(m);
32118
- typeof b > "u" && (b = t.getExternalLabelBounds(m, S)), b && e.resizeShape(m, b, ZI);
32117
+ var x = Gr(m);
32118
+ typeof b > "u" && (b = t.getExternalLabelBounds(m, x)), b && e.resizeShape(m, b, ZI);
32119
32119
  }
32120
32120
  }
32121
32121
  this.preExecute = o, this.execute = l, this.revert = u, this.postExecute = c;
@@ -32786,13 +32786,13 @@ function j1(e, t, n, r) {
32786
32786
  var E = t.getActiveLayer();
32787
32787
  Ve(E, b), d.dragGroup = b;
32788
32788
  }
32789
- y.forEach(function(S) {
32790
- r.addDragger(S, d.dragGroup);
32789
+ y.forEach(function(x) {
32790
+ r.addDragger(x, d.dragGroup);
32791
32791
  }), m ? m = ep([
32792
32792
  m,
32793
32793
  o(v)
32794
- ]) : m = o(v), V(m, function(S) {
32795
- t.addMarker(S, Jd);
32794
+ ]) : m = o(v), V(m, function(x) {
32795
+ t.addMarker(x, Jd);
32796
32796
  }), d.allDraggedElements = m, d.differentParents = $3(v);
32797
32797
  }), e.on("shape.move.move", A_, function(c) {
32798
32798
  var d = c.context, v = d.dragGroup, m = d.target, y = d.shape.parent, b = d.canExecute;
@@ -33150,7 +33150,7 @@ Wm.$inject = [
33150
33150
  ];
33151
33151
  Wm.prototype.getPaletteEntries = function(e) {
33152
33152
  var t = {}, n = this._create, r = this._elementFactory, a = this._spaceTool, o = this._lassoTool, l = this._handTool, u = this._globalConnect, c = this._translate;
33153
- function d(y, b, E, S, A) {
33153
+ function d(y, b, E, x, A) {
33154
33154
  function F(D) {
33155
33155
  var R = r.createShape(X({ type: y }, A));
33156
33156
  if (A) {
@@ -33163,7 +33163,7 @@ Wm.prototype.getPaletteEntries = function(e) {
33163
33163
  return {
33164
33164
  group: b,
33165
33165
  className: E,
33166
- title: S || c("Create {type}", { type: M }),
33166
+ title: x || c("Create {type}", { type: M }),
33167
33167
  action: {
33168
33168
  dragstart: F,
33169
33169
  click: F
@@ -33333,8 +33333,8 @@ function Um(e, t, n, r, a) {
33333
33333
  r.addShape(b, y.parent);
33334
33334
  var E = Ct('[data-element-id="' + Ml(y.id) + '"]', u.dragGroup);
33335
33335
  E && Ae(E, { display: "none" });
33336
- var S = a.addDragger(b, u.dragGroup);
33337
- u.visualReplacements[v] = S, r.removeShape(b);
33336
+ var x = a.addDragger(b, u.dragGroup);
33337
+ u.visualReplacements[v] = x, r.removeShape(b);
33338
33338
  }
33339
33339
  });
33340
33340
  }
@@ -34583,26 +34583,26 @@ const Hn = {
34583
34583
  var F, M, D;
34584
34584
  if (!((F = n == null ? void 0 : n.element) != null && F.businessObject))
34585
34585
  return;
34586
- const S = n.element.businessObject;
34587
- a.id = S.id || "", a.name = S.name || "", a.$type = S.$type || "", a.isExpanded = S.isExpanded ?? !1;
34588
- const A = ((D = (M = S.documentation) == null ? void 0 : M[0]) == null ? void 0 : D.text) || "";
34586
+ const x = n.element.businessObject;
34587
+ a.id = x.id || "", a.name = x.name || "", a.$type = x.$type || "", a.isExpanded = x.isExpanded ?? !1;
34588
+ const A = ((D = (M = x.documentation) == null ? void 0 : M[0]) == null ? void 0 : D.text) || "";
34589
34589
  a.documentationValue = A;
34590
- }, u = (S) => {
34590
+ }, u = (x) => {
34591
34591
  if (!(n != null && n.modeling) || !(n != null && n.element))
34592
34592
  return;
34593
- const A = a[S] || null, F = { [S]: A };
34593
+ const A = a[x] || null, F = { [x]: A };
34594
34594
  n.modeling.updateProperties(n.element, F);
34595
34595
  }, c = () => {
34596
34596
  if (!(n != null && n.modeler) || !(n != null && n.element))
34597
34597
  return;
34598
- const S = n.modeler, A = S.get("moddle"), F = S.get("modeling"), M = n.element, D = A.create("bpmn:Documentation", {
34598
+ const x = n.modeler, A = x.get("moddle"), F = x.get("modeling"), M = n.element, D = A.create("bpmn:Documentation", {
34599
34599
  text: a.documentationValue || ""
34600
34600
  });
34601
34601
  F.updateProperties(M, {
34602
34602
  documentation: [D]
34603
34603
  }), t("save");
34604
- }, d = Le(""), v = Le(""), m = Le(""), y = (S) => {
34605
- const A = S.trim().match(/^\$\{(.+)\}$/);
34604
+ }, d = Le(""), v = Le(""), m = Le(""), y = (x) => {
34605
+ const A = x.trim().match(/^\$\{(.+)\}$/);
34606
34606
  if (!A)
34607
34607
  return null;
34608
34608
  const F = A[1].trim(), M = ["<=", ">=", "!=", "==", "<", ">", "="];
@@ -34630,29 +34630,29 @@ const Hn = {
34630
34630
  a.body = ((M = (F = n.element.businessObject) == null ? void 0 : F.conditionExpression) == null ? void 0 : M.body) || "", a.name == "通过" || a.body.indexOf("通过") > -1 ? r.value = "通过" : a.name == "驳回" || a.body.indexOf("驳回") > -1 ? r.value = "驳回" : r.value = "其他", t("updateFlowType", r.value);
34631
34631
  return;
34632
34632
  }
34633
- const S = a.body, A = y(S);
34633
+ const x = a.body, A = y(x);
34634
34634
  d.value = A.variable, v.value = A.operator, m.value = A.value, a.body && a.name == "通过" ? r.value = "通过" : a.body && a.name == "驳回" && (r.value = "驳回"), t("updateFlowType", r.value);
34635
34635
  }, E = () => {
34636
34636
  if (r.value === "其他") {
34637
34637
  n.modeling.updateProperties(n.element, { name: "" }), a.name = "", t("updateFlowType", r.value);
34638
- const S = n.moddle.create("bpmn:FormalExpression");
34638
+ const x = n.moddle.create("bpmn:FormalExpression");
34639
34639
  n.modeling.updateProperties(n.element, {
34640
- conditionExpression: S
34640
+ conditionExpression: x
34641
34641
  });
34642
34642
  } else {
34643
- let S;
34644
- r.value === "通过" ? S = "通过" : r.value === "驳回" && (S = "驳回");
34645
- const F = `\${${n.element.businessObject.sourceRef.id}=="${S}"}`, M = n.moddle.create("bpmn:FormalExpression", { body: F });
34643
+ let x;
34644
+ r.value === "通过" ? x = "通过" : r.value === "驳回" && (x = "驳回");
34645
+ const F = `\${${n.element.businessObject.sourceRef.id}=="${x}"}`, M = n.moddle.create("bpmn:FormalExpression", { body: F });
34646
34646
  n.modeling.updateProperties(n.element, {
34647
34647
  conditionExpression: M,
34648
- name: S
34649
- }), a.name = S, t("updateFlowType", r.value);
34648
+ name: x
34649
+ }), a.name = x, t("updateFlowType", r.value);
34650
34650
  }
34651
34651
  };
34652
34652
  return ar(
34653
34653
  () => e.id,
34654
- (S) => {
34655
- Hn.isNotBlank(S) && (l(), b());
34654
+ (x) => {
34655
+ Hn.isNotBlank(x) && (l(), b());
34656
34656
  },
34657
34657
  { immediate: !0 }
34658
34658
  ), ya(() => {
@@ -34838,17 +34838,17 @@ const DB = /* @__PURE__ */ Lr(RB, [["render", kB]]), MB = Pr({
34838
34838
  { key: 1, label: "用户姓名", prop: `${d}`, visible: !0 }
34839
34839
  ]), b = pa(() => ({
34840
34840
  total: o.value,
34841
- current: S.value.pageNum,
34842
- pageSize: S.value.pageSize
34841
+ current: x.value.pageNum,
34842
+ pageSize: x.value.pageSize
34843
34843
  })), E = pa(
34844
34844
  () => y.value.filter((te) => te.visible)
34845
- ), S = Le({
34845
+ ), x = Le({
34846
34846
  pageNum: 1,
34847
34847
  pageSize: 5,
34848
34848
  userName: void 0,
34849
34849
  deptId: void 0
34850
34850
  }), A = Le(), F = Le([]), M = Le([]), D = Le(0), R = (te) => te[c] || te.id, N = (te) => {
34851
- F.value = te, te.length > 0 ? S.value.deptId = Number(te[0]) : S.value.deptId = void 0, K();
34851
+ F.value = te, te.length > 0 ? x.value.deptId = Number(te[0]) : x.value.deptId = void 0, K();
34852
34852
  }, O = (te, j) => {
34853
34853
  M.value = te, t("handleUserSelect", j);
34854
34854
  }, G = (te) => {
@@ -34859,21 +34859,21 @@ const DB = /* @__PURE__ */ Lr(RB, [["render", kB]]), MB = Pr({
34859
34859
  t("handleUserSelect", J);
34860
34860
  }
34861
34861
  }, K = () => {
34862
- S.value.pageNum = 1, oe();
34862
+ x.value.pageNum = 1, oe();
34863
34863
  }, U = () => {
34864
- S.value = {
34864
+ x.value = {
34865
34865
  pageNum: 1,
34866
34866
  pageSize: 5,
34867
34867
  userName: void 0,
34868
34868
  deptId: void 0
34869
34869
  }, F.value = [], K();
34870
34870
  }, $ = (te, j) => {
34871
- S.value.pageNum = te, S.value.pageSize = j, oe();
34871
+ x.value.pageNum = te, x.value.pageSize = j, oe();
34872
34872
  }, z = (te) => {
34873
- S.value.pageNum = te.current, S.value.pageSize = te.pageSize, oe();
34873
+ x.value.pageNum = te.current, x.value.pageSize = te.pageSize, oe();
34874
34874
  }, oe = async () => {
34875
34875
  n.value = !0;
34876
- const te = await u.fetchUsers(S.value);
34876
+ const te = await u.fetchUsers(x.value);
34877
34877
  a.value = te.data, o.value = te.total, n.value = !1;
34878
34878
  }, ie = async () => {
34879
34879
  const te = await u.fetchDepts();
@@ -34894,7 +34894,7 @@ const DB = /* @__PURE__ */ Lr(RB, [["render", kB]]), MB = Pr({
34894
34894
  userList: a,
34895
34895
  total: o,
34896
34896
  showSearch: l,
34897
- queryParams: S,
34897
+ queryParams: x,
34898
34898
  treeRef: A,
34899
34899
  selectedDeptKeys: F,
34900
34900
  selectedRowKeys: M,
@@ -34953,7 +34953,7 @@ function BB(e, t, n, r, a, o) {
34953
34953
  default: se(() => [
34954
34954
  ce(u, {
34955
34955
  value: e.queryParams.userName,
34956
- "onUpdate:value": t[0] || (t[0] = (S) => e.queryParams.userName = S),
34956
+ "onUpdate:value": t[0] || (t[0] = (x) => e.queryParams.userName = x),
34957
34957
  placeholder: "请输入用户名称",
34958
34958
  allowClear: "",
34959
34959
  style: { width: "150px" },
@@ -35014,11 +35014,11 @@ function BB(e, t, n, r, a, o) {
35014
35014
  onChange: e.onPageChange
35015
35015
  }, {
35016
35016
  default: se(() => [
35017
- (ge(!0), gt($t, null, Sr(e.visibleColumns, (S) => (ge(), Oe(b, {
35018
- key: S.key,
35019
- title: S.label,
35020
- "data-index": S.prop,
35021
- width: S.width,
35017
+ (ge(!0), gt($t, null, Sr(e.visibleColumns, (x) => (ge(), Oe(b, {
35018
+ key: x.key,
35019
+ title: x.label,
35020
+ "data-index": x.prop,
35021
+ width: x.width,
35022
35022
  ellipsis: !0
35023
35023
  }, null, 8, ["title", "data-index", "width"]))), 128))
35024
35024
  ]),
@@ -35038,11 +35038,11 @@ function BB(e, t, n, r, a, o) {
35038
35038
  onChange: e.onPageChange
35039
35039
  }, {
35040
35040
  default: se(() => [
35041
- (ge(!0), gt($t, null, Sr(e.visibleColumns, (S) => (ge(), Oe(b, {
35042
- key: S.key,
35043
- title: S.label,
35044
- "data-index": S.prop,
35045
- width: S.width,
35041
+ (ge(!0), gt($t, null, Sr(e.visibleColumns, (x) => (ge(), Oe(b, {
35042
+ key: x.key,
35043
+ title: x.label,
35044
+ "data-index": x.prop,
35045
+ width: x.width,
35046
35046
  ellipsis: !0
35047
35047
  }, null, 8, ["title", "data-index", "width"]))), 128))
35048
35048
  ]),
@@ -35092,7 +35092,7 @@ const FB = /* @__PURE__ */ Lr(MB, [["render", BB], ["__scopeId", "data-v-4483766
35092
35092
  n.value = !0;
35093
35093
  const O = await l.fetchRoles(d.value);
35094
35094
  a.value = O.data, r.value = O.total, n.value = !1;
35095
- }, S = (O, G) => {
35095
+ }, x = (O, G) => {
35096
35096
  v.value = O;
35097
35097
  const K = O.join(","), U = G.map(($) => $[c]).join(",");
35098
35098
  t("handleRoleSelect", K, U);
@@ -35126,7 +35126,7 @@ const FB = /* @__PURE__ */ Lr(MB, [["render", BB], ["__scopeId", "data-v-4483766
35126
35126
  roleRowLabel: c,
35127
35127
  handleQuery: F,
35128
35128
  resetQuery: M,
35129
- handleMultipleRoleSelect: S,
35129
+ handleMultipleRoleSelect: x,
35130
35130
  handleSingleRoleSelect: A,
35131
35131
  handlePageChange: D,
35132
35132
  handlePageSizeChange: R,
@@ -35280,7 +35280,7 @@ const jB = /* @__PURE__ */ Lr($B, [["render", zB], ["__scopeId", "data-v-84faffe
35280
35280
  name: null,
35281
35281
  expression: null,
35282
35282
  status: null
35283
- }), c = (S) => WB[S] || S, d = () => {
35283
+ }), c = (x) => WB[x] || x, d = () => {
35284
35284
  n.value = !0, setTimeout(() => {
35285
35285
  o.value = [
35286
35286
  { id: 1, name: "审批流程指定接收人(单人)", expression: "${候选人1}", dataType: "dynamic" },
@@ -35297,22 +35297,22 @@ const jB = /* @__PURE__ */ Lr($B, [["render", zB], ["__scopeId", "data-v-84faffe
35297
35297
  expression: null,
35298
35298
  status: null
35299
35299
  }, v();
35300
- }, y = (S) => {
35301
- if (S.length > 0) {
35302
- const A = S[0];
35300
+ }, y = (x) => {
35301
+ if (x.length > 0) {
35302
+ const A = x[0];
35303
35303
  l.value = A;
35304
35304
  const F = o.value.find((M) => M.id === A);
35305
35305
  t("handleSingleExpSelect", F);
35306
35306
  }
35307
- }, b = (S) => {
35308
- u.value.pageNum = S, d();
35309
- }, E = (S, A) => {
35307
+ }, b = (x) => {
35308
+ u.value.pageNum = x, d();
35309
+ }, E = (x, A) => {
35310
35310
  u.value.pageNum = 1, u.value.pageSize = A, d();
35311
35311
  };
35312
35312
  return ar(
35313
35313
  () => e.selectValues,
35314
- (S) => {
35315
- Hn.isNotBlank(S) && (l.value = S);
35314
+ (x) => {
35315
+ Hn.isNotBlank(x) && (l.value = x);
35316
35316
  },
35317
35317
  { immediate: !0 }
35318
35318
  ), ya(() => {
@@ -35347,7 +35347,7 @@ function KB(e, t, n, r, a, o) {
35347
35347
  default: se(() => [
35348
35348
  ce(l, {
35349
35349
  value: e.queryParams.name,
35350
- "onUpdate:value": t[0] || (t[0] = (S) => e.queryParams.name = S),
35350
+ "onUpdate:value": t[0] || (t[0] = (x) => e.queryParams.name = x),
35351
35351
  placeholder: "请输入表达式名称",
35352
35352
  "allow-clear": "",
35353
35353
  style: { width: "200px" }
@@ -35416,8 +35416,8 @@ function KB(e, t, n, r, a, o) {
35416
35416
  title: "表达式类型",
35417
35417
  align: "center"
35418
35418
  }, {
35419
- customRender: se(({ record: S }) => [
35420
- Ge(Wt(e.getDataTypeLabel(S.dataType)), 1)
35419
+ customRender: se(({ record: x }) => [
35420
+ Ge(Wt(e.getDataTypeLabel(x.dataType)), 1)
35421
35421
  ]),
35422
35422
  _: 1
35423
35423
  })
@@ -35460,7 +35460,7 @@ const VB = /* @__PURE__ */ Lr(UB, [["render", KB], ["__scopeId", "data-v-8afeeb4
35460
35460
  const n = Vh("flowFetcherConfig");
35461
35461
  if (!n)
35462
35462
  throw new Error("<UserTaskPanel> 必须在 <Process> 内部使用");
35463
- const r = n.userRowKey || "id", a = n.userRowLabel || "name", o = n.roleRowKey || "id", l = n.roleRowLabel || "name", u = Le(!1), c = Le(!1), d = Le(!1), v = Le("single"), m = Le(null), y = Le(null), b = Le(null), E = Le(null), S = [
35463
+ const r = n.userRowKey || "id", a = n.userRowLabel || "name", o = n.roleRowKey || "id", l = n.roleRowLabel || "name", u = Le(!1), c = Le(!1), d = Le(!1), v = Le("single"), m = Le(null), y = Le(null), b = Le(null), E = Le(null), x = [
35464
35464
  { label: "指定人员", value: "assignee" },
35465
35465
  { label: "候选人员", value: "candidateUsers" },
35466
35466
  { label: "候选角色", value: "candidateGroups" }
@@ -35539,7 +35539,7 @@ const VB = /* @__PURE__ */ Lr(UB, [["render", KB], ["__scopeId", "data-v-8afeeb4
35539
35539
  m.value = he;
35540
35540
  }, le = (he, ye) => {
35541
35541
  y.value = he, b.value = ye;
35542
- }, x = () => {
35542
+ }, S = () => {
35543
35543
  var ye;
35544
35544
  if (!m.value)
35545
35545
  return;
@@ -35611,7 +35611,7 @@ const VB = /* @__PURE__ */ Lr(UB, [["render", KB], ["__scopeId", "data-v-8afeeb4
35611
35611
  roleVisible: c,
35612
35612
  expVisible: d,
35613
35613
  checkType: v,
35614
- userTypeOption: S,
35614
+ userTypeOption: x,
35615
35615
  bpmnFormData: A,
35616
35616
  selectData: F,
35617
35617
  candidateUsersList: fe,
@@ -35632,7 +35632,7 @@ const VB = /* @__PURE__ */ Lr(UB, [["render", KB], ["__scopeId", "data-v-8afeeb4
35632
35632
  expSelect: J,
35633
35633
  userSelect: re,
35634
35634
  roleSelect: le,
35635
- checkUserComplete: x,
35635
+ checkUserComplete: S,
35636
35636
  checkRoleComplete: T,
35637
35637
  checkExpComplete: B,
35638
35638
  multipleCarbonCopyCheck: () => {
@@ -35697,7 +35697,7 @@ const VB = /* @__PURE__ */ Lr(UB, [["render", KB], ["__scopeId", "data-v-8afeeb4
35697
35697
  });
35698
35698
  const YB = { key: 0 };
35699
35699
  function XB(e, t, n, r, a, o) {
35700
- const l = me("a-alert"), u = me("a-radio-button"), c = me("a-radio-group"), d = me("a-form-item"), v = me("UserOutlined"), m = me("a-button"), y = me("a-tooltip"), b = me("a-tag"), E = me("a-space"), S = me("CodeOutlined"), A = me("TeamOutlined"), F = me("a-form"), M = me("flow-user"), D = me("a-modal"), R = me("flow-role"), N = me("flow-exp");
35700
+ const l = me("a-alert"), u = me("a-radio-button"), c = me("a-radio-group"), d = me("a-form-item"), v = me("UserOutlined"), m = me("a-button"), y = me("a-tooltip"), b = me("a-tag"), E = me("a-space"), x = me("CodeOutlined"), A = me("TeamOutlined"), F = me("a-form"), M = me("flow-user"), D = me("a-modal"), R = me("flow-role"), N = me("flow-exp");
35701
35701
  return ge(), gt("div", null, [
35702
35702
  e.nodeType !== "bpmn:UserTask" ? (ge(), gt("div", YB, [
35703
35703
  ce(l, {
@@ -35798,7 +35798,7 @@ function XB(e, t, n, r, a, o) {
35798
35798
  onClick: e.singleExpCheck
35799
35799
  }, {
35800
35800
  icon: se(() => [
35801
- ce(S)
35801
+ ce(x)
35802
35802
  ]),
35803
35803
  _: 1
35804
35804
  }, 8, ["onClick"])
@@ -36390,7 +36390,7 @@ const f5 = /* @__PURE__ */ Lr(o5, [["render", p5], ["__scopeId", "data-v-d8b28df
36390
36390
  const le = (await nh().post(z.postUrl, {
36391
36391
  ...J,
36392
36392
  org_id: (oe = j.current_org) == null ? void 0 : oe.id
36393
- }, {})).data.map((x) => ({ label: x == null ? void 0 : x[z == null ? void 0 : z.labelKey], value: x == null ? void 0 : x[z == null ? void 0 : z.valueKey] }));
36393
+ }, {})).data.map((S) => ({ label: S == null ? void 0 : S[z == null ? void 0 : z.labelKey], value: S == null ? void 0 : S[z == null ? void 0 : z.valueKey] }));
36394
36394
  m.value[$.field_name] = le, Fc.success("获取数据成功");
36395
36395
  } else if (z.type == "remotetreeselectpro") {
36396
36396
  $.labelKey = z.labelKey, $.valueKey = z.valueKey;
@@ -36400,7 +36400,7 @@ const f5 = /* @__PURE__ */ Lr(o5, [["render", p5], ["__scopeId", "data-v-d8b28df
36400
36400
  const le = (await nh().post(z.postUrl, {
36401
36401
  ...J,
36402
36402
  org_id: (ie = j.current_org) == null ? void 0 : ie.id
36403
- }, {})).data.map((x) => ({ label: x == null ? void 0 : x[z == null ? void 0 : z.labelKey], value: x == null ? void 0 : x[z == null ? void 0 : z.valueKey] }));
36403
+ }, {})).data.map((S) => ({ label: S == null ? void 0 : S[z == null ? void 0 : z.labelKey], value: S == null ? void 0 : S[z == null ? void 0 : z.valueKey] }));
36404
36404
  m.value[$.field_name] = le, Fc.success("获取数据成功");
36405
36405
  } else if (z.type == "remotecascaderpro") {
36406
36406
  $.value = [], $.labelKey = z.labelKey, $.valueKey = z.valueKey;
@@ -36410,7 +36410,7 @@ const f5 = /* @__PURE__ */ Lr(o5, [["render", p5], ["__scopeId", "data-v-d8b28df
36410
36410
  const le = (await nh().post(z.postUrl, {
36411
36411
  ...J,
36412
36412
  org_id: (te = j.current_org) == null ? void 0 : te.id
36413
- }, {})).data.map((x) => ({ label: x == null ? void 0 : x[z == null ? void 0 : z.labelKey], value: x == null ? void 0 : x[z == null ? void 0 : z.valueKey] }));
36413
+ }, {})).data.map((S) => ({ label: S == null ? void 0 : S[z == null ? void 0 : z.labelKey], value: S == null ? void 0 : S[z == null ? void 0 : z.valueKey] }));
36414
36414
  m.value[$.field_name] = le, Fc.success("获取数据成功");
36415
36415
  } else
36416
36416
  z.type == "cascader" ? ($.value = [], $.labelKey = z.labelKey, $.valueKey = z.valueKey) : z.type == "checkbox" && ($.value = []);
@@ -36466,7 +36466,7 @@ const f5 = /* @__PURE__ */ Lr(o5, [["render", p5], ["__scopeId", "data-v-d8b28df
36466
36466
  }), t.modeling.updateProperties(t.element, {
36467
36467
  "custom:conditionGroup": JSON.stringify(d.value)
36468
36468
  }));
36469
- }, S = ($, z, oe) => {
36469
+ }, x = ($, z, oe) => {
36470
36470
  debugger;
36471
36471
  const ie = (j) => j.replace(/'/g, "\\'"), te = Array.isArray(oe) ? oe.filter((j) => typeof j == "string") : [];
36472
36472
  if (z == "eq") {
@@ -36518,31 +36518,31 @@ const f5 = /* @__PURE__ */ Lr(o5, [["render", p5], ["__scopeId", "data-v-d8b28df
36518
36518
  }
36519
36519
  if (j == "eq") {
36520
36520
  if (re == "cascader")
36521
- return S(te, j, J);
36521
+ return x(te, j, J);
36522
36522
  const le = $(J);
36523
36523
  return `${te}==${le}`;
36524
36524
  }
36525
36525
  if (j == "not_eq") {
36526
36526
  if (re == "cascader")
36527
- return S(te, j, J);
36527
+ return x(te, j, J);
36528
36528
  const le = $(J);
36529
36529
  return `${te}!=${le}`;
36530
36530
  }
36531
36531
  if (j == "between") {
36532
36532
  if (!Array.isArray(J))
36533
36533
  return "true";
36534
- const [le, x] = J;
36535
- return ie.type == "timepicker" || ie.type == "datepicker" ? `(${te}>=${$(le)} && ${te}<=${$(x)})` : `(${te}>=${le} && ${te}<=${x})`;
36534
+ const [le, S] = J;
36535
+ return ie.type == "timepicker" || ie.type == "datepicker" ? `(${te}>=${$(le)} && ${te}<=${$(S)})` : `(${te}>=${le} && ${te}<=${S})`;
36536
36536
  }
36537
36537
  if (j == "notbetween") {
36538
36538
  if (!Array.isArray(J))
36539
36539
  return "true";
36540
- const [le, x] = J;
36541
- return ie.type == "timepicker" || ie.type == "datepicker" ? `(${te}<${$(le)} || ${te}>${$(x)})` : `(${te}<${le} || ${te}>${x})`;
36540
+ const [le, S] = J;
36541
+ return ie.type == "timepicker" || ie.type == "datepicker" ? `(${te}<${$(le)} || ${te}>${$(S)})` : `(${te}<${le} || ${te}>${S})`;
36542
36542
  }
36543
36543
  if (j == "in") {
36544
36544
  if (re == "cascader")
36545
- return S(te, j, J);
36545
+ return x(te, j, J);
36546
36546
  let le;
36547
36547
  return typeof J == "string" ? J != "" ? le = [J] : le = [] : typeof J == "boolean" || typeof J == "number" ? le = [J] : le = J, !le || le.length === 0 ? "${true}" : `${le.map(
36548
36548
  (T) => `${te}==${$(T)}`
@@ -36550,7 +36550,7 @@ const f5 = /* @__PURE__ */ Lr(o5, [["render", p5], ["__scopeId", "data-v-d8b28df
36550
36550
  }
36551
36551
  if (j == "notin") {
36552
36552
  if (re == "cascader")
36553
- return S(te, j, J);
36553
+ return x(te, j, J);
36554
36554
  let le;
36555
36555
  return typeof J == "string" ? J != "" ? le = [J] : le = [] : typeof J == "boolean" || typeof J == "number" ? le = [J] : le = J, !le || le.length === 0 ? "${true}" : `${le.map(
36556
36556
  (T) => `${te}!=${$(T)}`
@@ -36587,44 +36587,44 @@ const f5 = /* @__PURE__ */ Lr(o5, [["render", p5], ["__scopeId", "data-v-d8b28df
36587
36587
  if (j == "overlaps" && (j == "timerangepicker" || ie.type == "rangepicker")) {
36588
36588
  if (!Array.isArray(J))
36589
36589
  return "true";
36590
- const le = `${te}.get(0)`, x = `${te}.get(1)`, [T, B] = J;
36591
- return `${le} <= ${$(B)} && ${$(T)} <= ${x}`;
36590
+ const le = `${te}.get(0)`, S = `${te}.get(1)`, [T, B] = J;
36591
+ return `${le} <= ${$(B)} && ${$(T)} <= ${S}`;
36592
36592
  }
36593
36593
  if (j == "within" && (j == "timerangepicker" || ie.type == "rangepicker")) {
36594
36594
  if (!Array.isArray(J))
36595
36595
  return "true";
36596
- const le = `${te}.get(0)`, x = `${te}.get(1)`, [T, B] = J;
36597
- return `${$(T)} <= ${le} && ${x} <= ${$(B)}`;
36596
+ const le = `${te}.get(0)`, S = `${te}.get(1)`, [T, B] = J;
36597
+ return `${$(T)} <= ${le} && ${S} <= ${$(B)}`;
36598
36598
  }
36599
36599
  if (j == "before" && (j == "timerangepicker" || ie.type == "rangepicker")) {
36600
36600
  if (!Array.isArray(J))
36601
36601
  return "true";
36602
- const le = `${te}.get(0)`, x = `${te}.get(1)`, [T, B] = J;
36603
- return `${$(T)} <= ${le} && ${x} <= ${$(B)}`;
36602
+ const le = `${te}.get(0)`, S = `${te}.get(1)`, [T, B] = J;
36603
+ return `${$(T)} <= ${le} && ${S} <= ${$(B)}`;
36604
36604
  }
36605
36605
  if (j == "after" && (j == "timerangepicker" || ie.type == "rangepicker")) {
36606
36606
  if (!Array.isArray(J))
36607
36607
  return "true";
36608
- const le = `${te}.get(0)`, x = `${te}.get(1)`, [T, B] = J;
36609
- return `${$(T)} <= ${le} && ${x} <= ${$(B)}`;
36608
+ const le = `${te}.get(0)`, S = `${te}.get(1)`, [T, B] = J;
36609
+ return `${$(T)} <= ${le} && ${S} <= ${$(B)}`;
36610
36610
  }
36611
36611
  if (j == "covers" && (j == "timerangepicker" || ie.type == "rangepicker")) {
36612
36612
  if (!Array.isArray(J))
36613
36613
  return "true";
36614
- const le = `${te}.get(0)`, x = `${te}.get(1)`, [T, B] = J;
36615
- return `${$(T)} <= ${le} && ${x} <= ${$(B)}`;
36614
+ const le = `${te}.get(0)`, S = `${te}.get(1)`, [T, B] = J;
36615
+ return `${$(T)} <= ${le} && ${S} <= ${$(B)}`;
36616
36616
  }
36617
36617
  if (j == "notoverlaps" && (j == "timerangepicker" || ie.type == "rangepicker")) {
36618
36618
  if (!Array.isArray(J))
36619
36619
  return "true";
36620
- const le = `${te}.get(0)`, x = `${te}.get(1)`, [T, B] = J;
36621
- return `${$(T)} <= ${le} && ${x} <= ${$(B)}`;
36620
+ const le = `${te}.get(0)`, S = `${te}.get(1)`, [T, B] = J;
36621
+ return `${$(T)} <= ${le} && ${S} <= ${$(B)}`;
36622
36622
  }
36623
36623
  if (j == "adjacent" && (j == "timerangepicker" || ie.type == "rangepicker")) {
36624
36624
  if (!Array.isArray(J))
36625
36625
  return "true";
36626
- const le = `${te}.get(0)`, x = `${te}.get(1)`, [T, B] = J;
36627
- return `${x} == ${$(T)} || ${le} == ${$(B)}`;
36626
+ const le = `${te}.get(0)`, S = `${te}.get(1)`, [T, B] = J;
36627
+ return `${S} == ${$(T)} || ${le} == ${$(B)}`;
36628
36628
  }
36629
36629
  return console.warn("Unsupported operator:", j), "false";
36630
36630
  }
@@ -36643,10 +36643,10 @@ const f5 = /* @__PURE__ */ Lr(o5, [["render", p5], ["__scopeId", "data-v-d8b28df
36643
36643
  const ie = [];
36644
36644
  return $.forEach((te) => {
36645
36645
  te.children.forEach((j) => {
36646
- const { name: J, label: re, type: le } = j, x = z[J];
36647
- if (x == null || x === "")
36646
+ const { name: J, label: re, type: le } = j, S = z[J];
36647
+ if (S == null || S === "")
36648
36648
  return;
36649
- let T = oe, B = String(x);
36649
+ let T = oe, B = String(S);
36650
36650
  le === "number" && (T = "=="), ie.push({
36651
36651
  label: re,
36652
36652
  field_name: J,
@@ -36720,7 +36720,7 @@ const f5 = /* @__PURE__ */ Lr(o5, [["render", p5], ["__scopeId", "data-v-d8b28df
36720
36720
  }
36721
36721
  });
36722
36722
  function h5(e, t, n, r, a, o) {
36723
- const l = me("QuestionCircleOutlined"), u = me("a-tooltip"), c = me("a-select-option"), d = me("a-select"), v = me("a-form-item"), m = me("a-button"), y = me("a-space"), b = me("plus-outlined"), E = me("delete-outlined"), S = me("a-col"), A = me("ColumnNameField2"), F = me("a-input-group"), M = me("a-space-compact"), D = me("a-input"), R = me("a-textarea"), N = me("a-input-password"), O = me("a-input-number"), G = me("JsonTags2"), K = me("a-tree-select"), U = me("a-cascader"), $ = me("a-range-picker"), z = me("a-date-picker"), oe = me("a-time-range-picker"), ie = me("a-time-picker"), te = me("a-row"), j = me("a-card"), J = me("a-form");
36723
+ const l = me("QuestionCircleOutlined"), u = me("a-tooltip"), c = me("a-select-option"), d = me("a-select"), v = me("a-form-item"), m = me("a-button"), y = me("a-space"), b = me("plus-outlined"), E = me("delete-outlined"), x = me("a-col"), A = me("ColumnNameField2"), F = me("a-input-group"), M = me("a-space-compact"), D = me("a-input"), R = me("a-textarea"), N = me("a-input-password"), O = me("a-input-number"), G = me("JsonTags2"), K = me("a-tree-select"), U = me("a-cascader"), $ = me("a-range-picker"), z = me("a-date-picker"), oe = me("a-time-range-picker"), ie = me("a-time-picker"), te = me("a-row"), j = me("a-card"), J = me("a-form");
36724
36724
  return ge(), gt("div", null, [
36725
36725
  ce(J, {
36726
36726
  "label-col": { span: 6 },
@@ -36805,7 +36805,7 @@ function h5(e, t, n, r, a, o) {
36805
36805
  ce(m, {
36806
36806
  type: "link",
36807
36807
  size: "small",
36808
- onClick: (x) => e.handleAddGroupItem(le)
36808
+ onClick: (S) => e.handleAddGroupItem(le)
36809
36809
  }, {
36810
36810
  default: se(() => [
36811
36811
  ce(b),
@@ -36817,7 +36817,7 @@ function h5(e, t, n, r, a, o) {
36817
36817
  type: "link",
36818
36818
  danger: "",
36819
36819
  size: "small",
36820
- onClick: (x) => e.handleDeleteCondition(le)
36820
+ onClick: (S) => e.handleDeleteCondition(le)
36821
36821
  }, {
36822
36822
  icon: se(() => [
36823
36823
  ce(E)
@@ -36826,18 +36826,18 @@ function h5(e, t, n, r, a, o) {
36826
36826
  }, 8, ["onClick"])
36827
36827
  ]),
36828
36828
  default: se(() => [
36829
- (ge(!0), gt($t, null, Sr(re.conditions, (x, T) => (ge(), gt("div", {
36830
- key: x.key
36829
+ (ge(!0), gt($t, null, Sr(re.conditions, (S, T) => (ge(), gt("div", {
36830
+ key: S.key
36831
36831
  }, [
36832
36832
  ce(te, null, {
36833
36833
  default: se(() => [
36834
- ce(S, { span: "2" }, {
36834
+ ce(x, { span: "2" }, {
36835
36835
  default: se(() => [
36836
36836
  Ge(" (" + Wt(T + 1) + ") ", 1)
36837
36837
  ]),
36838
36838
  _: 2
36839
36839
  }, 1024),
36840
- ce(S, { span: "20" }, {
36840
+ ce(x, { span: "20" }, {
36841
36841
  default: se(() => [
36842
36842
  _t("div", null, [
36843
36843
  ce(M, { block: "" }, {
@@ -36845,10 +36845,10 @@ function h5(e, t, n, r, a, o) {
36845
36845
  ce(F, { compact: "" }, {
36846
36846
  default: se(() => [
36847
36847
  ce(A, {
36848
- value: x.field_name,
36849
- "onUpdate:value": (B) => x.field_name = B,
36848
+ value: S.field_name,
36849
+ "onUpdate:value": (B) => S.field_name = B,
36850
36850
  columnNameList: e.columnNameList,
36851
- onChange: (B) => e.handleChangeFieldName(x)
36851
+ onChange: (B) => e.handleChangeFieldName(S)
36852
36852
  }, null, 8, ["value", "onUpdate:value", "columnNameList", "onChange"])
36853
36853
  ]),
36854
36854
  _: 2
@@ -36858,15 +36858,15 @@ function h5(e, t, n, r, a, o) {
36858
36858
  }, 1024),
36859
36859
  _t("div", null, [
36860
36860
  ce(d, {
36861
- value: x.operator,
36862
- "onUpdate:value": (B) => x.operator = B,
36861
+ value: S.operator,
36862
+ "onUpdate:value": (B) => S.operator = B,
36863
36863
  dropdownMatchSelectWidth: !1,
36864
36864
  class: "operator-select",
36865
36865
  placeholder: "运算符",
36866
- onChange: (B) => e.handleChangeOperator(x)
36866
+ onChange: (B) => e.handleChangeOperator(S)
36867
36867
  }, {
36868
36868
  default: se(() => [
36869
- (ge(!0), gt($t, null, Sr(e.FieldTypeOperatorMap[x.type], (B) => (ge(), Oe(c, {
36869
+ (ge(!0), gt($t, null, Sr(e.FieldTypeOperatorMap[S.type], (B) => (ge(), Oe(c, {
36870
36870
  key: B,
36871
36871
  value: B
36872
36872
  }, {
@@ -36884,150 +36884,150 @@ function h5(e, t, n, r, a, o) {
36884
36884
  ]),
36885
36885
  ce(M, { block: "" }, {
36886
36886
  default: se(() => [
36887
- x.type == "input" ? (ge(), Oe(D, {
36887
+ S.type == "input" ? (ge(), Oe(D, {
36888
36888
  key: 0,
36889
- value: x.value,
36890
- "onUpdate:value": (B) => x.value = B,
36889
+ value: S.value,
36890
+ "onUpdate:value": (B) => S.value = B,
36891
36891
  placeholder: "字符串"
36892
- }, null, 8, ["value", "onUpdate:value"])) : x.type == "textarea" ? (ge(), Oe(R, {
36892
+ }, null, 8, ["value", "onUpdate:value"])) : S.type == "textarea" ? (ge(), Oe(R, {
36893
36893
  key: 1,
36894
- value: x.value,
36895
- "onUpdate:value": (B) => x.value = B,
36894
+ value: S.value,
36895
+ "onUpdate:value": (B) => S.value = B,
36896
36896
  "allow-clear": !0,
36897
- disabled: x.disabled,
36897
+ disabled: S.disabled,
36898
36898
  placeholder: "请输入字符串"
36899
- }, null, 8, ["value", "onUpdate:value", "disabled"])) : x.type == "weight" ? (ge(), Oe(D, {
36899
+ }, null, 8, ["value", "onUpdate:value", "disabled"])) : S.type == "weight" ? (ge(), Oe(D, {
36900
36900
  key: 2,
36901
- value: x.value,
36902
- "onUpdate:value": (B) => x.value = B,
36901
+ value: S.value,
36902
+ "onUpdate:value": (B) => S.value = B,
36903
36903
  "allow-clear": !0,
36904
36904
  placeholder: "请输入字符串",
36905
36905
  "addon-after": "Kg",
36906
36906
  size: "small",
36907
36907
  type: "number"
36908
- }, null, 8, ["value", "onUpdate:value"])) : x.type == "password" ? (ge(), Oe(N, {
36908
+ }, null, 8, ["value", "onUpdate:value"])) : S.type == "password" ? (ge(), Oe(N, {
36909
36909
  key: 3,
36910
- value: x.value,
36911
- "onUpdate:value": (B) => x.value = B,
36910
+ value: S.value,
36911
+ "onUpdate:value": (B) => S.value = B,
36912
36912
  placeholder: "请输入字符串",
36913
36913
  size: "small",
36914
36914
  style: { width: "100%" }
36915
- }, null, 8, ["value", "onUpdate:value"])) : x.type == "number" ? (ge(), gt($t, { key: 4 }, [
36916
- x.operator == "between" || x.operator == "notbetween" ? (ge(), gt($t, { key: 0 }, [
36915
+ }, null, 8, ["value", "onUpdate:value"])) : S.type == "number" ? (ge(), gt($t, { key: 4 }, [
36916
+ S.operator == "between" || S.operator == "notbetween" ? (ge(), gt($t, { key: 0 }, [
36917
36917
  ce(O, {
36918
- value: x.value[0],
36919
- "onUpdate:value": (B) => x.value[0] = B,
36920
- "addon-after": x.addonAfter,
36921
- "addon-before": x.addonBefore,
36918
+ value: S.value[0],
36919
+ "onUpdate:value": (B) => S.value[0] = B,
36920
+ "addon-after": S.addonAfter,
36921
+ "addon-before": S.addonBefore,
36922
36922
  style: { "min-width": "70px" },
36923
36923
  placeholder: "数字"
36924
36924
  }, null, 8, ["value", "onUpdate:value", "addon-after", "addon-before"]),
36925
36925
  t[9] || (t[9] = Ge(" ~ ", -1)),
36926
36926
  ce(O, {
36927
- value: x.value[1],
36928
- "onUpdate:value": (B) => x.value[1] = B,
36929
- "addon-after": x.addonAfter,
36930
- "addon-before": x.addonBefore,
36927
+ value: S.value[1],
36928
+ "onUpdate:value": (B) => S.value[1] = B,
36929
+ "addon-after": S.addonAfter,
36930
+ "addon-before": S.addonBefore,
36931
36931
  style: { "min-width": "70px" },
36932
36932
  placeholder: "数字"
36933
36933
  }, null, 8, ["value", "onUpdate:value", "addon-after", "addon-before"])
36934
- ], 64)) : x.operator == "in" || x.operator == "notin" ? (ge(), Oe(G, {
36934
+ ], 64)) : S.operator == "in" || S.operator == "notin" ? (ge(), Oe(G, {
36935
36935
  key: 1,
36936
- value: x.value,
36937
- "onUpdate:value": [(B) => x.value = B, e.handleInputChange],
36938
- options: e.options[x.field_name],
36939
- labelKey: x.labelKey,
36940
- valueKey: x.valueKey,
36936
+ value: S.value,
36937
+ "onUpdate:value": [(B) => S.value = B, e.handleInputChange],
36938
+ options: e.options[S.field_name],
36939
+ labelKey: S.labelKey,
36940
+ valueKey: S.valueKey,
36941
36941
  size: "small",
36942
36942
  placeholder: "输入值"
36943
36943
  }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : (ge(), Oe(O, {
36944
36944
  key: 2,
36945
- value: x.value,
36946
- "onUpdate:value": (B) => x.value = B,
36947
- "addon-after": x.addonAfter,
36948
- "addon-before": x.addonBefore,
36945
+ value: S.value,
36946
+ "onUpdate:value": (B) => S.value = B,
36947
+ "addon-after": S.addonAfter,
36948
+ "addon-before": S.addonBefore,
36949
36949
  style: { "min-width": "70px" },
36950
36950
  placeholder: "数字"
36951
36951
  }, null, 8, ["value", "onUpdate:value", "addon-after", "addon-before"]))
36952
- ], 64)) : x.type == "radio" ? (ge(), gt($t, { key: 5 }, [
36953
- x.operator == "in" || x.operator == "notin" ? (ge(), Oe(G, {
36952
+ ], 64)) : S.type == "radio" ? (ge(), gt($t, { key: 5 }, [
36953
+ S.operator == "in" || S.operator == "notin" ? (ge(), Oe(G, {
36954
36954
  key: 0,
36955
- value: x.value,
36956
- "onUpdate:value": [(B) => x.value = B, e.handleInputChange],
36957
- options: e.options[x.field_name],
36958
- labelKey: x.labelKey,
36959
- valueKey: x.valueKey,
36955
+ value: S.value,
36956
+ "onUpdate:value": [(B) => S.value = B, e.handleInputChange],
36957
+ options: e.options[S.field_name],
36958
+ labelKey: S.labelKey,
36959
+ valueKey: S.valueKey,
36960
36960
  size: "small",
36961
36961
  placeholder: "输入值"
36962
- }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : x.operator !== "not_blank_not_null" && x.operator !== "is_blank" ? (ge(), Oe(d, {
36962
+ }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : S.operator !== "not_blank_not_null" && S.operator !== "is_blank" ? (ge(), Oe(d, {
36963
36963
  key: 1,
36964
- value: x.value,
36965
- "onUpdate:value": (B) => x.value = B,
36964
+ value: S.value,
36965
+ "onUpdate:value": (B) => S.value = B,
36966
36966
  dropdownMatchSelectWidth: !1,
36967
36967
  placeholder: "值"
36968
36968
  }, {
36969
36969
  default: se(() => [
36970
- (ge(!0), gt($t, null, Sr(e.options[x.field_name] || [], (B) => (ge(), Oe(c, {
36970
+ (ge(!0), gt($t, null, Sr(e.options[S.field_name] || [], (B) => (ge(), Oe(c, {
36971
36971
  key: B.value,
36972
36972
  value: B.value
36973
36973
  }, {
36974
36974
  default: se(() => [
36975
- Ge(Wt(B[x.labelKey || "name"]) + "(" + Wt(B[x.valueKey || "value"]) + ") ", 1)
36975
+ Ge(Wt(B[S.labelKey || "name"]) + "(" + Wt(B[S.valueKey || "value"]) + ") ", 1)
36976
36976
  ]),
36977
36977
  _: 2
36978
36978
  }, 1032, ["value"]))), 128))
36979
36979
  ]),
36980
36980
  _: 2
36981
36981
  }, 1032, ["value", "onUpdate:value"])) : Pt("", !0)
36982
- ], 64)) : x.type == "checkbox" ? (ge(), gt($t, { key: 6 }, [
36983
- x.operator == "in" || x.operator == "notin" ? (ge(), Oe(G, {
36982
+ ], 64)) : S.type == "checkbox" ? (ge(), gt($t, { key: 6 }, [
36983
+ S.operator == "in" || S.operator == "notin" ? (ge(), Oe(G, {
36984
36984
  key: 0,
36985
- value: x.value,
36986
- "onUpdate:value": [(B) => x.value = B, e.handleInputChange],
36987
- options: e.options[x.field_name],
36988
- labelKey: x.labelKey,
36989
- valueKey: x.valueKey,
36985
+ value: S.value,
36986
+ "onUpdate:value": [(B) => S.value = B, e.handleInputChange],
36987
+ options: e.options[S.field_name],
36988
+ labelKey: S.labelKey,
36989
+ valueKey: S.valueKey,
36990
36990
  size: "small",
36991
36991
  placeholder: "输入值"
36992
- }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : x.operator !== "not_blank_not_null" && x.operator !== "is_blank" ? (ge(), Oe(d, {
36992
+ }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : S.operator !== "not_blank_not_null" && S.operator !== "is_blank" ? (ge(), Oe(d, {
36993
36993
  key: 1,
36994
- value: x.value,
36995
- "onUpdate:value": (B) => x.value = B,
36994
+ value: S.value,
36995
+ "onUpdate:value": (B) => S.value = B,
36996
36996
  dropdownMatchSelectWidth: !1,
36997
36997
  placeholder: "值"
36998
36998
  }, {
36999
36999
  default: se(() => [
37000
- (ge(!0), gt($t, null, Sr(e.options[x.field_name] || [], (B) => (ge(), Oe(c, {
37000
+ (ge(!0), gt($t, null, Sr(e.options[S.field_name] || [], (B) => (ge(), Oe(c, {
37001
37001
  key: B.value,
37002
37002
  value: B.value
37003
37003
  }, {
37004
37004
  default: se(() => [
37005
- Ge(Wt(B[x.labelKey || "name"]) + "(" + Wt(B[x.valueKey || "value"]) + ") ", 1)
37005
+ Ge(Wt(B[S.labelKey || "name"]) + "(" + Wt(B[S.valueKey || "value"]) + ") ", 1)
37006
37006
  ]),
37007
37007
  _: 2
37008
37008
  }, 1032, ["value"]))), 128))
37009
37009
  ]),
37010
37010
  _: 2
37011
37011
  }, 1032, ["value", "onUpdate:value"])) : Pt("", !0)
37012
- ], 64)) : x.type == "remoteselectpro" ? (ge(), gt($t, { key: 7 }, [
37013
- x.operator == "in" || x.operator == "notin" ? (ge(), Oe(G, {
37012
+ ], 64)) : S.type == "remoteselectpro" ? (ge(), gt($t, { key: 7 }, [
37013
+ S.operator == "in" || S.operator == "notin" ? (ge(), Oe(G, {
37014
37014
  key: 0,
37015
- value: x.value,
37016
- "onUpdate:value": [(B) => x.value = B, e.handleInputChange],
37017
- options: e.options[x.field_name],
37018
- labelKey: x.labelKey,
37019
- valueKey: x.valueKey,
37015
+ value: S.value,
37016
+ "onUpdate:value": [(B) => S.value = B, e.handleInputChange],
37017
+ options: e.options[S.field_name],
37018
+ labelKey: S.labelKey,
37019
+ valueKey: S.valueKey,
37020
37020
  size: "small",
37021
37021
  placeholder: "输入值"
37022
- }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : x.operator !== "not_blank_not_null" && x.operator !== "is_blank" ? (ge(), Oe(d, {
37022
+ }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : S.operator !== "not_blank_not_null" && S.operator !== "is_blank" ? (ge(), Oe(d, {
37023
37023
  key: 1,
37024
- value: x.value,
37025
- "onUpdate:value": (B) => x.value = B,
37024
+ value: S.value,
37025
+ "onUpdate:value": (B) => S.value = B,
37026
37026
  dropdownMatchSelectWidth: !1,
37027
37027
  placeholder: "值"
37028
37028
  }, {
37029
37029
  default: se(() => [
37030
- (ge(!0), gt($t, null, Sr(e.options[x.field_name] || [], (B) => (ge(), Oe(c, {
37030
+ (ge(!0), gt($t, null, Sr(e.options[S.field_name] || [], (B) => (ge(), Oe(c, {
37031
37031
  value: B.value,
37032
37032
  key: B.value
37033
37033
  }, {
@@ -37039,166 +37039,163 @@ function h5(e, t, n, r, a, o) {
37039
37039
  ]),
37040
37040
  _: 2
37041
37041
  }, 1032, ["value", "onUpdate:value"])) : Pt("", !0)
37042
- ], 64)) : x.type == "remotetreeselectpro" ? (ge(), gt($t, { key: 8 }, [
37043
- x.operator == "in" || x.operator == "notin" ? (ge(), Oe(G, {
37042
+ ], 64)) : S.type == "remotetreeselectpro" ? (ge(), gt($t, { key: 8 }, [
37043
+ S.operator == "in" || S.operator == "notin" ? (ge(), Oe(G, {
37044
37044
  key: 0,
37045
- value: x.value,
37046
- "onUpdate:value": [(B) => x.value = B, e.handleInputChange],
37047
- options: e.options[x.field_name],
37048
- labelKey: x.labelKey,
37049
- valueKey: x.valueKey,
37045
+ value: S.value,
37046
+ "onUpdate:value": [(B) => S.value = B, e.handleInputChange],
37047
+ options: e.options[S.field_name],
37048
+ labelKey: S.labelKey,
37049
+ valueKey: S.valueKey,
37050
37050
  size: "small",
37051
37051
  placeholder: "输入值"
37052
- }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : x.operator !== "not_blank_not_null" && x.operator !== "is_blank" ? (ge(), Oe(K, {
37052
+ }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : S.operator !== "not_blank_not_null" && S.operator !== "is_blank" ? (ge(), Oe(K, {
37053
37053
  key: 1,
37054
- value: x.value,
37055
- "onUpdate:value": (B) => x.value = B,
37054
+ value: S.value,
37055
+ "onUpdate:value": (B) => S.value = B,
37056
37056
  size: "small",
37057
37057
  style: { "min-width": "150px" },
37058
- placeholder: x.placeholder,
37058
+ placeholder: S.placeholder,
37059
37059
  dropdownMatchSelectWidth: !1,
37060
- disabled: x.disabled,
37060
+ disabled: S.disabled,
37061
37061
  "allow-clear": !0,
37062
- "tree-data": e.options[x.field_name],
37063
- "tree-node-filter-prop": x.valueKey,
37064
- "tree-label-prop": x.labelKey,
37062
+ "tree-data": e.options[S.field_name],
37063
+ "tree-node-filter-prop": S.valueKey,
37064
+ "tree-label-prop": S.labelKey,
37065
37065
  dropdownStyle: { maxHeight: "400px" }
37066
37066
  }, null, 8, ["value", "onUpdate:value", "placeholder", "disabled", "tree-data", "tree-node-filter-prop", "tree-label-prop"])) : Pt("", !0)
37067
- ], 64)) : x.type == "remotecascaderpro" ? (ge(), gt($t, { key: 9 }, [
37068
- x.operator == "in" || x.operator == "notin" ? (ge(), Oe(G, {
37067
+ ], 64)) : S.type == "remotecascaderpro" ? (ge(), gt($t, { key: 9 }, [
37068
+ S.operator == "in" || S.operator == "notin" ? (ge(), Oe(G, {
37069
37069
  key: 0,
37070
- value: x.value,
37071
- "onUpdate:value": [(B) => x.value = B, e.handleInputChange],
37072
- options: e.options[x.field_name],
37073
- labelKey: x.labelKey,
37074
- valueKey: x.valueKey,
37070
+ value: S.value,
37071
+ "onUpdate:value": [(B) => S.value = B, e.handleInputChange],
37072
+ options: e.options[S.field_name],
37073
+ labelKey: S.labelKey,
37074
+ valueKey: S.valueKey,
37075
37075
  size: "small",
37076
37076
  placeholder: "输入值"
37077
- }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : x.operator !== "not_blank_not_null" && x.operator !== "is_blank" ? (ge(), Oe(U, {
37077
+ }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : S.operator !== "not_blank_not_null" && S.operator !== "is_blank" ? (ge(), Oe(U, {
37078
37078
  key: 1,
37079
- value: x.value,
37080
- "onUpdate:value": (B) => x.value = B,
37079
+ value: S.value,
37080
+ "onUpdate:value": (B) => S.value = B,
37081
37081
  size: "small",
37082
37082
  style: { "min-width": "150px" },
37083
- placeholder: x.placeholder,
37084
- disabled: x.disabled,
37083
+ placeholder: S.placeholder,
37084
+ disabled: S.disabled,
37085
37085
  "allow-clear": !0,
37086
- options: e.options[x.field_name],
37086
+ options: e.options[S.field_name],
37087
37087
  "field-names": { label: "label", value: "value", children: "children" },
37088
37088
  dropdownStyle: { maxHeight: "400px" },
37089
37089
  expandTrigger: "click",
37090
37090
  changeOnSelect: !1
37091
37091
  }, null, 8, ["value", "onUpdate:value", "placeholder", "disabled", "options"])) : Pt("", !0)
37092
- ], 64)) : x.type == "cascader" ? (ge(), gt($t, { key: 10 }, [
37093
- x.operator == "in" || x.operator == "notin" ? (ge(), Oe(G, {
37092
+ ], 64)) : S.type == "cascader" ? (ge(), gt($t, { key: 10 }, [
37093
+ S.operator == "in" || S.operator == "notin" ? (ge(), Oe(G, {
37094
37094
  key: 0,
37095
- value: x.value,
37096
- "onUpdate:value": [(B) => x.value = B, e.handleInputChange],
37097
- options: e.options[x.field_name],
37098
- labelKey: x.labelKey,
37099
- valueKey: x.valueKey,
37095
+ value: S.value,
37096
+ "onUpdate:value": [(B) => S.value = B, e.handleInputChange],
37097
+ labelKey: S.labelKey,
37098
+ valueKey: S.valueKey,
37100
37099
  size: "small",
37101
37100
  placeholder: "输入值"
37102
- }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : x.operator !== "not_blank_not_null" && x.operator !== "is_blank" ? (ge(), Oe(U, {
37101
+ }, null, 8, ["value", "onUpdate:value", "labelKey", "valueKey"])) : S.operator !== "not_blank_not_null" && S.operator !== "is_blank" ? (ge(), Oe(U, {
37103
37102
  key: 1,
37104
- value: x.value,
37105
- "onUpdate:value": (B) => x.value = B,
37103
+ value: S.value,
37104
+ "onUpdate:value": (B) => S.value = B,
37106
37105
  "allow-clear": !0,
37107
- options: e.options[x.field_name],
37108
- multiple: x.multiple,
37106
+ options: e.options[S.field_name],
37109
37107
  "field-names": { label: "label", value: "value", children: "children" },
37110
- placeholder: x.placeholder ? x.placeholder : "请选择",
37108
+ placeholder: S.placeholder ? S.placeholder : "请选择",
37111
37109
  size: "small"
37112
- }, null, 8, ["value", "onUpdate:value", "options", "multiple", "placeholder"])) : Pt("", !0)
37113
- ], 64)) : x.type == "treeselect" ? (ge(), gt($t, { key: 11 }, [
37114
- x.operator == "in" || x.operator == "notin" ? (ge(), Oe(G, {
37110
+ }, null, 8, ["value", "onUpdate:value", "options", "placeholder"])) : Pt("", !0)
37111
+ ], 64)) : S.type == "treeselect" ? (ge(), gt($t, { key: 11 }, [
37112
+ S.operator == "in" || S.operator == "notin" ? (ge(), Oe(G, {
37115
37113
  key: 0,
37116
- value: x.value,
37117
- "onUpdate:value": [(B) => x.value = B, e.handleInputChange],
37118
- options: e.options[x.field_name],
37119
- labelKey: x.labelKey,
37120
- valueKey: x.valueKey,
37114
+ value: S.value,
37115
+ "onUpdate:value": [(B) => S.value = B, e.handleInputChange],
37116
+ labelKey: S.labelKey,
37117
+ valueKey: S.valueKey,
37121
37118
  size: "small",
37122
37119
  placeholder: "输入值"
37123
- }, null, 8, ["value", "onUpdate:value", "options", "labelKey", "valueKey"])) : x.operator !== "not_blank_not_null" && x.operator !== "is_blank" ? (ge(), Oe(K, {
37120
+ }, null, 8, ["value", "onUpdate:value", "labelKey", "valueKey"])) : S.operator !== "not_blank_not_null" && S.operator !== "is_blank" ? (ge(), Oe(K, {
37124
37121
  key: 1,
37125
- value: x.value,
37126
- "onUpdate:value": (B) => x.value = B,
37122
+ value: S.value,
37123
+ "onUpdate:value": (B) => S.value = B,
37127
37124
  size: "small",
37128
37125
  style: { "min-width": "150px" },
37129
- placeholder: x.placeholder,
37126
+ placeholder: S.placeholder,
37130
37127
  dropdownMatchSelectWidth: !1,
37131
37128
  "allow-clear": !0,
37132
- "tree-data": e.options[x.field_name],
37133
- "tree-node-filter-prop": x.valueKey,
37134
- "tree-label-prop": x.labelKey,
37129
+ "tree-data": e.options[S.field_name],
37130
+ "tree-node-filter-prop": S.valueKey,
37131
+ "tree-label-prop": S.labelKey,
37135
37132
  dropdownStyle: { maxHeight: "400px" }
37136
37133
  }, null, 8, ["value", "onUpdate:value", "placeholder", "tree-data", "tree-node-filter-prop", "tree-label-prop"])) : Pt("", !0)
37137
- ], 64)) : x.type == "datepicker" ? (ge(), gt($t, { key: 12 }, [
37138
- x.operator == "between" || x.operator == "notbetween" ? (ge(), Oe($, {
37134
+ ], 64)) : S.type == "datepicker" ? (ge(), gt($t, { key: 12 }, [
37135
+ S.operator == "between" || S.operator == "notbetween" ? (ge(), Oe($, {
37139
37136
  key: 0,
37140
- value: x.value,
37141
- "onUpdate:value": (B) => x.value = B,
37142
- disabled: x.disabled,
37143
- format: x.format,
37137
+ value: S.value,
37138
+ "onUpdate:value": (B) => S.value = B,
37139
+ disabled: S.disabled,
37140
+ format: S.format,
37144
37141
  placeholder: ["开始时间", "结束时间"],
37145
- "show-time": x.showTime,
37146
- "value-format": x.valueFormat,
37147
- picker: x.picker ? x.picker : "date",
37142
+ "show-time": S.showTime,
37143
+ "value-format": S.valueFormat,
37144
+ picker: S.picker ? S.picker : "date",
37148
37145
  size: "small",
37149
37146
  style: { width: "100%" }
37150
37147
  }, null, 8, ["value", "onUpdate:value", "disabled", "format", "show-time", "value-format", "picker"])) : (ge(), Oe(z, {
37151
37148
  key: 1,
37152
- value: x.value,
37153
- "onUpdate:value": (B) => x.value = B,
37154
- placeholder: x.placeholder ? x.placeholder : "请选择" + x.label,
37155
- "show-time": x.showTime,
37156
- "value-format": x.valueFormat,
37149
+ value: S.value,
37150
+ "onUpdate:value": (B) => S.value = B,
37151
+ placeholder: S.placeholder ? S.placeholder : "请选择" + S.label,
37152
+ "show-time": S.showTime,
37153
+ "value-format": S.valueFormat,
37157
37154
  size: "small",
37158
37155
  style: { width: "100%" }
37159
37156
  }, null, 8, ["value", "onUpdate:value", "placeholder", "show-time", "value-format"]))
37160
- ], 64)) : x.type == "timepicker" ? (ge(), gt($t, { key: 13 }, [
37161
- x.operator == "between" || x.operator == "notbetween" ? (ge(), Oe(oe, {
37157
+ ], 64)) : S.type == "timepicker" ? (ge(), gt($t, { key: 13 }, [
37158
+ S.operator == "between" || S.operator == "notbetween" ? (ge(), Oe(oe, {
37162
37159
  key: 0,
37163
- value: x.value,
37164
- "onUpdate:value": (B) => x.value = B,
37165
- "default-value": x.defaultValue,
37166
- format: x.format ? x.format : "HH:mm",
37160
+ value: S.value,
37161
+ "onUpdate:value": (B) => S.value = B,
37162
+ "default-value": S.defaultValue,
37163
+ format: S.format ? S.format : "HH:mm",
37167
37164
  placeholder: ["开始时间", "结束时间"],
37168
- "value-format": x.valueFormat ? x.valueFormat : "HH:mm",
37165
+ "value-format": S.valueFormat ? S.valueFormat : "HH:mm",
37169
37166
  size: "small",
37170
37167
  style: { width: "100%" }
37171
37168
  }, null, 8, ["value", "onUpdate:value", "default-value", "format", "value-format"])) : (ge(), Oe(ie, {
37172
37169
  key: 1,
37173
- value: x.value,
37174
- "onUpdate:value": (B) => x.value = B,
37175
- "default-value": x.defaultValue,
37176
- format: x.format ? x.format : "HH:mm",
37177
- placeholder: x.placeholder ? x.placeholder : "请选择" + x.label,
37178
- "value-format": x.valueFormat ? x.valueFormat : "HH:mm",
37170
+ value: S.value,
37171
+ "onUpdate:value": (B) => S.value = B,
37172
+ "default-value": S.defaultValue,
37173
+ format: S.format ? S.format : "HH:mm",
37174
+ placeholder: S.placeholder ? S.placeholder : "请选择" + S.label,
37175
+ "value-format": S.valueFormat ? S.valueFormat : "HH:mm",
37179
37176
  size: "small",
37180
37177
  style: { width: "100%" }
37181
37178
  }, null, 8, ["value", "onUpdate:value", "default-value", "format", "placeholder", "value-format"]))
37182
- ], 64)) : x.type == "timerangepicker" ? (ge(), Oe(oe, {
37179
+ ], 64)) : S.type == "timerangepicker" ? (ge(), Oe(oe, {
37183
37180
  key: 14,
37184
- value: x.value,
37185
- "onUpdate:value": (B) => x.value = B,
37186
- "default-value": x.defaultValue,
37187
- format: x.format ? x.format : "HH:mm",
37181
+ value: S.value,
37182
+ "onUpdate:value": (B) => S.value = B,
37183
+ "default-value": S.defaultValue,
37184
+ format: S.format ? S.format : "HH:mm",
37188
37185
  placeholder: ["开始时间", "结束时间"],
37189
- "value-format": x.valueFormat ? x.valueFormat : "HH:mm",
37186
+ "value-format": S.valueFormat ? S.valueFormat : "HH:mm",
37190
37187
  size: "small",
37191
37188
  style: { width: "100%" }
37192
- }, null, 8, ["value", "onUpdate:value", "default-value", "format", "value-format"])) : x.type == "rangepicker" ? (ge(), Oe($, {
37189
+ }, null, 8, ["value", "onUpdate:value", "default-value", "format", "value-format"])) : S.type == "rangepicker" ? (ge(), Oe($, {
37193
37190
  key: 15,
37194
- value: x.value,
37195
- "onUpdate:value": (B) => x.value = B,
37196
- disabled: x.disabled,
37197
- format: x.format,
37191
+ value: S.value,
37192
+ "onUpdate:value": (B) => S.value = B,
37193
+ disabled: S.disabled,
37194
+ format: S.format,
37198
37195
  placeholder: ["开始时间", "结束时间"],
37199
- "show-time": x.showTime,
37200
- "value-format": x.valueFormat,
37201
- picker: x.picker ? x.picker : "date",
37196
+ "show-time": S.showTime,
37197
+ "value-format": S.valueFormat,
37198
+ picker: S.picker ? S.picker : "date",
37202
37199
  size: "small",
37203
37200
  style: { width: "100%" }
37204
37201
  }, null, 8, ["value", "onUpdate:value", "disabled", "format", "show-time", "value-format", "picker"])) : Pt("", !0)
@@ -37209,7 +37206,7 @@ function h5(e, t, n, r, a, o) {
37209
37206
  ]),
37210
37207
  _: 2
37211
37208
  }, 1024),
37212
- ce(S, { span: "2" }, {
37209
+ ce(x, { span: "2" }, {
37213
37210
  default: se(() => [
37214
37211
  ce(m, {
37215
37212
  type: "link",
@@ -37247,7 +37244,7 @@ function h5(e, t, n, r, a, o) {
37247
37244
  })
37248
37245
  ]);
37249
37246
  }
37250
- const v5 = /* @__PURE__ */ Lr(d5, [["render", h5], ["__scopeId", "data-v-5658fa8e"]]), m5 = {
37247
+ const v5 = /* @__PURE__ */ Lr(d5, [["render", h5], ["__scopeId", "data-v-9fde1007"]]), m5 = {
37251
37248
  // Labels
37252
37249
  "Activate the global connect tool": "激活全局连接工具",
37253
37250
  "Append {type}": "添加 {type}",
@@ -39036,8 +39033,8 @@ function Eu(e, t, n, r, a, o, l, u, c, d, v, m) {
39036
39033
  e = e || {}, r.registerProvider(this), this._contextPad = r, this._modeling = a, this._elementFactory = o, this._connect = l, this._create = u, this._popupMenu = c, this._canvas = d, this._rules = v, this._translate = m, e.autoPlace !== !1 && (this._autoPlace = t.get("autoPlace", !1)), n.on("create.end", 250, function(y) {
39037
39034
  var b = y.context, E = b.shape;
39038
39035
  if (!(!yo(y) || !r.isOpen(E))) {
39039
- var S = r.getEntries(E);
39040
- S.replace && S.replace.action.click(y, E);
39036
+ var x = r.getEntries(E);
39037
+ x.replace && x.replace.action.click(y, E);
39041
39038
  }
39042
39039
  });
39043
39040
  }
@@ -39096,7 +39093,7 @@ Eu.prototype.getContextPadEntries = function(e) {
39096
39093
  };
39097
39094
  return G;
39098
39095
  }
39099
- function S(D, R, N, O) {
39096
+ function x(D, R, N, O) {
39100
39097
  typeof N != "string" && (O = N, N = d("Append {type}", { type: D.replace(/^bpmn:/, "") }));
39101
39098
  function G(U, $) {
39102
39099
  var z = r.createShape(X({ type: D }, O));
@@ -39168,37 +39165,37 @@ Eu.prototype.getContextPadEntries = function(e) {
39168
39165
  });
39169
39166
  }
39170
39167
  k(m, "bpmn:FlowNode") && (k(m, "bpmn:EventBasedGateway") ? X(v, {
39171
- "append.receive-task": S(
39168
+ "append.receive-task": x(
39172
39169
  "bpmn:ReceiveTask",
39173
39170
  "bpmn-icon-receive-task",
39174
39171
  d("Append ReceiveTask")
39175
39172
  ),
39176
- "append.message-intermediate-event": S(
39173
+ "append.message-intermediate-event": x(
39177
39174
  "bpmn:IntermediateCatchEvent",
39178
39175
  "bpmn-icon-intermediate-event-catch-message",
39179
39176
  d("Append MessageIntermediateCatchEvent"),
39180
39177
  { eventDefinitionType: "bpmn:MessageEventDefinition" }
39181
39178
  ),
39182
- "append.timer-intermediate-event": S(
39179
+ "append.timer-intermediate-event": x(
39183
39180
  "bpmn:IntermediateCatchEvent",
39184
39181
  "bpmn-icon-intermediate-event-catch-timer",
39185
39182
  d("Append TimerIntermediateCatchEvent"),
39186
39183
  { eventDefinitionType: "bpmn:TimerEventDefinition" }
39187
39184
  ),
39188
- "append.condition-intermediate-event": S(
39185
+ "append.condition-intermediate-event": x(
39189
39186
  "bpmn:IntermediateCatchEvent",
39190
39187
  "bpmn-icon-intermediate-event-catch-condition",
39191
39188
  d("Append ConditionIntermediateCatchEvent"),
39192
39189
  { eventDefinitionType: "bpmn:ConditionalEventDefinition" }
39193
39190
  ),
39194
- "append.signal-intermediate-event": S(
39191
+ "append.signal-intermediate-event": x(
39195
39192
  "bpmn:IntermediateCatchEvent",
39196
39193
  "bpmn-icon-intermediate-event-catch-signal",
39197
39194
  d("Append SignalIntermediateCatchEvent"),
39198
39195
  { eventDefinitionType: "bpmn:SignalEventDefinition" }
39199
39196
  )
39200
39197
  }) : G_(m, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? X(v, {
39201
- "append.compensation-activity": S(
39198
+ "append.compensation-activity": x(
39202
39199
  "bpmn:Task",
39203
39200
  "bpmn-icon-task",
39204
39201
  d("Append compensation activity"),
@@ -39207,22 +39204,22 @@ Eu.prototype.getContextPadEntries = function(e) {
39207
39204
  }
39208
39205
  )
39209
39206
  }) : !k(m, "bpmn:EndEvent") && !m.isForCompensation && !G_(m, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !sr(m) && X(v, {
39210
- "append.end-event": S(
39207
+ "append.end-event": x(
39211
39208
  "bpmn:EndEvent",
39212
39209
  "bpmn-icon-end-event-none",
39213
39210
  d("Append EndEvent")
39214
39211
  ),
39215
- "append.gateway": S(
39212
+ "append.gateway": x(
39216
39213
  "bpmn:ExclusiveGateway",
39217
39214
  "bpmn-icon-gateway-none",
39218
39215
  d("Append Gateway")
39219
39216
  ),
39220
- "append.append-user-task": S(
39217
+ "append.append-user-task": x(
39221
39218
  "bpmn:UserTask",
39222
39219
  "bpmn-icon-user-task",
39223
39220
  "添加用户任务"
39224
39221
  ),
39225
- "append.intermediate-event": S(
39222
+ "append.intermediate-event": x(
39226
39223
  "bpmn:IntermediateThrowEvent",
39227
39224
  "bpmn-icon-intermediate-event-none",
39228
39225
  d("Append Intermediate/Boundary Event")
@@ -39246,7 +39243,7 @@ Eu.prototype.getContextPadEntries = function(e) {
39246
39243
  }
39247
39244
  }
39248
39245
  }), k(m, "bpmn:SequenceFlow") && X(v, {
39249
- "append.text-annotation": S(
39246
+ "append.text-annotation": x(
39250
39247
  "bpmn:TextAnnotation",
39251
39248
  "bpmn-icon-text-annotation"
39252
39249
  )
@@ -39256,7 +39253,7 @@ Eu.prototype.getContextPadEntries = function(e) {
39256
39253
  "bpmn:DataObjectReference",
39257
39254
  "bpmn:DataStoreReference"
39258
39255
  ]) && X(v, {
39259
- "append.text-annotation": S(
39256
+ "append.text-annotation": x(
39260
39257
  "bpmn:TextAnnotation",
39261
39258
  "bpmn-icon-text-annotation"
39262
39259
  ),
@@ -39292,7 +39289,7 @@ Eu.prototype.getContextPadEntries = function(e) {
39292
39289
  }
39293
39290
  }
39294
39291
  }), k(m, "bpmn:Group") && X(v, {
39295
- "append.text-annotation": S("bpmn:TextAnnotation", "bpmn-icon-text-annotation")
39292
+ "append.text-annotation": x("bpmn:TextAnnotation", "bpmn-icon-text-annotation")
39296
39293
  });
39297
39294
  var M = u.allowed("elements.delete", { elements: [e] });
39298
39295
  return nt(M) && (M = M[0] === e), M && X(v, {
@@ -39343,11 +39340,11 @@ Km.prototype.getPaletteEntries = function(e) {
39343
39340
  var F = n.createShape(X({ type: d }, b));
39344
39341
  b && (F.businessObject.di.isExpanded = b.isExpanded), t.start(A, F);
39345
39342
  }
39346
- var S = d.replace(/^bpmn:/, "");
39343
+ var x = d.replace(/^bpmn:/, "");
39347
39344
  return {
39348
39345
  group: v,
39349
39346
  className: m,
39350
- title: y || u("Create {type}", { type: S }),
39347
+ title: y || u("Create {type}", { type: x }),
39351
39348
  action: {
39352
39349
  dragstart: E,
39353
39350
  click: E
@@ -40310,7 +40307,7 @@ const EF = Pr({
40310
40307
  } catch (O) {
40311
40308
  return console.error(O), "";
40312
40309
  }
40313
- }, S = async () => {
40310
+ }, x = async () => {
40314
40311
  const N = await E();
40315
40312
  t("showXML", N);
40316
40313
  }, A = async (N = "svg", O = !1) => {
@@ -40439,7 +40436,7 @@ const EF = Pr({
40439
40436
  newDiagram: d,
40440
40437
  fitViewport: y,
40441
40438
  zoomViewport: b,
40442
- showXML: S,
40439
+ showXML: x,
40443
40440
  saveXML: E,
40444
40441
  saveImg: A,
40445
40442
  save: F,
@@ -40827,7 +40824,7 @@ const FF = /* @__PURE__ */ ms(BF), $F = Pr({
40827
40824
  l.value = D, console.error("XML 格式化失败:", R);
40828
40825
  }
40829
40826
  a.value = !0;
40830
- }, S = () => {
40827
+ }, x = () => {
40831
40828
  if (y && (y.toTextArea(), y = null), !m.value) {
40832
40829
  console.warn("Textarea not found for CodeMirror");
40833
40830
  return;
@@ -40862,7 +40859,7 @@ const FF = /* @__PURE__ */ ms(BF), $F = Pr({
40862
40859
  },
40863
40860
  onDrawerChange: (D) => {
40864
40861
  D && Qc(() => {
40865
- S();
40862
+ x();
40866
40863
  });
40867
40864
  },
40868
40865
  onXmlChanged: (D) => {
@@ -40990,10 +40987,10 @@ const KF = Pr({
40990
40987
  const d = n.value.get("canvas"), m = n.value.getDefinitions().rootElements;
40991
40988
  (y = m == null ? void 0 : m[0]) != null && y.flowElements && m[0].flowElements.forEach((b) => {
40992
40989
  var F, M, D;
40993
- const E = c.find((R) => R.key === b.name), S = c.find((R) => !R.completed), A = c[c.length - 1];
40990
+ const E = c.find((R) => R.key === b.name), x = c.find((R) => !R.completed), A = c[c.length - 1];
40994
40991
  b.$type === "bpmn:UserTask" ? E && (d.addMarker(b.id, E.completed ? "highlight" : "highlight-todo"), (F = b.outgoing) == null || F.forEach((R) => {
40995
40992
  const N = c.find((O) => O.key === R.targetRef.name);
40996
- N && (S && E.key === S.key && !S.completed ? (d.addMarker(R.id, S.completed ? "highlight" : "highlight-todo"), d.addMarker(R.targetRef.id, S.completed ? "highlight" : "highlight-todo")) : (d.addMarker(R.id, N.completed ? "highlight" : "highlight-todo"), d.addMarker(R.targetRef.id, N.completed ? "highlight" : "highlight-todo")));
40993
+ N && (x && E.key === x.key && !x.completed ? (d.addMarker(R.id, x.completed ? "highlight" : "highlight-todo"), d.addMarker(R.targetRef.id, x.completed ? "highlight" : "highlight-todo")) : (d.addMarker(R.id, N.completed ? "highlight" : "highlight-todo"), d.addMarker(R.targetRef.id, N.completed ? "highlight" : "highlight-todo")));
40997
40994
  })) : b.$type === "bpmn:ExclusiveGateway" || b.$type === "bpmn:ParallelGateway" ? E && (d.addMarker(b.id, E.completed ? "highlight" : "highlight-todo"), (M = b.outgoing) == null || M.forEach((R) => {
40998
40995
  const N = c.find((O) => O.key === R.targetRef.name);
40999
40996
  N && (d.addMarker(R.id, N.completed ? "highlight" : "highlight-todo"), d.addMarker(R.targetRef.id, N.completed ? "highlight" : "highlight-todo"));