workflow-editor 0.0.87-up-sit1 → 0.0.87-up

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.
@@ -1187,12 +1187,12 @@ function createTokenizer(e, t = {}) {
1187
1187
  }, F = I();
1188
1188
  return k && N.resetPeek(), F;
1189
1189
  }
1190
- function H(N, k) {
1190
+ function j(N, k) {
1191
1191
  const I = N.currentChar();
1192
1192
  return I === EOF ? EOF : k(I) ? (N.next(), I) : null;
1193
1193
  }
1194
1194
  function Z(N) {
1195
- return H(N, (I) => {
1195
+ return j(N, (I) => {
1196
1196
  const F = I.charCodeAt(0);
1197
1197
  return F >= 97 && F <= 122 || // a-z
1198
1198
  F >= 65 && F <= 90 || // A-Z
@@ -1202,20 +1202,20 @@ function createTokenizer(e, t = {}) {
1202
1202
  });
1203
1203
  }
1204
1204
  function te(N) {
1205
- return H(N, (I) => {
1205
+ return j(N, (I) => {
1206
1206
  const F = I.charCodeAt(0);
1207
1207
  return F >= 48 && F <= 57;
1208
1208
  });
1209
1209
  }
1210
1210
  function q(N) {
1211
- return H(N, (I) => {
1211
+ return j(N, (I) => {
1212
1212
  const F = I.charCodeAt(0);
1213
1213
  return F >= 48 && F <= 57 || // 0-9
1214
1214
  F >= 65 && F <= 70 || // A-F
1215
1215
  F >= 97 && F <= 102;
1216
1216
  });
1217
1217
  }
1218
- function j(N) {
1218
+ function H(N) {
1219
1219
  let k = "", I = "";
1220
1220
  for (; k = te(N); )
1221
1221
  I += k;
@@ -1260,13 +1260,13 @@ function createTokenizer(e, t = {}) {
1260
1260
  function Q(N) {
1261
1261
  C(N);
1262
1262
  let k = "";
1263
- return N.currentChar() === "-" ? (N.next(), k += `-${j(N)}`) : k += j(N), N.currentChar() === EOF && u(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), k;
1263
+ return N.currentChar() === "-" ? (N.next(), k += `-${H(N)}`) : k += H(N), N.currentChar() === EOF && u(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), k;
1264
1264
  }
1265
1265
  function Y(N) {
1266
1266
  C(N), _(N, "'");
1267
1267
  let k = "", I = "";
1268
1268
  const F = (G) => G !== LITERAL_DELIMITER && G !== CHAR_LF;
1269
- for (; k = H(N, F); )
1269
+ for (; k = j(N, F); )
1270
1270
  k === "\\" ? I += se(N) : I += k;
1271
1271
  const M = N.currentChar();
1272
1272
  return M === CHAR_LF || M === EOF ? (u(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), M === CHAR_LF && (N.next(), _(N, "'")), I) : (_(N, "'"), I);
@@ -1302,7 +1302,7 @@ function createTokenizer(e, t = {}) {
1302
1302
  C(N);
1303
1303
  let k = "", I = "";
1304
1304
  const F = (M) => M !== "{" && M !== "}" && M !== CHAR_SP && M !== CHAR_LF;
1305
- for (; k = H(N, F); )
1305
+ for (; k = j(N, F); )
1306
1306
  I += k;
1307
1307
  return I;
1308
1308
  }
@@ -2515,14 +2515,14 @@ function translate$1(e, ...t) {
2515
2515
  return E;
2516
2516
  const S = getMessageContextOptions(e, f, w, d), B = createMessageContext(S), U = evaluateMessage(e, A, B), L = n ? n(U, l) : U;
2517
2517
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2518
- const H = {
2518
+ const j = {
2519
2519
  timestamp: Date.now(),
2520
2520
  key: isString$5(l) ? l : isMessageFunction(E) ? E.key : "",
2521
2521
  locale: f || (isMessageFunction(E) ? E.locale : ""),
2522
2522
  format: isString$5(E) ? E : isMessageFunction(E) ? E.source : "",
2523
2523
  message: L
2524
2524
  };
2525
- H.meta = assign$3({}, e.__meta, /* @__PURE__ */ getAdditionalMeta() || {}), translateDevTools(H);
2525
+ j.meta = assign$3({}, e.__meta, /* @__PURE__ */ getAdditionalMeta() || {}), translateDevTools(j);
2526
2526
  }
2527
2527
  return L;
2528
2528
  }
@@ -3072,14 +3072,14 @@ function createComposer(e = {}, t) {
3072
3072
  set: ($) => {
3073
3073
  l.value = $, P.fallbackLocale = l.value, updateFallbackLocale(P, a.value, $);
3074
3074
  }
3075
- }), L = computed(() => d.value), H = /* @__PURE__ */ computed(() => c.value), Z = /* @__PURE__ */ computed(() => u.value);
3075
+ }), L = computed(() => d.value), j = /* @__PURE__ */ computed(() => c.value), Z = /* @__PURE__ */ computed(() => u.value);
3076
3076
  function te() {
3077
3077
  return isFunction$3(f) ? f : null;
3078
3078
  }
3079
3079
  function q($) {
3080
3080
  f = $, P.postTranslation = $;
3081
3081
  }
3082
- function j() {
3082
+ function H() {
3083
3083
  return C;
3084
3084
  }
3085
3085
  function K($) {
@@ -3317,11 +3317,11 @@ function createComposer(e = {}, t) {
3317
3317
  mergeLocaleMessage: M,
3318
3318
  getPostTranslationHandler: te,
3319
3319
  setPostTranslationHandler: q,
3320
- getMissingHandler: j,
3320
+ getMissingHandler: H,
3321
3321
  setMissingHandler: K,
3322
3322
  [SetPluralRulesSymbol]: R
3323
3323
  };
3324
- return ne.datetimeFormats = H, ne.numberFormats = Z, ne.rt = Y, ne.te = W, ne.tm = k, ne.d = se, ne.n = ee, ne.getDateTimeFormat = G, ne.setDateTimeFormat = ae, ne.mergeDateTimeFormat = le, ne.getNumberFormat = me, ne.setNumberFormat = fe, ne.mergeNumberFormat = ge, ne[InejctWithOptionSymbol] = n, ne[TranslateVNodeSymbol] = b, ne[DatetimePartsSymbol] = O, ne[NumberPartsSymbol] = D, process.env.NODE_ENV !== "production" && (ne[EnableEmitter] = ($) => {
3324
+ return ne.datetimeFormats = j, ne.numberFormats = Z, ne.rt = Y, ne.te = W, ne.tm = k, ne.d = se, ne.n = ee, ne.getDateTimeFormat = G, ne.setDateTimeFormat = ae, ne.mergeDateTimeFormat = le, ne.getNumberFormat = me, ne.setNumberFormat = fe, ne.mergeNumberFormat = ge, ne[InejctWithOptionSymbol] = n, ne[TranslateVNodeSymbol] = b, ne[DatetimePartsSymbol] = O, ne[NumberPartsSymbol] = D, process.env.NODE_ENV !== "production" && (ne[EnableEmitter] = ($) => {
3325
3325
  P.__v_emitter = $;
3326
3326
  }, ne[DisableEmitter] = () => {
3327
3327
  P.__v_emitter = void 0;
@@ -4291,7 +4291,7 @@ function useI18nForLegacy(e, t, o, n = {}) {
4291
4291
  function L() {
4292
4292
  return i.value ? i.value.getPostTranslationHandler() : g;
4293
4293
  }
4294
- function H(k) {
4294
+ function j(k) {
4295
4295
  i.value && i.value.setPostTranslationHandler(k);
4296
4296
  }
4297
4297
  function Z() {
@@ -4303,7 +4303,7 @@ function useI18nForLegacy(e, t, o, n = {}) {
4303
4303
  function q(k) {
4304
4304
  return V(), k();
4305
4305
  }
4306
- function j(...k) {
4306
+ function H(...k) {
4307
4307
  return i.value ? q(() => Reflect.apply(i.value.t, null, [...k])) : q(() => "");
4308
4308
  }
4309
4309
  function K(...k) {
@@ -4411,9 +4411,9 @@ function useI18nForLegacy(e, t, o, n = {}) {
4411
4411
  set escapeParameter(k) {
4412
4412
  i.value && (i.value.escapeParameter = k);
4413
4413
  },
4414
- t: j,
4414
+ t: H,
4415
4415
  getPostTranslationHandler: L,
4416
- setPostTranslationHandler: H,
4416
+ setPostTranslationHandler: j,
4417
4417
  getMissingHandler: Z,
4418
4418
  setMissingHandler: te,
4419
4419
  rt: K,
@@ -9292,13 +9292,13 @@ var messages$1 = newMessages(), Schema = /* @__PURE__ */ function() {
9292
9292
  }), S = _extends$1({}, S, v.rule.fields);
9293
9293
  var B = {};
9294
9294
  Object.keys(S).forEach(function(L) {
9295
- var H = S[L], Z = Array.isArray(H) ? H : [H];
9295
+ var j = S[L], Z = Array.isArray(j) ? j : [j];
9296
9296
  B[L] = Z.map(w.bind(null, L));
9297
9297
  });
9298
9298
  var U = new e(B);
9299
9299
  U.messages(l.messages), v.rule.options && (v.rule.options.messages = l.messages, v.rule.options.error = l.error), U.validate(v.value, v.rule.options || l, function(L) {
9300
- var H = [];
9301
- A && A.length && H.push.apply(H, A), L && L.length && H.push.apply(H, L), C(H.length ? H : null);
9300
+ var j = [];
9301
+ A && A.length && j.push.apply(j, A), L && L.length && j.push.apply(j, L), C(j.length ? j : null);
9302
9302
  });
9303
9303
  }
9304
9304
  }
@@ -9913,9 +9913,9 @@ const ElMessage = withInstallFunction(message, "$message"), app$1 = {
9913
9913
  * 登录。根据token登录系统
9914
9914
  * @deprecated 该方法已过期,请使用loginWithCookieTokenNew。该方法会导致,登录超时再登录后,按钮不显示问题。
9915
9915
  * 原因是getCurrentUserPermissionsBySystem方法需要系统编码systemCode参数。
9916
- * @param {*} param0
9917
- * @param {*} loginName
9918
- * @returns
9916
+ * @param {*} param0
9917
+ * @param {*} loginName
9918
+ * @returns
9919
9919
  */
9920
9920
  loginWithCookieToken({ commit: e }, t) {
9921
9921
  return clearVoiceCache(), new Promise((o, n) => {
@@ -9958,7 +9958,7 @@ const ElMessage = withInstallFunction(message, "$message"), app$1 = {
9958
9958
  // 出现401错误时清空过期的jwt
9959
9959
  clearToken({ commit: e }) {
9960
9960
  return new Promise((t) => {
9961
- e("setToken", ""), removeTheme(), removeAllThemes(), e("setName", ""), clearPermission(), removeDevpPermissions(), removeProjectSettings(), removeGlobalComponentSettings(), removeProjectCode(), t();
9961
+ e("setToken", ""), removeTheme(), removeAllThemes(), e("setName", ""), clearPermission(), removeDevpPermissions(), removeProjectSettings(), removeGlobalComponentSettings(), removeProjectCode(), removeSystemCacheUrl(), t();
9962
9962
  });
9963
9963
  },
9964
9964
  // 获得当前用户权限集合
@@ -9966,28 +9966,12 @@ const ElMessage = withInstallFunction(message, "$message"), app$1 = {
9966
9966
  return new Promise((o, n) => {
9967
9967
  const r = t.loginName, i = t.systemCode;
9968
9968
  let s = getPermissions(i);
9969
- if (console.log("getCurrentUserPermissions-----systemCode=", i), typeof s > "u" || s === "" || s === null)
9970
- ssoService.getCurrentUserPermissionsBySystem(r, i).then((a) => {
9971
- console.log(
9972
- "getCurrentUserPermissions-----systemCode=",
9973
- i,
9974
- "permissions[0]=",
9975
- a && a.length > 0 ? a[0] : null
9976
- );
9977
- let l = ["index"];
9978
- l = l.concat(a), s = setPermissions(l, i), o(s);
9979
- }).catch((a) => {
9980
- n(a);
9981
- });
9982
- else {
9983
- let a = Object.keys(s);
9984
- console.log(
9985
- "getCurrentUserPermissions-----systemCode=",
9986
- i,
9987
- "storePermissions[1]=",
9988
- a && a.length > 1 ? a[1] : null
9989
- ), o(s);
9990
- }
9969
+ typeof s > "u" || s === "" || s === null ? ssoService.getCurrentUserPermissionsBySystem(r, i).then((a) => {
9970
+ let l = ["index"];
9971
+ l = l.concat(a), s = setPermissions(l, i), o(s);
9972
+ }).catch((a) => {
9973
+ n(a);
9974
+ }) : o(s);
9991
9975
  });
9992
9976
  },
9993
9977
  /**
@@ -11694,9 +11678,9 @@ ${JSON.stringify(O, null, 2)}
11694
11678
  scroll: N && k && k.scroll
11695
11679
  }, R)) : r.push(y.fullPath, R)), l.value = y, Q(y, b, D, N), J();
11696
11680
  }
11697
- let H;
11681
+ let j;
11698
11682
  function Z() {
11699
- H || (H = r.listen((y, b, D) => {
11683
+ j || (j = r.listen((y, b, D) => {
11700
11684
  const O = g(y), R = V(O);
11701
11685
  if (R) {
11702
11686
  P(assign(R, { replace: !0 }), O).catch(noop);
@@ -11742,19 +11726,19 @@ ${JSON.stringify(O, null, 2)}
11742
11726
  }).catch(noop);
11743
11727
  }));
11744
11728
  }
11745
- let te = useCallbacks(), q = useCallbacks(), j;
11729
+ let te = useCallbacks(), q = useCallbacks(), H;
11746
11730
  function K(y, b, D) {
11747
11731
  J(y);
11748
11732
  const O = q.list();
11749
11733
  return O.length ? O.forEach((R) => R(y, b, D)) : (process.env.NODE_ENV !== "production" && warn("uncaught error during route navigation:"), console.error(y)), Promise.reject(y);
11750
11734
  }
11751
11735
  function X() {
11752
- return j && l.value !== START_LOCATION_NORMALIZED ? Promise.resolve() : new Promise((y, b) => {
11736
+ return H && l.value !== START_LOCATION_NORMALIZED ? Promise.resolve() : new Promise((y, b) => {
11753
11737
  te.add([y, b]);
11754
11738
  });
11755
11739
  }
11756
11740
  function J(y) {
11757
- return j || (j = !y, Z(), te.list().forEach(([b, D]) => y ? D(y) : b()), te.reset()), y;
11741
+ return H || (H = !y, Z(), te.list().forEach(([b, D]) => y ? D(y) : b()), te.reset()), y;
11758
11742
  }
11759
11743
  function Q(y, b, D, O) {
11760
11744
  const { scrollBehavior: R } = e;
@@ -11803,7 +11787,7 @@ ${JSON.stringify(O, null, 2)}
11803
11787
  y.provide(routerKey, b), y.provide(routeLocationKey, shallowReactive(D)), y.provide(routerViewLocationKey, l);
11804
11788
  const O = y.unmount;
11805
11789
  ee.add(y), y.unmount = function() {
11806
- ee.delete(y), ee.size < 1 && (d = START_LOCATION_NORMALIZED, H && H(), H = null, l.value = START_LOCATION_NORMALIZED, se = !1, j = !1), O();
11790
+ ee.delete(y), ee.size < 1 && (d = START_LOCATION_NORMALIZED, j && j(), j = null, l.value = START_LOCATION_NORMALIZED, se = !1, H = !1), O();
11807
11791
  }, process.env.NODE_ENV !== "production" && isBrowser && addDevtools(y, b, t);
11808
11792
  }
11809
11793
  };
@@ -11895,7 +11879,7 @@ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render
11895
11879
  children: [
11896
11880
  {
11897
11881
  path: "page",
11898
- component: () => import("./iframe-page-fdc074c2.js"),
11882
+ component: () => import("./iframe-page-adb4ea50.js"),
11899
11883
  hidden: !0
11900
11884
  }
11901
11885
  ]
@@ -11912,27 +11896,27 @@ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render
11912
11896
  },
11913
11897
  {
11914
11898
  path: "/404",
11915
- component: () => import("./404-fdf93934.js"),
11899
+ component: () => import("./404-44e0676c.js"),
11916
11900
  hidden: !0
11917
11901
  },
11918
11902
  {
11919
11903
  path: "/401",
11920
- component: () => import("./401-851c5a26.js"),
11904
+ component: () => import("./401-6d407e37.js"),
11921
11905
  hidden: !0
11922
11906
  },
11923
11907
  {
11924
11908
  path: "/show-sub-wf-history",
11925
- component: () => import("./tache-subprocess-history-b6f19852.js"),
11909
+ component: () => import("./tache-subprocess-history-e1b89bed.js"),
11926
11910
  hidden: !0
11927
11911
  },
11928
11912
  {
11929
11913
  path: "/tab-content-index",
11930
- component: () => import("./tab-content-index-98a645c5.js"),
11914
+ component: () => import("./tab-content-index-3bd25899.js"),
11931
11915
  hidden: !0
11932
11916
  },
11933
11917
  {
11934
11918
  path: "/tab-content-iframe-index",
11935
- component: () => import("./tab-content-iframe-index-3ad4b8ca.js"),
11919
+ component: () => import("./tab-content-iframe-index-1468478a.js"),
11936
11920
  hidden: !0
11937
11921
  }
11938
11922
  ], protectedRouterMap = [];
@@ -16242,11 +16226,29 @@ function getFormField(e) {
16242
16226
  return o.length > 0 ? o[0] : null;
16243
16227
  }
16244
16228
  /**!
16245
- * Sortable 1.15.0
16229
+ * Sortable 1.15.7
16246
16230
  * @author RubaXa <trash@rubaxa.org>
16247
16231
  * @author owenm <owen23355@gmail.com>
16248
16232
  * @license MIT
16249
16233
  */
16234
+ function _defineProperty(e, t, o) {
16235
+ return (t = _toPropertyKey(t)) in e ? Object.defineProperty(e, t, {
16236
+ value: o,
16237
+ enumerable: !0,
16238
+ configurable: !0,
16239
+ writable: !0
16240
+ }) : e[t] = o, e;
16241
+ }
16242
+ function _extends() {
16243
+ return _extends = Object.assign ? Object.assign.bind() : function(e) {
16244
+ for (var t = 1; t < arguments.length; t++) {
16245
+ var o = arguments[t];
16246
+ for (var n in o)
16247
+ ({}).hasOwnProperty.call(o, n) && (e[n] = o[n]);
16248
+ }
16249
+ return e;
16250
+ }, _extends.apply(null, arguments);
16251
+ }
16250
16252
  function ownKeys(e, t) {
16251
16253
  var o = Object.keys(e);
16252
16254
  if (Object.getOwnPropertySymbols) {
@@ -16268,52 +16270,54 @@ function _objectSpread2(e) {
16268
16270
  }
16269
16271
  return e;
16270
16272
  }
16271
- function _typeof(e) {
16272
- "@babel/helpers - typeof";
16273
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? _typeof = function(t) {
16274
- return typeof t;
16275
- } : _typeof = function(t) {
16276
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
16277
- }, _typeof(e);
16278
- }
16279
- function _defineProperty(e, t, o) {
16280
- return t in e ? Object.defineProperty(e, t, {
16281
- value: o,
16282
- enumerable: !0,
16283
- configurable: !0,
16284
- writable: !0
16285
- }) : e[t] = o, e;
16286
- }
16287
- function _extends() {
16288
- return _extends = Object.assign || function(e) {
16289
- for (var t = 1; t < arguments.length; t++) {
16290
- var o = arguments[t];
16291
- for (var n in o)
16292
- Object.prototype.hasOwnProperty.call(o, n) && (e[n] = o[n]);
16293
- }
16294
- return e;
16295
- }, _extends.apply(this, arguments);
16296
- }
16297
- function _objectWithoutPropertiesLoose(e, t) {
16298
- if (e == null)
16299
- return {};
16300
- var o = {}, n = Object.keys(e), r, i;
16301
- for (i = 0; i < n.length; i++)
16302
- r = n[i], !(t.indexOf(r) >= 0) && (o[r] = e[r]);
16303
- return o;
16304
- }
16305
16273
  function _objectWithoutProperties(e, t) {
16306
16274
  if (e == null)
16307
16275
  return {};
16308
- var o = _objectWithoutPropertiesLoose(e, t), n, r;
16276
+ var o, n, r = _objectWithoutPropertiesLoose(e, t);
16309
16277
  if (Object.getOwnPropertySymbols) {
16310
16278
  var i = Object.getOwnPropertySymbols(e);
16311
- for (r = 0; r < i.length; r++)
16312
- n = i[r], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n]);
16279
+ for (n = 0; n < i.length; n++)
16280
+ o = i[n], t.indexOf(o) === -1 && {}.propertyIsEnumerable.call(e, o) && (r[o] = e[o]);
16313
16281
  }
16282
+ return r;
16283
+ }
16284
+ function _objectWithoutPropertiesLoose(e, t) {
16285
+ if (e == null)
16286
+ return {};
16287
+ var o = {};
16288
+ for (var n in e)
16289
+ if ({}.hasOwnProperty.call(e, n)) {
16290
+ if (t.indexOf(n) !== -1)
16291
+ continue;
16292
+ o[n] = e[n];
16293
+ }
16314
16294
  return o;
16315
16295
  }
16316
- var version = "1.15.0";
16296
+ function _toPrimitive(e, t) {
16297
+ if (typeof e != "object" || !e)
16298
+ return e;
16299
+ var o = e[Symbol.toPrimitive];
16300
+ if (o !== void 0) {
16301
+ var n = o.call(e, t || "default");
16302
+ if (typeof n != "object")
16303
+ return n;
16304
+ throw new TypeError("@@toPrimitive must return a primitive value.");
16305
+ }
16306
+ return (t === "string" ? String : Number)(e);
16307
+ }
16308
+ function _toPropertyKey(e) {
16309
+ var t = _toPrimitive(e, "string");
16310
+ return typeof t == "symbol" ? t : t + "";
16311
+ }
16312
+ function _typeof(e) {
16313
+ "@babel/helpers - typeof";
16314
+ return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
16315
+ return typeof t;
16316
+ } : function(t) {
16317
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
16318
+ }, _typeof(e);
16319
+ }
16320
+ var version = "1.15.7";
16317
16321
  function userAgent(e) {
16318
16322
  if (typeof window < "u" && window.navigator)
16319
16323
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
@@ -16345,7 +16349,7 @@ function matches(e, t) {
16345
16349
  }
16346
16350
  }
16347
16351
  function getParentOrHost(e) {
16348
- return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
16352
+ return e.host && e !== document && e.host.nodeType && e.host !== e ? e.host : e.parentNode;
16349
16353
  }
16350
16354
  function closest(e, t, o, n) {
16351
16355
  if (e) {
@@ -16529,6 +16533,16 @@ function clone(e) {
16529
16533
  var t = window.Polymer, o = window.jQuery || window.Zepto;
16530
16534
  return t && t.dom ? t.dom(e).cloneNode(!0) : o ? o(e).clone(!0)[0] : e.cloneNode(!0);
16531
16535
  }
16536
+ function getChildContainingRectFromElement(e, t, o) {
16537
+ var n = {};
16538
+ return Array.from(e.children).forEach(function(r) {
16539
+ var i, s, a, l;
16540
+ if (!(!closest(r, t.draggable, e, !1) || r.animated || r === o)) {
16541
+ var d = getRect(r);
16542
+ n.left = Math.min((i = n.left) !== null && i !== void 0 ? i : 1 / 0, d.left), n.top = Math.min((s = n.top) !== null && s !== void 0 ? s : 1 / 0, d.top), n.right = Math.max((a = n.right) !== null && a !== void 0 ? a : -1 / 0, d.right), n.bottom = Math.max((l = n.bottom) !== null && l !== void 0 ? l : -1 / 0, d.bottom);
16543
+ }
16544
+ }), n.width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n;
16545
+ }
16532
16546
  var expando = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
16533
16547
  function AnimationStateManager() {
16534
16548
  var e = [], t;
@@ -16828,7 +16842,8 @@ function Sortable(e, t) {
16828
16842
  x: 0,
16829
16843
  y: 0
16830
16844
  },
16831
- supportPointer: Sortable.supportPointer !== !1 && "PointerEvent" in window && !Safari,
16845
+ // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
16846
+ supportPointer: Sortable.supportPointer !== !1 && "PointerEvent" in window && (!Safari || IOS),
16832
16847
  emptyInsertThreshold: 5
16833
16848
  };
16834
16849
  PluginManager.initializePlugins(this, e, o);
@@ -16863,7 +16878,7 @@ Sortable.prototype = /** @lends Sortable.prototype */
16863
16878
  fromEl: n
16864
16879
  }), pluginEvent("filter", o, {
16865
16880
  evt: t
16866
- }), i && t.cancelable && t.preventDefault();
16881
+ }), i && t.preventDefault();
16867
16882
  return;
16868
16883
  }
16869
16884
  } else if (c && (c = c.split(",").some(function(u) {
@@ -16879,7 +16894,7 @@ Sortable.prototype = /** @lends Sortable.prototype */
16879
16894
  evt: t
16880
16895
  }), !0;
16881
16896
  }), c)) {
16882
- i && t.cancelable && t.preventDefault();
16897
+ i && t.preventDefault();
16883
16898
  return;
16884
16899
  }
16885
16900
  r.handle && !closest(d, r.handle, n, !1) || this._prepareDragStart(t, a, l);
@@ -16908,14 +16923,14 @@ Sortable.prototype = /** @lends Sortable.prototype */
16908
16923
  }), toggleClass(dragEl, s.chosenClass, !0);
16909
16924
  }, s.ignore.split(",").forEach(function(c) {
16910
16925
  find(dragEl, c.trim(), _disableDraggable);
16911
- }), on(a, "dragover", nearestEmptyInsertDetectEvent), on(a, "mousemove", nearestEmptyInsertDetectEvent), on(a, "touchmove", nearestEmptyInsertDetectEvent), on(a, "mouseup", r._onDrop), on(a, "touchend", r._onDrop), on(a, "touchcancel", r._onDrop), FireFox && this.nativeDraggable && (this.options.touchStartThreshold = 4, dragEl.draggable = !0), pluginEvent("delayStart", this, {
16926
+ }), on(a, "dragover", nearestEmptyInsertDetectEvent), on(a, "mousemove", nearestEmptyInsertDetectEvent), on(a, "touchmove", nearestEmptyInsertDetectEvent), s.supportPointer ? (on(a, "pointerup", r._onDrop), !this.nativeDraggable && on(a, "pointercancel", r._onDrop)) : (on(a, "mouseup", r._onDrop), on(a, "touchend", r._onDrop), on(a, "touchcancel", r._onDrop)), FireFox && this.nativeDraggable && (this.options.touchStartThreshold = 4, dragEl.draggable = !0), pluginEvent("delayStart", this, {
16912
16927
  evt: t
16913
16928
  }), s.delay && (!s.delayOnTouchOnly || o) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
16914
16929
  if (Sortable.eventCanceled) {
16915
16930
  this._onDrop();
16916
16931
  return;
16917
16932
  }
16918
- on(a, "mouseup", r._disableDelayedDrag), on(a, "touchend", r._disableDelayedDrag), on(a, "touchcancel", r._disableDelayedDrag), on(a, "mousemove", r._delayedDragTouchMoveHandler), on(a, "touchmove", r._delayedDragTouchMoveHandler), s.supportPointer && on(a, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(l, s.delay);
16933
+ s.supportPointer ? (on(a, "pointerup", r._disableDelayedDrag), on(a, "pointercancel", r._disableDelayedDrag)) : (on(a, "mouseup", r._disableDelayedDrag), on(a, "touchend", r._disableDelayedDrag), on(a, "touchcancel", r._disableDelayedDrag)), on(a, "mousemove", r._delayedDragTouchMoveHandler), on(a, "touchmove", r._delayedDragTouchMoveHandler), s.supportPointer && on(a, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(l, s.delay);
16919
16934
  } else
16920
16935
  l();
16921
16936
  }
@@ -16929,7 +16944,7 @@ Sortable.prototype = /** @lends Sortable.prototype */
16929
16944
  },
16930
16945
  _disableDelayedDragEvents: function e() {
16931
16946
  var t = this.el.ownerDocument;
16932
- off(t, "mouseup", this._disableDelayedDrag), off(t, "touchend", this._disableDelayedDrag), off(t, "touchcancel", this._disableDelayedDrag), off(t, "mousemove", this._delayedDragTouchMoveHandler), off(t, "touchmove", this._delayedDragTouchMoveHandler), off(t, "pointermove", this._delayedDragTouchMoveHandler);
16947
+ off(t, "mouseup", this._disableDelayedDrag), off(t, "touchend", this._disableDelayedDrag), off(t, "touchcancel", this._disableDelayedDrag), off(t, "pointerup", this._disableDelayedDrag), off(t, "pointercancel", this._disableDelayedDrag), off(t, "mousemove", this._delayedDragTouchMoveHandler), off(t, "touchmove", this._delayedDragTouchMoveHandler), off(t, "pointermove", this._delayedDragTouchMoveHandler);
16933
16948
  },
16934
16949
  _triggerDragStart: function e(t, o) {
16935
16950
  o = o || t.pointerType == "touch" && t, !this.nativeDraggable || o ? this.options.supportPointer ? on(document, "pointermove", this._onTouchMove) : o ? on(document, "touchmove", this._onTouchMove) : on(document, "mousemove", this._onTouchMove) : (on(dragEl, "dragend", this), on(rootEl, "dragstart", this._onDragStart));
@@ -16972,7 +16987,7 @@ Sortable.prototype = /** @lends Sortable.prototype */
16972
16987
  break;
16973
16988
  }
16974
16989
  t = o;
16975
- } while (o = o.parentNode);
16990
+ } while (o = getParentOrHost(o));
16976
16991
  _unhideGhostForTarget();
16977
16992
  }
16978
16993
  },
@@ -17023,7 +17038,7 @@ Sortable.prototype = /** @lends Sortable.prototype */
17023
17038
  sortable: n,
17024
17039
  name: "clone"
17025
17040
  }));
17026
- }), !o && toggleClass(dragEl, i.dragClass, !0), o ? (ignoreNextClick = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (off(document, "mouseup", n._onDrop), off(document, "touchend", n._onDrop), off(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(n, r, dragEl)), on(document, "drop", n), css(dragEl, "transform", "translateZ(0)")), awaitingDragStarted = !0, n._dragStartId = _nextTick(n._dragStarted.bind(n, o, t)), on(document, "selectstart", n), moved = !0, Safari && css(document.body, "user-select", "none");
17041
+ }), !o && toggleClass(dragEl, i.dragClass, !0), o ? (ignoreNextClick = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (off(document, "mouseup", n._onDrop), off(document, "touchend", n._onDrop), off(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(n, r, dragEl)), on(document, "drop", n), css(dragEl, "transform", "translateZ(0)")), awaitingDragStarted = !0, n._dragStartId = _nextTick(n._dragStarted.bind(n, o, t)), on(document, "selectstart", n), moved = !0, window.getSelection().removeAllRanges(), Safari && css(document.body, "user-select", "none");
17027
17042
  },
17028
17043
  // Returns true - if no further action is needed (either inserted or another condition)
17029
17044
  _onDragOver: function e(t) {
@@ -17093,21 +17108,21 @@ Sortable.prototype = /** @lends Sortable.prototype */
17093
17108
  i = getRect(n);
17094
17109
  var V = 0, P, A = dragEl.parentNode !== o, S = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || r, n.animated && n.toRect || i, p), B = p ? "top" : "left", U = isScrolledPast(n, "top", "top") || isScrolledPast(dragEl, "top", "top"), L = U ? U.scrollTop : void 0;
17095
17110
  lastTarget !== n && (P = i[B], pastFirstInvertThresh = !1, isCircumstantialInvert = !S && a.invertSwap || A), V = _getSwapDirection(t, n, i, p, S ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, isCircumstantialInvert, lastTarget === n);
17096
- var H;
17111
+ var j;
17097
17112
  if (V !== 0) {
17098
17113
  var Z = index$1(dragEl);
17099
17114
  do
17100
- Z -= V, H = parentEl.children[Z];
17101
- while (H && (css(H, "display") === "none" || H === ghostEl));
17115
+ Z -= V, j = parentEl.children[Z];
17116
+ while (j && (css(j, "display") === "none" || j === ghostEl));
17102
17117
  }
17103
- if (V === 0 || H === n)
17118
+ if (V === 0 || j === n)
17104
17119
  return f(!1);
17105
17120
  lastTarget = n, lastDirection = V;
17106
17121
  var te = n.nextElementSibling, q = !1;
17107
17122
  q = V === 1;
17108
- var j = _onMove(rootEl, o, dragEl, r, n, i, t, q);
17109
- if (j !== !1)
17110
- return (j === 1 || j === -1) && (q = j === 1), _silent = !0, setTimeout(_unsilent, 30), g(), q && !te ? o.appendChild(dragEl) : n.parentNode.insertBefore(dragEl, q ? te : n), U && scrollBy(U, 0, L - U.scrollTop), parentEl = dragEl.parentNode, P !== void 0 && !isCircumstantialInvert && (targetMoveDistance = Math.abs(P - getRect(n)[B])), w(), f(!0);
17123
+ var H = _onMove(rootEl, o, dragEl, r, n, i, t, q);
17124
+ if (H !== !1)
17125
+ return (H === 1 || H === -1) && (q = H === 1), _silent = !0, setTimeout(_unsilent, 30), g(), q && !te ? o.appendChild(dragEl) : n.parentNode.insertBefore(dragEl, q ? te : n), U && scrollBy(U, 0, L - U.scrollTop), parentEl = dragEl.parentNode, P !== void 0 && !isCircumstantialInvert && (targetMoveDistance = Math.abs(P - getRect(n)[B])), w(), f(!0);
17111
17126
  }
17112
17127
  if (o.contains(dragEl))
17113
17128
  return f(!1);
@@ -17120,7 +17135,7 @@ Sortable.prototype = /** @lends Sortable.prototype */
17120
17135
  },
17121
17136
  _offUpEvents: function e() {
17122
17137
  var t = this.el.ownerDocument;
17123
- off(t, "mouseup", this._onDrop), off(t, "touchend", this._onDrop), off(t, "pointerup", this._onDrop), off(t, "touchcancel", this._onDrop), off(document, "selectstart", this);
17138
+ off(t, "mouseup", this._onDrop), off(t, "touchend", this._onDrop), off(t, "pointerup", this._onDrop), off(t, "pointercancel", this._onDrop), off(t, "touchcancel", this._onDrop), off(document, "selectstart", this);
17124
17139
  },
17125
17140
  _onDrop: function e(t) {
17126
17141
  var o = this.el, n = this.options;
@@ -17177,8 +17192,10 @@ Sortable.prototype = /** @lends Sortable.prototype */
17177
17192
  }), this.save()))), this._nulling();
17178
17193
  },
17179
17194
  _nulling: function e() {
17180
- pluginEvent("nulling", this), rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = cloneHidden = tapEvt = touchEvt = moved = newIndex = newDraggableIndex = oldIndex = oldDraggableIndex = lastTarget = lastDirection = putSortable = activeGroup = Sortable.dragged = Sortable.ghost = Sortable.clone = Sortable.active = null, savedInputChecked.forEach(function(t) {
17181
- t.checked = !0;
17195
+ pluginEvent("nulling", this), rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = cloneHidden = tapEvt = touchEvt = moved = newIndex = newDraggableIndex = oldIndex = oldDraggableIndex = lastTarget = lastDirection = putSortable = activeGroup = Sortable.dragged = Sortable.ghost = Sortable.clone = Sortable.active = null;
17196
+ var t = this.el;
17197
+ savedInputChecked.forEach(function(o) {
17198
+ t.contains(o) && (o.checked = !0);
17182
17199
  }), savedInputChecked.length = lastDx = lastDy = 0;
17183
17200
  },
17184
17201
  handleEvent: function e(t) {
@@ -17293,12 +17310,12 @@ function _unsilent() {
17293
17310
  _silent = !1;
17294
17311
  }
17295
17312
  function _ghostIsFirst(e, t, o) {
17296
- var n = getRect(getChild(o.el, 0, o.options, !0)), r = 10;
17297
- return t ? e.clientX < n.left - r || e.clientY < n.top && e.clientX < n.right : e.clientY < n.top - r || e.clientY < n.bottom && e.clientX < n.left;
17313
+ var n = getRect(getChild(o.el, 0, o.options, !0)), r = getChildContainingRectFromElement(o.el, o.options, ghostEl), i = 10;
17314
+ return t ? e.clientX < r.left - i || e.clientY < n.top && e.clientX < n.right : e.clientY < r.top - i || e.clientY < n.bottom && e.clientX < n.left;
17298
17315
  }
17299
17316
  function _ghostIsLast(e, t, o) {
17300
- var n = getRect(lastChild(o.el, o.options.draggable)), r = 10;
17301
- return t ? e.clientX > n.right + r || e.clientX <= n.right && e.clientY > n.bottom && e.clientX >= n.left : e.clientX > n.right && e.clientY > n.top || e.clientX <= n.right && e.clientY > n.bottom + r;
17317
+ var n = getRect(lastChild(o.el, o.options.draggable)), r = getChildContainingRectFromElement(o.el, o.options, ghostEl), i = 10;
17318
+ return t ? e.clientX > r.right + i || e.clientY > n.bottom && e.clientX > n.left : e.clientY > r.bottom + i || e.clientX > n.right && e.clientY > n.top;
17302
17319
  }
17303
17320
  function _getSwapDirection(e, t, o, n, r, i, s, a) {
17304
17321
  var l = n ? e.clientY : e.clientX, d = n ? o.height : o.width, c = n ? o.top : o.left, u = n ? o.bottom : o.right, m = !1;
@@ -17354,7 +17371,8 @@ Sortable.utils = {
17354
17371
  nextTick: _nextTick,
17355
17372
  cancelNextTick: _cancelNextTick,
17356
17373
  detectDirection: _detectDirection,
17357
- getChild
17374
+ getChild,
17375
+ expando
17358
17376
  };
17359
17377
  Sortable.get = function(e) {
17360
17378
  return e[expando];
@@ -17441,11 +17459,11 @@ var autoScroll = throttle(function(e, t, o, n) {
17441
17459
  do {
17442
17460
  var p = m, _ = getRect(p), v = _.top, C = _.bottom, g = _.left, f = _.right, w = _.width, E = _.height, T = void 0, V = void 0, P = p.scrollWidth, A = p.scrollHeight, S = css(p), B = p.scrollLeft, U = p.scrollTop;
17443
17461
  p === l ? (T = w < P && (S.overflowX === "auto" || S.overflowX === "scroll" || S.overflowX === "visible"), V = E < A && (S.overflowY === "auto" || S.overflowY === "scroll" || S.overflowY === "visible")) : (T = w < P && (S.overflowX === "auto" || S.overflowX === "scroll"), V = E < A && (S.overflowY === "auto" || S.overflowY === "scroll"));
17444
- var L = T && (Math.abs(f - r) <= s && B + w < P) - (Math.abs(g - r) <= s && !!B), H = V && (Math.abs(C - i) <= s && U + E < A) - (Math.abs(v - i) <= s && !!U);
17462
+ var L = T && (Math.abs(f - r) <= s && B + w < P) - (Math.abs(g - r) <= s && !!B), j = V && (Math.abs(C - i) <= s && U + E < A) - (Math.abs(v - i) <= s && !!U);
17445
17463
  if (!autoScrolls[u])
17446
17464
  for (var Z = 0; Z <= u; Z++)
17447
17465
  autoScrolls[Z] || (autoScrolls[Z] = {});
17448
- (autoScrolls[u].vx != L || autoScrolls[u].vy != H || autoScrolls[u].el !== p) && (autoScrolls[u].el = p, autoScrolls[u].vx = L, autoScrolls[u].vy = H, clearInterval(autoScrolls[u].pid), (L != 0 || H != 0) && (d = !0, autoScrolls[u].pid = setInterval((function() {
17466
+ (autoScrolls[u].vx != L || autoScrolls[u].vy != j || autoScrolls[u].el !== p) && (autoScrolls[u].el = p, autoScrolls[u].vx = L, autoScrolls[u].vy = j, clearInterval(autoScrolls[u].pid), (L != 0 || j != 0) && (d = !0, autoScrolls[u].pid = setInterval((function() {
17449
17467
  n && this.layer === 0 && Sortable.active._onTouchMove(touchEvt$1);
17450
17468
  var te = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * a : 0, q = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * a : 0;
17451
17469
  typeof c == "function" && c.call(Sortable.dragged.parentNode[expando], q, te, e, touchEvt$1, autoScrolls[this.layer].el) !== "continue" || scrollBy(autoScrolls[this.layer].el, q, te);
@@ -17500,7 +17518,7 @@ _extends(Remove, {
17500
17518
  });
17501
17519
  Sortable.mount(new AutoScrollPlugin());
17502
17520
  Sortable.mount(Remove, Revert);
17503
- const taskTitle_vue_vue_type_style_index_0_scoped_bb6b2ccf_lang = "", _sfc_main$W = {
17521
+ const taskTitle_vue_vue_type_style_index_0_scoped_77d37fde_lang = "", taskTitle_vue_vue_type_style_index_1_lang = "", _sfc_main$W = {
17504
17522
  name: "TaskTitle",
17505
17523
  components: {
17506
17524
  FormFields
@@ -17536,13 +17554,19 @@ const taskTitle_vue_vue_type_style_index_0_scoped_bb6b2ccf_lang = "", _sfc_main$
17536
17554
  mounted() {
17537
17555
  this._sortable = Sortable.create(this.$refs.tagContainer, {
17538
17556
  animation: 150,
17539
- onEnd: ({ oldIndex: e, newIndex: t }) => {
17540
- if (e === t)
17557
+ draggable: ".el-tag",
17558
+ dragClass: "wf-tag-drag",
17559
+ onEnd: () => {
17560
+ const e = this.$refs.tagContainer;
17561
+ if (!e)
17541
17562
  return;
17542
- const o = this.$refs.tagContainer, n = Array.from(o.children), r = n[t];
17543
- t < e ? o.insertBefore(r, n[e + 1] || null) : o.insertBefore(r, n[e]);
17544
- const i = [...this.dynamicTags], s = i.splice(e, 1)[0];
17545
- i.splice(t, 0, s), this.dynamicTags = i, this.$emit("update:modelValue", this.dynamicTags.join(""));
17563
+ const t = Array.from(e.querySelectorAll(".el-tag[data-tag-key]")).map(
17564
+ (o) => o.getAttribute("data-tag-key")
17565
+ );
17566
+ e.querySelectorAll(".el-tag[data-tag-key]").forEach((o, n) => {
17567
+ const r = this.dynamicTags[n], i = e.querySelector(`.el-tag[data-tag-key="${r}"]`);
17568
+ i && e.appendChild(i);
17569
+ }), this.dynamicTags = t, this.$emit("update:modelValue", t.join(""));
17546
17570
  }
17547
17571
  });
17548
17572
  },
@@ -17596,6 +17620,7 @@ function _sfc_render$U(e, t, o, n, r, i) {
17596
17620
  (openBlock(!0), createElementBlock(Fragment, null, renderList(r.dynamicTags, (m, p) => (openBlock(), createBlock(a, {
17597
17621
  key: m,
17598
17622
  "data-index": p,
17623
+ "data-tag-key": m,
17599
17624
  type: i.getType(m),
17600
17625
  closable: "",
17601
17626
  "disable-transitions": !1,
@@ -17613,7 +17638,7 @@ function _sfc_render$U(e, t, o, n, r, i) {
17613
17638
  }, 1032, ["content"])
17614
17639
  ]),
17615
17640
  _: 2
17616
- }, 1032, ["data-index", "type", "onClose"]))), 128))
17641
+ }, 1032, ["data-index", "data-tag-key", "type", "onClose"]))), 128))
17617
17642
  ], 512),
17618
17643
  r.inputVisible || r.isShowAdditionalParam ? (openBlock(), createBlock(l, {
17619
17644
  key: 0,
@@ -17669,7 +17694,7 @@ function _sfc_render$U(e, t, o, n, r, i) {
17669
17694
  }, null, 8, ["onClose"])) : createCommentVNode("", !0)
17670
17695
  ]);
17671
17696
  }
17672
- const TaskTitle = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$U], ["__scopeId", "data-v-bb6b2ccf"]]), standardFields = [
17697
+ const TaskTitle = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$U], ["__scopeId", "data-v-77d37fde"]]), standardFields = [
17673
17698
  {
17674
17699
  name: "${approvalResult}",
17675
17700
  label: getI18n().t("workflowEditor.process.approvalResults"),
@@ -25171,7 +25196,7 @@ function requireString_decoder() {
25171
25196
  if (W > b)
25172
25197
  switch (o[O]) {
25173
25198
  case "textNode":
25174
- H(y);
25199
+ j(y);
25175
25200
  break;
25176
25201
  case "cdata":
25177
25202
  L(y, "oncdata", y.cdata), y.cdata = "";
@@ -25192,7 +25217,7 @@ function requireString_decoder() {
25192
25217
  y[o[b]] = "";
25193
25218
  }
25194
25219
  function s(y) {
25195
- H(y), y.cdata !== "" && (L(y, "oncdata", y.cdata), y.cdata = ""), y.script !== "" && (L(y, "onscript", y.script), y.script = "");
25220
+ j(y), y.cdata !== "" && (L(y, "oncdata", y.cdata), y.cdata = ""), y.script !== "" && (L(y, "onscript", y.script), y.script = "");
25196
25221
  }
25197
25222
  n.prototype = {
25198
25223
  end: function() {
@@ -25632,24 +25657,24 @@ function requireString_decoder() {
25632
25657
  y[b] && y[b](D);
25633
25658
  }
25634
25659
  function L(y, b, D) {
25635
- y.textNode && H(y), U(y, b, D);
25660
+ y.textNode && j(y), U(y, b, D);
25636
25661
  }
25637
- function H(y) {
25662
+ function j(y) {
25638
25663
  y.textNode = Z(y.opt, y.textNode), y.textNode && U(y, "ontext", y.textNode), y.textNode = "";
25639
25664
  }
25640
25665
  function Z(y, b) {
25641
25666
  return y.trim && (b = b.trim()), y.normalize && (b = b.replace(/\s+/g, " ")), b;
25642
25667
  }
25643
25668
  function te(y, b) {
25644
- return H(y), y.trackPosition && (b += `
25669
+ return j(y), y.trackPosition && (b += `
25645
25670
  Line: ` + y.line + `
25646
25671
  Column: ` + y.column + `
25647
25672
  Char: ` + y.c), b = new Error(b), y.error = b, U(y, "onerror", b), y;
25648
25673
  }
25649
25674
  function q(y) {
25650
- return y.sawRoot && !y.closedRoot && j(y, "Unclosed root tag"), y.state !== S.BEGIN && y.state !== S.BEGIN_WHITESPACE && y.state !== S.TEXT && te(y, "Unexpected end"), H(y), y.c = "", y.closed = !0, U(y, "onend"), n.call(y, y.strict, y.opt), y;
25675
+ return y.sawRoot && !y.closedRoot && H(y, "Unclosed root tag"), y.state !== S.BEGIN && y.state !== S.BEGIN_WHITESPACE && y.state !== S.TEXT && te(y, "Unexpected end"), j(y), y.c = "", y.closed = !0, U(y, "onend"), n.call(y, y.strict, y.opt), y;
25651
25676
  }
25652
- function j(y, b) {
25677
+ function H(y, b) {
25653
25678
  if (typeof y != "object" || !(y instanceof n))
25654
25679
  throw new Error("bad call to strictFail");
25655
25680
  y.strict && te(y, b);
@@ -25672,13 +25697,13 @@ Char: ` + y.c), b = new Error(b), y.error = b, U(y, "onerror", b), y;
25672
25697
  var b = X(y.attribName, !0), D = b.prefix, O = b.local;
25673
25698
  if (D === "xmlns")
25674
25699
  if (O === "xml" && y.attribValue !== p)
25675
- j(
25700
+ H(
25676
25701
  y,
25677
25702
  "xml: prefix must be bound to " + p + `
25678
25703
  Actual: ` + y.attribValue
25679
25704
  );
25680
25705
  else if (O === "xmlns" && y.attribValue !== _)
25681
- j(
25706
+ H(
25682
25707
  y,
25683
25708
  "xmlns: prefix must be bound to " + _ + `
25684
25709
  Actual: ` + y.attribValue
@@ -25698,7 +25723,7 @@ Actual: ` + y.attribValue
25698
25723
  function Q(y, b) {
25699
25724
  if (y.opt.xmlns) {
25700
25725
  var D = y.tag, O = X(y.tagName);
25701
- D.prefix = O.prefix, D.local = O.local, D.uri = D.ns[O.prefix] || "", D.prefix && !D.uri && (j(y, "Unbound namespace prefix: " + JSON.stringify(y.tagName)), D.uri = O.prefix);
25726
+ D.prefix = O.prefix, D.local = O.local, D.uri = D.ns[O.prefix] || "", D.prefix && !D.uri && (H(y, "Unbound namespace prefix: " + JSON.stringify(y.tagName)), D.uri = O.prefix);
25702
25727
  var R = y.tags[y.tags.length - 1] || y;
25703
25728
  D.ns && R.ns !== D.ns && Object.keys(D.ns).forEach(function(fe) {
25704
25729
  L(y, "onopennamespace", {
@@ -25714,7 +25739,7 @@ Actual: ` + y.attribValue
25714
25739
  local: ae,
25715
25740
  uri: le
25716
25741
  };
25717
- G && G !== "xmlns" && !le && (j(y, "Unbound namespace prefix: " + JSON.stringify(G)), me.uri = G), y.tag.attributes[I] = me, L(y, "onattribute", me);
25742
+ G && G !== "xmlns" && !le && (H(y, "Unbound namespace prefix: " + JSON.stringify(G)), me.uri = G), y.tag.attributes[I] = me, L(y, "onattribute", me);
25718
25743
  }
25719
25744
  y.attribList.length = 0;
25720
25745
  }
@@ -25722,7 +25747,7 @@ Actual: ` + y.attribValue
25722
25747
  }
25723
25748
  function Y(y) {
25724
25749
  if (!y.tagName) {
25725
- j(y, "Weird empty close tag."), y.textNode += "</>", y.state = S.TEXT;
25750
+ H(y, "Weird empty close tag."), y.textNode += "</>", y.state = S.TEXT;
25726
25751
  return;
25727
25752
  }
25728
25753
  if (y.script) {
@@ -25737,12 +25762,12 @@ Actual: ` + y.attribValue
25737
25762
  for (var O = D; b--; ) {
25738
25763
  var R = y.tags[b];
25739
25764
  if (R.name !== O)
25740
- j(y, "Unexpected close tag");
25765
+ H(y, "Unexpected close tag");
25741
25766
  else
25742
25767
  break;
25743
25768
  }
25744
25769
  if (b < 0) {
25745
- j(y, "Unmatched closing tag: " + y.tagName), y.textNode += "</" + y.tagName + ">", y.state = S.TEXT;
25770
+ H(y, "Unmatched closing tag: " + y.tagName), y.textNode += "</" + y.tagName + ">", y.state = S.TEXT;
25746
25771
  return;
25747
25772
  }
25748
25773
  y.tagName = D;
@@ -25762,10 +25787,10 @@ Actual: ` + y.attribValue
25762
25787
  }
25763
25788
  function se(y) {
25764
25789
  var b = y.entity, D = b.toLowerCase(), O, R = "";
25765
- return y.ENTITIES[b] ? y.ENTITIES[b] : y.ENTITIES[D] ? y.ENTITIES[D] : (b = D, b.charAt(0) === "#" && (b.charAt(1) === "x" ? (b = b.slice(2), O = parseInt(b, 16), R = O.toString(16)) : (b = b.slice(1), O = parseInt(b, 10), R = O.toString(10))), b = b.replace(/^0+/, ""), isNaN(O) || R.toLowerCase() !== b ? (j(y, "Invalid character entity"), "&" + y.entity + ";") : String.fromCodePoint(O));
25790
+ return y.ENTITIES[b] ? y.ENTITIES[b] : y.ENTITIES[D] ? y.ENTITIES[D] : (b = D, b.charAt(0) === "#" && (b.charAt(1) === "x" ? (b = b.slice(2), O = parseInt(b, 16), R = O.toString(16)) : (b = b.slice(1), O = parseInt(b, 10), R = O.toString(10))), b = b.replace(/^0+/, ""), isNaN(O) || R.toLowerCase() !== b ? (H(y, "Invalid character entity"), "&" + y.entity + ";") : String.fromCodePoint(O));
25766
25791
  }
25767
25792
  function ee(y, b) {
25768
- b === "<" ? (y.state = S.OPEN_WAKA, y.startTagPosition = y.position) : E(b) || (j(y, "Non-whitespace before first tag."), y.textNode = b, y.state = S.TEXT);
25793
+ b === "<" ? (y.state = S.OPEN_WAKA, y.startTagPosition = y.position) : E(b) || (H(y, "Non-whitespace before first tag."), y.textNode = b, y.state = S.TEXT);
25769
25794
  }
25770
25795
  function ie(y, b) {
25771
25796
  var D = "";
@@ -25801,7 +25826,7 @@ Actual: ` + y.attribValue
25801
25826
  ` ? (b.line++, b.column = 0) : b.column++);
25802
25827
  b.textNode += y.substring(R, D - 1);
25803
25828
  }
25804
- O === "<" && !(b.sawRoot && b.closedRoot && !b.strict) ? (b.state = S.OPEN_WAKA, b.startTagPosition = b.position) : (!E(O) && (!b.sawRoot || b.closedRoot) && j(b, "Text data outside of root node."), O === "&" ? b.state = S.TEXT_ENTITY : b.textNode += O);
25829
+ O === "<" && !(b.sawRoot && b.closedRoot && !b.strict) ? (b.state = S.OPEN_WAKA, b.startTagPosition = b.position) : (!E(O) && (!b.sawRoot || b.closedRoot) && H(b, "Text data outside of root node."), O === "&" ? b.state = S.TEXT_ENTITY : b.textNode += O);
25805
25830
  continue;
25806
25831
  case S.SCRIPT:
25807
25832
  O === "<" ? b.state = S.SCRIPT_ENDING : b.script += O;
@@ -25820,7 +25845,7 @@ Actual: ` + y.attribValue
25820
25845
  else if (O === "?")
25821
25846
  b.state = S.PROC_INST, b.procInstName = b.procInstBody = "";
25822
25847
  else {
25823
- if (j(b, "Unencoded <"), b.startTagPosition + 1 < b.position) {
25848
+ if (H(b, "Unencoded <"), b.startTagPosition + 1 < b.position) {
25824
25849
  var W = b.position - b.startTagPosition;
25825
25850
  O = new Array(W).join(" ") + O;
25826
25851
  }
@@ -25828,7 +25853,7 @@ Actual: ` + y.attribValue
25828
25853
  }
25829
25854
  continue;
25830
25855
  case S.SGML_DECL:
25831
- (b.sgmlDecl + O).toUpperCase() === u ? (L(b, "onopencdata"), b.state = S.CDATA, b.sgmlDecl = "", b.cdata = "") : b.sgmlDecl + O === "--" ? (b.state = S.COMMENT, b.comment = "", b.sgmlDecl = "") : (b.sgmlDecl + O).toUpperCase() === m ? (b.state = S.DOCTYPE, (b.doctype || b.sawRoot) && j(
25856
+ (b.sgmlDecl + O).toUpperCase() === u ? (L(b, "onopencdata"), b.state = S.CDATA, b.sgmlDecl = "", b.cdata = "") : b.sgmlDecl + O === "--" ? (b.state = S.COMMENT, b.comment = "", b.sgmlDecl = "") : (b.sgmlDecl + O).toUpperCase() === m ? (b.state = S.DOCTYPE, (b.doctype || b.sawRoot) && H(
25832
25857
  b,
25833
25858
  "Inappropriately located doctype declaration"
25834
25859
  ), b.doctype = "", b.sgmlDecl = "") : O === ">" ? (L(b, "onsgmldeclaration", b.sgmlDecl), b.sgmlDecl = "", b.state = S.TEXT) : (T(O) && (b.state = S.SGML_DECL_QUOTED), b.sgmlDecl += O);
@@ -25855,7 +25880,7 @@ Actual: ` + y.attribValue
25855
25880
  O === "-" ? (b.state = S.COMMENT_ENDED, b.comment = Z(b.opt, b.comment), b.comment && L(b, "oncomment", b.comment), b.comment = "") : (b.comment += "-" + O, b.state = S.COMMENT);
25856
25881
  continue;
25857
25882
  case S.COMMENT_ENDED:
25858
- O !== ">" ? (j(b, "Malformed comment"), b.comment += "--" + O, b.state = S.COMMENT) : b.state = S.TEXT;
25883
+ O !== ">" ? (H(b, "Malformed comment"), b.comment += "--" + O, b.state = S.COMMENT) : b.state = S.TEXT;
25859
25884
  continue;
25860
25885
  case S.CDATA:
25861
25886
  O === "]" ? b.state = S.CDATA_ENDING : b.cdata += O;
@@ -25881,18 +25906,18 @@ Actual: ` + y.attribValue
25881
25906
  }), b.procInstName = b.procInstBody = "", b.state = S.TEXT) : (b.procInstBody += "?" + O, b.state = S.PROC_INST_BODY);
25882
25907
  continue;
25883
25908
  case S.OPEN_TAG:
25884
- P(g, O) ? b.tagName += O : (K(b), O === ">" ? Q(b) : O === "/" ? b.state = S.OPEN_TAG_SLASH : (E(O) || j(b, "Invalid character in tag name"), b.state = S.ATTRIB));
25909
+ P(g, O) ? b.tagName += O : (K(b), O === ">" ? Q(b) : O === "/" ? b.state = S.OPEN_TAG_SLASH : (E(O) || H(b, "Invalid character in tag name"), b.state = S.ATTRIB));
25885
25910
  continue;
25886
25911
  case S.OPEN_TAG_SLASH:
25887
- O === ">" ? (Q(b, !0), Y(b)) : (j(b, "Forward-slash in opening tag not followed by >"), b.state = S.ATTRIB);
25912
+ O === ">" ? (Q(b, !0), Y(b)) : (H(b, "Forward-slash in opening tag not followed by >"), b.state = S.ATTRIB);
25888
25913
  continue;
25889
25914
  case S.ATTRIB:
25890
25915
  if (E(O))
25891
25916
  continue;
25892
- O === ">" ? Q(b) : O === "/" ? b.state = S.OPEN_TAG_SLASH : P(C, O) ? (b.attribName = O, b.attribValue = "", b.state = S.ATTRIB_NAME) : j(b, "Invalid attribute name");
25917
+ O === ">" ? Q(b) : O === "/" ? b.state = S.OPEN_TAG_SLASH : P(C, O) ? (b.attribName = O, b.attribValue = "", b.state = S.ATTRIB_NAME) : H(b, "Invalid attribute name");
25893
25918
  continue;
25894
25919
  case S.ATTRIB_NAME:
25895
- O === "=" ? b.state = S.ATTRIB_VALUE : O === ">" ? (j(b, "Attribute without value"), b.attribValue = b.attribName, J(b), Q(b)) : E(O) ? b.state = S.ATTRIB_NAME_SAW_WHITE : P(g, O) ? b.attribName += O : j(b, "Invalid attribute name");
25920
+ O === "=" ? b.state = S.ATTRIB_VALUE : O === ">" ? (H(b, "Attribute without value"), b.attribValue = b.attribName, J(b), Q(b)) : E(O) ? b.state = S.ATTRIB_NAME_SAW_WHITE : P(g, O) ? b.attribName += O : H(b, "Invalid attribute name");
25896
25921
  continue;
25897
25922
  case S.ATTRIB_NAME_SAW_WHITE:
25898
25923
  if (O === "=")
@@ -25900,16 +25925,16 @@ Actual: ` + y.attribValue
25900
25925
  else {
25901
25926
  if (E(O))
25902
25927
  continue;
25903
- j(b, "Attribute without value"), b.tag.attributes[b.attribName] = "", b.attribValue = "", L(b, "onattribute", {
25928
+ H(b, "Attribute without value"), b.tag.attributes[b.attribName] = "", b.attribValue = "", L(b, "onattribute", {
25904
25929
  name: b.attribName,
25905
25930
  value: ""
25906
- }), b.attribName = "", O === ">" ? Q(b) : P(C, O) ? (b.attribName = O, b.state = S.ATTRIB_NAME) : (j(b, "Invalid attribute name"), b.state = S.ATTRIB);
25931
+ }), b.attribName = "", O === ">" ? Q(b) : P(C, O) ? (b.attribName = O, b.state = S.ATTRIB_NAME) : (H(b, "Invalid attribute name"), b.state = S.ATTRIB);
25907
25932
  }
25908
25933
  continue;
25909
25934
  case S.ATTRIB_VALUE:
25910
25935
  if (E(O))
25911
25936
  continue;
25912
- T(O) ? (b.q = O, b.state = S.ATTRIB_VALUE_QUOTED) : (j(b, "Unquoted attribute value"), b.state = S.ATTRIB_VALUE_UNQUOTED, b.attribValue = O);
25937
+ T(O) ? (b.q = O, b.state = S.ATTRIB_VALUE_QUOTED) : (H(b, "Unquoted attribute value"), b.state = S.ATTRIB_VALUE_UNQUOTED, b.attribValue = O);
25913
25938
  continue;
25914
25939
  case S.ATTRIB_VALUE_QUOTED:
25915
25940
  if (O !== b.q) {
@@ -25919,7 +25944,7 @@ Actual: ` + y.attribValue
25919
25944
  J(b), b.q = "", b.state = S.ATTRIB_VALUE_CLOSED;
25920
25945
  continue;
25921
25946
  case S.ATTRIB_VALUE_CLOSED:
25922
- E(O) ? b.state = S.ATTRIB : O === ">" ? Q(b) : O === "/" ? b.state = S.OPEN_TAG_SLASH : P(C, O) ? (j(b, "No whitespace between attributes"), b.attribName = O, b.attribValue = "", b.state = S.ATTRIB_NAME) : j(b, "Invalid attribute name");
25947
+ E(O) ? b.state = S.ATTRIB : O === ">" ? Q(b) : O === "/" ? b.state = S.OPEN_TAG_SLASH : P(C, O) ? (H(b, "No whitespace between attributes"), b.attribName = O, b.attribValue = "", b.state = S.ATTRIB_NAME) : H(b, "Invalid attribute name");
25923
25948
  continue;
25924
25949
  case S.ATTRIB_VALUE_UNQUOTED:
25925
25950
  if (!V(O)) {
@@ -25930,17 +25955,17 @@ Actual: ` + y.attribValue
25930
25955
  continue;
25931
25956
  case S.CLOSE_TAG:
25932
25957
  if (b.tagName)
25933
- O === ">" ? Y(b) : P(g, O) ? b.tagName += O : b.script ? (b.script += "</" + b.tagName, b.tagName = "", b.state = S.SCRIPT) : (E(O) || j(b, "Invalid tagname in closing tag"), b.state = S.CLOSE_TAG_SAW_WHITE);
25958
+ O === ">" ? Y(b) : P(g, O) ? b.tagName += O : b.script ? (b.script += "</" + b.tagName, b.tagName = "", b.state = S.SCRIPT) : (E(O) || H(b, "Invalid tagname in closing tag"), b.state = S.CLOSE_TAG_SAW_WHITE);
25934
25959
  else {
25935
25960
  if (E(O))
25936
25961
  continue;
25937
- A(C, O) ? b.script ? (b.script += "</" + O, b.state = S.SCRIPT) : j(b, "Invalid tagname in closing tag.") : b.tagName = O;
25962
+ A(C, O) ? b.script ? (b.script += "</" + O, b.state = S.SCRIPT) : H(b, "Invalid tagname in closing tag.") : b.tagName = O;
25938
25963
  }
25939
25964
  continue;
25940
25965
  case S.CLOSE_TAG_SAW_WHITE:
25941
25966
  if (E(O))
25942
25967
  continue;
25943
- O === ">" ? Y(b) : j(b, "Invalid characters in closing tag");
25968
+ O === ">" ? Y(b) : H(b, "Invalid characters in closing tag");
25944
25969
  continue;
25945
25970
  case S.TEXT_ENTITY:
25946
25971
  case S.ATTRIB_VALUE_ENTITY_Q:
@@ -25964,7 +25989,7 @@ Actual: ` + y.attribValue
25964
25989
  } else
25965
25990
  b[k] += se(b), b.entity = "", b.state = N;
25966
25991
  else
25967
- P(b.entity.length ? w : f, O) ? b.entity += O : (j(b, "Invalid character in entity name"), b[k] += "&" + b.entity + O, b.entity = "", b.state = N);
25992
+ P(b.entity.length ? w : f, O) ? b.entity += O : (H(b, "Invalid character in entity name"), b[k] += "&" + b.entity + O, b.entity = "", b.state = N);
25968
25993
  continue;
25969
25994
  default:
25970
25995
  throw new Error(b, "Unknown state: " + b.state);
@@ -30539,19 +30564,19 @@ var prism = { exports: {} };
30539
30564
  for (var B = 0; B < S.length; ++B) {
30540
30565
  if (P && P.cause == A + "," + B)
30541
30566
  return;
30542
- var U = S[B], L = U.inside, H = !!U.lookbehind, Z = !!U.greedy, te = U.alias;
30567
+ var U = S[B], L = U.inside, j = !!U.lookbehind, Z = !!U.greedy, te = U.alias;
30543
30568
  if (Z && !U.pattern.global) {
30544
30569
  var q = U.pattern.toString().match(/[imsuy]*$/)[0];
30545
30570
  U.pattern = RegExp(U.pattern.source, q + "g");
30546
30571
  }
30547
- for (var j = U.pattern || U, K = T.next, X = V; K !== w.tail && !(P && X >= P.reach); X += K.value.length, K = K.next) {
30572
+ for (var H = U.pattern || U, K = T.next, X = V; K !== w.tail && !(P && X >= P.reach); X += K.value.length, K = K.next) {
30548
30573
  var J = K.value;
30549
30574
  if (w.length > f.length)
30550
30575
  return;
30551
30576
  if (!(J instanceof l)) {
30552
30577
  var Q = 1, Y;
30553
30578
  if (Z) {
30554
- if (Y = d(j, X, f, H), !Y || Y.index >= f.length)
30579
+ if (Y = d(H, X, f, j), !Y || Y.index >= f.length)
30555
30580
  break;
30556
30581
  var re = Y.index, se = Y.index + Y[0].length, ee = X;
30557
30582
  for (ee += K.value.length; re >= ee; )
@@ -30561,7 +30586,7 @@ var prism = { exports: {} };
30561
30586
  for (var ie = K; ie !== w.tail && (ee < se || typeof ie.value == "string"); ie = ie.next)
30562
30587
  Q++, ee += ie.value.length;
30563
30588
  Q--, J = f.slice(X, ee), Y.index -= X;
30564
- } else if (Y = d(j, 0, J, H), !Y)
30589
+ } else if (Y = d(H, 0, J, j), !Y)
30565
30590
  continue;
30566
30591
  var re = Y.index, y = Y[0], b = J.slice(0, re), D = J.slice(re + y.length), O = X + J.length;
30567
30592
  P && O > P.reach && (P.reach = O);