@qqt-product/ui 11.0.4 → 11.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -18198,23 +18198,23 @@ function usePromiseStep(r) {
18198
18198
  cacheShowMessage.value = Rr;
18199
18199
  }
18200
18200
  function Y(Rr) {
18201
- const Kr = b == null ? void 0 : b.find((da) => da.key === Rr);
18201
+ const Kr = b == null ? void 0 : b.find((ca) => ca.key === Rr);
18202
18202
  if (!Kr)
18203
18203
  return [];
18204
18204
  let { showMessage: pr, handleBefore: Er, handleAfter: Br } = Kr;
18205
- return pr = pr !== !1, Er = Er || ((da) => Promise.resolve(da)), Br = Br || ((da) => Promise.resolve(da)), [Er, (da) => createPromise((fi, Za) => {
18206
- const ks = isFunction$2(Kr.args) ? Kr.args(da.pageData.value) : Kr.args;
18207
- o.post({ url: ks.url, data: da.pageData.value }).then((Xi) => {
18205
+ return pr = pr !== !1, Er = Er || ((ca) => Promise.resolve(ca)), Br = Br || ((ca) => Promise.resolve(ca)), [Er, (ca) => createPromise((fi, Za) => {
18206
+ const ks = isFunction$2(Kr.args) ? Kr.args(ca.pageData.value) : Kr.args;
18207
+ o.post({ url: ks.url, data: ca.pageData.value }).then((Xi) => {
18208
18208
  if (Xi.success)
18209
18209
  if (pr && message$1.success(Xi.message), Rr === SYMBOL_SAVE && Xi.result) {
18210
18210
  const ii = Xi.result;
18211
- fi({ ...da, pageData: ref(ii) });
18211
+ fi({ ...ca, pageData: ref(ii) });
18212
18212
  } else
18213
- fi(da);
18213
+ fi(ca);
18214
18214
  else
18215
- message$1.error(Xi.message), Za && Za(da);
18215
+ message$1.error(Xi.message), Za && Za(ca);
18216
18216
  }).catch(() => {
18217
- Za && Za(da);
18217
+ Za && Za(ca);
18218
18218
  });
18219
18219
  }), Br];
18220
18220
  }
@@ -18261,7 +18261,7 @@ function usePromiseStep(r) {
18261
18261
  return createPromise((pr, Er) => {
18262
18262
  const Br = cacheButton.value;
18263
18263
  if (Br.isExistFrozenSource || !1) {
18264
- const da = Br.isExistFrozenSourceParams || (() => ({})), Ia = Br.isExistFrozenSourceUrl || "/supplier/supplierMaster/isExistFrozenSource", fi = da(Rr.pageData.value);
18264
+ const ca = Br.isExistFrozenSourceParams || (() => ({})), Ia = Br.isExistFrozenSourceUrl || "/supplier/supplierMaster/isExistFrozenSource", fi = ca(Rr.pageData.value);
18265
18265
  o.post({ url: Ia, data: fi }).then((Za) => {
18266
18266
  Za.success ? pr(Rr) : (Er && Er(Rr), message$1.error(Za.message));
18267
18267
  }).catch(() => {
@@ -18273,8 +18273,8 @@ function usePromiseStep(r) {
18273
18273
  }
18274
18274
  function Bn(Rr) {
18275
18275
  return createPromise((pr, Er) => {
18276
- var $r, da;
18277
- const Br = (da = ($r = cacheButton.value) == null ? void 0 : $r.checkBefore) != null ? da : !0;
18276
+ var $r, ca;
18277
+ const Br = (ca = ($r = cacheButton.value) == null ? void 0 : $r.checkBefore) != null ? ca : !0;
18278
18278
  if (Br && Rr.pageData.value.publishAudit === "1") {
18279
18279
  message$1.warning(n("i18n_title_submitForApprovalTips", "\u4E0D\u53EF\u76F4\u63A5\u53D1\u5E03\uFF0C\u8BF7\u63D0\u4EA4\u5BA1\u6279")), Er && Er(Rr);
18280
18280
  return;
@@ -18296,8 +18296,8 @@ function usePromiseStep(r) {
18296
18296
  }
18297
18297
  function $n(Rr) {
18298
18298
  return createPromise((pr, Er) => {
18299
- var $r, da;
18300
- const Br = (da = ($r = cacheButton.value) == null ? void 0 : $r.checkBefore) != null ? da : !0;
18299
+ var $r, ca;
18300
+ const Br = (ca = ($r = cacheButton.value) == null ? void 0 : $r.checkBefore) != null ? ca : !0;
18301
18301
  if (Br && Rr.pageData.value.publishAudit === "0") {
18302
18302
  message$1.warning(n("i18n_alert_STDJUzVhxtk_80625e18", "\u65E0\u9700\u63D0\u4EA4\u5BA1\u6279, \u8BF7\u53D1\u5E03\u64CD\u4F5C")), Er && Er(Rr);
18303
18303
  return;
@@ -18329,8 +18329,8 @@ function usePromiseStep(r) {
18329
18329
  }
18330
18330
  function zn(Rr) {
18331
18331
  return createPromise((pr, Er) => {
18332
- var $r, da;
18333
- const Br = (da = ($r = cacheButton.value) == null ? void 0 : $r.confirm) != null ? da : {
18332
+ var $r, ca;
18333
+ const Br = (ca = ($r = cacheButton.value) == null ? void 0 : $r.confirm) != null ? ca : {
18334
18334
  title: n("i18n_title_release", "\u53D1\u5E03"),
18335
18335
  content: n("i18n_title_isConfirmPublishing", "\u662F\u5426\u786E\u8BA4\u53D1\u5E03\uFF1F")
18336
18336
  };
@@ -18348,8 +18348,8 @@ function usePromiseStep(r) {
18348
18348
  }
18349
18349
  function Gn(Rr) {
18350
18350
  return createPromise((pr, Er) => {
18351
- var $r, da;
18352
- const Br = (da = ($r = cacheButton.value) == null ? void 0 : $r.confirm) != null ? da : {
18351
+ var $r, ca;
18352
+ const Br = (ca = ($r = cacheButton.value) == null ? void 0 : $r.confirm) != null ? ca : {
18353
18353
  title: n("i18n_title_submitApproval", "\u63D0\u4EA4\u5BA1\u6279"),
18354
18354
  content: n("i18n_title_confirmApproveTips", "\u662F\u5426\u786E\u8BA4\u63D0\u4EA4\u5BA1\u6279?")
18355
18355
  };
@@ -18367,8 +18367,8 @@ function usePromiseStep(r) {
18367
18367
  }
18368
18368
  function Dn(Rr) {
18369
18369
  return createPromise((pr, Er) => {
18370
- var $r, da;
18371
- const Br = (da = ($r = cacheButton.value) == null ? void 0 : $r.confirm) != null ? da : {
18370
+ var $r, ca;
18371
+ const Br = (ca = ($r = cacheButton.value) == null ? void 0 : $r.confirm) != null ? ca : {
18372
18372
  title: n("i18n_title_tip", "\u63D0\u793A"),
18373
18373
  content: n("i18n_title_isSure", "\u662F\u5426\u786E\u8BA4")
18374
18374
  };
@@ -18386,8 +18386,8 @@ function usePromiseStep(r) {
18386
18386
  }
18387
18387
  function In(Rr) {
18388
18388
  return createPromise((pr, Er) => {
18389
- var $r, da;
18390
- const Br = (da = ($r = cacheButton.value) == null ? void 0 : $r.confirm) != null ? da : {
18389
+ var $r, ca;
18390
+ const Br = (ca = ($r = cacheButton.value) == null ? void 0 : $r.confirm) != null ? ca : {
18391
18391
  title: n("i18n_title_tip", "\u63D0\u793A"),
18392
18392
  content: n("i18n_title_isRefer", "\u662F\u5426\u62D2\u7EDD")
18393
18393
  };
@@ -18405,8 +18405,8 @@ function usePromiseStep(r) {
18405
18405
  }
18406
18406
  function Pe(Rr) {
18407
18407
  return createPromise((pr, Er) => {
18408
- var da;
18409
- const Br = b == null ? void 0 : b.find((Ia) => Ia.key === SYMBOL_REJECT), $r = (da = Br == null ? void 0 : Br.confirm) != null ? da : {
18408
+ var ca;
18409
+ const Br = b == null ? void 0 : b.find((Ia) => Ia.key === SYMBOL_REJECT), $r = (ca = Br == null ? void 0 : Br.confirm) != null ? ca : {
18410
18410
  title: n("i18n_title_confirmRevokeApproval", "\u786E\u8BA4\u64A4\u9500\u5BA1\u6279"),
18411
18411
  content: n("i18n_title_confirmRevokeApprovalTips", "\u662F\u5426\u786E\u8BA4\u64A4\u9500\u5BA1\u6279?")
18412
18412
  };
@@ -18893,7 +18893,7 @@ const pageLayout = "", { remove: remove$1, uniqueId: uniqueId$1, download, clone
18893
18893
  Ln();
18894
18894
  }, $r = () => {
18895
18895
  nr();
18896
- }, da = () => {
18896
+ }, ca = () => {
18897
18897
  Qr();
18898
18898
  }, Ia = () => {
18899
18899
  dr();
@@ -18965,9 +18965,9 @@ const pageLayout = "", { remove: remove$1, uniqueId: uniqueId$1, download, clone
18965
18965
  n.emit("back", Ka);
18966
18966
  };
18967
18967
  return onMounted(() => {
18968
- n.emit("setInstance", s == null ? void 0 : s.exposed), emitter.on(`${G.value}_${SYMBOL_CUSTOM_CLICK}`, Wc), emitter.on(`${G.value}_${SYMBOL_CUSTOM_BINDFUNCTION}`, au), emitter.on(`${G.value}_${SYMBOL_CUSTOM_VXE_BINDFUNCTION}`, jc), emitter.on(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, Ol), emitter.on(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLEAR}`, Yc), emitter.on(`${G.value}_${SYMBOL_VALIDATE_SUCCESS}`, Vu), emitter.on(`${G.value}_${SYMBOL_BINDFUNCTION}`, ea), emitter.on(`${G.value}_${SYMBOL_VXE_BINDFUNCTION}`, Qa), emitter.on(`${G.value}_${SYMBOL_ADD_ONE_ROW}`, ei), emitter.on(`${G.value}_${SYMBOL_DELETE_ROWS}`, ri), emitter.on(`${G.value}_${SYMBOL_FILL}`, Rr), emitter.on(`${G.value}_${SYMBOL_SAVE}`, Er), emitter.on(`${G.value}_${SYMBOL_PUBLISH}`, Br), emitter.on(`${G.value}_${SYMBOL_SUBMIT}`, $r), emitter.on(`${G.value}_${SYMBOL_CANCEL_AUDIT}`, da), emitter.on(`${G.value}_${SYMBOL_CONFIRM}`, Ia), emitter.on(`${G.value}_${SYMBOL_REJECT}`, fi), emitter.on(`${G.value}_${SYMBOL_CACHE_BUTTON}`, zn), emitter.on(`${G.value}_${SYMBOL_CACHE_PAGEDATA}`, Gn), emitter.on(`${G.value}_${SYMBOL_CACHE_REFRESH}`, In), emitter.on(`${G.value}_${SYMBOL_CACHE_SHOW_MESSAGE}`, Dn), emitter.on(`${G.value}_${SYMBOL_VALIDATE}`, Pe), emitter.on(`${G.value}_${SYMBOL_VALIDATE_RESULT}`, tr), emitter.on(`${G.value}_${SYMBOL_LINK_CLICK}`, Za), emitter.on(`${G.value}_${SYMBOL_DOWNLOAD_ALL}`, Kr), emitter.on(`${G.value}_${SYMBOL_REMOVE_ALL}`, pr), emitter.on(`${G.value}_${SYMBOL_VXE_KEYDOWN}`, ks), emitter.on(`${G.value}_${SYMBOL_VXE_HEADER_CELL_CLICK}`, Xi), emitter.on(`${G.value}_${SYMBOL_VXE_HEADER_CELL_DBLCLICK}`, ii), emitter.on(`${G.value}_${SYMBOL_VXE_HEADER_CELL_MENU}`, Ri), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_CLICK}`, Bs), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_DBLCLICK}`, pl), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_MENU}`, Ms), emitter.on(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_CLICK}`, Ks), emitter.on(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_DBLCLICK}`, Bl), emitter.on(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_MENU}`, Gi), emitter.on(`${G.value}_${SYMBOL_VXE_RADIO_CHANGE}`, ci), emitter.on(`${G.value}_${SYMBOL_VXE_CHECKBOX_CHANGE}`, ji), emitter.on(`${G.value}_${SYMBOL_VXE_CHECKBOX_ALL}`, qs), emitter.on(`${G.value}_${SYMBOL_VXE_SCROLL}`, ru), emitter.on(`${G.value}_${SYMBOL_VXE_ZOOM}`, Os), emitter.on(`${G.value}_${SYMBOL_VXE_CUSTOM}`, ic), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_AREA_COPY}`, Es), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_AREA_CUT}`, Du), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_AREA_PASTE}`, gc), emitter.on(`${G.value}_${SYMBOL_REFRESH}`, Fl), emitter.on(`${G.value}_${SYMBOL_BACK}`, bs);
18968
+ n.emit("setInstance", s == null ? void 0 : s.exposed), emitter.on(`${G.value}_${SYMBOL_CUSTOM_CLICK}`, Wc), emitter.on(`${G.value}_${SYMBOL_CUSTOM_BINDFUNCTION}`, au), emitter.on(`${G.value}_${SYMBOL_CUSTOM_VXE_BINDFUNCTION}`, jc), emitter.on(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, Ol), emitter.on(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLEAR}`, Yc), emitter.on(`${G.value}_${SYMBOL_VALIDATE_SUCCESS}`, Vu), emitter.on(`${G.value}_${SYMBOL_BINDFUNCTION}`, ea), emitter.on(`${G.value}_${SYMBOL_VXE_BINDFUNCTION}`, Qa), emitter.on(`${G.value}_${SYMBOL_ADD_ONE_ROW}`, ei), emitter.on(`${G.value}_${SYMBOL_DELETE_ROWS}`, ri), emitter.on(`${G.value}_${SYMBOL_FILL}`, Rr), emitter.on(`${G.value}_${SYMBOL_SAVE}`, Er), emitter.on(`${G.value}_${SYMBOL_PUBLISH}`, Br), emitter.on(`${G.value}_${SYMBOL_SUBMIT}`, $r), emitter.on(`${G.value}_${SYMBOL_CANCEL_AUDIT}`, ca), emitter.on(`${G.value}_${SYMBOL_CONFIRM}`, Ia), emitter.on(`${G.value}_${SYMBOL_REJECT}`, fi), emitter.on(`${G.value}_${SYMBOL_CACHE_BUTTON}`, zn), emitter.on(`${G.value}_${SYMBOL_CACHE_PAGEDATA}`, Gn), emitter.on(`${G.value}_${SYMBOL_CACHE_REFRESH}`, In), emitter.on(`${G.value}_${SYMBOL_CACHE_SHOW_MESSAGE}`, Dn), emitter.on(`${G.value}_${SYMBOL_VALIDATE}`, Pe), emitter.on(`${G.value}_${SYMBOL_VALIDATE_RESULT}`, tr), emitter.on(`${G.value}_${SYMBOL_LINK_CLICK}`, Za), emitter.on(`${G.value}_${SYMBOL_DOWNLOAD_ALL}`, Kr), emitter.on(`${G.value}_${SYMBOL_REMOVE_ALL}`, pr), emitter.on(`${G.value}_${SYMBOL_VXE_KEYDOWN}`, ks), emitter.on(`${G.value}_${SYMBOL_VXE_HEADER_CELL_CLICK}`, Xi), emitter.on(`${G.value}_${SYMBOL_VXE_HEADER_CELL_DBLCLICK}`, ii), emitter.on(`${G.value}_${SYMBOL_VXE_HEADER_CELL_MENU}`, Ri), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_CLICK}`, Bs), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_DBLCLICK}`, pl), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_MENU}`, Ms), emitter.on(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_CLICK}`, Ks), emitter.on(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_DBLCLICK}`, Bl), emitter.on(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_MENU}`, Gi), emitter.on(`${G.value}_${SYMBOL_VXE_RADIO_CHANGE}`, ci), emitter.on(`${G.value}_${SYMBOL_VXE_CHECKBOX_CHANGE}`, ji), emitter.on(`${G.value}_${SYMBOL_VXE_CHECKBOX_ALL}`, qs), emitter.on(`${G.value}_${SYMBOL_VXE_SCROLL}`, ru), emitter.on(`${G.value}_${SYMBOL_VXE_ZOOM}`, Os), emitter.on(`${G.value}_${SYMBOL_VXE_CUSTOM}`, ic), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_AREA_COPY}`, Es), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_AREA_CUT}`, Du), emitter.on(`${G.value}_${SYMBOL_VXE_CELL_AREA_PASTE}`, gc), emitter.on(`${G.value}_${SYMBOL_REFRESH}`, Fl), emitter.on(`${G.value}_${SYMBOL_BACK}`, bs);
18969
18969
  }), onUnmounted(() => {
18970
- emitter.off(`${G.value}_${SYMBOL_CUSTOM_CLICK}`, Wc), emitter.off(`${G.value}_${SYMBOL_CUSTOM_BINDFUNCTION}`, au), emitter.off(`${G.value}_${SYMBOL_CUSTOM_VXE_BINDFUNCTION}`, jc), emitter.off(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, Ol), emitter.off(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLEAR}`, Yc), emitter.off(`${G.value}_${SYMBOL_VALIDATE_SUCCESS}`, Vu), emitter.off(`${G.value}_${SYMBOL_BINDFUNCTION}`, ea), emitter.off(`${G.value}_${SYMBOL_VXE_BINDFUNCTION}`, Qa), emitter.off(`${G.value}_${SYMBOL_ADD_ONE_ROW}`, ei), emitter.off(`${G.value}_${SYMBOL_DELETE_ROWS}`, ri), emitter.off(`${G.value}_${SYMBOL_FILL}`, Rr), emitter.off(`${G.value}_${SYMBOL_SAVE}`, Er), emitter.off(`${G.value}_${SYMBOL_PUBLISH}`, Br), emitter.off(`${G.value}_${SYMBOL_SUBMIT}`, $r), emitter.off(`${G.value}_${SYMBOL_CANCEL_AUDIT}`, da), emitter.off(`${G.value}_${SYMBOL_CONFIRM}`, Ia), emitter.off(`${G.value}_${SYMBOL_REJECT}`, fi), emitter.off(`${G.value}_${SYMBOL_CACHE_BUTTON}`, zn), emitter.off(`${G.value}_${SYMBOL_CACHE_PAGEDATA}`, Gn), emitter.off(`${G.value}_${SYMBOL_CACHE_REFRESH}`, In), emitter.off(`${G.value}_${SYMBOL_CACHE_SHOW_MESSAGE}`, Dn), emitter.off(`${G.value}_${SYMBOL_VALIDATE}`, Pe), emitter.off(`${G.value}_${SYMBOL_VALIDATE_RESULT}`, tr), emitter.off(`${G.value}_${SYMBOL_LINK_CLICK}`, Za), emitter.off(`${G.value}_${SYMBOL_DOWNLOAD_ALL}`, Kr), emitter.off(`${G.value}_${SYMBOL_REMOVE_ALL}`, pr), emitter.off(`${G.value}_${SYMBOL_VXE_KEYDOWN}`, ks), emitter.off(`${G.value}_${SYMBOL_VXE_HEADER_CELL_CLICK}`, Xi), emitter.off(`${G.value}_${SYMBOL_VXE_HEADER_CELL_DBLCLICK}`, ii), emitter.off(`${G.value}_${SYMBOL_VXE_HEADER_CELL_MENU}`, Ri), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_CLICK}`, Bs), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_DBLCLICK}`, pl), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_MENU}`, Ms), emitter.off(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_CLICK}`, Ks), emitter.off(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_DBLCLICK}`, Bl), emitter.off(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_MENU}`, Gi), emitter.off(`${G.value}_${SYMBOL_VXE_RADIO_CHANGE}`, ci), emitter.off(`${G.value}_${SYMBOL_VXE_CHECKBOX_CHANGE}`, ji), emitter.off(`${G.value}_${SYMBOL_VXE_CHECKBOX_ALL}`, qs), emitter.off(`${G.value}_${SYMBOL_VXE_SCROLL}`, ru), emitter.off(`${G.value}_${SYMBOL_VXE_ZOOM}`, Os), emitter.off(`${G.value}_${SYMBOL_VXE_CUSTOM}`, ic), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_AREA_COPY}`, Es), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_AREA_CUT}`, Du), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_AREA_PASTE}`, gc), emitter.off(`${G.value}_${SYMBOL_REFRESH}`, Fl), emitter.off(`${G.value}_${SYMBOL_BACK}`, bs);
18970
+ emitter.off(`${G.value}_${SYMBOL_CUSTOM_CLICK}`, Wc), emitter.off(`${G.value}_${SYMBOL_CUSTOM_BINDFUNCTION}`, au), emitter.off(`${G.value}_${SYMBOL_CUSTOM_VXE_BINDFUNCTION}`, jc), emitter.off(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK}`, Ol), emitter.off(`${G.value}_${SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLEAR}`, Yc), emitter.off(`${G.value}_${SYMBOL_VALIDATE_SUCCESS}`, Vu), emitter.off(`${G.value}_${SYMBOL_BINDFUNCTION}`, ea), emitter.off(`${G.value}_${SYMBOL_VXE_BINDFUNCTION}`, Qa), emitter.off(`${G.value}_${SYMBOL_ADD_ONE_ROW}`, ei), emitter.off(`${G.value}_${SYMBOL_DELETE_ROWS}`, ri), emitter.off(`${G.value}_${SYMBOL_FILL}`, Rr), emitter.off(`${G.value}_${SYMBOL_SAVE}`, Er), emitter.off(`${G.value}_${SYMBOL_PUBLISH}`, Br), emitter.off(`${G.value}_${SYMBOL_SUBMIT}`, $r), emitter.off(`${G.value}_${SYMBOL_CANCEL_AUDIT}`, ca), emitter.off(`${G.value}_${SYMBOL_CONFIRM}`, Ia), emitter.off(`${G.value}_${SYMBOL_REJECT}`, fi), emitter.off(`${G.value}_${SYMBOL_CACHE_BUTTON}`, zn), emitter.off(`${G.value}_${SYMBOL_CACHE_PAGEDATA}`, Gn), emitter.off(`${G.value}_${SYMBOL_CACHE_REFRESH}`, In), emitter.off(`${G.value}_${SYMBOL_CACHE_SHOW_MESSAGE}`, Dn), emitter.off(`${G.value}_${SYMBOL_VALIDATE}`, Pe), emitter.off(`${G.value}_${SYMBOL_VALIDATE_RESULT}`, tr), emitter.off(`${G.value}_${SYMBOL_LINK_CLICK}`, Za), emitter.off(`${G.value}_${SYMBOL_DOWNLOAD_ALL}`, Kr), emitter.off(`${G.value}_${SYMBOL_REMOVE_ALL}`, pr), emitter.off(`${G.value}_${SYMBOL_VXE_KEYDOWN}`, ks), emitter.off(`${G.value}_${SYMBOL_VXE_HEADER_CELL_CLICK}`, Xi), emitter.off(`${G.value}_${SYMBOL_VXE_HEADER_CELL_DBLCLICK}`, ii), emitter.off(`${G.value}_${SYMBOL_VXE_HEADER_CELL_MENU}`, Ri), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_CLICK}`, Bs), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_DBLCLICK}`, pl), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_MENU}`, Ms), emitter.off(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_CLICK}`, Ks), emitter.off(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_DBLCLICK}`, Bl), emitter.off(`${G.value}_${SYMBOL_VXE_FOOTER_CELL_MENU}`, Gi), emitter.off(`${G.value}_${SYMBOL_VXE_RADIO_CHANGE}`, ci), emitter.off(`${G.value}_${SYMBOL_VXE_CHECKBOX_CHANGE}`, ji), emitter.off(`${G.value}_${SYMBOL_VXE_CHECKBOX_ALL}`, qs), emitter.off(`${G.value}_${SYMBOL_VXE_SCROLL}`, ru), emitter.off(`${G.value}_${SYMBOL_VXE_ZOOM}`, Os), emitter.off(`${G.value}_${SYMBOL_VXE_CUSTOM}`, ic), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_AREA_COPY}`, Es), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_AREA_CUT}`, Du), emitter.off(`${G.value}_${SYMBOL_VXE_CELL_AREA_PASTE}`, gc), emitter.off(`${G.value}_${SYMBOL_REFRESH}`, Fl), emitter.off(`${G.value}_${SYMBOL_BACK}`, bs);
18971
18971
  }), {
18972
18972
  classes: l,
18973
18973
  defaultValues: b,
@@ -20490,7 +20490,7 @@ var tinymce$2 = { exports: {} };
20490
20490
  g(re, $) && w.push(re);
20491
20491
  }
20492
20492
  return w;
20493
- }, da = (d, g, w) => (Er(d, ($, Q) => {
20493
+ }, ca = (d, g, w) => (Er(d, ($, Q) => {
20494
20494
  w = g(w, $, Q);
20495
20495
  }), w), Ia = (d, g, w) => (pr(d, ($, Q) => {
20496
20496
  w = g(w, $, Q);
@@ -21154,7 +21154,7 @@ var tinymce$2 = { exports: {} };
21154
21154
  }, jl = (d, g) => {
21155
21155
  const w = d.dom, Q = window.getComputedStyle(w).getPropertyValue(g);
21156
21156
  return Q === "" && !Gs(d) ? gl(w, g) : Q;
21157
- }, gl = (d, g) => ml(d) ? d.style.getPropertyValue(g) : "", ca = (d, g) => {
21157
+ }, gl = (d, g) => ml(d) ? d.style.getPropertyValue(g) : "", da = (d, g) => {
21158
21158
  const w = d.dom, $ = gl(w, g);
21159
21159
  return Kn.from($).filter((Q) => Q.length > 0);
21160
21160
  }, hu = (d) => {
@@ -22659,7 +22659,7 @@ var tinymce$2 = { exports: {} };
22659
22659
  us(wa, (xa) => bc(kr.fromDom(xa), "display", "none"));
22660
22660
  }, em = (wa) => {
22661
22661
  const xa = Lr(wa);
22662
- return Dn(xa) && Kc(ca(xa, "display"), "none");
22662
+ return Dn(xa) && Kc(da(xa, "display"), "none");
22663
22663
  }, RS = (wa) => (wa || "mce_") + re++, US = (wa) => {
22664
22664
  const xa = Lr(wa);
22665
22665
  return Dn(xa) ? Qi(xa.dom) ? xa.dom.outerHTML : ep(xa) : "";
@@ -25636,7 +25636,7 @@ Required: ` + g.join(", "));
25636
25636
  owner: (d) => ma(d)
25637
25637
  });
25638
25638
  const An = (d) => {
25639
- const g = L5(), w = Zf(g), $ = KO(d, xe), Q = r0(d), re = da($, (ge, Ie) => {
25639
+ const g = L5(), w = Zf(g), $ = KO(d, xe), Q = r0(d), re = ca($, (ge, Ie) => {
25640
25640
  const Sn = r0(Ie);
25641
25641
  return {
25642
25642
  left: ge.left + Sn.left,
@@ -27207,7 +27207,7 @@ Required: ` + g.join(", "));
27207
27207
  ge && re.isEmpty(ge) ? ($ = w.parentNode) === null || $ === void 0 || $.replaceChild(g, w) : (R1(kr.fromDom(w)), re.isEmpty(w) ? (Q = w.parentNode) === null || Q === void 0 || Q.replaceChild(g, w) : re.insertAfter(g, w));
27208
27208
  }, iT = (d, g) => (d.appendChild(g), g), Bw = (d, g) => {
27209
27209
  var w;
27210
- const $ = da(d, (re, ge) => iT(re, ge.cloneNode(!1)), g), Q = (w = $.ownerDocument) !== null && w !== void 0 ? w : document;
27210
+ const $ = ca(d, (re, ge) => iT(re, ge.cloneNode(!1)), g), Q = (w = $.ownerDocument) !== null && w !== void 0 ? w : document;
27211
27211
  return iT($, Q.createTextNode(sy));
27212
27212
  }, Z6 = (d, g, w, $, Q, re) => {
27213
27213
  const ge = d.formatter, Ie = d.dom, Sn = $r(Os(ge.get()), (jn) => jn !== $ && !tl(jn, "removeformat")), Qn = Q6(d, w, Sn);
@@ -31645,7 +31645,7 @@ Options:${ge}${w.join(ge)}` : "";
31645
31645
  }, RM = (d, g, w) => {
31646
31646
  if (md(w)) {
31647
31647
  if (md(g)) {
31648
- const re = da(((ge) => {
31648
+ const re = ca(((ge) => {
31649
31649
  const Ie = (Sn, Qn) => Li(Sn).fold(() => Qn, (Jn) => nv(Jn) ? Ie(Jn, Qn.concat(Fp(Jn))) : Qn);
31650
31650
  return Ie(ge, []);
31651
31651
  })(w), (ge, Ie) => (Wf(ge, Ie), Ie), Tn());
@@ -32192,7 +32192,7 @@ Options:${ge}${w.join(ge)}` : "";
32192
32192
  d.setStyle(re, ge, Sn);
32193
32193
  }
32194
32194
  }, br = (d, g) => Ri(g, (w) => {
32195
- const $ = hr(w2(d), w), Q = ca(w, $).map(Ar).getOr(0);
32195
+ const $ = hr(w2(d), w), Q = da(w, $).map(Ar).getOr(0);
32196
32196
  return d.dom.getContentEditable(w.dom) !== "false" && Q > 0;
32197
32197
  }), cr = (d) => {
32198
32198
  const g = Ur(d);
@@ -35052,14 +35052,14 @@ Input object: ` + VP(d.input), i7 = (d, g) => lV(d, Du(g, HP)), xV = dr(vV), N8
35052
35052
  }, Qn = eN(re, Sn);
35053
35053
  R9(d, g, Qn);
35054
35054
  }, rW = (d, g) => {
35055
- const w = mm("mce_textpattern"), $ = da(g, (Q, re) => {
35055
+ const w = mm("mce_textpattern"), $ = ca(g, (Q, re) => {
35056
35056
  const ge = I9(d, w + `_end${Q.length}`, re.endRng);
35057
35057
  return Q.concat([{
35058
35058
  ...re,
35059
35059
  endMarker: ge
35060
35060
  }]);
35061
35061
  }, []);
35062
- return da($, (Q, re) => {
35062
+ return ca($, (Q, re) => {
35063
35063
  const ge = $.length - Q.length - 1, Ie = pR(re.pattern) ? re.endMarker : I9(d, w + `_start${ge}`, re.startRng);
35064
35064
  return Q.concat([{
35065
35065
  ...re,
@@ -35894,7 +35894,7 @@ Input object: ` + VP(d.input), i7 = (d, g) => lV(d, Du(g, HP)), xV = dr(vV), N8
35894
35894
  "font-size": "size",
35895
35895
  "font-family": "face"
35896
35896
  }, OY = wc("font"), xY = (d, g, w) => {
35897
- const $ = (re) => ca(re, d).orThunk(() => OY(re) ? Fl(BY, d).bind((ge) => Ff(re, ge)) : Kn.none()), Q = (re) => jr(kr.fromDom(g), re);
35897
+ const $ = (re) => da(re, d).orThunk(() => OY(re) ? Fl(BY, d).bind((ge) => Ff(re, ge)) : Kn.none()), Q = (re) => jr(kr.fromDom(g), re);
35898
35898
  return JE(kr.fromDom(w), (re) => $(re), Q);
35899
35899
  }, TY = (d) => d.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ","), FY = (d, g) => Kn.from(Mu.DOM.getStyle(g, d, !0)), tU = (d) => (g, w) => Kn.from(w).map(kr.fromDom).filter(xu).bind(($) => xY(d, g, $.dom).or(FY(d, $.dom))).getOr(""), DY = tU("font-size"), kY = Ln(TY, tU("font-family")), $Y = (d) => Qd(d.getBody()).bind((g) => {
35900
35900
  const w = g.container();
@@ -35921,7 +35921,7 @@ Input object: ` + VP(d.input), i7 = (d, g) => lV(d, Du(g, HP)), xV = dr(vV), N8
35921
35921
  }, PY = (d) => _R(d, (g) => kY(d.getBody(), g.dom)).getOr(""), RY = (d, g) => {
35922
35922
  d.formatter.toggle("fontsize", { value: nU(d, g) }), d.nodeChanged();
35923
35923
  }, UY = (d) => _R(d, (g) => DY(d.getBody(), g.dom)).getOr(""), VY = (d) => _R(d, (g) => {
35924
- const w = kr.fromDom(d.getBody()), $ = JE(g, (re) => ca(re, "line-height"), lr(jr, w)), Q = () => {
35924
+ const w = kr.fromDom(d.getBody()), $ = JE(g, (re) => da(re, "line-height"), lr(jr, w)), Q = () => {
35925
35925
  const re = parseFloat(jl(g, "line-height")), ge = parseFloat(jl(g, "font-size"));
35926
35926
  return String(re / ge);
35927
35927
  };
@@ -37433,7 +37433,7 @@ const tinymce$1 = tinymce$2.exports;
37433
37433
  return An;
37434
37434
  }
37435
37435
  return In.none();
37436
- }, $r = Object.keys, da = Object.hasOwnProperty, Ia = (W, ue) => {
37436
+ }, $r = Object.keys, ca = Object.hasOwnProperty, Ia = (W, ue) => {
37437
37437
  const xe = $r(W);
37438
37438
  for (let An = 0, Pn = xe.length; An < Pn; An++) {
37439
37439
  const Wn = xe[An], or = W[Wn];
@@ -37462,9 +37462,9 @@ const tinymce$1 = tinymce$2.exports;
37462
37462
  return Ia(W, (An, Pn) => {
37463
37463
  xe.push(ue(An, Pn));
37464
37464
  }), xe;
37465
- }, Bs = (W) => Ri(W, Be), pl = (W, ue) => Ms(W, ue) ? In.from(W[ue]) : In.none(), Ms = (W, ue) => da.call(W, ue), Ks = (W, ue) => Ms(W, ue) && W[ue] !== void 0 && W[ue] !== null, Bl = (W) => {
37465
+ }, Bs = (W) => Ri(W, Be), pl = (W, ue) => Ms(W, ue) ? In.from(W[ue]) : In.none(), Ms = (W, ue) => ca.call(W, ue), Ks = (W, ue) => Ms(W, ue) && W[ue] !== void 0 && W[ue] !== null, Bl = (W) => {
37466
37466
  for (const ue in W)
37467
- if (da.call(W, ue))
37467
+ if (ca.call(W, ue))
37468
37468
  return !1;
37469
37469
  return !0;
37470
37470
  }, Gi = typeof window < "u" ? window : Function("return this;")(), ci = (W, ue) => {
@@ -38076,7 +38076,7 @@ const tinymce$1 = tinymce$2.exports;
38076
38076
  }, bc = (W, ue) => li(W.element, ue, W.section, W.isNew), nc = (W, ue) => {
38077
38077
  const xe = W.cells, An = Qr(xe, ue);
38078
38078
  return li(W.element, An, W.section, W.isNew);
38079
- }, jl = (W, ue) => W.cells[ue], gl = (W, ue) => jl(W, ue).element, ca = (W) => W.cells.length, hu = (W) => {
38079
+ }, jl = (W, ue) => W.cells[ue], gl = (W, ue) => jl(W, ue).element, da = (W) => W.cells.length, hu = (W) => {
38080
38080
  const ue = yr(W, (xe) => xe.section === "colgroup");
38081
38081
  return {
38082
38082
  rows: ue.fail,
@@ -39191,7 +39191,7 @@ const tinymce$1 = tinymce$2.exports;
39191
39191
  const Pn = hu(W).rows;
39192
39192
  let Wn = !0;
39193
39193
  for (let or = 0; or < Pn.length; or++)
39194
- for (let mr = 0; mr < ca(Pn[0]); mr++) {
39194
+ for (let mr = 0; mr < da(Pn[0]); mr++) {
39195
39195
  const wr = Pn[or], qr = jl(wr, mr), pa = qr.element, ti = xe(pa, ue);
39196
39196
  ti && !Wn ? Ml(wr, mr, Ba(An(), !0, qr.isLocked)) : ti && (Wn = !1);
39197
39197
  }
@@ -39209,7 +39209,7 @@ const tinymce$1 = tinymce$2.exports;
39209
39209
  lr(or, (mr) => {
39210
39210
  let wr = In.none();
39211
39211
  for (let qr = ue; qr < Pn.length; qr++)
39212
- for (let pa = 0; pa < ca(Pn[0]); pa++) {
39212
+ for (let pa = 0; pa < da(Pn[0]); pa++) {
39213
39213
  const ti = Pn[qr], Di = jl(ti, pa);
39214
39214
  xe(Di.element, mr.element) && (wr.isNone() && (wr = In.some(An())), wr.each((za) => {
39215
39215
  Ml(ti, pa, Ba(za, !0, Di.isLocked));
@@ -39267,15 +39267,15 @@ const tinymce$1 = tinymce$2.exports;
39267
39267
  error: jy,
39268
39268
  fromOption: (W, ue) => W.fold(() => jy(ue), o2)
39269
39269
  }, l3 = (W, ue, xe) => {
39270
- if (W.row >= ue.length || W.column > ca(ue[0]))
39270
+ if (W.row >= ue.length || W.column > da(ue[0]))
39271
39271
  return S0.error("invalid start address out of table bounds, row: " + W.row + ", column: " + W.column);
39272
- const An = ue.slice(W.row), Pn = An[0].cells.slice(W.column), Wn = ca(xe[0]), or = xe.length;
39272
+ const An = ue.slice(W.row), Pn = An[0].cells.slice(W.column), Wn = da(xe[0]), or = xe.length;
39273
39273
  return S0.value({
39274
39274
  rowDelta: An.length - or,
39275
39275
  colDelta: Pn.length - Wn
39276
39276
  });
39277
39277
  }, Jy = (W, ue) => {
39278
- const xe = ca(W[0]), An = ca(ue[0]);
39278
+ const xe = da(W[0]), An = da(ue[0]);
39279
39279
  return {
39280
39280
  rowDelta: 0,
39281
39281
  colDelta: xe - An
@@ -39302,13 +39302,13 @@ const tinymce$1 = tinymce$2.exports;
39302
39302
  const or = Dp(1, An, ue, Dn)[0];
39303
39303
  return Zu(Pn, Wn, or);
39304
39304
  }, An)), lg = (W, ue, xe) => {
39305
- const An = ue.colDelta < 0 ? sg : Be, Pn = ue.rowDelta < 0 ? w0 : Be, Wn = Zl(W), or = ca(W[0]), mr = dr(Wn, (pa) => pa === or - 1), wr = An(W, Math.abs(ue.colDelta), xe, mr ? or - 1 : or), qr = Zl(wr);
39305
+ const An = ue.colDelta < 0 ? sg : Be, Pn = ue.rowDelta < 0 ? w0 : Be, Wn = Zl(W), or = da(W[0]), mr = dr(Wn, (pa) => pa === or - 1), wr = An(W, Math.abs(ue.colDelta), xe, mr ? or - 1 : or), qr = Zl(wr);
39306
39306
  return Pn(wr, Math.abs(ue.rowDelta), xe, Yr(qr, Dn));
39307
39307
  }, r2 = (W, ue, xe, An) => {
39308
39308
  const Pn = jl(W[ue], xe), Wn = He(An, Pn.element), or = W[ue];
39309
- return W.length > 1 && ca(or) > 1 && (xe > 0 && Wn(gl(or, xe - 1)) || xe < or.cells.length - 1 && Wn(gl(or, xe + 1)) || ue > 0 && Wn(gl(W[ue - 1], xe)) || ue < W.length - 1 && Wn(gl(W[ue + 1], xe)));
39309
+ return W.length > 1 && da(or) > 1 && (xe > 0 && Wn(gl(or, xe - 1)) || xe < or.cells.length - 1 && Wn(gl(or, xe + 1)) || ue > 0 && Wn(gl(W[ue - 1], xe)) || ue < W.length - 1 && Wn(gl(W[ue + 1], xe)));
39310
39310
  }, pv = (W, ue, xe, An, Pn, Wn) => {
39311
- const or = W.row, mr = W.column, wr = xe.length, qr = ca(xe[0]), pa = or + wr, ti = mr + qr + Wn.length, Di = Yr(Wn, Dn);
39311
+ const or = W.row, mr = W.column, wr = xe.length, qr = da(xe[0]), pa = or + wr, ti = mr + qr + Wn.length, Di = Yr(Wn, Dn);
39312
39312
  for (let Ei = or; Ei < pa; Ei++) {
39313
39313
  let za = 0;
39314
39314
  for (let ki = mr; ki < ti; ki++) {
@@ -39323,12 +39323,12 @@ const tinymce$1 = tinymce$2.exports;
39323
39323
  }
39324
39324
  return ue;
39325
39325
  }, B0 = (W, ue, xe) => {
39326
- const An = ca(ue[0]), Pn = hu(ue).cols.length + W.row, Wn = Zr(An - W.column, (mr) => mr + W.column), or = Kn(Wn, (mr) => ei(xe, (wr) => wr !== mr)).getOr(An - 1);
39326
+ const An = da(ue[0]), Pn = hu(ue).cols.length + W.row, Wn = Zr(An - W.column, (mr) => mr + W.column), or = Kn(Wn, (mr) => ei(xe, (wr) => wr !== mr)).getOr(An - 1);
39327
39327
  return {
39328
39328
  row: Pn,
39329
39329
  column: or
39330
39330
  };
39331
- }, c3 = (W, ue, xe) => Fr(xe, (An) => An >= W.column && An <= ca(ue[0]) + W.column), eC = (W, ue, xe, An, Pn) => {
39331
+ }, c3 = (W, ue, xe) => Fr(xe, (An) => An >= W.column && An <= da(ue[0]) + W.column), eC = (W, ue, xe, An, Pn) => {
39332
39332
  const Wn = Zl(ue), or = B0(W, ue, Wn), mr = hu(xe).rows, wr = c3(or, mr, Wn);
39333
39333
  return l3(or, ue, mr).map((pa) => {
39334
39334
  const ti = {
@@ -39374,7 +39374,7 @@ const tinymce$1 = tinymce$2.exports;
39374
39374
  } else
39375
39375
  return jl(W, ue);
39376
39376
  }, i2 = (W, ue, xe, An, Pn) => Qr(W, (Wn) => {
39377
- const or = ue > 0 && ue < ca(Wn) && An(gl(Wn, ue - 1), gl(Wn, ue)), mr = gm(Wn, ue, Wn.section, or, xe, An, Pn);
39377
+ const or = ue > 0 && ue < da(Wn) && An(gl(Wn, ue - 1), gl(Wn, ue)), mr = gm(Wn, ue, Wn.section, or, xe, An, Pn);
39378
39378
  return Zu(Wn, ue, mr);
39379
39379
  }), f3 = (W, ue) => Qa(W, (xe) => {
39380
39380
  const An = xe.cells, Pn = $a(ue, (Wn, or) => or >= 0 && or < Wn.length ? Wn.slice(0, or).concat(Wn.slice(or + 1)) : Wn, An);
@@ -41669,7 +41669,7 @@ Required: ` + ue.join(", "));
41669
41669
  }, pr = (S) => [S], Er = (S, I) => {
41670
41670
  const H = tr.call(S, 0);
41671
41671
  return H.sort(I), H;
41672
- }, Br = (S, I) => I >= 0 && I < S.length ? Pe.some(S[I]) : Pe.none(), $r = (S) => Br(S, 0), da = (S) => Br(S, S.length - 1), Ia = G(Array.from) ? Array.from : (S) => tr.call(S), fi = (S, I) => {
41672
+ }, Br = (S, I) => I >= 0 && I < S.length ? Pe.some(S[I]) : Pe.none(), $r = (S) => Br(S, 0), ca = (S) => Br(S, S.length - 1), Ia = G(Array.from) ? Array.from : (S) => tr.call(S), fi = (S, I) => {
41673
41673
  for (let H = 0; H < S.length; H++) {
41674
41674
  const X = I(S[H], H);
41675
41675
  if (X.isSome())
@@ -42172,7 +42172,7 @@ Required: ` + ue.join(", "));
42172
42172
  Input object: ` + jr(S.input), Al = (S, I) => Cl(S, ii(I, ta)), Tu = (S, I) => ((H, X) => {
42173
42173
  const Ae = ed(X);
42174
42174
  return { extract: (we, Ne) => Ae().extract(we, Ne), toString: () => Ae().toString() };
42175
- })(0, I), Gs = JA, Vn = (S, I) => ({ tag: "custom", newKey: S, instantiator: I }), qn = (S) => _l((I) => Zr(S, I) ? nl.value(I) : nl.error(`Unsupported value: "${I}", choose one of "${S.join(", ")}".`)), Zn = (S) => Gs(S, S, { tag: "required", process: {} }, ui()), Ir = (S, I) => Gs(S, S, { tag: "required", process: {} }, I), Xr = (S) => Ir(S, Li), Da = (S) => Ir(S, bi), gi = (S, I) => Gs(S, S, { tag: "required", process: {} }, qn(I)), Ti = (S) => Ir(S, Ws), Si = (S, I) => Gs(S, S, { tag: "required", process: {} }, ta(I)), Ii = (S, I) => Gs(S, S, { tag: "required", process: {} }, Ci(I)), es = (S, I) => Gs(S, S, { tag: "required", process: {} }, Va(I)), xi = (S) => Gs(S, S, { tag: "option", process: {} }, ui()), ml = (S, I) => Gs(S, S, { tag: "option", process: {} }, I), Zu = (S) => ml(S, Li), Ml = (S) => ml(S, bi), bc = (S, I) => ml(S, qn(I)), nc = (S) => ml(S, Ws), jl = (S, I) => ml(S, Va(I)), gl = (S, I) => ml(S, ta(I)), ca = (S, I) => Gs(S, S, Or(I), ui()), hu = (S, I, H) => Gs(S, S, Or(I), H), Od = (S, I) => hu(S, I, Li), Au = (S, I) => hu(S, I, bi), nu = (S, I, H) => hu(S, I, qn(H)), Zl = (S, I) => hu(S, I, ps), Wl = (S, I) => hu(S, I, Ws), ou = (S, I, H) => hu(S, I, Va(H)), Wf = (S, I, H) => hu(S, I, ta(H)), rs = (S) => {
42175
+ })(0, I), Gs = JA, Vn = (S, I) => ({ tag: "custom", newKey: S, instantiator: I }), qn = (S) => _l((I) => Zr(S, I) ? nl.value(I) : nl.error(`Unsupported value: "${I}", choose one of "${S.join(", ")}".`)), Zn = (S) => Gs(S, S, { tag: "required", process: {} }, ui()), Ir = (S, I) => Gs(S, S, { tag: "required", process: {} }, I), Xr = (S) => Ir(S, Li), Da = (S) => Ir(S, bi), gi = (S, I) => Gs(S, S, { tag: "required", process: {} }, qn(I)), Ti = (S) => Ir(S, Ws), Si = (S, I) => Gs(S, S, { tag: "required", process: {} }, ta(I)), Ii = (S, I) => Gs(S, S, { tag: "required", process: {} }, Ci(I)), es = (S, I) => Gs(S, S, { tag: "required", process: {} }, Va(I)), xi = (S) => Gs(S, S, { tag: "option", process: {} }, ui()), ml = (S, I) => Gs(S, S, { tag: "option", process: {} }, I), Zu = (S) => ml(S, Li), Ml = (S) => ml(S, bi), bc = (S, I) => ml(S, qn(I)), nc = (S) => ml(S, Ws), jl = (S, I) => ml(S, Va(I)), gl = (S, I) => ml(S, ta(I)), da = (S, I) => Gs(S, S, Or(I), ui()), hu = (S, I, H) => Gs(S, S, Or(I), H), Od = (S, I) => hu(S, I, Li), Au = (S, I) => hu(S, I, bi), nu = (S, I, H) => hu(S, I, qn(H)), Zl = (S, I) => hu(S, I, ps), Wl = (S, I) => hu(S, I, Ws), ou = (S, I, H) => hu(S, I, Va(H)), Wf = (S, I, H) => hu(S, I, ta(H)), rs = (S) => {
42176
42176
  let I = S;
42177
42177
  return { get: () => I, set: (H) => {
42178
42178
  I = H;
@@ -42370,7 +42370,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(yr(we, (Ne) => Ne.nam
42370
42370
  };
42371
42371
  })(Ae), Ne = H.length > 1 ? Jr(I[X], (ze) => Qr(H, (On) => On.name === ze)).join(" > ") : H[0].name;
42372
42372
  return dc(X, ((ze, On) => ({ handler: ze, purpose: On }))(we, Ne));
42373
- })), {}), vh = "alloy.base.behaviour", qm = ta([Gs("dom", "dom", { tag: "required", process: {} }, ta([Zn("tag"), ca("styles", {}), ca("classes", []), ca("attributes", {}), xi("value"), xi("innerHtml")])), Zn("components"), Zn("uid"), ca("events", {}), ca("apis", {}), Gs("eventOrder", "eventOrder", (d0 = { [lf()]: ["disabling", vh, "toggling", "typeaheadevents"], [Cp()]: [vh, "focusing", "keying"], [Xg()]: [vh, "disabling", "toggling", "representing"], [am()]: [vh, "representing", "streaming", "invalidating"], [AA()]: [vh, "representing", "item-events", "tooltipping"], [Dh()]: ["focusing", vh, "item-type-events"], [$A()]: ["focusing", vh, "item-type-events"], [kh()]: ["item-type-events", "tooltipping"], [sf()]: ["receiving", "reflecting", "tooltipping"] }, Mr(Be(d0))), ui()), xi("domModification")]), ov = (S) => S.events, fm = (S, I) => {
42373
+ })), {}), vh = "alloy.base.behaviour", qm = ta([Gs("dom", "dom", { tag: "required", process: {} }, ta([Zn("tag"), da("styles", {}), da("classes", []), da("attributes", {}), xi("value"), xi("innerHtml")])), Zn("components"), Zn("uid"), da("events", {}), da("apis", {}), Gs("eventOrder", "eventOrder", (d0 = { [lf()]: ["disabling", vh, "toggling", "typeaheadevents"], [Cp()]: [vh, "focusing", "keying"], [Xg()]: [vh, "disabling", "toggling", "representing"], [am()]: [vh, "representing", "streaming", "invalidating"], [AA()]: [vh, "representing", "item-events", "tooltipping"], [Dh()]: ["focusing", vh, "item-type-events"], [$A()]: ["focusing", vh, "item-type-events"], [kh()]: ["item-type-events", "tooltipping"], [sf()]: ["receiving", "reflecting", "tooltipping"] }, Mr(Be(d0))), ui()), xi("domModification")]), ov = (S) => S.events, fm = (S, I) => {
42374
42374
  const H = bu(S, I);
42375
42375
  return H === void 0 || H === "" ? [] : H.split(" ");
42376
42376
  }, rv = (S) => S.dom.classList !== void 0, Dy = (S) => fm(S, "class"), Hs = (S, I) => {
@@ -42455,7 +42455,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(yr(we, (Ne) => Ne.nam
42455
42455
  });
42456
42456
  })(S);
42457
42457
  return ((H, X) => ((Ae, we) => {
42458
- const Ne = yr(we, (On) => gl(On.name(), [Zn("config"), ca("state", Ll)])), ze = fs("component.behaviours", ta(Ne), Ae.behaviours).fold((On) => {
42458
+ const Ne = yr(we, (On) => gl(On.name(), [Zn("config"), da("state", Ll)])), ze = fs("component.behaviours", ta(Ne), Ae.behaviours).fold((On) => {
42459
42459
  throw new Error(sl(On) + `
42460
42460
  Complete spec:
42461
42461
  ` + JSON.stringify(Ae, null, 2));
@@ -42638,7 +42638,7 @@ Complete spec:
42638
42638
  Receiver: ` + pA(I.element), Fn, we.data);
42639
42639
  On.onReceive(I, Un);
42640
42640
  });
42641
- })]) }), Nf = [Ir("channels", ol(nl.value, ga([sv("onReceive"), ca("schema", ui())])))];
42641
+ })]) }), Nf = [Ir("channels", ol(nl.value, ga([sv("onReceive"), da("schema", ui())])))];
42642
42642
  const wp = (S, I, H) => xy((X, Ae) => {
42643
42643
  H(X, S, I);
42644
42644
  }), z1 = (S) => ({ key: S, value: void 0 }), qS = (S, I, H, X, Ae, we, Ne) => {
@@ -42658,14 +42658,14 @@ Receiver: ` + pA(I.element), Fn, we.data);
42658
42658
  return { key: H, value: { config: Hn, me: Fn, configAsRaw: ed(() => Fs(H + "-config", S, Un)), initialConfig: Un, state: Ne } };
42659
42659
  }, schema: Be(I), exhibit: (Un, Hn) => ic(ze(Un), ci(X, "exhibit"), (Yn, Xn) => Xn(Hn, Yn.config, Yn.state)).getOrThunk(() => Td({})), name: Be(H), handlers: (Un) => ze(Un).map((Hn) => ci(X, "events").getOr(() => ({}))(Hn.config, Hn.state)).getOr({}) };
42660
42660
  return Fn;
42661
- }, Ai = (S) => pu(S), og = ga([Zn("fields"), Zn("name"), ca("active", {}), ca("apis", {}), ca("state", Ll), ca("extra", {})]), Fd = (S) => {
42661
+ }, Ai = (S) => pu(S), og = ga([Zn("fields"), Zn("name"), da("active", {}), da("apis", {}), da("state", Ll), da("extra", {})]), Fd = (S) => {
42662
42662
  const I = Fs("Creating behaviour: " + S.name, og, S);
42663
42663
  return ((H, X, Ae, we, Ne, ze) => {
42664
42664
  const On = ga(H), Fn = gl(X, [(Un = H, ml("config", ga(Un)))]);
42665
42665
  var Un;
42666
42666
  return qS(On, Fn, X, Ae, we, Ne, ze);
42667
42667
  })(I.fields, I.name, I.active, I.apis, I.extra, I.state);
42668
- }, YB = ga([Zn("branchKey"), Zn("branches"), Zn("name"), ca("active", {}), ca("apis", {}), ca("state", Ll), ca("extra", {})]), Qy = (S) => {
42668
+ }, YB = ga([Zn("branchKey"), Zn("branches"), Zn("name"), da("active", {}), da("apis", {}), da("state", Ll), da("extra", {})]), Qy = (S) => {
42669
42669
  const I = Fs("Creating behaviour: " + S.name, YB, S);
42670
42670
  return ((H, X, Ae, we, Ne, ze) => {
42671
42671
  const On = H, Fn = gl(X, [ml("config", H)]);
@@ -42864,10 +42864,10 @@ Receiver: ` + pA(I.element), Fn, we.data);
42864
42864
  const ze = Ne.map(KB).getOr(!1), On = I.layouts.map((Yn) => Yn.onLtr(S)), Fn = I.layouts.map((Yn) => Yn.onRtl(S)), Un = ze ? I.layouts.bind((Yn) => Yn.onBottomLtr.map((Xn) => Xn(S))).or(On).getOr(Ae) : On.getOr(H), Hn = ze ? I.layouts.bind((Yn) => Yn.onBottomRtl.map((Xn) => Xn(S))).or(Fn).getOr(we) : Fn.getOr(X);
42865
42865
  return o3(Un, Hn)(S);
42866
42866
  };
42867
- var _0 = [Zn("hotspot"), xi("bubble"), ca("overrides", {}), Lf(), hc("placement", (S, I, H) => {
42867
+ var _0 = [Zn("hotspot"), xi("bubble"), da("overrides", {}), Lf(), hc("placement", (S, I, H) => {
42868
42868
  const X = I.hotspot, Ae = rg(H, X.element), we = hv(S.element, I, H1(), v0(), uv(), df(), Pe.some(I.hotspot.element));
42869
42869
  return Pe.some(J_({ anchorBox: Ae, bubble: I.bubble.getOr(j_()), overrides: I.overrides, layouts: we }));
42870
- })], Av = [Zn("x"), Zn("y"), ca("height", 0), ca("width", 0), ca("bubble", j_()), ca("overrides", {}), Lf(), hc("placement", (S, I, H) => {
42870
+ })], Av = [Zn("x"), Zn("y"), da("height", 0), da("width", 0), da("bubble", j_()), da("overrides", {}), Lf(), hc("placement", (S, I, H) => {
42871
42871
  const X = cv(H, I.x, I.y), Ae = Xl(X.left, X.top, I.width, I.height), we = hv(S.element, I, ng(), KS(), ng(), KS(), Pe.none());
42872
42872
  return Pe.some(J_({ anchorBox: Ae, bubble: I.bubble, overrides: I.overrides, layouts: we }));
42873
42873
  })];
@@ -42896,7 +42896,7 @@ Receiver: ` + pA(I.element), Fn, we.data);
42896
42896
  var Ar, hr, Cr, br;
42897
42897
  return J_({ anchorBox: Hn, bubble: H.bubble.getOr(j_()), overrides: H.overrides, layouts: rr });
42898
42898
  });
42899
- var a3 = [Zn("node"), Zn("root"), xi("bubble"), Lf(), ca("overrides", {}), ca("showAbove", !1), hc("placement", (S, I, H) => {
42899
+ var a3 = [Zn("node"), Zn("root"), xi("bubble"), Lf(), da("overrides", {}), da("showAbove", !1), hc("placement", (S, I, H) => {
42900
42900
  const X = Tp(S, 0, I);
42901
42901
  return I.node.filter(Wu).bind((Ae) => {
42902
42902
  const we = Ae.dom.getBoundingClientRect(), Ne = qy(we.left, we.top, we.width, we.height), ze = I.node.getOr(S.element);
@@ -43005,7 +43005,7 @@ Receiver: ` + pA(I.element), Fn, we.data);
43005
43005
  }
43006
43006
  return H;
43007
43007
  });
43008
- var c3 = [xi("getSelection"), Zn("root"), xi("bubble"), Lf(), ca("overrides", {}), ca("showAbove", !1), hc("placement", (S, I, H) => {
43008
+ var c3 = [xi("getSelection"), Zn("root"), xi("bubble"), Lf(), da("overrides", {}), da("showAbove", !1), hc("placement", (S, I, H) => {
43009
43009
  const X = il(I.root).dom, Ae = Tp(S, 0, I), we = B0(X, I).bind((ze) => {
43010
43010
  if (pv(ze))
43011
43011
  return ((Fn, Un) => ((Hn) => {
@@ -43025,11 +43025,11 @@ Receiver: ` + pA(I.element), Fn, we.data);
43025
43025
  return Xy(we, Ae, I, H, Ne);
43026
43026
  })];
43027
43027
  const eC = "link-layout", tC = (S) => S.x + S.width, a2 = (S, I) => S.x - I.width, d3 = (S, I) => S.y - I.height + S.height, O0 = (S) => S.y, gm = (S, I, H) => Ud(tC(S), O0(S), H.southeast(), eg(), "southeast", yf(S, { left: 0, top: 2 }), eC), i2 = (S, I, H) => Ud(a2(S, I), O0(S), H.southwest(), K_(), "southwest", yf(S, { right: 1, top: 2 }), eC), f3 = (S, I, H) => Ud(tC(S), d3(S, I), H.northeast(), lv(), "northeast", yf(S, { left: 0, bottom: 3 }), eC), s2 = (S, I, H) => Ud(a2(S, I), d3(S, I), H.northwest(), q_(), "northwest", yf(S, { right: 1, bottom: 3 }), eC), h3 = () => [gm, i2, f3, s2], A3 = () => [i2, gm, s2, f3];
43028
- var l2 = [Zn("item"), Lf(), ca("overrides", {}), hc("placement", (S, I, H) => {
43028
+ var l2 = [Zn("item"), Lf(), da("overrides", {}), hc("placement", (S, I, H) => {
43029
43029
  const X = rg(H, I.item.element), Ae = hv(S.element, I, h3(), A3(), h3(), A3(), Pe.none());
43030
43030
  return Pe.some(J_({ anchorBox: X, bubble: j_(), overrides: I.overrides, layouts: Ae }));
43031
43031
  })], qB = Al("type", { selection: c3, node: a3, hotspot: _0, submenu: l2, makeshift: Av });
43032
- const p3 = [es("classes", bi), nu("mode", "all", ["all", "layout", "placement"])], m3 = [ca("useFixed", Dn), xi("getBounds")], j1 = [Ir("anchor", qB), gl("transition", p3)], g3 = (S, I, H, X, Ae, we) => {
43032
+ const p3 = [es("classes", bi), nu("mode", "all", ["all", "layout", "placement"])], m3 = [da("useFixed", Dn), xi("getBounds")], j1 = [Ir("anchor", qB), gl("transition", p3)], g3 = (S, I, H, X, Ae, we) => {
43033
43033
  const Ne = Fs("placement.info", ta(j1), Ae), ze = Ne.anchor, On = X.element, Fn = H.get(X.uid);
43034
43034
  Hy(() => {
43035
43035
  As(On, "position", "fixed");
@@ -43146,16 +43146,16 @@ Receiver: ` + pA(I.element), Fn, we.data);
43146
43146
  aC(S, I), rC(S, I, H, X), Ae(), c2(S, I);
43147
43147
  }, close: UA, isOpen: nb, isPartOf: (S, I, H, X) => nb(0, 0, H) && H.get().exists((Ae) => I.isPartOf(S, Ae, X)), getState: (S, I, H) => H.get(), setContent: (S, I, H, X) => H.get().map(() => v3(S, I, H, X)) }), JB = Object.freeze({ __proto__: null, events: (S, I) => oc([qa(Ym(), (H, X) => {
43148
43148
  UA(H, S, I);
43149
- })]) }), mv = [Yl("onOpen"), Yl("onClose"), Zn("isPartOf"), Zn("getAttachPoint"), ca("cloakVisibilityAttr", "data-precloak-visibility")], b3 = Object.freeze({ __proto__: null, init: () => {
43149
+ })]) }), mv = [Yl("onOpen"), Yl("onClose"), Zn("isPartOf"), Zn("getAttachPoint"), da("cloakVisibilityAttr", "data-precloak-visibility")], b3 = Object.freeze({ __proto__: null, init: () => {
43150
43150
  const S = Ac(), I = Be("not-implemented");
43151
43151
  return cu({ readState: I, isOpen: S.isSet, clear: S.clear, set: S.set, get: S.get });
43152
43152
  } });
43153
- const zl = Fd({ fields: mv, name: "sandboxing", active: JB, apis: d2, state: b3 }), vm = Be("dismiss.popups"), gv = Be("reposition.popups"), f2 = Be("mouse.released"), eO = ga([ca("isExtraPart", Dn), gl("fireEventInstead", [ca("event", NA())])]), ob = (S) => {
43153
+ const zl = Fd({ fields: mv, name: "sandboxing", active: JB, apis: d2, state: b3 }), vm = Be("dismiss.popups"), gv = Be("reposition.popups"), f2 = Be("mouse.released"), eO = ga([da("isExtraPart", Dn), gl("fireEventInstead", [da("event", NA())])]), ob = (S) => {
43154
43154
  const I = Fs("Dismissal", eO, S);
43155
43155
  return { [vm()]: { schema: ga([Zn("target")]), onReceive: (H, X) => {
43156
43156
  zl.isOpen(H) && (zl.isPartOf(H, X.target) || I.isExtraPart(H, X.target) || I.fireEventInstead.fold(() => zl.close(H), (Ae) => Jl(H, Ae.event)));
43157
43157
  } } };
43158
- }, h2 = ga([gl("fireEventInstead", [ca("event", xc())]), Ti("doReposition")]), fh = (S) => {
43158
+ }, h2 = ga([gl("fireEventInstead", [da("event", xc())]), Ti("doReposition")]), fh = (S) => {
43159
43159
  const I = Fs("Reposition", h2, S);
43160
43160
  return { [gv()]: { onReceive: (H) => {
43161
43161
  zl.isOpen(H) && I.fireEventInstead.fold(() => I.doReposition(H), (X) => Jl(H, X.event));
@@ -43209,7 +43209,7 @@ Receiver: ` + pA(I.element), Fn, we.data);
43209
43209
  });
43210
43210
  }, onUnload: (S, I, H) => {
43211
43211
  H.clear();
43212
- }, state: ib })], _3 = [Zn("getValue"), ca("setValue", se), xi("initialValue"), hc("manager", { setValue: (S, I, H, X) => {
43212
+ }, state: ib })], _3 = [Zn("getValue"), da("setValue", se), xi("initialValue"), hc("manager", { setValue: (S, I, H, X) => {
43213
43213
  I.store.setValue(S, X), I.onSetValue(S, X);
43214
43214
  }, getValue: (S, I, H) => I.store.getValue(S), onLoad: (S, I, H) => {
43215
43215
  I.store.initialValue.each((X) => {
@@ -43223,7 +43223,7 @@ Receiver: ` + pA(I.element), Fn, we.data);
43223
43223
  });
43224
43224
  }, onUnload: (S, I, H) => {
43225
43225
  H.clear();
43226
- }, state: ab })], sb = [hu("store", { mode: "memory" }, Al("mode", { memory: m2, manual: _3, dataset: nO })), Yl("onSetValue"), ca("resetOnDom", !1)];
43226
+ }, state: ab })], sb = [hu("store", { mode: "memory" }, Al("mode", { memory: m2, manual: _3, dataset: nO })), Yl("onSetValue"), da("resetOnDom", !1)];
43227
43227
  const Mi = Fd({ fields: sb, name: "representing", active: C3, apis: A2, extra: { setValueFrom: (S, I) => {
43228
43228
  const H = Mi.getValue(I);
43229
43229
  Mi.setValue(S, H);
@@ -43244,7 +43244,7 @@ Spec: ` + JSON.stringify(Un, null, 2));
43244
43244
  return H.validated.preprocess.getOr(En)(Ne);
43245
43245
  }
43246
43246
  return we(I);
43247
- }), S3 = yA.single, rO = yA.multiple, cb = Be(oO), db = Ku([{ required: ["data"] }, { external: ["data"] }, { optional: ["data"] }, { group: ["data"] }]), sC = ca("factory", { sketch: En }), lC = ca("schema", []), uC = Zn("name"), fb = Gs("pname", "pname", ar((S) => "<alloy." + zi(S.name) + ">"), ui()), aO = Vn("schema", () => [xi("preprocess")]), cC = ca("defaults", Be({})), dC = ca("overrides", Be({})), hb = ta([sC, lC, uC, fb, cC, dC]), Wi = ta([sC, lC, uC, cC, dC]), v2 = ta([sC, lC, uC, fb, cC, dC]), w3 = ta([sC, aO, uC, Zn("unit"), fb, cC, dC]), B3 = (S) => S.fold(Pe.some, Pe.none, Pe.some, Pe.some), O3 = (S) => {
43247
+ }), S3 = yA.single, rO = yA.multiple, cb = Be(oO), db = Ku([{ required: ["data"] }, { external: ["data"] }, { optional: ["data"] }, { group: ["data"] }]), sC = da("factory", { sketch: En }), lC = da("schema", []), uC = Zn("name"), fb = Gs("pname", "pname", ar((S) => "<alloy." + zi(S.name) + ">"), ui()), aO = Vn("schema", () => [xi("preprocess")]), cC = da("defaults", Be({})), dC = da("overrides", Be({})), hb = ta([sC, lC, uC, fb, cC, dC]), Wi = ta([sC, lC, uC, cC, dC]), v2 = ta([sC, lC, uC, fb, cC, dC]), w3 = ta([sC, aO, uC, Zn("unit"), fb, cC, dC]), B3 = (S) => S.fold(Pe.some, Pe.none, Pe.some, Pe.some), O3 = (S) => {
43248
43248
  const I = (H) => H.name;
43249
43249
  return S.fold(I, I, I, I);
43250
43250
  }, fC = (S, I) => (H) => {
@@ -43317,12 +43317,12 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43317
43317
  }, C2 = (S) => Gs("partUids", "partUids", Mr((I) => $3(I.uid, S)), ui());
43318
43318
  var _2 = Object.freeze({ __proto__: null, generate: b2, generateOne: Ab, schemas: pb, names: T3, substitutes: AC, components: pC, defaultUids: $3, defaultUidsSchema: C2, getAllParts: D3, getAllPartNames: k3, getPart: Hu, getPartOrDie: bm, getParts: F3, getPartsOrDie: y2 });
43319
43319
  const E2 = (S, I, H, X, Ae) => {
43320
- const we = ((Ne, ze) => (Ne.length > 0 ? [Si("parts", Ne)] : []).concat([Zn("uid"), ca("dom", {}), ca("components", []), Z_("originalSpec"), ca("debug.sketcher", {})]).concat(ze))(X, Ae);
43320
+ const we = ((Ne, ze) => (Ne.length > 0 ? [Si("parts", Ne)] : []).concat([Zn("uid"), da("dom", {}), da("components", []), Z_("originalSpec"), da("debug.sketcher", {})]).concat(ze))(X, Ae);
43321
43321
  return Fs(S + " [SpecSchema]", ga(we.concat(I)), H);
43322
43322
  }, S2 = (S, I, H, X, Ae) => {
43323
43323
  const we = w2(Ae), Ne = pb(H), ze = C2(H), On = E2(S, I, we, Ne, [ze]), Fn = AC(0, On, H);
43324
43324
  return X(On, pC(S, On, Fn.internals()), we, Fn.externals());
43325
- }, w2 = (S) => ((I) => ji(I, "uid"))(S) ? S : { ...S, uid: Rn("uid") }, iO = ga([Zn("name"), Zn("factory"), Zn("configFields"), ca("apis", {}), ca("extraApis", {})]), sO = ga([Zn("name"), Zn("factory"), Zn("configFields"), Zn("partFields"), ca("apis", {}), ca("extraApis", {})]), qh = (S) => {
43325
+ }, w2 = (S) => ((I) => ji(I, "uid"))(S) ? S : { ...S, uid: Rn("uid") }, iO = ga([Zn("name"), Zn("factory"), Zn("configFields"), da("apis", {}), da("extraApis", {})]), sO = ga([Zn("name"), Zn("factory"), Zn("configFields"), Zn("partFields"), da("apis", {}), da("extraApis", {})]), qh = (S) => {
43326
43326
  const I = Fs("Sketcher for " + S.name, iO, S), H = ii(I.apis, uu), X = ii(I.extraApis, (Ae, we) => hi(Ae, we));
43327
43327
  return { name: I.name, configFields: I.configFields, sketch: (Ae) => ((we, Ne, ze, On) => {
43328
43328
  const Fn = w2(On);
@@ -43354,7 +43354,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43354
43354
  }, I3 = (S, I) => ym(S, I) ? ((H) => sc(H.element, "disabled"))(S) : ((H) => bu(H.element, "aria-disabled") === "true")(S);
43355
43355
  var M3 = Object.freeze({ __proto__: null, enable: Vd, disable: kp, isDisabled: I3, onLoad: mC, set: (S, I, H, X) => {
43356
43356
  (X ? kp : Vd)(S, I);
43357
- } }), dO = Object.freeze({ __proto__: null, exhibit: (S, I) => Td({ classes: I.disabled() ? I.disableClass.toArray() : [] }), events: (S, I) => oc([ev(lf(), (H, X) => I3(H, S)), wp(S, I, mC)]) }), P3 = [Wl("disabled", Dn), ca("useNative", !0), xi("disableClass"), Yl("onDisabled"), Yl("onEnabled")];
43357
+ } }), dO = Object.freeze({ __proto__: null, exhibit: (S, I) => Td({ classes: I.disabled() ? I.disableClass.toArray() : [] }), events: (S, I) => oc([ev(lf(), (H, X) => I3(H, S)), wp(S, I, mC)]) }), P3 = [Wl("disabled", Dn), da("useNative", !0), xi("disableClass"), Yl("onDisabled"), Yl("onEnabled")];
43358
43358
  const Ss = Fd({ fields: P3, name: "disabling", active: dO, apis: M3 }), R3 = (S, I, H, X) => {
43359
43359
  const Ae = If(S.element, "." + I.highlightClass);
43360
43360
  Fr(Ae, (we) => {
@@ -43446,7 +43446,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43446
43446
  const we = (ze, On, Fn, Un, Hn) => {
43447
43447
  return (Yn = Fn(ze, On, Un, Hn), Xn = On.event, oi(Yn, (rr) => rr.matches(Xn)).map((rr) => rr.classification)).bind((rr) => rr(ze, On, Un, Hn));
43448
43448
  var Yn, Xn;
43449
- }, Ne = { schema: () => S.concat([ca("focusManager", D2()), hu("focusInside", "onFocus", _l((ze) => Zr(["onFocus", "onEnterOrSpace", "onApi"], ze) ? nl.value(ze) : nl.error("Invalid value for focusInside"))), hc("handler", Ne), hc("state", I), hc("sendFocusIn", Ae)]), processKey: we, toEvents: (ze, On) => {
43449
+ }, Ne = { schema: () => S.concat([da("focusManager", D2()), hu("focusInside", "onFocus", _l((ze) => Zr(["onFocus", "onEnterOrSpace", "onApi"], ze) ? nl.value(ze) : nl.error("Invalid value for focusInside"))), hc("handler", Ne), hc("state", I), hc("sendFocusIn", Ae)]), processKey: we, toEvents: (ze, On) => {
43450
43450
  const Fn = ze.focusInside !== L0.OnFocusMode ? Pe.none() : Ae(ze).map((Hn) => qa(Cp(), (Yn, Xn) => {
43451
43451
  Hn(Yn, ze, On), Xn.stop();
43452
43452
  })), Un = [qa(Zf(), (Hn, Yn) => {
@@ -43469,7 +43469,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43469
43469
  } };
43470
43470
  return Ne;
43471
43471
  }, W3 = (S) => {
43472
- const I = [xi("onEscape"), xi("onEnter"), ca("selector", '[data-alloy-tabstop="true"]:not(:disabled)'), ca("firstTabstop", 0), ca("useTabstopAt", In), xi("visibilitySelector")].concat([S]), H = (ze, On) => {
43472
+ const I = [xi("onEscape"), xi("onEnter"), da("selector", '[data-alloy-tabstop="true"]:not(:disabled)'), da("firstTabstop", 0), da("useTabstopAt", In), xi("visibilitySelector")].concat([S]), H = (ze, On) => {
43473
43473
  const Fn = ze.visibilitySelector.bind((Un) => yh(On, Un)).getOr(On);
43474
43474
  return ra(Fn) > 0;
43475
43475
  }, X = (ze, On, Fn) => {
@@ -43492,7 +43492,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43492
43492
  return yv(I, Ll.init, we, Ne, () => Pe.some(X));
43493
43493
  };
43494
43494
  var mO = W3(Vn("cyclic", Dn)), k2 = W3(Vn("cyclic", In));
43495
- const vb = (S, I, H) => F0(H) && Il(Sh)(I.event) ? Pe.none() : ((X, Ae, we) => (ud(X, we, lf()), Pe.some(!0)))(S, 0, H), I0 = (S, I) => Pe.some(!0), gO = [ca("execute", vb), ca("useSpace", !1), ca("useEnter", !0), ca("useControlEnter", !1), ca("useDown", !1)], Y3 = (S, I, H) => H.execute(S, I, S.element);
43495
+ const vb = (S, I, H) => F0(H) && Il(Sh)(I.event) ? Pe.none() : ((X, Ae, we) => (ud(X, we, lf()), Pe.some(!0)))(S, 0, H), I0 = (S, I) => Pe.some(!0), gO = [da("execute", vb), da("useSpace", !1), da("useEnter", !0), da("useControlEnter", !1), da("useDown", !1)], Y3 = (S, I, H) => H.execute(S, I, S.element);
43496
43496
  var $2 = yv(gO, Ll.init, (S, I, H, X) => {
43497
43497
  const Ae = H.useSpace && !F0(S.element) ? Sh : [], we = H.useEnter ? lp : [], Ne = H.useDown ? N0 : [], ze = Ae.concat(we).concat(Ne);
43498
43498
  return [Kl(Il(ze), Y3)].concat(H.useControlEnter ? [Kl(VA([bC, Il(lp)]), Y3)] : []);
@@ -43525,7 +43525,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43525
43525
  }), M2 = (S, I, H, X, Ae) => I2(S, I, X, (we, Ne) => {
43526
43526
  const ze = hm(we, Ae, 0, H - 1), On = ze === H - 1 ? S.length - ze * X : X, Fn = lh(Ne, 0, On - 1);
43527
43527
  return Pe.some({ row: ze, column: Fn });
43528
- }), bO = [Zn("selector"), ca("execute", vb), Ch("onEscape"), ca("captureTab", !1), GB()], P2 = (S, I, H) => {
43528
+ }), bO = [Zn("selector"), da("execute", vb), Ch("onEscape"), da("captureTab", !1), GB()], P2 = (S, I, H) => {
43529
43529
  zc(S.element, I.selector).each((X) => {
43530
43530
  I.focusManager.set(S, X);
43531
43531
  });
@@ -43546,7 +43546,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43546
43546
  }), CA = (S, I, H, X) => qf(S, I, H, X, (Ae, we, Ne, ze, On, Fn, Un) => {
43547
43547
  const Hn = hm(we, Ne, ze, On);
43548
43548
  return Hn === Ae ? Pe.none() : Un(Hn);
43549
- }), yb = [Zn("selector"), ca("getInitial", Pe.none), ca("execute", vb), Ch("onEscape"), ca("executeOnMove", !1), ca("allowVertical", !0), ca("allowHorizontal", !0), ca("cycles", !0)], R2 = (S, I, H) => ((X, Ae) => Ae.focusManager.get(X).bind((we) => yh(we, Ae.selector)))(S, H).bind((X) => H.execute(S, I, X)), U2 = (S, I, H) => {
43549
+ }), yb = [Zn("selector"), da("getInitial", Pe.none), da("execute", vb), Ch("onEscape"), da("executeOnMove", !1), da("allowVertical", !0), da("allowHorizontal", !0), da("cycles", !0)], R2 = (S, I, H) => ((X, Ae) => Ae.focusManager.get(X).bind((we) => yh(we, Ae.selector)))(S, H).bind((X) => H.execute(S, I, X)), U2 = (S, I, H) => {
43550
43550
  I.getInitial(S).orThunk(() => zc(S.element, I.selector)).each((X) => {
43551
43551
  I.focusManager.set(S, X);
43552
43552
  });
@@ -43567,7 +43567,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43567
43567
  }, Cb = (S, I, H, X) => {
43568
43568
  const Ae = lh(H + X, 0, S.length - 1), we = S[Ae].length, Ne = lh(I, 0, we - 1);
43569
43569
  return FC(S, Ae, Ne);
43570
- }, U0 = [Si("selectors", [Zn("row"), Zn("cell")]), ca("cycles", !0), ca("previousSelector", Pe.none), ca("execute", vb)], Q2 = (S, I, H) => {
43570
+ }, U0 = [Si("selectors", [Zn("row"), Zn("cell")]), da("cycles", !0), da("previousSelector", Pe.none), da("execute", vb)], Q2 = (S, I, H) => {
43571
43571
  I.previousSelector(S).orThunk(() => {
43572
43572
  const X = I.selectors;
43573
43573
  return zc(S.element, X.cell);
@@ -43588,13 +43588,13 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43588
43588
  });
43589
43589
  }, Mh = $p((S, I, H) => R0(S, I, H, -1), (S, I, H) => gg(S, I, H, -1)), z2 = $p((S, I, H) => R0(S, I, H, 1), (S, I, H) => gg(S, I, H, 1)), G2 = $p((S, I, H) => mg(S, H, I, -1), (S, I, H) => Cb(S, H, I, -1)), e5 = $p((S, I, H) => mg(S, H, I, 1), (S, I, H) => Cb(S, H, I, 1)), Eb = Be([Kl(Il(gC), N2(Mh, z2)), Kl(Il(vC), M0(Mh, z2)), Kl(Il(gb), CC(G2)), Kl(Il(N0), L2(e5)), Kl(Il(Sh.concat(lp)), (S, I, H) => Lh(S.element).bind((X) => H.execute(S, I, X)))]), Sb = Be([Kl(Il(Sh), I0)]);
43590
43590
  var V0 = yv(U0, Ll.init, Eb, Sb, () => Pe.some(Q2));
43591
- const W2 = [Zn("selector"), ca("execute", vb), ca("moveOnTab", !1)], wb = (S, I, H) => H.focusManager.get(S).bind((X) => H.execute(S, I, X)), Q0 = (S, I, H) => {
43591
+ const W2 = [Zn("selector"), da("execute", vb), da("moveOnTab", !1)], wb = (S, I, H) => H.focusManager.get(S).bind((X) => H.execute(S, I, X)), Q0 = (S, I, H) => {
43592
43592
  zc(S.element, I.selector).each((X) => {
43593
43593
  I.focusManager.set(S, X);
43594
43594
  });
43595
43595
  }, Np = (S, I, H) => CA(S, H.selector, I, -1), H0 = (S, I, H) => CA(S, H.selector, I, 1), Y2 = Be([Kl(Il(gb), P0(Np)), Kl(Il(N0), P0(H0)), Kl(VA([bv, Il(Ag)]), (S, I, H, X) => H.moveOnTab ? P0(Np)(S, I, H, X) : Pe.none()), Kl(VA([Cm, Il(Ag)]), (S, I, H, X) => H.moveOnTab ? P0(H0)(S, I, H, X) : Pe.none()), Kl(Il(lp), wb), Kl(Il(Sh), wb)]), Bb = Be([Kl(Il(Sh), I0)]);
43596
43596
  var Sf = yv(W2, Ll.init, Y2, Bb, () => Pe.some(Q0));
43597
- const gF = [Ch("onSpace"), Ch("onEnter"), Ch("onShiftEnter"), Ch("onLeft"), Ch("onRight"), Ch("onTab"), Ch("onShiftTab"), Ch("onUp"), Ch("onDown"), Ch("onEscape"), ca("stopSpaceKeyup", !1), xi("focusIn")];
43597
+ const gF = [Ch("onSpace"), Ch("onEnter"), Ch("onShiftEnter"), Ch("onLeft"), Ch("onRight"), Ch("onTab"), Ch("onShiftTab"), Ch("onUp"), Ch("onDown"), Ch("onEscape"), da("stopSpaceKeyup", !1), xi("focusIn")];
43598
43598
  var up = yv(gF, Ll.init, (S, I, H) => [Kl(Il(Sh), H.onSpace), Kl(VA([Cm, Il(lp)]), H.onEnter), Kl(VA([bv, Il(lp)]), H.onShiftEnter), Kl(VA([bv, Il(Ag)]), H.onShiftTab), Kl(VA([Cm, Il(Ag)]), H.onTab), Kl(Il(gb), H.onUp), Kl(Il(N0), H.onDown), Kl(Il(gC), H.onLeft), Kl(Il(vC), H.onRight), Kl(Il(Sh), H.onSpace)], (S, I, H) => [...H.stopSpaceKeyup ? [Kl(Il(Sh), I0)] : [], Kl(Il($0), H.onEscape)], (S) => S.focusIn);
43599
43599
  const DC = mO.schema(), Z2 = k2.schema(), z0 = SO.schema(), K2 = EO.schema(), kC = V0.schema(), wO = $2.schema(), q2 = Sf.schema(), X2 = up.schema(), hs = Qy({ branchKey: "mode", branches: Object.freeze({ __proto__: null, acyclic: DC, cyclic: Z2, flow: z0, flatgrid: K2, matrix: kC, execution: wO, menu: q2, special: X2 }), name: "keying", active: { events: (S, I) => S.handler.toEvents(S, I) }, apis: { focusIn: (S, I, H) => {
43600
43600
  I.sendFocusIn(I).fold(() => {
@@ -43684,7 +43684,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43684
43684
  cp(I, S), H.stop();
43685
43685
  })].concat(S.stopMousedown ? [qa(Dh(), (I, H) => {
43686
43686
  H.event.prevent();
43687
- })] : [])) }), Ah = [Yl("onFocus"), ca("stopMousedown", !1), ca("ignore", !1)];
43687
+ })] : [])) }), Ah = [Yl("onFocus"), da("stopMousedown", !1), da("ignore", !1)];
43688
43688
  const ts = Fd({ fields: Ah, name: "focusing", active: G0, apis: n5 }), Qd = (S, I, H, X) => {
43689
43689
  const Ae = H.get();
43690
43690
  H.set(X), ((we, Ne, ze) => {
@@ -43715,7 +43715,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43715
43715
  const o5 = (S, I, H) => {
43716
43716
  $s(S.element, "aria-expanded", H);
43717
43717
  };
43718
- var NC = [ca("selected", !1), xi("toggleClass"), ca("toggleOnExecute", !0), Yl("onToggled"), hu("aria", { mode: "none" }, Al("mode", { pressed: [ca("syncWithExpanded", !1), hc("update", (S, I, H) => {
43718
+ var NC = [da("selected", !1), xi("toggleClass"), da("toggleOnExecute", !0), Yl("onToggled"), hu("aria", { mode: "none" }, Al("mode", { pressed: [da("syncWithExpanded", !1), hc("update", (S, I, H) => {
43719
43719
  $s(S.element, "aria-pressed", H), I.syncWithExpanded && o5(S, 0, H);
43720
43720
  })], checked: [hc("update", (S, I, H) => {
43721
43721
  $s(S.element, "aria-checked", H);
@@ -43736,13 +43736,13 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43736
43736
  (Lh(S.element).isNone() || ts.isFocused(S)) && (ts.isFocused(S) || ts.focus(S), gs(S, Tb, { item: S }));
43737
43737
  }, nE = (S) => {
43738
43738
  gs(S, eE, { item: S });
43739
- }, oE = Be(Tb), bg = Be(eE), r5 = Be(Fb), zA = (S) => S.toggling.map((I) => I.exclusive ? "menuitemradio" : "menuitemcheckbox").getOr("menuitem"), a5 = [Zn("data"), Zn("components"), Zn("dom"), ca("hasSubmenu", !1), xi("toggling"), ub("itemBehaviours", [al, ts, hs, Mi]), ca("ignoreFocus", !1), ca("domModification", {}), hc("builder", (S) => ({ dom: S.dom, domModification: { ...S.domModification, attributes: { role: zA(S), ...S.domModification.attributes, "aria-haspopup": S.hasSubmenu, ...S.hasSubmenu ? { "aria-expanded": !1 } : {} } }, behaviours: ff(S.itemBehaviours, [S.toggling.fold(al.revoke, (I) => al.config(((H) => ({ aria: { mode: "checked" }, ...Ms(H, (X, Ae) => Ae !== "exclusive"), onToggled: (X, Ae) => {
43739
+ }, oE = Be(Tb), bg = Be(eE), r5 = Be(Fb), zA = (S) => S.toggling.map((I) => I.exclusive ? "menuitemradio" : "menuitemcheckbox").getOr("menuitem"), a5 = [Zn("data"), Zn("components"), Zn("dom"), da("hasSubmenu", !1), xi("toggling"), ub("itemBehaviours", [al, ts, hs, Mi]), da("ignoreFocus", !1), da("domModification", {}), hc("builder", (S) => ({ dom: S.dom, domModification: { ...S.domModification, attributes: { role: zA(S), ...S.domModification.attributes, "aria-haspopup": S.hasSubmenu, ...S.hasSubmenu ? { "aria-expanded": !1 } : {} } }, behaviours: ff(S.itemBehaviours, [S.toggling.fold(al.revoke, (I) => al.config(((H) => ({ aria: { mode: "checked" }, ...Ms(H, (X, Ae) => Ae !== "exclusive"), onToggled: (X, Ae) => {
43740
43740
  G(H.onToggled) && H.onToggled(X, Ae), ((we, Ne) => {
43741
43741
  gs(we, Fb, { item: we, state: Ne });
43742
43742
  })(X, Ae);
43743
43743
  } }))(I))), ts.config({ ignore: S.ignoreFocus, stopMousedown: S.ignoreFocus, onFocus: (I) => {
43744
43744
  nE(I);
43745
- } }), hs.config({ mode: "execution" }), Mi.config({ store: { mode: "memory", initialValue: S.data } }), Ds("item-type-events", [...LC(), qa(kh(), tE), qa(sm(), ts.focus)])]), components: S.components, eventOrder: S.eventOrder })), ca("eventOrder", {})], i5 = [Zn("dom"), Zn("components"), hc("builder", (S) => ({ dom: S.dom, components: S.components, events: oc([Q_(sm())]) }))], rE = Be("item-widget"), s5 = Be([Ef({ name: "widget", overrides: (S) => ({ behaviours: Ai([Mi.config({ store: { mode: "manual", getValue: (I) => S.data, setValue: se } })]) }) })]), xO = [Zn("uid"), Zn("data"), Zn("components"), Zn("dom"), ca("autofocus", !1), ca("ignoreFocus", !1), ub("widgetBehaviours", [Mi, ts, hs]), ca("domModification", {}), C2(s5()), hc("builder", (S) => {
43745
+ } }), hs.config({ mode: "execution" }), Mi.config({ store: { mode: "memory", initialValue: S.data } }), Ds("item-type-events", [...LC(), qa(kh(), tE), qa(sm(), ts.focus)])]), components: S.components, eventOrder: S.eventOrder })), da("eventOrder", {})], i5 = [Zn("dom"), Zn("components"), hc("builder", (S) => ({ dom: S.dom, components: S.components, events: oc([Q_(sm())]) }))], rE = Be("item-widget"), s5 = Be([Ef({ name: "widget", overrides: (S) => ({ behaviours: Ai([Mi.config({ store: { mode: "manual", getValue: (I) => S.data, setValue: se } })]) }) })]), xO = [Zn("uid"), Zn("data"), Zn("components"), Zn("dom"), da("autofocus", !1), da("ignoreFocus", !1), ub("widgetBehaviours", [Mi, ts, hs]), da("domModification", {}), C2(s5()), hc("builder", (S) => {
43746
43746
  const I = AC(rE(), S, s5()), H = pC(rE(), S, I.internals()), X = (we) => Hu(we, S, "widget").map((Ne) => (hs.focusIn(Ne), Ne)), Ae = (we, Ne) => (F0(Ne.event.target) || S.autofocus && Ne.setSource(we.element), Pe.none());
43747
43747
  return { dom: S.dom, components: H, domModification: S.domModification, events: oc([Kf((we, Ne) => {
43748
43748
  X(we).each((ze) => {
@@ -43758,7 +43758,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43758
43758
  })], TO = Al("type", { widget: xO, item: a5, separator: i5 }), FO = Be([T0({ factory: { sketch: (S) => {
43759
43759
  const I = Fs("menu.spec item", TO, S);
43760
43760
  return I.builder(I);
43761
- } }, name: "items", unit: "item", defaults: (S, I) => ji(I, "uid") ? I : { ...I, uid: Rn("item") }, overrides: (S, I) => ({ type: I.type, ignoreFocus: S.fakeFocus, domModification: { classes: [S.markers.item] } }) })]), EA = Be([Zn("value"), Zn("items"), Zn("dom"), Zn("components"), ca("eventOrder", {}), kd("menuBehaviours", [eu, Mi, Gl, hs]), hu("movement", { mode: "menu", moveOnTab: !0 }, Al("mode", { grid: [GB(), hc("config", (S, I) => ({ mode: "flatgrid", selector: "." + S.markers.item, initSize: { numColumns: I.initSize.numColumns, numRows: I.initSize.numRows }, focusManager: S.focusManager }))], matrix: [hc("config", (S, I) => ({ mode: "matrix", selectors: { row: I.rowSelector, cell: "." + S.markers.item }, previousSelector: I.previousSelector, focusManager: S.focusManager })), Zn("rowSelector"), ca("previousSelector", Pe.none)], menu: [ca("moveOnTab", !0), hc("config", (S, I) => ({ mode: "menu", selector: "." + S.markers.item, moveOnTab: I.moveOnTab, focusManager: S.focusManager }))] })), Ir("markers", V1()), ca("fakeFocus", !1), ca("focusManager", D2()), Yl("onHighlight"), Yl("onDehighlight")]), aE = Be("alloy.menu-focus"), Lp = Pf({ name: "Menu", configFields: EA(), partFields: FO(), factory: (S, I, H, X) => ({ uid: S.uid, dom: S.dom, markers: S.markers, behaviours: vd(S.menuBehaviours, [eu.config({ highlightClass: S.markers.selectedItem, itemClass: S.markers.item, onHighlight: S.onHighlight, onDehighlight: S.onDehighlight }), Mi.config({ store: { mode: "memory", initialValue: S.value } }), Gl.config({ find: Pe.some }), hs.config(S.movement.config(S, S.movement))]), events: oc([qa(bg(), (Ae, we) => {
43761
+ } }, name: "items", unit: "item", defaults: (S, I) => ji(I, "uid") ? I : { ...I, uid: Rn("item") }, overrides: (S, I) => ({ type: I.type, ignoreFocus: S.fakeFocus, domModification: { classes: [S.markers.item] } }) })]), EA = Be([Zn("value"), Zn("items"), Zn("dom"), Zn("components"), da("eventOrder", {}), kd("menuBehaviours", [eu, Mi, Gl, hs]), hu("movement", { mode: "menu", moveOnTab: !0 }, Al("mode", { grid: [GB(), hc("config", (S, I) => ({ mode: "flatgrid", selector: "." + S.markers.item, initSize: { numColumns: I.initSize.numColumns, numRows: I.initSize.numRows }, focusManager: S.focusManager }))], matrix: [hc("config", (S, I) => ({ mode: "matrix", selectors: { row: I.rowSelector, cell: "." + S.markers.item }, previousSelector: I.previousSelector, focusManager: S.focusManager })), Zn("rowSelector"), da("previousSelector", Pe.none)], menu: [da("moveOnTab", !0), hc("config", (S, I) => ({ mode: "menu", selector: "." + S.markers.item, moveOnTab: I.moveOnTab, focusManager: S.focusManager }))] })), Ir("markers", V1()), da("fakeFocus", !1), da("focusManager", D2()), Yl("onHighlight"), Yl("onDehighlight")]), aE = Be("alloy.menu-focus"), Lp = Pf({ name: "Menu", configFields: EA(), partFields: FO(), factory: (S, I, H, X) => ({ uid: S.uid, dom: S.dom, markers: S.markers, behaviours: vd(S.menuBehaviours, [eu.config({ highlightClass: S.markers.selectedItem, itemClass: S.markers.item, onHighlight: S.onHighlight, onDehighlight: S.onDehighlight }), Mi.config({ store: { mode: "memory", initialValue: S.value } }), Gl.config({ find: Pe.some }), hs.config(S.movement.config(S, S.movement))]), events: oc([qa(bg(), (Ae, we) => {
43762
43762
  const Ne = we.event;
43763
43763
  Ae.getSystem().getByDom(Ne.target).each((ze) => {
43764
43764
  eu.highlight(Ae, ze), we.stop(), gs(Ae, aE(), { menu: Ae, item: ze });
@@ -43825,7 +43825,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43825
43825
  (function(S) {
43826
43826
  S[S.HighlightMenuAndItem = 0] = "HighlightMenuAndItem", S[S.HighlightJustMenu = 1] = "HighlightJustMenu", S[S.HighlightNone = 2] = "HighlightNone";
43827
43827
  })(Xf || (Xf = {}));
43828
- const $O = Be("collapse-item"), Cg = qh({ name: "TieredMenu", configFields: [Q1("onExecute"), Q1("onEscape"), sv("onOpenMenu"), sv("onOpenSubmenu"), Yl("onRepositionMenu"), Yl("onCollapseMenu"), ca("highlightOnOpen", Xf.HighlightMenuAndItem), Si("data", [Zn("primary"), Zn("menus"), Zn("expansions")]), ca("fakeFocus", !1), Yl("onHighlightItem"), Yl("onDehighlightItem"), Yl("onHover"), Iy(), Zn("dom"), ca("navigateOnHover", !0), ca("stayInDom", !1), kd("tmenuBehaviours", [hs, eu, Gl, Js]), ca("eventOrder", {})], apis: { collapseMenu: (S, I) => {
43828
+ const $O = Be("collapse-item"), Cg = qh({ name: "TieredMenu", configFields: [Q1("onExecute"), Q1("onEscape"), sv("onOpenMenu"), sv("onOpenSubmenu"), Yl("onRepositionMenu"), Yl("onCollapseMenu"), da("highlightOnOpen", Xf.HighlightMenuAndItem), Si("data", [Zn("primary"), Zn("menus"), Zn("expansions")]), da("fakeFocus", !1), Yl("onHighlightItem"), Yl("onDehighlightItem"), Yl("onHover"), Iy(), Zn("dom"), da("navigateOnHover", !0), da("stayInDom", !1), kd("tmenuBehaviours", [hs, eu, Gl, Js]), da("eventOrder", {})], apis: { collapseMenu: (S, I) => {
43829
43829
  S.collapseMenu(I);
43830
43830
  }, highlightPrimary: (S, I) => {
43831
43831
  S.highlightPrimary(I);
@@ -43957,7 +43957,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
43957
43957
  ud(cr, Dr.element, sm());
43958
43958
  });
43959
43959
  } }), eu.config({ highlightClass: S.markers.selectedMenu, itemClass: S.markers.menu }), Gl.config({ find: (cr) => eu.getHighlighted(cr) }), Js.config({})]), eventOrder: S.eventOrder, apis: br, events: hr };
43960
- }, extraApis: { tieredData: (S, I, H) => ({ primary: S, menus: I, expansions: H }), singleData: (S, I) => ({ primary: S, menus: dc(S, I), expansions: {} }), collapseItem: (S) => ({ value: zi($O()), meta: { text: S } }) } }), Tc = qh({ name: "InlineView", configFields: [Zn("lazySink"), Yl("onShow"), Yl("onHide"), nc("onEscape"), kd("inlineBehaviours", [zl, Mi, Yh]), gl("fireDismissalEventInstead", [ca("event", NA())]), gl("fireRepositionEventInstead", [ca("event", xc())]), ca("getRelated", Pe.none), ca("isExtraPart", Dn), ca("eventOrder", Pe.none)], factory: (S, I) => {
43960
+ }, extraApis: { tieredData: (S, I, H) => ({ primary: S, menus: I, expansions: H }), singleData: (S, I) => ({ primary: S, menus: dc(S, I), expansions: {} }), collapseItem: (S) => ({ value: zi($O()), meta: { text: S } }) } }), Tc = qh({ name: "InlineView", configFields: [Zn("lazySink"), Yl("onShow"), Yl("onHide"), nc("onEscape"), kd("inlineBehaviours", [zl, Mi, Yh]), gl("fireDismissalEventInstead", [da("event", NA())]), gl("fireRepositionEventInstead", [da("event", xc())]), da("getRelated", Pe.none), da("isExtraPart", Dn), da("eventOrder", Pe.none)], factory: (S, I) => {
43961
43961
  const H = (Ne, ze, On, Fn) => {
43962
43962
  const Un = S.lazySink(Ne).getOrDie();
43963
43963
  zl.openWhileCloaked(Ne, ze, () => ef.positionWithinBounds(Un, Ne, On, Fn())), Mi.setValue(Ne, Pe.some({ mode: "position", config: On, getBounds: Fn }));
@@ -44023,7 +44023,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
44023
44023
  const bd = qh({ name: "Button", factory: (S) => {
44024
44024
  const I = xb(S.action), H = S.dom.tag, X = (Ae) => ci(S.dom, "attributes").bind((we) => ci(we, Ae));
44025
44025
  return { uid: S.uid, dom: S.dom, components: S.components, events: I, behaviours: ff(S.buttonBehaviours, [ts.config({}), hs.config({ mode: "execution", useSpace: !0, useEnter: !0 })]), domModification: { attributes: H === "button" ? { type: X("type").getOr("button"), ...X("role").map((Ae) => ({ role: Ae })).getOr({}) } : { role: S.role.getOr(X("role").getOr("button")) } }, eventOrder: S.eventOrder };
44026
- }, configFields: [ca("uid", void 0), Zn("dom"), ca("components", []), ub("buttonBehaviours", [ts, hs]), xi("action"), xi("role"), ca("eventOrder", {})] }), du = (S) => {
44026
+ }, configFields: [da("uid", void 0), Zn("dom"), da("components", []), ub("buttonBehaviours", [ts, hs]), xi("action"), xi("role"), da("eventOrder", {})] }), du = (S) => {
44027
44027
  const I = ((H) => H.uid !== void 0)(S) && qs(S, "uid") ? S.uid : Rn("memento");
44028
44028
  return { get: (H) => H.getSystem().getByUid(I).getOrDie(), getOpt: (H) => H.getSystem().getByUid(I).toOptional(), asSpec: () => ({ ...S, uid: I }) };
44029
44029
  };
@@ -44131,7 +44131,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
44131
44131
  }, xE = [Lp.parts.items({})], YC = (S, I, H) => {
44132
44132
  const X = WC(H);
44133
44133
  return { dom: { tag: "div", classes: Qa([[X.tieredMenu]]) }, markers: GA(H) };
44134
- }, TA = Be([xi("data"), ca("inputAttributes", {}), ca("inputStyles", {}), ca("tag", "input"), ca("inputClasses", []), Yl("onSetValue"), ca("styles", {}), ca("eventOrder", {}), kd("inputBehaviours", [Mi, ts]), ca("selectOnFocus", !0)]), Dg = (S) => Ai([ts.config({ onFocus: S.selectOnFocus ? (I) => {
44134
+ }, TA = Be([xi("data"), da("inputAttributes", {}), da("inputStyles", {}), da("tag", "input"), da("inputClasses", []), Yl("onSetValue"), da("styles", {}), da("eventOrder", {}), kd("inputBehaviours", [Mi, ts]), da("selectOnFocus", !0)]), Dg = (S) => Ai([ts.config({ onFocus: S.selectOnFocus ? (I) => {
44135
44135
  const H = I.element, X = bf(H);
44136
44136
  H.dom.setSelectionRange(0, X.length);
44137
44137
  } : se })]), IO = (S) => ({ ...Dg(S), ...vd(S.inputBehaviours, [Mi.config({ store: { mode: "manual", ...S.data.map((I) => ({ initialValue: I })).getOr({}), getValue: (I) => bf(I.element), setValue: (I, H) => {
@@ -44189,7 +44189,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
44189
44189
  return { value: S, dom: we.dom, components: we.components, items: H };
44190
44190
  }
44191
44191
  return { value: S, dom: j0(I, X, Ae.menuType), components: xE, items: H };
44192
- }, td = Da("type"), KC = Da("name"), O5 = Da("label"), $g = Da("text"), RO = Da("title"), UO = Da("icon"), Dv = Da("value"), VO = Ti("fetch"), vF = Ti("getSubmenuItems"), wm = Ti("onAction"), QO = Ti("onItemAction"), kv = Wl("onSetup", () => se), Bm = Ml("name"), fp = Ml("text"), Rh = Ml("icon"), Hb = Ml("tooltip"), qC = Ml("label"), x5 = Ml("shortcut"), HO = nc("select"), XC = Zl("active", !1), DE = Zl("borderless", !1), Jf = Zl("enabled", !0), $v = Zl("primary", !1), T5 = (S) => ca("columns", S), jC = ca("meta", {}), zb = Wl("onAction", se), Rp = (S) => Au("type", S), kE = (S) => Gs("name", "name", ar(() => zi(`${S}-name`)), bi), F5 = ta([td, fp]), D5 = ta([Rp("autocompleteitem"), XC, Jf, jC, Dv, fp, Rh]), Nv = [Jf, Hb, Rh, fp, kv], zO = ta([td, wm].concat(Nv)), $E = (S) => fs("toolbarbutton", zO, S), k5 = [XC].concat(Nv), GO = ta(k5.concat([td, wm])), $5 = (S) => fs("ToggleButton", GO, S), WO = [Wl("predicate", Dn), nu("scope", "node", ["node", "editor"]), nu("position", "selection", ["node", "selection", "line"])], bF = Nv.concat([Rp("contextformbutton"), $v, wm, Vn("original", En)]), JC = k5.concat([Rp("contextformbutton"), $v, wm, Vn("original", En)]), N5 = Nv.concat([Rp("contextformbutton")]), e_ = k5.concat([Rp("contextformtogglebutton")]), t_ = Al("type", { contextformbutton: bF, contextformtogglebutton: JC }), Gb = ta([Rp("contextform"), Wl("initValue", Be("")), qC, es("commands", t_), ml("launch", Al("type", { contextformbutton: N5, contextformtogglebutton: e_ }))].concat(WO)), Om = ta([Rp("contexttoolbar"), Da("items")].concat(WO)), yF = [td, Da("src"), Ml("alt"), ou("classes", [], bi)], YO = ta(yF), ZO = [td, $g, Bm, ou("classes", ["tox-collection__item-label"], bi)], L5 = ta(ZO), NE = ha(() => Cl("type", { cardimage: YO, cardtext: L5, cardcontainer: KO })), KO = ta([td, Au("direction", "horizontal"), Au("align", "left"), Au("valign", "middle"), es("items", NE)]), W = [Jf, fp, x5, Gs("value", "value", ar(() => zi("menuitem-value")), ui()), jC], ue = ta([td, qC, es("items", NE), kv, zb].concat(W)), xe = ta([td, XC, Rh].concat(W)), An = [td, Da("fancytype"), zb], Pn = [ca("initData", {})].concat(An), Wn = [nc("select"), Wf("initData", {}, [Zl("allowCustomColors", !0), Au("storageKey", "default"), jl("colors", ui())])].concat(An), or = Al("fancytype", { inserttable: Pn, colorswatch: Wn }), mr = ta([td, kv, zb, Rh].concat(W)), wr = ta([td, vF, kv, Rh].concat(W)), qr = ta([td, Rh, XC, kv, wm].concat(W)), pa = (S, I, H) => {
44192
+ }, td = Da("type"), KC = Da("name"), O5 = Da("label"), $g = Da("text"), RO = Da("title"), UO = Da("icon"), Dv = Da("value"), VO = Ti("fetch"), vF = Ti("getSubmenuItems"), wm = Ti("onAction"), QO = Ti("onItemAction"), kv = Wl("onSetup", () => se), Bm = Ml("name"), fp = Ml("text"), Rh = Ml("icon"), Hb = Ml("tooltip"), qC = Ml("label"), x5 = Ml("shortcut"), HO = nc("select"), XC = Zl("active", !1), DE = Zl("borderless", !1), Jf = Zl("enabled", !0), $v = Zl("primary", !1), T5 = (S) => da("columns", S), jC = da("meta", {}), zb = Wl("onAction", se), Rp = (S) => Au("type", S), kE = (S) => Gs("name", "name", ar(() => zi(`${S}-name`)), bi), F5 = ta([td, fp]), D5 = ta([Rp("autocompleteitem"), XC, Jf, jC, Dv, fp, Rh]), Nv = [Jf, Hb, Rh, fp, kv], zO = ta([td, wm].concat(Nv)), $E = (S) => fs("toolbarbutton", zO, S), k5 = [XC].concat(Nv), GO = ta(k5.concat([td, wm])), $5 = (S) => fs("ToggleButton", GO, S), WO = [Wl("predicate", Dn), nu("scope", "node", ["node", "editor"]), nu("position", "selection", ["node", "selection", "line"])], bF = Nv.concat([Rp("contextformbutton"), $v, wm, Vn("original", En)]), JC = k5.concat([Rp("contextformbutton"), $v, wm, Vn("original", En)]), N5 = Nv.concat([Rp("contextformbutton")]), e_ = k5.concat([Rp("contextformtogglebutton")]), t_ = Al("type", { contextformbutton: bF, contextformtogglebutton: JC }), Gb = ta([Rp("contextform"), Wl("initValue", Be("")), qC, es("commands", t_), ml("launch", Al("type", { contextformbutton: N5, contextformtogglebutton: e_ }))].concat(WO)), Om = ta([Rp("contexttoolbar"), Da("items")].concat(WO)), yF = [td, Da("src"), Ml("alt"), ou("classes", [], bi)], YO = ta(yF), ZO = [td, $g, Bm, ou("classes", ["tox-collection__item-label"], bi)], L5 = ta(ZO), NE = ha(() => Cl("type", { cardimage: YO, cardtext: L5, cardcontainer: KO })), KO = ta([td, Au("direction", "horizontal"), Au("align", "left"), Au("valign", "middle"), es("items", NE)]), W = [Jf, fp, x5, Gs("value", "value", ar(() => zi("menuitem-value")), ui()), jC], ue = ta([td, qC, es("items", NE), kv, zb].concat(W)), xe = ta([td, XC, Rh].concat(W)), An = [td, Da("fancytype"), zb], Pn = [da("initData", {})].concat(An), Wn = [nc("select"), Wf("initData", {}, [Zl("allowCustomColors", !0), Au("storageKey", "default"), jl("colors", ui())])].concat(An), or = Al("fancytype", { inserttable: Pn, colorswatch: Wn }), mr = ta([td, kv, zb, Rh].concat(W)), wr = ta([td, vF, kv, Rh].concat(W)), qr = ta([td, Rh, XC, kv, wm].concat(W)), pa = (S, I, H) => {
44193
44193
  const X = If(S.element, "." + H);
44194
44194
  if (X.length > 0) {
44195
44195
  const Ae = ea(X, (we) => {
@@ -44248,7 +44248,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
44248
44248
  }), qa(Ep(), (X) => {
44249
44249
  Jl(X, za);
44250
44250
  })]]));
44251
- } }), Ys = [Zn("lazySink"), Zn("tooltipDom"), ca("exclusive", !0), ca("tooltipComponents", []), ca("delay", 300), nu("mode", "normal", ["normal", "follow-highlight"]), ca("anchor", (S) => ({ type: "hotspot", hotspot: S, layouts: { onLtr: Be([Jd, ch, jd, uh, Cf, $f]), onRtl: Be([Jd, ch, jd, uh, Cf, $f]) } })), Yl("onHide"), Yl("onShow")], vl = Object.freeze({ __proto__: null, init: () => {
44251
+ } }), Ys = [Zn("lazySink"), Zn("tooltipDom"), da("exclusive", !0), da("tooltipComponents", []), da("delay", 300), nu("mode", "normal", ["normal", "follow-highlight"]), da("anchor", (S) => ({ type: "hotspot", hotspot: S, layouts: { onLtr: Be([Jd, ch, jd, uh, Cf, $f]), onRtl: Be([Jd, ch, jd, uh, Cf, $f]) } })), Yl("onHide"), Yl("onShow")], vl = Object.freeze({ __proto__: null, init: () => {
44252
44252
  const S = Ac(), I = Ac(), H = () => {
44253
44253
  S.on(clearTimeout);
44254
44254
  }, X = Be("not-implemented");
@@ -44672,7 +44672,7 @@ Components: ` + JSON.stringify(Ae.components, null, 2));
44672
44672
  }, Pv = (S) => {
44673
44673
  const I = nd.getCoupled(S, "sandbox");
44674
44674
  yx(I);
44675
- }, Cx = () => [ca("sandboxClasses", []), ub("sandboxBehaviours", [Gl, Yh, zl, Mi])], EN = Be([Zn("dom"), Zn("fetch"), Yl("onOpen"), Ch("onExecute"), ca("getHotspot", Pe.some), ca("getAnchorOverrides", Be({})), Lf(), kd("dropdownBehaviours", [al, nd, hs, ts]), Zn("toggleClass"), ca("eventOrder", {}), xi("lazySink"), ca("matchWidth", !1), ca("useMinWidth", !1), xi("role")].concat(Cx())), ZF = Be([Kh({ schema: [Iy(), ca("fakeFocus", !1)], name: "menu", defaults: (S) => ({ onExecute: S.onExecute }) }), vx()]), Uf = Pf({ name: "Dropdown", configFields: EN(), partFields: ZF(), factory: (S, I, H, X) => {
44675
+ }, Cx = () => [da("sandboxClasses", []), ub("sandboxBehaviours", [Gl, Yh, zl, Mi])], EN = Be([Zn("dom"), Zn("fetch"), Yl("onOpen"), Ch("onExecute"), da("getHotspot", Pe.some), da("getAnchorOverrides", Be({})), Lf(), kd("dropdownBehaviours", [al, nd, hs, ts]), Zn("toggleClass"), da("eventOrder", {}), xi("lazySink"), da("matchWidth", !1), da("useMinWidth", !1), xi("role")].concat(Cx())), ZF = Be([Kh({ schema: [Iy(), da("fakeFocus", !1)], name: "menu", defaults: (S) => ({ onExecute: S.onExecute }) }), vx()]), Uf = Pf({ name: "Dropdown", configFields: EN(), partFields: ZF(), factory: (S, I, H, X) => {
44676
44676
  const Ae = (On) => {
44677
44677
  zl.getState(On).each((Fn) => {
44678
44678
  Cg.highlightPrimary(Fn);
@@ -44961,7 +44961,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
44961
44961
  }, Tm = qh({ name: "Container", factory: (S) => {
44962
44962
  const { attributes: I, ...H } = S.dom;
44963
44963
  return { uid: S.uid, dom: { tag: "div", attributes: { role: "presentation", ...I }, ...H }, components: S.components, behaviours: Mf(S.containerBehaviours), events: S.events, domModification: S.domModification, eventOrder: S.eventOrder };
44964
- }, configFields: [ca("components", []), kd("containerBehaviours", []), ca("events", {}), ca("domModification", {}), ca("eventOrder", {})] }), X5 = (S) => {
44964
+ }, configFields: [da("components", []), kd("containerBehaviours", []), da("events", {}), da("domModification", {}), da("eventOrder", {})] }), X5 = (S) => {
44965
44965
  const I = (hr) => $c(S.element).fold(In, (Cr) => Na(hr, Cr)), H = wN(), X = (hr, Cr) => H.find(I, hr, Cr), Ae = JF(S.element, { triggerEvent: (hr, Cr) => Ny(hr, Cr.target, (br) => ((cr, xr, Dr, Ur) => t6(cr, xr, Dr, Dr.target, Ur))(X, hr, Cr, br)) }), we = { debugInfo: Be("real"), triggerEvent: (hr, Cr, br) => {
44966
44966
  Ny(hr, Cr, (cr) => t6(X, hr, br, Cr, cr));
44967
44967
  }, triggerFocus: (hr, Cr) => {
@@ -45025,7 +45025,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45025
45025
  return Ne(S), { root: S, element: S.element, destroy: () => {
45026
45026
  Ae.unbind(), wc(S.element);
45027
45027
  }, add: On, remove: Fn, getByUid: rr, getByDom: Ar, addToWorld: Ne, removeFromWorld: ze, broadcast: Hn, broadcastOn: Yn, broadcastEvent: Xn };
45028
- }, BN = Be([ca("prefix", "form-field"), kd("fieldBehaviours", [Gl, Mi])]), ON = Be([Ih({ schema: [Zn("dom")], name: "label" }), Ih({ factory: { sketch: (S) => ({ uid: S.uid, dom: { tag: "span", styles: { display: "none" }, attributes: { "aria-hidden": "true" }, innerHtml: S.text } }) }, schema: [Zn("text")], name: "aria-descriptor" }), Ef({ factory: { sketch: (S) => {
45028
+ }, BN = Be([da("prefix", "form-field"), kd("fieldBehaviours", [Gl, Mi])]), ON = Be([Ih({ schema: [Zn("dom")], name: "label" }), Ih({ factory: { sketch: (S) => ({ uid: S.uid, dom: { tag: "span", styles: { display: "none" }, attributes: { "aria-hidden": "true" }, innerHtml: S.text } }) }, schema: [Zn("text")], name: "aria-descriptor" }), Ef({ factory: { sketch: (S) => {
45029
45029
  const I = ((H, X) => {
45030
45030
  const Ae = {};
45031
45031
  return Xi(H, (we, Ne) => {
@@ -45052,7 +45052,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45052
45052
  })]), Ne = { getField: (ze) => Hu(ze, S, "field"), getLabel: (ze) => Hu(ze, S, "label") };
45053
45053
  return { uid: S.uid, dom: S.dom, components: I, behaviours: Ae, events: we, apis: Ne };
45054
45054
  }, apis: { getField: (S, I) => S.getField(I), getLabel: (S, I) => S.getLabel(I) } });
45055
- var QE = Object.freeze({ __proto__: null, exhibit: (S, I) => Td({ attributes: pu([{ key: I.tabAttr, value: "true" }]) }) }), xN = [ca("tabAttr", "data-alloy-tabstop")];
45055
+ var QE = Object.freeze({ __proto__: null, exhibit: (S, I) => Td({ attributes: pu([{ key: I.tabAttr, value: "true" }]) }) }), xN = [da("tabAttr", "data-alloy-tabstop")];
45056
45056
  const Dc = Fd({ fields: xN, name: "tabstopping", active: QE });
45057
45057
  var xx = tinymce.util.Tools.resolve("tinymce.html.Entities");
45058
45058
  const a_ = (S, I, H, X) => {
@@ -45085,7 +45085,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45085
45085
  tw(X, S).get(En);
45086
45086
  })].concat(H.validateOnLoad ? [qu((X) => {
45087
45087
  tw(X, S).get(se);
45088
- })] : []))).getOr({}) }), kN = [Zn("invalidClass"), ca("getRoot", Pe.none), gl("notify", [ca("aria", "alert"), ca("getContainer", Pe.none), ca("validHtml", ""), Yl("onValid"), Yl("onInvalid"), Yl("onValidate")]), gl("validator", [Zn("validate"), ca("onEvent", "input"), ca("validateOnLoad", !0)])];
45088
+ })] : []))).getOr({}) }), kN = [Zn("invalidClass"), da("getRoot", Pe.none), gl("notify", [da("aria", "alert"), da("getContainer", Pe.none), da("validHtml", ""), Yl("onValid"), Yl("onInvalid"), Yl("onValidate")]), gl("validator", [Zn("validate"), da("onEvent", "input"), da("validateOnLoad", !0)])];
45089
45089
  const Pg = Fd({ fields: kN, name: "invalidating", active: DN, apis: FN, extra: { validation: (S) => (I) => {
45090
45090
  const H = Mi.getValue(I);
45091
45091
  return tA(S(H));
@@ -45252,7 +45252,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45252
45252
  const Ae = Rg(H), we = Qx(S, X.getSpectrum(S), Ae.x, X.getLeftEdge(S), X.getRightEdge(S), H), Ne = Gx(S, X.getSpectrum(S), Ae.y, X.getTopEdge(S), X.getBottomEdge(S), H), ze = hl(I.element) / 2, On = ra(I.element) / 2;
45253
45253
  As(I.element, "left", we - ze + "px"), As(I.element, "top", Ne - On + "px");
45254
45254
  }, onLeft: WN, onRight: C6, onUp: YN, onDown: _6, edgeActions: E6 });
45255
- const Gp = Pf({ name: "Slider", configFields: [ca("stepSize", 1), ca("onChange", se), ca("onChoose", se), ca("onInit", se), ca("onDragStart", se), ca("onDragEnd", se), ca("snapToGrid", !1), ca("rounded", !0), xi("snapStart"), Ir("model", Al("mode", { x: [ca("minX", 0), ca("maxX", 100), Vn("value", (S) => rs(S.mode.minX)), Zn("getInitialValue"), hc("manager", QN)], y: [ca("minY", 0), ca("maxY", 100), Vn("value", (S) => rs(S.mode.minY)), Zn("getInitialValue"), hc("manager", ry)], xy: [ca("minX", 0), ca("maxX", 100), ca("minY", 0), ca("maxY", 100), Vn("value", (S) => rs({ x: S.mode.minX, y: S.mode.minY })), Zn("getInitialValue"), hc("manager", Yx)] })), kd("sliderBehaviours", [hs, Mi]), Vn("mouseIsDown", () => rs(!1))], partFields: RN, factory: (S, I, H, X) => {
45255
+ const Gp = Pf({ name: "Slider", configFields: [da("stepSize", 1), da("onChange", se), da("onChoose", se), da("onInit", se), da("onDragStart", se), da("onDragEnd", se), da("snapToGrid", !1), da("rounded", !0), xi("snapStart"), Ir("model", Al("mode", { x: [da("minX", 0), da("maxX", 100), Vn("value", (S) => rs(S.mode.minX)), Zn("getInitialValue"), hc("manager", QN)], y: [da("minY", 0), da("maxY", 100), Vn("value", (S) => rs(S.mode.minY)), Zn("getInitialValue"), hc("manager", ry)], xy: [da("minX", 0), da("maxX", 100), da("minY", 0), da("maxY", 100), Vn("value", (S) => rs({ x: S.mode.minX, y: S.mode.minY })), Zn("getInitialValue"), hc("manager", Yx)] })), kd("sliderBehaviours", [hs, Mi]), Vn("mouseIsDown", () => rs(!1))], partFields: RN, factory: (S, I, H, X) => {
45256
45256
  const Ae = (Cr) => bm(Cr, S, "thumb"), we = (Cr) => bm(Cr, S, "spectrum"), Ne = (Cr) => Hu(Cr, S, "left-edge"), ze = (Cr) => Hu(Cr, S, "right-edge"), On = (Cr) => Hu(Cr, S, "top-edge"), Fn = (Cr) => Hu(Cr, S, "bottom-edge"), Un = S.model, Hn = Un.manager, Yn = (Cr, br) => {
45257
45257
  Hn.setPositionFromValue(Cr, br, S, { getLeftEdge: Ne, getRightEdge: ze, getTopEdge: On, getBottomEdge: Fn, getSpectrum: we });
45258
45258
  }, Xn = (Cr, br) => {
@@ -45378,7 +45378,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45378
45378
  }, name: "RgbForm", configFields: [], apis: { updateHex: (Un, Hn, Yn) => {
45379
45379
  Un.updateHex(Hn, Yn);
45380
45380
  } }, extraApis: {} });
45381
- }, qN = (S, I) => qh({ name: "ColourPicker", configFields: [Zn("dom"), ca("onValidHex", se), ca("onInvalidHex", se)], factory: (X) => {
45381
+ }, qN = (S, I) => qh({ name: "ColourPicker", configFields: [Zn("dom"), da("onValidHex", se), da("onInvalidHex", se)], factory: (X) => {
45382
45382
  const Ae = KN(S, I, X.onValidHex, X.onInvalidHex), we = ((Ar, hr) => {
45383
45383
  const Cr = Gp.parts.spectrum({ dom: { tag: "canvas", attributes: { role: "presentation" }, classes: [hr("sv-palette-spectrum")] } }), br = Gp.parts.thumb({ dom: { tag: "div", attributes: { role: "presentation" }, classes: [hr("sv-palette-thumb")], innerHtml: `<div class=${hr("sv-palette-inner-thumb")} role="presentation"></div>` } }), cr = (xr, Dr) => {
45384
45384
  const { width: Ur, height: ia } = xr, Oa = xr.getContext("2d");
@@ -45456,7 +45456,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45456
45456
  rr(hr, Ur, br, Ar);
45457
45457
  };
45458
45458
  })())]), Gl.config({ find: (Ar) => Fn.getOpt(Ar) }), hs.config({ mode: "acyclic" })]) };
45459
- } }), c1 = () => Gl.config({ find: Pe.some }), qx = (S) => Gl.config({ find: (I) => tl(I.element, S).bind((H) => I.getSystem().getByDom(H).toOptional()) }), XN = ta([ca("preprocess", En), ca("postprocess", En)]), x6 = (S, I, H) => Mi.config({ store: { mode: "manual", ...S.map((X) => ({ initialValue: X })).getOr({}), getValue: I, setValue: H } }), T6 = (S, I, H) => x6(S, (X) => I(X.element), (X, Ae) => H(X.element, Ae)), jN = (S, I) => {
45459
+ } }), c1 = () => Gl.config({ find: Pe.some }), qx = (S) => Gl.config({ find: (I) => tl(I.element, S).bind((H) => I.getSystem().getByDom(H).toOptional()) }), XN = ta([da("preprocess", En), da("postprocess", En)]), x6 = (S, I, H) => Mi.config({ store: { mode: "manual", ...S.map((X) => ({ initialValue: X })).getOr({}), getValue: I, setValue: H } }), T6 = (S, I, H) => x6(S, (X) => I(X.element), (X, Ae) => H(X.element, Ae)), jN = (S, I) => {
45460
45460
  const H = Fs("RepresentingConfigs.memento processors", XN, I);
45461
45461
  return Mi.config({ store: { mode: "manual", getValue: (X) => {
45462
45462
  const Ae = S.get(X), we = Mi.getValue(Ae);
@@ -45542,13 +45542,13 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45542
45542
  return Pe.from(Cg.tieredData(Ae, Un, we.expansions));
45543
45543
  }, rT = (S) => !ji(S, "items"), XE = "data-value", M6 = (S, I, H, X) => yr(H, (Ae) => rT(Ae) ? { type: "togglemenuitem", text: Ae.text, value: Ae.value, active: Ae.value === X, onAction: () => {
45544
45544
  Mi.setValue(S, Ae.value), gs(S, nA, { name: I }), ts.focus(S);
45545
- } } : { type: "nestedmenuitem", text: Ae.text, getSubmenuItems: () => M6(S, I, Ae.items, X) }), jE = (S, I) => fi(S, (H) => rT(H) ? Du(H.value === I, H) : jE(H.items, I)), oL = qh({ name: "HtmlSelect", configFields: [Zn("options"), kd("selectBehaviours", [ts, Mi]), ca("selectClasses", []), ca("selectAttributes", {}), xi("data")], factory: (S, I) => {
45545
+ } } : { type: "nestedmenuitem", text: Ae.text, getSubmenuItems: () => M6(S, I, Ae.items, X) }), jE = (S, I) => fi(S, (H) => rT(H) ? Du(H.value === I, H) : jE(H.items, I)), oL = qh({ name: "HtmlSelect", configFields: [Zn("options"), kd("selectBehaviours", [ts, Mi]), da("selectClasses", []), da("selectAttributes", {}), xi("data")], factory: (S, I) => {
45546
45546
  const H = yr(S.options, (Ae) => ({ dom: { tag: "option", value: Ae.value, innerHtml: Ae.text } })), X = S.data.map((Ae) => dc("initialValue", Ae)).getOr({});
45547
45547
  return { uid: S.uid, dom: { tag: "select", classes: S.selectClasses, attributes: S.selectAttributes }, components: H, behaviours: vd(S.selectBehaviours, [ts.config({}), Mi.config({ store: { mode: "manual", getValue: (Ae) => bf(Ae.element), setValue: (Ae, we) => {
45548
45548
  const Ne = $r(S.options);
45549
45549
  oi(S.options, (ze) => ze.value === we).isSome() ? vA(Ae.element, we) : Ae.element.dom.selectedIndex === -1 && we === "" && Ne.each((ze) => vA(Ae.element, ze.value));
45550
45550
  }, ...X } })]) };
45551
- } }), rL = Be([ca("field1Name", "field1"), ca("field2Name", "field2"), sv("onLockedChange"), jm(["lockClass"]), ca("locked", !1), ub("coupledFieldBehaviours", [Gl, Mi])]), P6 = (S, I) => Ef({ factory: Eu, name: S, overrides: (H) => ({ fieldBehaviours: Ai([Ds("coupled-input-behaviour", [qa(am(), (X) => {
45551
+ } }), rL = Be([da("field1Name", "field1"), da("field2Name", "field2"), sv("onLockedChange"), jm(["lockClass"]), da("locked", !1), ub("coupledFieldBehaviours", [Gl, Mi])]), P6 = (S, I) => Ef({ factory: Eu, name: S, overrides: (H) => ({ fieldBehaviours: Ai([Ds("coupled-input-behaviour", [qa(am(), (X) => {
45552
45552
  ((Ae, we, Ne) => Hu(Ae, we, Ne).bind(Gl.getCurrent))(X, H, I).each((Ae) => {
45553
45553
  Hu(X, H, "lock").each((we) => {
45554
45554
  al.isOn(we) && H.onLockedChange(X, Ae, we);
@@ -45638,7 +45638,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45638
45638
  return Td(X ? { classes: [I.openClass], styles: {} } : { classes: [I.closedClass], styles: dc(I.dimension.property, "0px") });
45639
45639
  }, events: (S, I) => oc([Zm(im(), (H, X) => {
45640
45640
  X.event.raw.propertyName === S.dimension.property && (eS(H, S), I.isExpanded() && Nl(H.element, S.dimension.property), (I.isExpanded() ? S.onGrown : S.onShrunk)(H));
45641
- })]) }), G6 = [Zn("closedClass"), Zn("openClass"), Zn("shrinkingClass"), Zn("growingClass"), xi("getAnimationRoot"), Yl("onShrunk"), Yl("onStartShrink"), Yl("onGrown"), Yl("onStartGrow"), ca("expanded", !1), Ir("dimension", Al("property", { width: [hc("property", "width"), hc("getDimension", (S) => hl(S) + "px")], height: [hc("property", "height"), hc("getDimension", (S) => ra(S) + "px")] }))];
45641
+ })]) }), G6 = [Zn("closedClass"), Zn("openClass"), Zn("shrinkingClass"), Zn("growingClass"), xi("getAnimationRoot"), Yl("onShrunk"), Yl("onStartShrink"), Yl("onGrown"), Yl("onStartGrow"), da("expanded", !1), Ir("dimension", Al("property", { width: [hc("property", "width"), hc("getDimension", (S) => hl(S) + "px")], height: [hc("property", "height"), hc("getDimension", (S) => ra(S) + "px")] }))];
45642
45642
  const Uh = Fd({ fields: G6, name: "sliding", active: z6, apis: sL, state: Object.freeze({ __proto__: null, init: (S) => {
45643
45643
  const I = rs(S.expanded);
45644
45644
  return cu({ isExpanded: () => I.get() === !0, isCollapsed: () => I.get() === !1, setCollapsed: Bn(I.set, !1), setExpanded: Bn(I.set, !0), readState: () => "expanded: " + I.get() });
@@ -45751,12 +45751,12 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45751
45751
  H !== null && H.cancel();
45752
45752
  } });
45753
45753
  };
45754
- var X6 = Object.freeze({ __proto__: null, throttle: q6, init: (S) => S.stream.streams.state(S) }), j6 = [Ir("stream", Al("mode", { throttle: [Zn("delay"), ca("stopEvent", !0), hc("streams", { setup: (S, I) => {
45754
+ var X6 = Object.freeze({ __proto__: null, throttle: q6, init: (S) => S.stream.streams.state(S) }), j6 = [Ir("stream", Al("mode", { throttle: [Zn("delay"), da("stopEvent", !0), hc("streams", { setup: (S, I) => {
45755
45755
  const H = S.stream, X = Ow(S.onStream, H.delay);
45756
45756
  return I.setTimer(X), (Ae, we) => {
45757
45757
  X.throttle(Ae, we), H.stopEvent && we.stop();
45758
45758
  };
45759
- }, state: q6 })] })), ca("event", "input"), xi("cancelEvent"), sv("onStream")];
45759
+ }, state: q6 })] })), da("event", "input"), xi("cancelEvent"), sv("onStream")];
45760
45760
  const uy = Fd({ fields: j6, name: "streaming", active: K6, state: X6 }), nS = (S, I, H) => {
45761
45761
  const X = Mi.getValue(H);
45762
45762
  Mi.setValue(I, X), eD(I);
@@ -45765,7 +45765,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
45765
45765
  bu(H, "type") !== "number" && I(Ae, X);
45766
45766
  }, eD = (S) => {
45767
45767
  J6(S, (I, H) => I.setSelectionRange(H.length, H.length));
45768
- }, xw = Be("alloy.typeahead.itemexecute"), fL = Be([xi("lazySink"), Zn("fetch"), ca("minChars", 5), ca("responseTime", 1e3), Yl("onOpen"), ca("getHotspot", Pe.some), ca("getAnchorOverrides", Be({})), ca("layouts", Pe.none()), ca("eventOrder", {}), Wf("model", {}, [ca("getDisplayText", (S) => S.meta !== void 0 && S.meta.text !== void 0 ? S.meta.text : S.value), ca("selectsOver", !0), ca("populateFromBrowse", !0)]), Yl("onSetValue"), Ch("onExecute"), Yl("onItemExecute"), ca("inputClasses", []), ca("inputAttributes", {}), ca("inputStyles", {}), ca("matchWidth", !0), ca("useMinWidth", !1), ca("dismissOnBlur", !0), jm(["openClass"]), xi("initialData"), kd("typeaheadBehaviours", [ts, Mi, uy, hs, al, nd]), Vn("lazyTypeaheadComp", () => rs(Pe.none)), Vn("previewing", () => rs(!0))].concat(TA()).concat(Cx())), hL = Be([Kh({ schema: [Iy()], name: "menu", overrides: (S) => ({ fakeFocus: !0, onHighlightItem: (I, H, X) => {
45768
+ }, xw = Be("alloy.typeahead.itemexecute"), fL = Be([xi("lazySink"), Zn("fetch"), da("minChars", 5), da("responseTime", 1e3), Yl("onOpen"), da("getHotspot", Pe.some), da("getAnchorOverrides", Be({})), da("layouts", Pe.none()), da("eventOrder", {}), Wf("model", {}, [da("getDisplayText", (S) => S.meta !== void 0 && S.meta.text !== void 0 ? S.meta.text : S.value), da("selectsOver", !0), da("populateFromBrowse", !0)]), Yl("onSetValue"), Ch("onExecute"), Yl("onItemExecute"), da("inputClasses", []), da("inputAttributes", {}), da("inputStyles", {}), da("matchWidth", !0), da("useMinWidth", !1), da("dismissOnBlur", !0), jm(["openClass"]), xi("initialData"), kd("typeaheadBehaviours", [ts, Mi, uy, hs, al, nd]), Vn("lazyTypeaheadComp", () => rs(Pe.none)), Vn("previewing", () => rs(!0))].concat(TA()).concat(Cx())), hL = Be([Kh({ schema: [Iy()], name: "menu", overrides: (S) => ({ fakeFocus: !0, onHighlightItem: (I, H, X) => {
45769
45769
  S.previewing.get() ? S.lazyTypeaheadComp.get().each((Ae) => {
45770
45770
  ((we, Ne, ze) => {
45771
45771
  if (we.selectsOver) {
@@ -46428,7 +46428,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
46428
46428
  throw new Error("Expected meta to be a object");
46429
46429
  Ne({ value: On, meta: Fn });
46430
46430
  }, we.value, ze);
46431
- })))(S, I) }), Af = _2, Qg = hh, DL = Be([ca("shell", !1), Zn("makeItem"), ca("setupItem", se), ub("listBehaviours", [Js])]), bT = Ih({ name: "items", overrides: () => ({ behaviours: Ai([Js.config({})]) }) }), kL = Be([bT]), RD = Pf({ name: Be("CustomList")(), configFields: DL(), partFields: kL(), factory: (S, I, H, X) => {
46431
+ })))(S, I) }), Af = _2, Qg = hh, DL = Be([da("shell", !1), Zn("makeItem"), da("setupItem", se), ub("listBehaviours", [Js])]), bT = Ih({ name: "items", overrides: () => ({ behaviours: Ai([Js.config({})]) }) }), kL = Be([bT]), RD = Pf({ name: Be("CustomList")(), configFields: DL(), partFields: kL(), factory: (S, I, H, X) => {
46432
46432
  const Ae = S.shell ? { behaviours: [Js.config({})], components: [] } : { behaviours: [], components: I };
46433
46433
  return { uid: S.uid, dom: S.dom, components: Ae.components, behaviours: vd(S.listBehaviours, Ae.behaviours), apis: { setItems: (we, Ne) => {
46434
46434
  var ze;
@@ -46445,7 +46445,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
46445
46445
  } } };
46446
46446
  }, apis: { setItems: (S, I, H) => {
46447
46447
  S.setItems(I, H);
46448
- } } }), dy = Be([Zn("dom"), ca("shell", !0), kd("toolbarBehaviours", [Js])]), $L = Be([Ih({ name: "groups", overrides: () => ({ behaviours: Ai([Js.config({})]) }) })]), km = Pf({ name: "Toolbar", configFields: dy(), partFields: $L(), factory: (S, I, H, X) => {
46448
+ } } }), dy = Be([Zn("dom"), da("shell", !0), kd("toolbarBehaviours", [Js])]), $L = Be([Ih({ name: "groups", overrides: () => ({ behaviours: Ai([Js.config({})]) }) })]), km = Pf({ name: "Toolbar", configFields: dy(), partFields: $L(), factory: (S, I, H, X) => {
46449
46449
  const Ae = S.shell ? { behaviours: [Js.config({})], components: [] } : { behaviours: [], components: I };
46450
46450
  return { uid: S.uid, dom: S.dom, components: Ae.components, behaviours: vd(S.toolbarBehaviours, Ae.behaviours), apis: { setGroups: (we, Ne) => {
46451
46451
  var ze;
@@ -46717,7 +46717,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
46717
46717
  });
46718
46718
  });
46719
46719
  })]), hs.config({ mode: "flow", selector: ".tox-mbtn", onEscape: (X) => (S.onEscape(X), Pe.some(!0)) }), Dc.config({})]), apis: H, domModification: { attributes: { role: "menubar" } } };
46720
- }, name: "silver.Menubar", configFields: [Zn("dom"), Zn("uid"), Zn("onEscape"), Zn("backstage"), ca("onSetup", se)], apis: { focus: (S, I) => {
46720
+ }, name: "silver.Menubar", configFields: [Zn("dom"), Zn("uid"), Zn("onEscape"), Zn("backstage"), da("onSetup", se)], apis: { focus: (S, I) => {
46721
46721
  S.focus(I);
46722
46722
  }, setMenus: (S, I, H) => {
46723
46723
  S.setMenus(I, H);
@@ -46851,7 +46851,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
46851
46851
  const Ae = Bu.max(H, X, ["margin-left", "border-left-width", "padding-left", "padding-right", "border-right-width", "margin-right"]);
46852
46852
  As(H, "max-width", Ae + "px");
46853
46853
  })(S, Math.floor(I));
46854
- }), NT = Be([jm(["toggledClass"]), Zn("lazySink"), Ti("fetch"), nc("getBounds"), gl("fireDismissalEventInstead", [ca("event", NA())]), Lf(), Yl("onToggled")]), LT = Be([Kh({ name: "button", overrides: (S) => ({ dom: { attributes: { "aria-haspopup": "true" } }, buttonBehaviours: Ai([al.config({ toggleClass: S.markers.toggledClass, aria: { mode: "expanded" }, toggleOnExecute: !1, onToggled: S.onToggled })]) }) }), Kh({ factory: km, schema: dy(), name: "toolbar", overrides: (S) => ({ toolbarBehaviours: Ai([hs.config({ mode: "cyclic", onEscape: (I) => (Hu(I, S, "button").each(ts.focus), Pe.none()) })]) }) })]), fS = Ac(), IT = (S, I) => {
46854
+ }), NT = Be([jm(["toggledClass"]), Zn("lazySink"), Ti("fetch"), nc("getBounds"), gl("fireDismissalEventInstead", [da("event", NA())]), Lf(), Yl("onToggled")]), LT = Be([Kh({ name: "button", overrides: (S) => ({ dom: { attributes: { "aria-haspopup": "true" } }, buttonBehaviours: Ai([al.config({ toggleClass: S.markers.toggledClass, aria: { mode: "expanded" }, toggleOnExecute: !1, onToggled: S.onToggled })]) }) }), Kh({ factory: km, schema: dy(), name: "toolbar", overrides: (S) => ({ toolbarBehaviours: Ai([hs.config({ mode: "cyclic", onEscape: (I) => (Hu(I, S, "button").each(ts.focus), Pe.none()) })]) }) })]), fS = Ac(), IT = (S, I) => {
46855
46855
  const H = nd.getCoupled(S, "toolbarSandbox");
46856
46856
  zl.isOpen(H) ? zl.close(H) : zl.open(H, I.toolbar());
46857
46857
  }, Kw = (S, I, H, X) => {
@@ -47319,7 +47319,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
47319
47319
  const Ae = (ze) => CD(ze) ? ei(ze.items, Ae) : _D(ze) ? [{ title: ze.title, format: ze.format }] : [], we = ei(ED(S), Ae), Ne = Ok(S, Be(we)).fold(Be(H), (ze) => ze.title);
47320
47320
  gs(X, hp, { text: Ne });
47321
47321
  }, shouldHide: _m(S), isInvalid: (X) => !S.formatter.canApply(X.format), dataset: I };
47322
- }, CI = Be([Zn("toggleClass"), Zn("fetch"), sv("onExecute"), ca("getHotspot", Pe.some), ca("getAnchorOverrides", Be({})), Lf(), sv("onItemExecute"), xi("lazySink"), Zn("dom"), Yl("onOpen"), kd("splitDropdownBehaviours", [nd, hs, ts]), ca("matchWidth", !1), ca("useMinWidth", !1), ca("eventOrder", {}), xi("role")].concat(Cx())), _I = Ef({ factory: bd, schema: [Zn("dom")], name: "arrow", defaults: () => ({ buttonBehaviours: Ai([ts.revoke()]) }), overrides: (S) => ({ dom: { tag: "span", attributes: { role: "presentation" } }, action: (I) => {
47322
+ }, CI = Be([Zn("toggleClass"), Zn("fetch"), sv("onExecute"), da("getHotspot", Pe.some), da("getAnchorOverrides", Be({})), Lf(), sv("onItemExecute"), xi("lazySink"), Zn("dom"), Yl("onOpen"), kd("splitDropdownBehaviours", [nd, hs, ts]), da("matchWidth", !1), da("useMinWidth", !1), da("eventOrder", {}), xi("role")].concat(Cx())), _I = Ef({ factory: bd, schema: [Zn("dom")], name: "arrow", defaults: () => ({ buttonBehaviours: Ai([ts.revoke()]) }), overrides: (S) => ({ dom: { tag: "span", attributes: { role: "presentation" } }, action: (I) => {
47323
47323
  I.getSystem().getByUid(S.uid).each(Nh);
47324
47324
  }, buttonBehaviours: Ai([al.config({ toggleOnExecute: !1, toggleClass: S.toggleClass })]) }) }), EI = Ef({ factory: bd, schema: [Zn("dom")], name: "button", defaults: () => ({ buttonBehaviours: Ai([ts.revoke()]) }), overrides: (S) => ({ dom: { tag: "span", attributes: { role: "presentation" } }, action: (I) => {
47325
47325
  I.getSystem().getByUid(S.uid).each((H) => {
@@ -47805,10 +47805,10 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
47805
47805
  ia.set(ia.get().concat([{ bar: Wa, focus: _h(Dl(Oa.element)) }]));
47806
47806
  }), gs(Oa, a4, { contents: Ja.event.forwardContents, focus: Pe.none() });
47807
47807
  }), qa(Xk, (Oa, Ja) => {
47808
- da(ia.get()).each((Wa) => {
47808
+ ca(ia.get()).each((Wa) => {
47809
47809
  ia.set(ia.get().slice(0, ia.get().length - 1)), gs(Oa, a4, { contents: cf(Wa.bar), focus: Wa.focus });
47810
47810
  });
47811
- })]), hs.config({ mode: "special", onEscape: (Oa) => da(ia.get()).fold(() => Ur.onEscape(), (Ja) => (Jl(Oa, Xk), Pe.some(!0))) })]), lazySink: () => nl.value(Ur.sink) });
47811
+ })]), hs.config({ mode: "special", onEscape: (Oa) => ca(ia.get()).fold(() => Ur.onEscape(), (Ja) => (Jl(Oa, Xk), Pe.some(!0))) })]), lazySink: () => nl.value(Ur.sink) });
47812
47812
  })({ sink: H, onEscape: () => (S.focus(), Pe.some(!0)) })), Hn = () => {
47813
47813
  const Ur = Fn.get().getOr("node"), ia = Zk(Ur) ? 1 : 0;
47814
47814
  return n4(S, we, Ur, ia);
@@ -48143,7 +48143,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
48143
48143
  }, vS = (S, I) => {
48144
48144
  if (I.length === 0)
48145
48145
  return S;
48146
- const H = da(S).filter((X) => !o$(X)).fold(() => [], (X) => [B_]);
48146
+ const H = ca(S).filter((X) => !o$(X)).fold(() => [], (X) => [B_]);
48147
48147
  return S.concat(H).concat(I).concat([B_]);
48148
48148
  }, a$ = (S, I) => !((H) => H.type === "longpress" || ji(H, "touches"))(I) && (I.button !== 2 || I.target === S.getBody() && I.pointerType === ""), i$ = (S, I) => a$(S, I) ? S.selection.getStart(!0) : I.target, qI = (S, I, H) => {
48149
48149
  const X = Ou().deviceType.isTouch, Ae = Xd(Tc.sketch({ dom: { tag: "div" }, lazySink: I, onEscape: () => S.focus(), onShow: () => H.setContextMenuState(!0), onHide: () => H.setContextMenuState(!1), fireDismissalEventInstead: {}, inlineBehaviours: Ai([Ds("dismissContextMenu", [qa(NA(), (ze, On) => {
@@ -48242,8 +48242,8 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
48242
48242
  });
48243
48243
  })(S), S.getSystem().removeFromGui(S);
48244
48244
  }, m4 = (S, I, H) => S.getSystem().build(Tm.sketch({ dom: { styles: { left: "0px", top: "0px", width: "100%", height: "100%", position: "fixed", "z-index": "1000000000000000" }, classes: [I] }, events: H }));
48245
- var f$ = gl("snaps", [Zn("getSnapPoints"), Yl("onSensor"), Zn("leftAttr"), Zn("topAttr"), ca("lazyViewport", cc), ca("mustSnap", !1)]);
48246
- const O_ = [ca("useFixed", Dn), Zn("blockerClass"), ca("getTarget", En), ca("onDrag", se), ca("repositionTarget", !0), ca("onDrop", se), Wl("getBounds", cc), f$], tM = (S) => {
48245
+ var f$ = gl("snaps", [Zn("getSnapPoints"), Yl("onSensor"), Zn("leftAttr"), Zn("topAttr"), da("lazyViewport", cc), da("mustSnap", !1)]);
48246
+ const O_ = [da("useFixed", Dn), Zn("blockerClass"), da("getTarget", En), da("onDrag", se), da("repositionTarget", !0), da("onDrop", se), Wl("getBounds", cc), f$], tM = (S) => {
48247
48247
  return (I = Yu(S, "left"), H = Yu(S, "top"), X = Yu(S, "position"), I.isSome() && H.isSome() && X.isSome() ? Pe.some(((Ae, we, Ne) => (Ne === "fixed" ? py : lB)(parseInt(Ae, 10), parseInt(we, 10)))(I.getOrDie(), H.getOrDie(), X.getOrDie())) : Pe.none()).getOrThunk(() => {
48248
48248
  const Ae = Zi(S);
48249
48249
  return p1(Ae.left, Ae.top);
@@ -48592,8 +48592,8 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
48592
48592
  return X.render(S, Ja, ad, cr.popup, Bf);
48593
48593
  })({ popupUi: Oa, dialogUi: ia, mainUi: Ur, uiMotherships: we.getUiMotherships() });
48594
48594
  } };
48595
- }, dM = Be([Zn("lazySink"), xi("dragBlockClass"), Wl("getBounds", cc), ca("useTabstopAt", In), ca("firstTabstop", 0), ca("eventOrder", {}), kd("modalBehaviours", [hs]), Ch("onExecute"), Q1("onEscape")]), b4 = { sketch: En }, fM = Be([Ih({ name: "draghandle", overrides: (S, I) => ({ behaviours: Ai([gy.config({ mode: "mouse", getTarget: (H) => IA(H, '[role="dialog"]').getOr(H), blockerClass: S.dragBlockClass.getOrDie(new Error(`The drag blocker class was not specified for a dialog with a drag handle:
48596
- ` + JSON.stringify(I, null, 2)).message), getBounds: S.getDragBounds })]) }) }), Ef({ schema: [Zn("dom")], name: "title" }), Ef({ factory: b4, schema: [Zn("dom")], name: "close" }), Ef({ factory: b4, schema: [Zn("dom")], name: "body" }), Ih({ factory: b4, schema: [Zn("dom")], name: "footer" }), Kh({ factory: { sketch: (S, I) => ({ ...S, dom: I.dom, components: I.components }) }, schema: [ca("dom", { tag: "div", styles: { position: "fixed", left: "0px", top: "0px", right: "0px", bottom: "0px" } }), ca("components", [])], name: "blocker" })]), zd = Pf({ name: "ModalDialog", configFields: dM(), partFields: fM(), factory: (S, I, H, X) => {
48595
+ }, dM = Be([Zn("lazySink"), xi("dragBlockClass"), Wl("getBounds", cc), da("useTabstopAt", In), da("firstTabstop", 0), da("eventOrder", {}), kd("modalBehaviours", [hs]), Ch("onExecute"), Q1("onEscape")]), b4 = { sketch: En }, fM = Be([Ih({ name: "draghandle", overrides: (S, I) => ({ behaviours: Ai([gy.config({ mode: "mouse", getTarget: (H) => IA(H, '[role="dialog"]').getOr(H), blockerClass: S.dragBlockClass.getOrDie(new Error(`The drag blocker class was not specified for a dialog with a drag handle:
48596
+ ` + JSON.stringify(I, null, 2)).message), getBounds: S.getDragBounds })]) }) }), Ef({ schema: [Zn("dom")], name: "title" }), Ef({ factory: b4, schema: [Zn("dom")], name: "close" }), Ef({ factory: b4, schema: [Zn("dom")], name: "body" }), Ih({ factory: b4, schema: [Zn("dom")], name: "footer" }), Kh({ factory: { sketch: (S, I) => ({ ...S, dom: I.dom, components: I.components }) }, schema: [da("dom", { tag: "div", styles: { position: "fixed", left: "0px", top: "0px", right: "0px", bottom: "0px" } }), da("components", [])], name: "blocker" })]), zd = Pf({ name: "ModalDialog", configFields: dM(), partFields: fM(), factory: (S, I, H, X) => {
48597
48597
  const Ae = Ac(), we = zi("modal-events"), Ne = { ...S.eventOrder, [uf()]: [we].concat(S.eventOrder["alloy.system.attached"] || []) };
48598
48598
  return { uid: S.uid, dom: S.dom, components: I, apis: { show: (ze) => {
48599
48599
  Ae.set(ze);
@@ -48628,10 +48628,10 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
48628
48628
  S.setBusy(I, H);
48629
48629
  }, setIdle: (S, I) => {
48630
48630
  S.setIdle(I);
48631
- } } }), T_ = ta([td, KC].concat(W)), hM = ps, y4 = [kE("button"), Rh, nu("align", "end", ["start", "end"]), $v, Jf, bc("buttonType", ["primary", "secondary"])], _$ = [...y4, $g], F_ = [gi("type", ["submit", "cancel", "custom"]), ..._$], pp = [gi("type", ["menu"]), fp, Hb, Rh, es("items", T_), ...y4], C4 = [...y4, gi("type", ["togglebutton"]), Da("tooltip"), Rh, fp, Zl("active", !1)], E$ = Al("type", { submit: F_, cancel: F_, custom: F_, menu: pp, togglebutton: C4 }), AM = [td, $g, gi("level", ["info", "warn", "error", "success"]), UO, ca("url", "")], pM = ta(AM), mM = [td, $g, Jf, kE("button"), Rh, DE, bc("buttonType", ["primary", "secondary", "toolbar"]), $v], gM = ta(mM), vy = [td, KC], Yp = vy.concat([qC]), vM = vy.concat([O5, Jf]), bM = ta(vM), S$ = ps, yM = Yp.concat([T5("auto")]), w$ = ta(yM), B$ = Ci([Dv, $g, UO]), O$ = Yp.concat([Au("storageKey", "default")]), _M = ta(O$), SM = bi, wM = ta(Yp), BM = bi, OM = vy.concat([Au("tag", "textarea"), Da("scriptId"), Da("scriptUrl"), hu("settings", void 0, dl)]), xM = vy.concat([Au("tag", "textarea"), Ti("init")]), _4 = _l((S) => fs("customeditor.old", ga(xM), S).orThunk(() => fs("customeditor.new", ga(OM), S))), TM = bi, x$ = ta(Yp), FM = Va(ma), DM = (S) => [td, Xr("columns"), S], kM = [td, Da("html"), nu("presets", "presentation", ["presentation", "document"])], $M = ta(kM), NM = Yp.concat([Zl("border", !1), Zl("sandboxed", !0), Zl("streamContent", !1), Zl("transparent", !0)]), LM = ta(NM), IM = bi, T$ = ta(vy.concat([Ml("height")])), F$ = ta([Da("url"), Zu("zoom"), Zu("cachedWidth"), Zu("cachedHeight")]), MM = Yp.concat([Ml("inputMode"), Ml("placeholder"), Zl("maximized", !1), Jf]), PM = ta(MM), RM = bi, UM = (S) => [td, O5, S, nu("align", "start", ["start", "center", "end"])], VM = [$g, Dv], D$ = [$g, es("items", Tu(0, () => E4))], E4 = Xa([ta(VM), ta(D$)]), k$ = Yp.concat([es("items", E4), Jf]), S4 = ta(k$), QM = bi, $$ = Yp.concat([Ii("items", [$g, Dv]), Od("size", 1), Jf]), HM = ta($$), zM = bi, GM = Yp.concat([Zl("constrain", !0), Jf]), WM = ta(GM), uB = ta([Da("width"), Da("height")]), Wv = vy.concat([O5, Od("min", 0), Od("max", 0)]), YM = ta(Wv), _S = Li, ZM = [td, es("header", bi), es("cells", Va(bi))], w4 = ta(ZM), KM = Yp.concat([Ml("placeholder"), Zl("maximized", !1), Jf]), qM = ta(KM), XM = bi, B4 = [gi("type", ["directory", "leaf"]), RO, Da("id"), ml("menu", XD)], N$ = ta(B4), O4 = B4.concat([es("children", Tu(0, () => Cl("type", { directory: cB, leaf: N$ })))]), cB = ta(O4), x4 = Cl("type", { directory: cB, leaf: N$ }), jM = [td, es("items", x4), nc("onLeafAction"), nc("onToggleExpand"), ou("defaultExpandedIds", [], bi), Ml("defaultSelectedId")], KA = ta(jM), JM = Yp.concat([nu("filetype", "file", ["image", "media", "file"]), Jf]), eP = ta(JM), L$ = ta([Dv, jC]), dB = (S) => Gs("items", "items", { tag: "required", process: {} }, Va(_l((I) => fs(`Checking item of ${S}`, T4, I).fold((H) => nl.error(sl(H)), (H) => nl.value(H))))), T4 = ha(() => {
48631
+ } } }), T_ = ta([td, KC].concat(W)), hM = ps, y4 = [kE("button"), Rh, nu("align", "end", ["start", "end"]), $v, Jf, bc("buttonType", ["primary", "secondary"])], _$ = [...y4, $g], F_ = [gi("type", ["submit", "cancel", "custom"]), ..._$], pp = [gi("type", ["menu"]), fp, Hb, Rh, es("items", T_), ...y4], C4 = [...y4, gi("type", ["togglebutton"]), Da("tooltip"), Rh, fp, Zl("active", !1)], E$ = Al("type", { submit: F_, cancel: F_, custom: F_, menu: pp, togglebutton: C4 }), AM = [td, $g, gi("level", ["info", "warn", "error", "success"]), UO, da("url", "")], pM = ta(AM), mM = [td, $g, Jf, kE("button"), Rh, DE, bc("buttonType", ["primary", "secondary", "toolbar"]), $v], gM = ta(mM), vy = [td, KC], Yp = vy.concat([qC]), vM = vy.concat([O5, Jf]), bM = ta(vM), S$ = ps, yM = Yp.concat([T5("auto")]), w$ = ta(yM), B$ = Ci([Dv, $g, UO]), O$ = Yp.concat([Au("storageKey", "default")]), _M = ta(O$), SM = bi, wM = ta(Yp), BM = bi, OM = vy.concat([Au("tag", "textarea"), Da("scriptId"), Da("scriptUrl"), hu("settings", void 0, dl)]), xM = vy.concat([Au("tag", "textarea"), Ti("init")]), _4 = _l((S) => fs("customeditor.old", ga(xM), S).orThunk(() => fs("customeditor.new", ga(OM), S))), TM = bi, x$ = ta(Yp), FM = Va(ma), DM = (S) => [td, Xr("columns"), S], kM = [td, Da("html"), nu("presets", "presentation", ["presentation", "document"])], $M = ta(kM), NM = Yp.concat([Zl("border", !1), Zl("sandboxed", !0), Zl("streamContent", !1), Zl("transparent", !0)]), LM = ta(NM), IM = bi, T$ = ta(vy.concat([Ml("height")])), F$ = ta([Da("url"), Zu("zoom"), Zu("cachedWidth"), Zu("cachedHeight")]), MM = Yp.concat([Ml("inputMode"), Ml("placeholder"), Zl("maximized", !1), Jf]), PM = ta(MM), RM = bi, UM = (S) => [td, O5, S, nu("align", "start", ["start", "center", "end"])], VM = [$g, Dv], D$ = [$g, es("items", Tu(0, () => E4))], E4 = Xa([ta(VM), ta(D$)]), k$ = Yp.concat([es("items", E4), Jf]), S4 = ta(k$), QM = bi, $$ = Yp.concat([Ii("items", [$g, Dv]), Od("size", 1), Jf]), HM = ta($$), zM = bi, GM = Yp.concat([Zl("constrain", !0), Jf]), WM = ta(GM), uB = ta([Da("width"), Da("height")]), Wv = vy.concat([O5, Od("min", 0), Od("max", 0)]), YM = ta(Wv), _S = Li, ZM = [td, es("header", bi), es("cells", Va(bi))], w4 = ta(ZM), KM = Yp.concat([Ml("placeholder"), Zl("maximized", !1), Jf]), qM = ta(KM), XM = bi, B4 = [gi("type", ["directory", "leaf"]), RO, Da("id"), ml("menu", XD)], N$ = ta(B4), O4 = B4.concat([es("children", Tu(0, () => Cl("type", { directory: cB, leaf: N$ })))]), cB = ta(O4), x4 = Cl("type", { directory: cB, leaf: N$ }), jM = [td, es("items", x4), nc("onLeafAction"), nc("onToggleExpand"), ou("defaultExpandedIds", [], bi), Ml("defaultSelectedId")], KA = ta(jM), JM = Yp.concat([nu("filetype", "file", ["image", "media", "file"]), Jf]), eP = ta(JM), L$ = ta([Dv, jC]), dB = (S) => Gs("items", "items", { tag: "required", process: {} }, Va(_l((I) => fs(`Checking item of ${S}`, T4, I).fold((H) => nl.error(sl(H)), (H) => nl.value(H))))), T4 = ha(() => {
48632
48632
  return Cl("type", { alertbanner: pM, bar: ta((S = dB("bar"), [td, S])), button: gM, checkbox: bM, colorinput: _M, colorpicker: wM, dropzone: x$, grid: ta(DM(dB("grid"))), iframe: LM, input: PM, listbox: S4, selectbox: HM, sizeinput: WM, slider: YM, textarea: qM, urlinput: eP, customeditor: _4, htmlpanel: $M, imagepreview: T$, collection: w$, label: ta(UM(dB("label"))), table: w4, tree: KA, panel: I$ });
48633
48633
  var S;
48634
- }), tP = [td, ca("classes", []), es("items", T4)], I$ = ta(tP), nP = [kE("tab"), RO, es("items", T4)], oP = [td, Ii("tabs", nP)], rP = ta(oP), aP = _$, M$ = E$, iP = ta([Da("title"), Ir("body", Cl("type", { panel: I$, tabpanel: rP })), Au("size", "normal"), ou("buttons", [], M$), ca("initialData", {}), Wl("onAction", se), Wl("onChange", se), Wl("onSubmit", se), Wl("onClose", se), Wl("onCancel", se), Wl("onTabChange", se)]), sP = ta([gi("type", ["cancel", "custom"]), ...aP]), lP = ta([Da("title"), Da("url"), Zu("height"), Zu("width"), jl("buttons", sP), Wl("onAction", se), Wl("onCancel", se), Wl("onClose", se), Wl("onMessage", se)]), fB = (S) => p(S) ? [S].concat(ei(Gi(S), fB)) : y(S) ? ei(S, fB) : [], F4 = (S) => c(S.type) && c(S.name), uP = { checkbox: S$, colorinput: SM, colorpicker: BM, dropzone: FM, input: RM, iframe: IM, imagepreview: F$, selectbox: zM, sizeinput: uB, slider: _S, listbox: QM, size: uB, textarea: XM, urlinput: L$, customeditor: TM, collection: B$, togglemenuitem: hM }, D4 = (S) => {
48634
+ }), tP = [td, da("classes", []), es("items", T4)], I$ = ta(tP), nP = [kE("tab"), RO, es("items", T4)], oP = [td, Ii("tabs", nP)], rP = ta(oP), aP = _$, M$ = E$, iP = ta([Da("title"), Ir("body", Cl("type", { panel: I$, tabpanel: rP })), Au("size", "normal"), ou("buttons", [], M$), da("initialData", {}), Wl("onAction", se), Wl("onChange", se), Wl("onSubmit", se), Wl("onClose", se), Wl("onCancel", se), Wl("onTabChange", se)]), sP = ta([gi("type", ["cancel", "custom"]), ...aP]), lP = ta([Da("title"), Da("url"), Zu("height"), Zu("width"), jl("buttons", sP), Wl("onAction", se), Wl("onCancel", se), Wl("onClose", se), Wl("onMessage", se)]), fB = (S) => p(S) ? [S].concat(ei(Gi(S), fB)) : y(S) ? ei(S, fB) : [], F4 = (S) => c(S.type) && c(S.name), uP = { checkbox: S$, colorinput: SM, colorpicker: BM, dropzone: FM, input: RM, iframe: IM, imagepreview: F$, selectbox: zM, sizeinput: uB, slider: _S, listbox: QM, size: uB, textarea: XM, urlinput: L$, customeditor: TM, collection: B$, togglemenuitem: hM }, D4 = (S) => {
48635
48635
  const I = ((X) => Jr(fB(X), F4))(S), H = ei(I, (X) => ((Ae) => Pe.from(uP[Ae.type]))(X).fold(() => [], (Ae) => [Ir(X.name, Ae)]));
48636
48636
  return ta(H);
48637
48637
  }, by = (S) => {
@@ -48679,7 +48679,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
48679
48679
  const X = du(f_.sketch((we) => ({ dom: { tag: "div", classes: ["tox-form"].concat(S.classes) }, components: yr(S.items, (Ne) => Nw(we, Ne, I, H)) })));
48680
48680
  return { dom: { tag: "div", classes: ["tox-dialog__body"] }, components: [{ dom: { tag: "div", classes: ["tox-dialog__body-content"] }, components: [X.asSpec()] }], behaviours: Ai([hs.config({ mode: "acyclic", useTabstopAt: $n(qE) }), (Ae = X, Gl.config({ find: Ae.getOpt })), jN(X, { postprocess: (we) => ES(we).fold((Ne) => ({}), En) })]) };
48681
48681
  var Ae;
48682
- }, fP = qh({ name: "TabButton", configFields: [ca("uid", void 0), Zn("value"), Gs("dom", "dom", Mr(() => ({ attributes: { role: "tab", id: zi("aria"), "aria-selected": "false" } })), ui()), xi("action"), ca("domModification", {}), kd("tabButtonBehaviours", [ts, hs, Mi]), Zn("view")], factory: (S, I) => ({ uid: S.uid, dom: S.dom, components: S.components, events: xb(S.action), behaviours: vd(S.tabButtonBehaviours, [ts.config({}), hs.config({ mode: "execution", useSpace: !0, useEnter: !0 }), Mi.config({ store: { mode: "memory", initialValue: S.value } })]), domModification: S.domModification }) }), U$ = Be([Zn("tabs"), Zn("dom"), ca("clickToDismiss", !1), kd("tabbarBehaviours", [eu, hs]), jm(["tabClass", "selectedClass"])]), V$ = T0({ factory: fP, name: "tabs", unit: "tab", overrides: (S) => {
48682
+ }, fP = qh({ name: "TabButton", configFields: [da("uid", void 0), Zn("value"), Gs("dom", "dom", Mr(() => ({ attributes: { role: "tab", id: zi("aria"), "aria-selected": "false" } })), ui()), xi("action"), da("domModification", {}), kd("tabButtonBehaviours", [ts, hs, Mi]), Zn("view")], factory: (S, I) => ({ uid: S.uid, dom: S.dom, components: S.components, events: xb(S.action), behaviours: vd(S.tabButtonBehaviours, [ts.config({}), hs.config({ mode: "execution", useSpace: !0, useEnter: !0 }), Mi.config({ store: { mode: "memory", initialValue: S.value } })]), domModification: S.domModification }) }), U$ = Be([Zn("tabs"), Zn("dom"), da("clickToDismiss", !1), kd("tabbarBehaviours", [eu, hs]), jm(["tabClass", "selectedClass"])]), V$ = T0({ factory: fP, name: "tabs", unit: "tab", overrides: (S) => {
48683
48683
  const I = (X, Ae) => {
48684
48684
  eu.dehighlight(X, Ae), gs(X, Oy(), { tabbar: X, button: Ae });
48685
48685
  }, H = (X, Ae) => {
@@ -48693,7 +48693,7 @@ The conflicting element is` + (Wu(On.element) ? " " : " not ") + "already in the
48693
48693
  $s(we.element, "aria-selected", "true");
48694
48694
  }, onDehighlight: (Ae, we) => {
48695
48695
  $s(we.element, "aria-selected", "false");
48696
- } }), hs.config({ mode: "flow", getInitial: (Ae) => eu.getHighlighted(Ae).map((we) => we.element), selector: "." + S.markers.tabClass, executeOnMove: !0 })]) }) }), Vh = qh({ name: "Tabview", configFields: [kd("tabviewBehaviours", [Js])], factory: (S, I) => ({ uid: S.uid, dom: S.dom, behaviours: vd(S.tabviewBehaviours, [Js.config({})]), domModification: { attributes: { role: "tabpanel" } } }) }), Q$ = Be([ca("selectFirst", !0), Yl("onChangeTab"), Yl("onDismissTab"), ca("tabs", []), kd("tabSectionBehaviours", [])]), hP = Ef({ factory: $4, schema: [Zn("dom"), Si("markers", [Zn("tabClass"), Zn("selectedClass")])], name: "tabbar", defaults: (S) => ({ tabs: S.tabs }) }), AP = Ef({ factory: Vh, name: "tabview" }), H$ = Be([hP, AP]), D_ = Pf({ name: "TabSection", configFields: Q$(), partFields: H$(), factory: (S, I, H, X) => {
48696
+ } }), hs.config({ mode: "flow", getInitial: (Ae) => eu.getHighlighted(Ae).map((we) => we.element), selector: "." + S.markers.tabClass, executeOnMove: !0 })]) }) }), Vh = qh({ name: "Tabview", configFields: [kd("tabviewBehaviours", [Js])], factory: (S, I) => ({ uid: S.uid, dom: S.dom, behaviours: vd(S.tabviewBehaviours, [Js.config({})]), domModification: { attributes: { role: "tabpanel" } } }) }), Q$ = Be([da("selectFirst", !0), Yl("onChangeTab"), Yl("onDismissTab"), da("tabs", []), kd("tabSectionBehaviours", [])]), hP = Ef({ factory: $4, schema: [Zn("dom"), Si("markers", [Zn("tabClass"), Zn("selectedClass")])], name: "tabbar", defaults: (S) => ({ tabs: S.tabs }) }), AP = Ef({ factory: Vh, name: "tabview" }), H$ = Be([hP, AP]), D_ = Pf({ name: "TabSection", configFields: Q$(), partFields: H$(), factory: (S, I, H, X) => {
48697
48697
  const Ae = (we, Ne) => {
48698
48698
  Hu(we, S, "tabbar").each((ze) => {
48699
48699
  Ne(ze).each(Nh);
@@ -49904,7 +49904,7 @@ tinymce.IconManager.add("default", {
49904
49904
  },
49905
49905
  default: !1
49906
49906
  });
49907
- }, ei = ea("image_dimensions"), ri = ea("image_advtab"), Yr = ea("image_uploadtab"), Rr = ea("image_prepend_url"), Kr = ea("image_class_list"), pr = ea("image_description"), Er = ea("image_title"), Br = ea("image_caption"), $r = ea("image_list"), da = ea("a11y_advanced_options"), Ia = ea("automatic_uploads"), fi = (er) => oi(er.options.get("images_upload_url")), Za = (er) => ae(er.options.get("images_upload_handler")), ks = (er, fr) => Math.max(parseInt(er, 10), parseInt(fr, 10)), Xi = (er) => new Promise((fr) => {
49907
+ }, ei = ea("image_dimensions"), ri = ea("image_advtab"), Yr = ea("image_uploadtab"), Rr = ea("image_prepend_url"), Kr = ea("image_class_list"), pr = ea("image_description"), Er = ea("image_title"), Br = ea("image_caption"), $r = ea("image_list"), ca = ea("a11y_advanced_options"), Ia = ea("automatic_uploads"), fi = (er) => oi(er.options.get("images_upload_url")), Za = (er) => ae(er.options.get("images_upload_handler")), ks = (er, fr) => Math.max(parseInt(er, 10), parseInt(fr, 10)), Xi = (er) => new Promise((fr) => {
49908
49908
  const Wr = document.createElement("img"), Ca = (Qs) => {
49909
49909
  Wr.onload = Wr.onerror = null, Wr.parentNode && Wr.parentNode.removeChild(Wr), fr(Qs);
49910
49910
  };
@@ -50246,7 +50246,7 @@ tinymce.IconManager.add("default", {
50246
50246
  os
50247
50247
  ])));
50248
50248
  });
50249
- }), Ca = ld.sanitize(Kr(er)), vi = ri(er), Qs = Yr(er), $u = fi(er), Ec = Za(er), ai = Vs(er), Kc = pr(er), Sd = Er(er), Nc = ei(er), rh = Br(er), Rd = da(er), Sr = Ia(er), Hr = Be.some(Rr(er)).filter((va) => y(va) && va.length > 0);
50249
+ }), Ca = ld.sanitize(Kr(er)), vi = ri(er), Qs = Yr(er), $u = fi(er), Ec = Za(er), ai = Vs(er), Kc = pr(er), Sd = Er(er), Nc = ei(er), rh = Br(er), Rd = ca(er), Sr = Ia(er), Hr = Be.some(Rr(er)).filter((va) => y(va) && va.length > 0);
50250
50250
  return Wr.then((va) => ({
50251
50251
  image: ai,
50252
50252
  imageList: va,
@@ -50791,13 +50791,13 @@ tinymce.IconManager.add("default", {
50791
50791
  }
50792
50792
  }, $r = (gr) => (zr, ra) => {
50793
50793
  gr[ra] = zr;
50794
- }, da = (gr, zr, ra, Ba) => {
50794
+ }, ca = (gr, zr, ra, Ba) => {
50795
50795
  Br(gr, (li, Bi) => {
50796
50796
  (zr(li, Bi) ? ra : Ba)(li, Bi);
50797
50797
  });
50798
50798
  }, Ia = (gr, zr) => {
50799
50799
  const ra = {};
50800
- return da(gr, zr, $r(ra), ae), ra;
50800
+ return ca(gr, zr, $r(ra), ae), ra;
50801
50801
  }, fi = (gr, zr) => Er.call(gr, zr), Za = (gr, zr) => fi(gr, zr) && gr[zr] !== void 0 && gr[zr] !== null;
50802
50802
  var ks = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"), Xi = tinymce.util.Tools.resolve("tinymce.util.URI");
50803
50803
  const ii = (gr) => P(gr) && gr.nodeName.toLowerCase() === "a", Ri = (gr) => ii(gr) && !!Ms(gr), Bs = (gr, zr) => {
@@ -51492,17 +51492,17 @@ tinymce.IconManager.add("default", {
51492
51492
  },
51493
51493
  clone: function pr(Er, Br) {
51494
51494
  Br = Br || {};
51495
- var $r, da;
51495
+ var $r, ca;
51496
51496
  switch (Jr.util.type(Er)) {
51497
51497
  case "Object":
51498
- if (da = Jr.util.objId(Er), Br[da])
51499
- return Br[da];
51500
- $r = {}, Br[da] = $r;
51498
+ if (ca = Jr.util.objId(Er), Br[ca])
51499
+ return Br[ca];
51500
+ $r = {}, Br[ca] = $r;
51501
51501
  for (var Ia in Er)
51502
51502
  Er.hasOwnProperty(Ia) && ($r[Ia] = pr(Er[Ia], Br));
51503
51503
  return $r;
51504
51504
  case "Array":
51505
- return da = Jr.util.objId(Er), Br[da] ? Br[da] : ($r = [], Br[da] = $r, Er.forEach(function(fi, Za) {
51505
+ return ca = Jr.util.objId(Er), Br[ca] ? Br[ca] : ($r = [], Br[ca] = $r, Er.forEach(function(fi, Za) {
51506
51506
  $r[Za] = pr(fi, Br);
51507
51507
  }), $r);
51508
51508
  default:
@@ -51541,10 +51541,10 @@ tinymce.IconManager.add("default", {
51541
51541
  },
51542
51542
  isActive: function(pr, Er, Br) {
51543
51543
  for (var $r = "no-" + Er; pr; ) {
51544
- var da = pr.classList;
51545
- if (da.contains(Er))
51544
+ var ca = pr.classList;
51545
+ if (ca.contains(Er))
51546
51546
  return !0;
51547
- if (da.contains($r))
51547
+ if (ca.contains($r))
51548
51548
  return !1;
51549
51549
  pr = pr.parentElement;
51550
51550
  }
@@ -51564,27 +51564,27 @@ tinymce.IconManager.add("default", {
51564
51564
  },
51565
51565
  insertBefore: function(pr, Er, Br, $r) {
51566
51566
  $r = $r || Jr.languages;
51567
- var da = $r[pr], Ia = {};
51568
- for (var fi in da)
51569
- if (da.hasOwnProperty(fi)) {
51567
+ var ca = $r[pr], Ia = {};
51568
+ for (var fi in ca)
51569
+ if (ca.hasOwnProperty(fi)) {
51570
51570
  if (fi == Er)
51571
51571
  for (var Za in Br)
51572
51572
  Br.hasOwnProperty(Za) && (Ia[Za] = Br[Za]);
51573
- Br.hasOwnProperty(fi) || (Ia[fi] = da[fi]);
51573
+ Br.hasOwnProperty(fi) || (Ia[fi] = ca[fi]);
51574
51574
  }
51575
51575
  var ks = $r[pr];
51576
51576
  return $r[pr] = Ia, Jr.languages.DFS(Jr.languages, function(Xi, ii) {
51577
51577
  ii === ks && Xi != pr && (this[Xi] = Ia);
51578
51578
  }), Ia;
51579
51579
  },
51580
- DFS: function pr(Er, Br, $r, da) {
51581
- da = da || {};
51580
+ DFS: function pr(Er, Br, $r, ca) {
51581
+ ca = ca || {};
51582
51582
  var Ia = Jr.util.objId;
51583
51583
  for (var fi in Er)
51584
51584
  if (Er.hasOwnProperty(fi)) {
51585
51585
  Br.call(Er, fi, Er[fi], $r || fi);
51586
51586
  var Za = Er[fi], ks = Jr.util.type(Za);
51587
- ks === "Object" && !da[Ia(Za)] ? (da[Ia(Za)] = !0, pr(Za, Br, null, da)) : ks === "Array" && !da[Ia(Za)] && (da[Ia(Za)] = !0, pr(Za, Br, fi, da));
51587
+ ks === "Object" && !ca[Ia(Za)] ? (ca[Ia(Za)] = !0, pr(Za, Br, null, ca)) : ks === "Array" && !ca[Ia(Za)] && (ca[Ia(Za)] = !0, pr(Za, Br, fi, ca));
51588
51588
  }
51589
51589
  }
51590
51590
  },
@@ -51599,18 +51599,18 @@ tinymce.IconManager.add("default", {
51599
51599
  selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
51600
51600
  };
51601
51601
  Jr.hooks.run("before-highlightall", $r), $r.elements = Array.prototype.slice.apply($r.container.querySelectorAll($r.selector)), Jr.hooks.run("before-all-elements-highlight", $r);
51602
- for (var da = 0, Ia; Ia = $r.elements[da++]; )
51602
+ for (var ca = 0, Ia; Ia = $r.elements[ca++]; )
51603
51603
  Jr.highlightElement(Ia, Er === !0, $r.callback);
51604
51604
  },
51605
51605
  highlightElement: function(pr, Er, Br) {
51606
- var $r = Jr.util.getLanguage(pr), da = Jr.languages[$r];
51606
+ var $r = Jr.util.getLanguage(pr), ca = Jr.languages[$r];
51607
51607
  Jr.util.setLanguage(pr, $r);
51608
51608
  var Ia = pr.parentElement;
51609
51609
  Ia && Ia.nodeName.toLowerCase() === "pre" && Jr.util.setLanguage(Ia, $r);
51610
51610
  var fi = pr.textContent, Za = {
51611
51611
  element: pr,
51612
51612
  language: $r,
51613
- grammar: da,
51613
+ grammar: ca,
51614
51614
  code: fi
51615
51615
  };
51616
51616
  function ks(ii) {
@@ -51653,8 +51653,8 @@ tinymce.IconManager.add("default", {
51653
51653
  Er[$r] = Br[$r];
51654
51654
  delete Er.rest;
51655
51655
  }
51656
- var da = new ea();
51657
- return Qa(da, da.head, pr), oi(pr, da, Er, da.head, 0), ri(da);
51656
+ var ca = new ea();
51657
+ return Qa(ca, ca.head, pr), oi(pr, ca, Er, ca.head, 0), ri(ca);
51658
51658
  },
51659
51659
  hooks: {
51660
51660
  all: {},
@@ -51665,8 +51665,8 @@ tinymce.IconManager.add("default", {
51665
51665
  run: function(pr, Er) {
51666
51666
  var Br = Jr.hooks.all[pr];
51667
51667
  if (!(!Br || !Br.length))
51668
- for (var $r = 0, da; da = Br[$r++]; )
51669
- da(Er);
51668
+ for (var $r = 0, ca; ca = Br[$r++]; )
51669
+ ca(Er);
51670
51670
  }
51671
51671
  },
51672
51672
  Token: ba
@@ -51684,7 +51684,7 @@ tinymce.IconManager.add("default", {
51684
51684
  $r += pr(ks, Br);
51685
51685
  }), $r;
51686
51686
  }
51687
- var da = {
51687
+ var ca = {
51688
51688
  type: Er.type,
51689
51689
  content: pr(Er.content, Br),
51690
51690
  tag: "span",
@@ -51695,22 +51695,22 @@ tinymce.IconManager.add("default", {
51695
51695
  attributes: {},
51696
51696
  language: Br
51697
51697
  }, Ia = Er.alias;
51698
- Ia && (Array.isArray(Ia) ? Array.prototype.push.apply(da.classes, Ia) : da.classes.push(Ia)), Jr.hooks.run("wrap", da);
51698
+ Ia && (Array.isArray(Ia) ? Array.prototype.push.apply(ca.classes, Ia) : ca.classes.push(Ia)), Jr.hooks.run("wrap", ca);
51699
51699
  var fi = "";
51700
- for (var Za in da.attributes)
51701
- fi += " " + Za + '="' + (da.attributes[Za] || "").replace(/"/g, "&quot;") + '"';
51702
- return "<" + da.tag + ' class="' + da.classes.join(" ") + '"' + fi + ">" + da.content + "</" + da.tag + ">";
51700
+ for (var Za in ca.attributes)
51701
+ fi += " " + Za + '="' + (ca.attributes[Za] || "").replace(/"/g, "&quot;") + '"';
51702
+ return "<" + ca.tag + ' class="' + ca.classes.join(" ") + '"' + fi + ">" + ca.content + "</" + ca.tag + ">";
51703
51703
  };
51704
51704
  function Kn(pr, Er, Br, $r) {
51705
51705
  pr.lastIndex = Er;
51706
- var da = pr.exec(Br);
51707
- if (da && $r && da[1]) {
51708
- var Ia = da[1].length;
51709
- da.index += Ia, da[0] = da[0].slice(Ia);
51706
+ var ca = pr.exec(Br);
51707
+ if (ca && $r && ca[1]) {
51708
+ var Ia = ca[1].length;
51709
+ ca.index += Ia, ca[0] = ca[0].slice(Ia);
51710
51710
  }
51711
- return da;
51711
+ return ca;
51712
51712
  }
51713
- function oi(pr, Er, Br, $r, da, Ia) {
51713
+ function oi(pr, Er, Br, $r, ca, Ia) {
51714
51714
  for (var fi in Br)
51715
51715
  if (!(!Br.hasOwnProperty(fi) || !Br[fi])) {
51716
51716
  var Za = Br[fi];
@@ -51723,7 +51723,7 @@ tinymce.IconManager.add("default", {
51723
51723
  var Ms = Xi.pattern.toString().match(/[imsuy]*$/)[0];
51724
51724
  Xi.pattern = RegExp(Xi.pattern.source, Ms + "g");
51725
51725
  }
51726
- for (var Ks = Xi.pattern || Xi, Bl = $r.next, Gi = da; Bl !== Er.tail && !(Ia && Gi >= Ia.reach); Gi += Bl.value.length, Bl = Bl.next) {
51726
+ for (var Ks = Xi.pattern || Xi, Bl = $r.next, Gi = ca; Bl !== Er.tail && !(Ia && Gi >= Ia.reach); Gi += Bl.value.length, Bl = Bl.next) {
51727
51727
  var ci = Bl.value;
51728
51728
  if (Er.length > pr.length)
51729
51729
  return;
@@ -51772,17 +51772,17 @@ tinymce.IconManager.add("default", {
51772
51772
  pr.next = Er, this.head = pr, this.tail = Er, this.length = 0;
51773
51773
  }
51774
51774
  function Qa(pr, Er, Br) {
51775
- var $r = Er.next, da = {
51775
+ var $r = Er.next, ca = {
51776
51776
  value: Br,
51777
51777
  prev: Er,
51778
51778
  next: $r
51779
51779
  };
51780
- return Er.next = da, $r.prev = da, pr.length++, da;
51780
+ return Er.next = ca, $r.prev = ca, pr.length++, ca;
51781
51781
  }
51782
51782
  function ei(pr, Er, Br) {
51783
- for (var $r = Er.next, da = 0; da < Br && $r !== pr.tail; da++)
51783
+ for (var $r = Er.next, ca = 0; ca < Br && $r !== pr.tail; ca++)
51784
51784
  $r = $r.next;
51785
- Er.next = $r, $r.prev = Er, pr.length -= da;
51785
+ Er.next = $r, $r.prev = Er, pr.length -= ca;
51786
51786
  }
51787
51787
  function ri(pr) {
51788
51788
  for (var Er = [], Br = pr.head.next; Br !== pr.tail; )
@@ -51791,8 +51791,8 @@ tinymce.IconManager.add("default", {
51791
51791
  }
51792
51792
  if (!Gr.document)
51793
51793
  return Gr.addEventListener && (Jr.disableWorkerMessageHandler || Gr.addEventListener("message", function(pr) {
51794
- var Er = JSON.parse(pr.data), Br = Er.language, $r = Er.code, da = Er.immediateClose;
51795
- Gr.postMessage(Jr.highlight($r, Jr.languages[Br], Br)), da && Gr.close();
51794
+ var Er = JSON.parse(pr.data), Br = Er.language, $r = Er.code, ca = Er.immediateClose;
51795
+ Gr.postMessage(Jr.highlight($r, Jr.languages[Br], Br)), ca && Gr.close();
51796
51796
  }, !1)), Jr;
51797
51797
  var Yr = Jr.util.currentScript();
51798
51798
  Yr && (Jr.filename = Yr.src, Yr.hasAttribute("data-manual") && (Jr.manual = !0));
@@ -52046,7 +52046,7 @@ tinymce.IconManager.add("default", {
52046
52046
  ei,
52047
52047
  ri,
52048
52048
  pr
52049
- ]), $r = yr(/\(<<0>>+(?:,<<0>>+)+\)/.source, [Br]), da = yr(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source, [
52049
+ ]), $r = yr(/\(<<0>>+(?:,<<0>>+)+\)/.source, [Br]), ca = yr(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source, [
52050
52050
  $r,
52051
52051
  Kr,
52052
52052
  pr
@@ -52076,7 +52076,7 @@ tinymce.IconManager.add("default", {
52076
52076
  {
52077
52077
  pattern: Fr(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source, [
52078
52078
  Yr,
52079
- da
52079
+ ca
52080
52080
  ]),
52081
52081
  lookbehind: !0,
52082
52082
  inside: Ia
@@ -52109,7 +52109,7 @@ tinymce.IconManager.add("default", {
52109
52109
  },
52110
52110
  {
52111
52111
  pattern: Fr(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source, [
52112
- da,
52112
+ ca,
52113
52113
  Qa,
52114
52114
  Yr
52115
52115
  ]),
@@ -52145,14 +52145,14 @@ tinymce.IconManager.add("default", {
52145
52145
  },
52146
52146
  "return-type": {
52147
52147
  pattern: Fr(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source, [
52148
- da,
52148
+ ca,
52149
52149
  Kr
52150
52150
  ]),
52151
52151
  inside: Ia,
52152
52152
  alias: "class-name"
52153
52153
  },
52154
52154
  "constructor-invocation": {
52155
- pattern: Fr(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [da]),
52155
+ pattern: Fr(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [ca]),
52156
52156
  lookbehind: !0,
52157
52157
  inside: Ia,
52158
52158
  alias: "class-name"
@@ -52176,7 +52176,7 @@ tinymce.IconManager.add("default", {
52176
52176
  Kn,
52177
52177
  Rr,
52178
52178
  Yr,
52179
- da,
52179
+ ca,
52180
52180
  oi.source,
52181
52181
  ri,
52182
52182
  /\bnew\s*\(\s*\)/.source
@@ -52194,7 +52194,7 @@ tinymce.IconManager.add("default", {
52194
52194
  },
52195
52195
  keyword: oi,
52196
52196
  "class-name": {
52197
- pattern: RegExp(da),
52197
+ pattern: RegExp(ca),
52198
52198
  greedy: !0,
52199
52199
  inside: Ia
52200
52200
  },
@@ -53593,7 +53593,7 @@ tinymce.IconManager.add("default", {
53593
53593
  ir[String(La)] = Rn(La, vr);
53594
53594
  }
53595
53595
  return ir;
53596
- }, $r = (Tn, Rn) => Rn >= 0 && Rn < Tn.length ? Bn.some(Tn[Rn]) : Bn.none(), da = (Tn) => $r(Tn, 0), Ia = (Tn) => $r(Tn, Tn.length - 1), fi = (Tn, Rn) => {
53596
+ }, $r = (Tn, Rn) => Rn >= 0 && Rn < Tn.length ? Bn.some(Tn[Rn]) : Bn.none(), ca = (Tn) => $r(Tn, 0), Ia = (Tn) => $r(Tn, Tn.length - 1), fi = (Tn, Rn) => {
53597
53597
  for (let ir = 0; ir < Tn.length; ir++) {
53598
53598
  const vr = Rn(Tn[ir], ir);
53599
53599
  if (vr.isSome())
@@ -53825,7 +53825,7 @@ tinymce.IconManager.add("default", {
53825
53825
  }), ir += oa;
53826
53826
  }), Rn;
53827
53827
  }, Ha = (Tn) => {
53828
- const Rn = {}, ir = [], oa = da(Tn).map((kf) => kf.element).bind(vi).bind(Nc).getOr({});
53828
+ const Rn = {}, ir = [], oa = ca(Tn).map((kf) => kf.element).bind(vi).bind(Nc).getOr({});
53829
53829
  let La = 0, hi = 0, Ni = 0;
53830
53830
  const {
53831
53831
  pass: Ns,
@@ -54237,7 +54237,7 @@ tinymce.IconManager.add("default", {
54237
54237
  }, gl = (Tn) => {
54238
54238
  const Rn = jl(Tn.red) + jl(Tn.green) + jl(Tn.blue);
54239
54239
  return xi(Rn);
54240
- }, ca = /^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/i, hu = /^\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?(?:\.\d+)?)\s*\)\s*$/i, Od = (Tn, Rn, ir, vr) => ({
54240
+ }, da = /^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/i, hu = /^\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?(?:\.\d+)?)\s*\)\s*$/i, Od = (Tn, Rn, ir, vr) => ({
54241
54241
  red: Tn,
54242
54242
  green: Rn,
54243
54243
  blue: ir,
@@ -54248,7 +54248,7 @@ tinymce.IconManager.add("default", {
54248
54248
  }, nu = (Tn) => {
54249
54249
  if (Tn === "transparent")
54250
54250
  return Bn.some(Od(0, 0, 0, 0));
54251
- const Rn = ca.exec(Tn);
54251
+ const Rn = da.exec(Tn);
54252
54252
  if (Rn !== null)
54253
54253
  return Bn.some(Au(Rn[1], Rn[2], Rn[3], "1"));
54254
54254
  const ir = hu.exec(Tn);
@@ -55751,7 +55751,7 @@ Required: ` + Rn.join(", "));
55751
55751
  }, Kr = ri;
55752
55752
  var pr = (Vn, qn, Zn, Ir, Xr) => Vn(Zn, Ir) ? ce.some(Zn) : D(Xr) && Xr(Zn) ? ce.none() : qn(Zn, Ir, Xr);
55753
55753
  typeof window < "u" || Function("return this;")();
55754
- const Er = (Vn) => Vn.dom.nodeName.toLowerCase(), Br = (Vn) => Vn.dom.nodeType, da = ((Vn) => (qn) => Br(qn) === Vn)(Jr), Ia = (Vn) => (qn) => da(qn) && Er(qn) === Vn, fi = (Vn) => ce.from(Vn.dom.parentNode).map(ei.fromDom), Za = (Vn) => ce.from(Vn.dom.parentElement).map(ei.fromDom), ks = (Vn) => ce.from(Vn.dom.nextSibling).map(ei.fromDom), Xi = (Vn) => zn(Vn.dom.childNodes, ei.fromDom), ii = (Vn, qn) => {
55754
+ const Er = (Vn) => Vn.dom.nodeName.toLowerCase(), Br = (Vn) => Vn.dom.nodeType, ca = ((Vn) => (qn) => Br(qn) === Vn)(Jr), Ia = (Vn) => (qn) => ca(qn) && Er(qn) === Vn, fi = (Vn) => ce.from(Vn.dom.parentNode).map(ei.fromDom), Za = (Vn) => ce.from(Vn.dom.parentElement).map(ei.fromDom), ks = (Vn) => ce.from(Vn.dom.nextSibling).map(ei.fromDom), Xi = (Vn) => zn(Vn.dom.childNodes, ei.fromDom), ii = (Vn, qn) => {
55755
55755
  const Zn = Vn.dom.childNodes;
55756
55756
  return ce.from(Zn[qn]).map(ei.fromDom);
55757
55757
  }, Ri = (Vn) => ii(Vn, 0), Bs = (Vn) => ii(Vn, Vn.dom.childNodes.length - 1), pl = (Vn, qn, Zn) => {
@@ -56010,7 +56010,7 @@ Required: ` + Rn.join(", "));
56010
56010
  }, Ca = (Vn) => Kr(Vn, "OL,UL"), vi = (Vn) => Ri(Vn).exists(Ca), Qs = (Vn) => Bs(Vn).exists(Ca), $u = (Vn) => Vn.depth > 0, Ec = (Vn) => Vn.isSelected, ai = (Vn) => {
56011
56011
  const qn = Xi(Vn), Zn = Qs(Vn) ? qn.slice(0, -1) : qn;
56012
56012
  return zn(Zn, Ka);
56013
- }, Kc = (Vn, qn, Zn) => fi(Vn).filter(da).map((Ir) => ({
56013
+ }, Kc = (Vn, qn, Zn) => fi(Vn).filter(ca).map((Ir) => ({
56014
56014
  depth: qn,
56015
56015
  dirty: !1,
56016
56016
  isSelected: Zn,
@@ -56692,14 +56692,14 @@ Required: ` + Rn.join(", "));
56692
56692
  }, $n = (Yr, Rr, Kr, pr) => {
56693
56693
  const Er = [], Br = [];
56694
56694
  let $r = [];
56695
- for (let da = 0; da < Kr.length; ++da)
56696
- if ($r.push(Yr[da]), se(Kr, da)) {
56697
- const Ia = Rr[da];
56695
+ for (let ca = 0; ca < Kr.length; ++ca)
56696
+ if ($r.push(Yr[ca]), se(Kr, ca)) {
56697
+ const Ia = Rr[ca];
56698
56698
  if ((pr.includeWhitespace || !be.test(Ia)) && (pr.includePunctuation || !Be.test(Ia))) {
56699
- const fi = da - $r.length + 1, Za = da + 1, ks = Rr.slice(fi, Za).join(ce);
56699
+ const fi = ca - $r.length + 1, Za = ca + 1, ks = Rr.slice(fi, Za).join(ce);
56700
56700
  if (En(ks)) {
56701
- const Xi = Bn(Rr, da), ii = Yr.slice(Za, Xi);
56702
- Array.prototype.push.apply($r, ii), da = Xi;
56701
+ const Xi = Bn(Rr, ca), ii = Yr.slice(Za, Xi);
56702
+ Array.prototype.push.apply($r, ii), ca = Xi;
56703
56703
  }
56704
56704
  Er.push($r), Br.push({
56705
56705
  start: fi,
@@ -56727,9 +56727,9 @@ Required: ` + Rn.join(", "));
56727
56727
  const ur = (Yr, Rr) => {
56728
56728
  const Kr = Rr.getBlockElements(), pr = Rr.getVoidElements(), Er = (fi) => Kr[fi.nodeName] || pr[fi.nodeName], Br = [];
56729
56729
  let $r = "";
56730
- const da = new tr(Yr, Yr);
56730
+ const ca = new tr(Yr, Yr);
56731
56731
  let Ia;
56732
- for (; Ia = da.next(); )
56732
+ for (; Ia = ca.next(); )
56733
56733
  Ia.nodeType === 3 ? $r += Pe(Ia.data) : Er(Ia) && $r.length && (Br.push($r), $r = "");
56734
56734
  return $r.length && Br.push($r), Br;
56735
56735
  }, Ln = (Yr) => Yr.replace(/\u200B/g, ""), nr = (Yr) => Yr.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "_").length, dr = (Yr, Rr) => {
@@ -57206,7 +57206,7 @@ Required: ` + Rn.join(", "));
57206
57206
  ka[Cs] = Nr.dom.encode("" + Ps);
57207
57207
  }), ka.type === "iframe" ? Yr(ka, Na) : ka.sourcemime === "application/x-shockwave-flash" ? Rr(ka) : ka.sourcemime.indexOf("audio") !== -1 ? Kr(ka, Ji) : ka.type === "script" ? Er(ka) : pr(ka, Vs);
57208
57208
  }
57209
- }, $r = (Nr) => Nr.hasAttribute("data-mce-object") || Nr.hasAttribute("data-ephox-embed-iri"), da = (Nr) => {
57209
+ }, $r = (Nr) => Nr.hasAttribute("data-mce-object") || Nr.hasAttribute("data-ephox-embed-iri"), ca = (Nr) => {
57210
57210
  Nr.on("click keyup touchend", () => {
57211
57211
  const Vr = Nr.selection.getNode();
57212
57212
  Vr && Nr.dom.hasClass(Vr, "mce-preview-object") && Nr.dom.getAttrib(Vr, "data-mce-selected") && Vr.setAttribute("data-mce-selected", "2");
@@ -57612,7 +57612,7 @@ Required: ` + Rn.join(", "));
57612
57612
  });
57613
57613
  };
57614
57614
  var Gu = () => {
57615
- r.add("media", (Nr) => (Be(Nr), gc(Nr), xl(Nr), ql(Nr), Ul(Nr), da(Nr), Du(Nr)));
57615
+ r.add("media", (Nr) => (Be(Nr), gc(Nr), xl(Nr), ql(Nr), Ul(Nr), ca(Nr), Du(Nr)));
57616
57616
  };
57617
57617
  Gu();
57618
57618
  })();
@@ -57692,21 +57692,21 @@ Required: ` + Rn.join(", "));
57692
57692
  }
57693
57693
  O.singletonNone = new O(!1);
57694
57694
  const x = (Er, Br) => {
57695
- for (let $r = 0, da = Er.length; $r < da; $r++) {
57695
+ for (let $r = 0, ca = Er.length; $r < ca; $r++) {
57696
57696
  const Ia = Er[$r];
57697
57697
  if (Br(Ia, $r))
57698
57698
  return !0;
57699
57699
  }
57700
57700
  return !1;
57701
57701
  }, D = (Er, Br) => {
57702
- const $r = Er.length, da = new Array($r);
57702
+ const $r = Er.length, ca = new Array($r);
57703
57703
  for (let Ia = 0; Ia < $r; Ia++) {
57704
57704
  const fi = Er[Ia];
57705
- da[Ia] = Br(fi, Ia);
57705
+ ca[Ia] = Br(fi, Ia);
57706
57706
  }
57707
- return da;
57707
+ return ca;
57708
57708
  }, P = (Er, Br) => {
57709
- for (let $r = 0, da = Er.length; $r < da; $r++) {
57709
+ for (let $r = 0, ca = Er.length; $r < ca; $r++) {
57710
57710
  const Ia = Er[$r];
57711
57711
  Br(Ia, $r);
57712
57712
  }
@@ -57720,13 +57720,13 @@ Required: ` + Rn.join(", "));
57720
57720
  };
57721
57721
  }, G = (Er, Br) => {
57722
57722
  let $r = null;
57723
- const da = () => {
57723
+ const ca = () => {
57724
57724
  o($r) || (clearTimeout($r), $r = null);
57725
57725
  };
57726
57726
  return {
57727
- cancel: da,
57727
+ cancel: ca,
57728
57728
  throttle: (...fi) => {
57729
- da(), $r = setTimeout(() => {
57729
+ ca(), $r = setTimeout(() => {
57730
57730
  $r = null, Er.apply(null, fi);
57731
57731
  }, Br);
57732
57732
  }
@@ -57735,25 +57735,25 @@ Required: ` + Rn.join(", "));
57735
57735
  Er.insertContent(Br);
57736
57736
  }, Y = Object.keys, se = Object.hasOwnProperty, ce = (Er, Br) => {
57737
57737
  const $r = Y(Er);
57738
- for (let da = 0, Ia = $r.length; da < Ia; da++) {
57739
- const fi = $r[da], Za = Er[fi];
57738
+ for (let ca = 0, Ia = $r.length; ca < Ia; ca++) {
57739
+ const fi = $r[ca], Za = Er[fi];
57740
57740
  Br(Za, fi);
57741
57741
  }
57742
- }, be = (Er, Br) => Be(Er, ($r, da) => ({
57743
- k: da,
57744
- v: Br($r, da)
57742
+ }, be = (Er, Br) => Be(Er, ($r, ca) => ({
57743
+ k: ca,
57744
+ v: Br($r, ca)
57745
57745
  })), Be = (Er, Br) => {
57746
57746
  const $r = {};
57747
- return ce(Er, (da, Ia) => {
57748
- const fi = Br(da, Ia);
57747
+ return ce(Er, (ca, Ia) => {
57748
+ const fi = Br(ca, Ia);
57749
57749
  $r[fi.k] = fi.v;
57750
57750
  }), $r;
57751
57751
  }, En = (Er, Br) => se.call(Er, Br), $n = ((Er) => (...Br) => {
57752
57752
  if (Br.length === 0)
57753
57753
  throw new Error("Can't merge zero objects");
57754
57754
  const $r = {};
57755
- for (let da = 0; da < Br.length; da++) {
57756
- const Ia = Br[da];
57755
+ for (let ca = 0; ca < Br.length; ca++) {
57756
+ const Ia = Br[ca];
57757
57757
  for (const fi in Ia)
57758
57758
  En(Ia, fi) && ($r[fi] = Er($r[fi], Ia[fi]));
57759
57759
  }
@@ -57776,9 +57776,9 @@ Required: ` + Rn.join(", "));
57776
57776
  ...Er,
57777
57777
  on: ($r) => Er.get().each($r)
57778
57778
  };
57779
- }, Dn = (Er, Br, $r) => Br === "" || Er.length >= Br.length && Er.substr($r, $r + Br.length) === Br, In = (Er, Br, $r = 0, da) => {
57779
+ }, Dn = (Er, Br, $r) => Br === "" || Er.length >= Br.length && Er.substr($r, $r + Br.length) === Br, In = (Er, Br, $r = 0, ca) => {
57780
57780
  const Ia = Er.indexOf(Br, $r);
57781
- return Ia !== -1 ? s(da) ? !0 : Ia + Br.length <= da : !1;
57781
+ return Ia !== -1 ? s(ca) ? !0 : Ia + Br.length <= ca : !1;
57782
57782
  }, Pe = (Er, Br) => Dn(Er, Br, 0);
57783
57783
  var tr = tinymce.util.Tools.resolve("tinymce.Resource");
57784
57784
  const ur = "tinymce.plugins.emoticons", Ln = (Er) => (Br) => Br.options.get(Er), nr = (Er, Br) => {
@@ -57817,7 +57817,7 @@ Required: ` + Rn.join(", "));
57817
57817
  ...$r
57818
57818
  }));
57819
57819
  }, ba = (Er, Br, $r) => {
57820
- const da = Gn(), Ia = Gn(), fi = Gr(Er), Za = (Ms) => Pe(Ms.char, "<img") ? Ms.char.replace(/src="([^"]+)"/, (Ks, Bl) => `src="${fi}${Bl}"`) : Ms.char, ks = (Ms) => {
57820
+ const ca = Gn(), Ia = Gn(), fi = Gr(Er), Za = (Ms) => Pe(Ms.char, "<img") ? Ms.char.replace(/src="([^"]+)"/, (Ks, Bl) => `src="${fi}${Bl}"`) : Ms.char, ks = (Ms) => {
57821
57821
  const Ks = {}, Bl = [];
57822
57822
  ce(Ms, (Gi, ci) => {
57823
57823
  const ji = {
@@ -57827,22 +57827,22 @@ Required: ` + Rn.join(", "));
57827
57827
  category: $a(Fr, Gi.category)
57828
57828
  }, qs = Ks[ji.category] !== void 0 ? Ks[ji.category] : [];
57829
57829
  Ks[ji.category] = qs.concat([ji]), Bl.push(ji);
57830
- }), da.set(Ks), Ia.set(Bl);
57830
+ }), ca.set(Ks), Ia.set(Bl);
57831
57831
  };
57832
57832
  Er.on("init", () => {
57833
57833
  tr.load($r, Br).then((Ms) => {
57834
57834
  const Ks = Jr(Er);
57835
57835
  ks($n(Ms, Ks));
57836
57836
  }, (Ms) => {
57837
- da.set({}), Ia.set([]);
57837
+ ca.set({}), Ia.set([]);
57838
57838
  });
57839
57839
  });
57840
- const Xi = (Ms) => Ms === yr ? ii() : da.get().bind((Ks) => O.from(Ks[Ms])).getOr([]), ii = () => Ia.get().getOr([]), Ri = () => [yr].concat(Y(da.get().getOr({}))), Bs = () => pl() ? Promise.resolve(!0) : new Promise((Ms, Ks) => {
57840
+ const Xi = (Ms) => Ms === yr ? ii() : ca.get().bind((Ks) => O.from(Ks[Ms])).getOr([]), ii = () => Ia.get().getOr([]), Ri = () => [yr].concat(Y(ca.get().getOr({}))), Bs = () => pl() ? Promise.resolve(!0) : new Promise((Ms, Ks) => {
57841
57841
  let Bl = 15;
57842
57842
  const Gi = setInterval(() => {
57843
57843
  pl() ? (clearInterval(Gi), Ms(!0)) : (Bl--, Bl < 0 && (clearInterval(Gi), Ks(!1)));
57844
57844
  }, 100);
57845
- }), pl = () => da.isSet() && Ia.isSet();
57845
+ }), pl = () => ca.isSet() && Ia.isSet();
57846
57846
  return {
57847
57847
  listCategories: Ri,
57848
57848
  hasLoaded: pl,
@@ -57851,20 +57851,20 @@ Required: ` + Rn.join(", "));
57851
57851
  listCategory: Xi
57852
57852
  };
57853
57853
  }, Kn = (Er, Br) => In(Er.title.toLowerCase(), Br) || x(Er.keywords, ($r) => In($r.toLowerCase(), Br)), oi = (Er, Br, $r) => {
57854
- const da = [], Ia = Br.toLowerCase(), fi = $r.fold(() => y, (Za) => (ks) => ks >= Za);
57855
- for (let Za = 0; Za < Er.length && !((Br.length === 0 || Kn(Er[Za], Ia)) && (da.push({
57854
+ const ca = [], Ia = Br.toLowerCase(), fi = $r.fold(() => y, (Za) => (ks) => ks >= Za);
57855
+ for (let Za = 0; Za < Er.length && !((Br.length === 0 || Kn(Er[Za], Ia)) && (ca.push({
57856
57856
  value: Er[Za].char,
57857
57857
  text: Er[Za].title,
57858
57858
  icon: Er[Za].char
57859
- }), fi(da.length))); Za++)
57859
+ }), fi(ca.length))); Za++)
57860
57860
  ;
57861
- return da;
57861
+ return ca;
57862
57862
  }, ea = "pattern", Qa = (Er, Br) => {
57863
57863
  const $r = {
57864
57864
  pattern: "",
57865
57865
  results: oi(Br.listAll(), "", O.some(300))
57866
- }, da = R(yr), Ia = (Ri) => {
57867
- const Bs = Ri.getData(), pl = da.get(), Ms = Br.listCategory(pl), Ks = oi(Ms, Bs[ea], pl === yr ? O.some(300) : O.none());
57866
+ }, ca = R(yr), Ia = (Ri) => {
57867
+ const Bs = Ri.getData(), pl = ca.get(), Ms = Br.listCategory(pl), Ks = oi(Ms, Bs[ea], pl === yr ? O.some(300) : O.none());
57868
57868
  Ri.setData({ results: Ks });
57869
57869
  }, fi = G((Ri) => {
57870
57870
  Ia(Ri);
@@ -57891,7 +57891,7 @@ Required: ` + Rn.join(", "));
57891
57891
  },
57892
57892
  initialData: $r,
57893
57893
  onTabChange: (Bs, pl) => {
57894
- da.set(pl.newTabName), fi.throttle(Bs);
57894
+ ca.set(pl.newTabName), fi.throttle(Bs);
57895
57895
  },
57896
57896
  onChange: fi.throttle,
57897
57897
  onAction: (Bs, pl) => {
@@ -57943,12 +57943,12 @@ Required: ` + Rn.join(", "));
57943
57943
  trigger: ":",
57944
57944
  columns: "auto",
57945
57945
  minChars: 2,
57946
- fetch: ($r, da) => Br.waitForLoad().then(() => {
57946
+ fetch: ($r, ca) => Br.waitForLoad().then(() => {
57947
57947
  const Ia = Br.listAll();
57948
- return oi(Ia, $r, O.some(da));
57948
+ return oi(Ia, $r, O.some(ca));
57949
57949
  }),
57950
- onAction: ($r, da, Ia) => {
57951
- Er.selection.setRng(da), Er.insertContent(Ia), $r.hide();
57950
+ onAction: ($r, ca, Ia) => {
57951
+ Er.selection.setRng(ca), Er.insertContent(Ia), $r.hide();
57952
57952
  }
57953
57953
  });
57954
57954
  }, Rr = (Er) => (Br) => {
@@ -57975,7 +57975,7 @@ Required: ` + Rn.join(", "));
57975
57975
  var pr = () => {
57976
57976
  r.add("emoticons", (Er, Br) => {
57977
57977
  nr(Er, Br);
57978
- const $r = Zr(Er), da = Qr(Er), Ia = ba(Er, $r, da);
57978
+ const $r = Zr(Er), ca = Qr(Er), Ia = ba(Er, $r, ca);
57979
57979
  ei(Er, Ia), Kr(Er), Yr(Er, Ia), ri(Er);
57980
57980
  });
57981
57981
  };
@@ -58185,7 +58185,7 @@ Required: ` + Rn.join(", "));
58185
58185
  fromPoint: (Sr, Hr, va) => $n.from(Sr.dom.elementFromPoint(Hr, va)).map(Qa)
58186
58186
  };
58187
58187
  typeof window < "u" || Function("return this;")();
58188
- const Yr = 9, Rr = 11, Kr = 1, pr = 3, Er = (Sr) => Sr.dom.nodeType, Br = (Sr) => (Hr) => Er(Hr) === Sr, $r = Br(Kr), da = Br(pr), Ia = Br(Yr), fi = Br(Rr), Za = (Sr, Hr) => {
58188
+ const Yr = 9, Rr = 11, Kr = 1, pr = 3, Er = (Sr) => Sr.dom.nodeType, Br = (Sr) => (Hr) => Er(Hr) === Sr, $r = Br(Kr), ca = Br(pr), Ia = Br(Yr), fi = Br(Rr), Za = (Sr, Hr) => {
58189
58189
  const va = Sr.dom;
58190
58190
  if (va.nodeType !== Kr)
58191
58191
  return !1;
@@ -58232,7 +58232,7 @@ Required: ` + Rn.join(", "));
58232
58232
  }
58233
58233
  return $n.from(Sr.target);
58234
58234
  }, Es = (Sr) => G(Sr.dom.shadowRoot), Du = (Sr) => {
58235
- const Hr = da(Sr) ? Sr.dom.parentNode : Sr.dom;
58235
+ const Hr = ca(Sr) ? Sr.dom.parentNode : Sr.dom;
58236
58236
  if (Hr == null || Hr.ownerDocument === null)
58237
58237
  return !1;
58238
58238
  const va = Hr.ownerDocument;
@@ -62571,8 +62571,8 @@ const MasterDetail = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_r
62571
62571
  },
62572
62572
  setup(r, n) {
62573
62573
  const { isDetail: o, pattern: s, isUseLocalPattern: l, pageButtons: c, businessType: p, userInfo: b, role: y, token: O, currentRow: x } = inject(LAYOUT_PROPS_TOKEN, LAYOUT_PROPS_TOKEN_DEFAULT_VALUE), D = inject(LAYOUT_CONFIG_TOKEN, LAYOUT_CONFIG_TOKEN_DEFAULT_VALUE), P = inject(DEFAULT_VALUE_TOKEN, DEFAULT_VALUE_TOKEN_DEFAULT_VALUE), R = inject(LAYOUT_PAGE_DATA_TOKEN, LAYOUT_PAGE_DATA_TOKEN_DEFAULT_VALUE), G = inject(LAYOUT_UID_TOKEN, LAYOUT_UID_TOKEN_DEFAULT_VALUE), ae = inject("Q_USERINFO_BIG"), Y = inject("Q_APPLICATION_LAYIM_CREATE_CHAT"), se = inject(Q_SRM_I18N, Q_SRM_I18N_DEFAULT_VALUE), ce = computed(() => {
62574
- var Er, Br, $r, da;
62575
- const Yr = (Br = (Er = D.value) == null ? void 0 : Er.examineLayout) != null ? Br : "vertical", Rr = (da = ($r = D.value) == null ? void 0 : $r.editLayout) != null ? da : "vertical";
62574
+ var Er, Br, $r, ca;
62575
+ const Yr = (Br = (Er = D.value) == null ? void 0 : Er.examineLayout) != null ? Br : "vertical", Rr = (ca = ($r = D.value) == null ? void 0 : $r.editLayout) != null ? ca : "vertical";
62576
62576
  let pr = l ? s : o ? Yr : Rr;
62577
62577
  return pr = pr || "vertical", o ? `${pr}-detail` : pr;
62578
62578
  }), { classes: be } = useLayoutPattern(ce), Be = computed(() => (D.value.groups || []).map((Rr) => ({
@@ -62630,7 +62630,7 @@ const MasterDetail = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_r
62630
62630
  const Rr = Yr.args, Kr = x.id || R.value.id, { groupCode: pr, params: Er, ...Br } = Rr;
62631
62631
  let $r = [];
62632
62632
  pr && ($r = R.value[pr]);
62633
- const da = {
62633
+ const ca = {
62634
62634
  action: Rr.url ? Rr.url : y === "sale" ? "/attachment/saleAttachment/upload" : "/attachment/purchaseAttachment/upload",
62635
62635
  currentRow: x || {},
62636
62636
  userInfo: b || {},
@@ -62646,7 +62646,7 @@ const MasterDetail = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_r
62646
62646
  groupCode: pr,
62647
62647
  onConfirmBeforeUpload: Yr.onConfirmBeforeUpload
62648
62648
  };
62649
- Ln.value = da, ur.value = !0;
62649
+ Ln.value = ca, ur.value = !0;
62650
62650
  }, Fr = (Yr) => {
62651
62651
  Gr.value = Yr;
62652
62652
  const Rr = toRaw(R.value);
@@ -62656,9 +62656,9 @@ const MasterDetail = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_r
62656
62656
  }
62657
62657
  let Kr = Promise.resolve({ success: !0 });
62658
62658
  Yr.extend && Yr.extend.handleBefore && (Kr = Yr.extend.handleBefore({ pageData: R.value, row: Yr.row, rowIndex: Yr.rowIndex })), Kr.then(() => {
62659
- var $r, da, Ia, fi, Za;
62659
+ var $r, ca, Ia, fi, Za;
62660
62660
  const { params: pr, ...Er } = Yr.extend, Br = {
62661
- action: ($r = Yr.extend) != null && $r.url ? (da = Yr.extend) == null ? void 0 : da.url : y === "sale" ? "/attachment/saleAttachment/upload" : "/attachment/purchaseAttachment/upload",
62661
+ action: ($r = Yr.extend) != null && $r.url ? (ca = Yr.extend) == null ? void 0 : ca.url : y === "sale" ? "/attachment/saleAttachment/upload" : "/attachment/purchaseAttachment/upload",
62662
62662
  currentRow: x || {},
62663
62663
  userInfo: b || {},
62664
62664
  data: {
@@ -62682,8 +62682,8 @@ const MasterDetail = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_r
62682
62682
  if (Kr != "baseForm") {
62683
62683
  const pr = Gr.value.rowIndex, Br = R.value[Kr][pr], $r = Gr.value.field;
62684
62684
  if (Br[$r]) {
62685
- const da = JSON.parse(Br[$r]);
62686
- Br[$r] = JSON.stringify([...da, ...Yr]);
62685
+ const ca = JSON.parse(Br[$r]);
62686
+ Br[$r] = JSON.stringify([...ca, ...Yr]);
62687
62687
  } else
62688
62688
  Br[$r] = JSON.stringify(Yr);
62689
62689
  Gr.value && Gr.value.callback && typeof Gr.value.callback == "function" && Gr.value.callback(n, { fileData: Yr, pageData: R.value, layoutConfig: D.value, row: Br, idx: pr });
@@ -67543,17 +67543,19 @@ const query = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$o
67543
67543
  };
67544
67544
  },
67545
67545
  components: { MinusOutlined, CloseCircleOutlined, DownOutlined }
67546
- }), index_vue_vue_type_style_index_0_scoped_d20a5f54_lang = "", _withScopeId$2 = (r) => (pushScopeId("data-v-d20a5f54"), r = r(), popScopeId(), r), _hoisted_1$l = { class: "search-extend" }, _hoisted_2$h = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "arraw-box" }, null, -1)), _hoisted_3$f = { class: "inline-btn" }, _hoisted_4$c = { class: "search-opts" }, _hoisted_5$a = ["onClick"], _hoisted_6$7 = { class: "query-params-box" };
67546
+ }), index_vue_vue_type_style_index_0_scoped_99d8e362_lang = "", _withScopeId$2 = (r) => (pushScopeId("data-v-99d8e362"), r = r(), popScopeId(), r), _hoisted_1$l = {
67547
+ key: 0,
67548
+ class: "search-extend"
67549
+ }, _hoisted_2$h = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "arraw-box" }, null, -1)), _hoisted_3$f = { class: "inline-btn" }, _hoisted_4$c = { class: "search-opts" }, _hoisted_5$a = ["onClick"], _hoisted_6$7 = { class: "query-params-box" };
67547
67550
  function _sfc_render$n(r, n, o, s, l, c) {
67548
67551
  const p = resolveComponent("a-divider"), b = resolveComponent("a-empty"), y = resolveComponent("a-select-option"), O = resolveComponent("a-select"), x = resolveComponent("a-button"), D = resolveComponent("close-circle-outlined"), P = resolveComponent("a-tree"), R = resolveComponent("a-card"), G = resolveComponent("DownOutlined"), ae = resolveComponent("a-dropdown"), Y = resolveComponent("a-form-item"), se = resolveComponent("a-col"), ce = resolveComponent("q-select"), be = resolveComponent("q-remote-select"), Be = resolveComponent("a-date-picker"), En = resolveComponent("a-input-number"), He = resolveComponent("a-input"), Bn = resolveComponent("MinusOutlined"), $n = resolveComponent("a-row"), zn = resolveComponent("a-form"), Gn = resolveComponent("a-spin"), Dn = resolveComponent("vxe-input"), In = resolveComponent("vxe-form-item"), Pe = resolveComponent("vxe-button"), tr = resolveComponent("vxe-form"), ur = resolveComponent("vxe-modal");
67549
67552
  return openBlock(), createElementBlock(Fragment, null, [
67550
- r.visible ? (openBlock(), createBlock(Transition, {
67551
- key: 0,
67553
+ createVNode$1(Transition, {
67552
67554
  name: "component-fade",
67553
67555
  mode: "out-in"
67554
67556
  }, {
67555
67557
  default: withCtx(() => [
67556
- createElementVNode("div", _hoisted_1$l, [
67558
+ r.visible ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
67557
67559
  createVNode$1(Gn, { spinning: r.loading }, {
67558
67560
  default: withCtx(() => [
67559
67561
  createVNode$1($n, { class: "search-condition-wrap" }, {
@@ -67949,10 +67951,10 @@ function _sfc_render$n(r, n, o, s, l, c) {
67949
67951
  ]),
67950
67952
  _: 1
67951
67953
  }, 8, ["spinning"])
67952
- ])
67954
+ ])) : createCommentVNode("", !0)
67953
67955
  ]),
67954
67956
  _: 1
67955
- })) : createCommentVNode("", !0),
67957
+ }),
67956
67958
  createVNode$1(ur, {
67957
67959
  modelValue: r.prompt.visible,
67958
67960
  "onUpdate:modelValue": n[4] || (n[4] = (Ln) => r.prompt.visible = Ln),
@@ -68007,7 +68009,7 @@ function _sfc_render$n(r, n, o, s, l, c) {
68007
68009
  }, 8, ["modelValue", "title"])
68008
68010
  ], 64);
68009
68011
  }
68010
- const searchExtend = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$n], ["__scopeId", "data-v-d20a5f54"]]), _sfc_main$p = defineComponent({
68012
+ const searchExtend = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$n], ["__scopeId", "data-v-99d8e362"]]), _sfc_main$p = defineComponent({
68011
68013
  name: "QListLayoutHeader",
68012
68014
  components: {
68013
68015
  QListQuickNav,
@@ -72178,7 +72180,7 @@ const symbolNames = [
72178
72180
  ea.value = !1, o("add-button-click", ii);
72179
72181
  }, Er = ref(!0), Br = () => {
72180
72182
  zn({ fullPath: $n.currentRoute.value.fullPath }, $n);
72181
- }, $r = ref(), da = ref(), Ia = ref(), fi = ref(), Za = ref(), ks = ref(), Xi = reactive({
72183
+ }, $r = ref(), ca = ref(), Ia = ref(), fi = ref(), Za = ref(), ks = ref(), Xi = reactive({
72182
72184
  loading: ur,
72183
72185
  tableColumns: dr,
72184
72186
  tableData: Pe,
@@ -72203,7 +72205,7 @@ const symbolNames = [
72203
72205
  importSuccess: Fr,
72204
72206
  columnSettingRef: $r,
72205
72207
  helpTextModalRef: Za,
72206
- addModalRef: da,
72208
+ addModalRef: ca,
72207
72209
  recordModalRef: Ia,
72208
72210
  editNavModalRef: fi,
72209
72211
  importModalRef: ks
@@ -88929,7 +88931,7 @@ const QUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
88929
88931
  },
88930
88932
  itemNumberValueProp: {
88931
88933
  type: String,
88932
- default: "materialNumber"
88934
+ default: ""
88933
88935
  },
88934
88936
  itemNumberDefaultValue: {
88935
88937
  type: String,
@@ -88998,7 +89000,7 @@ const QUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
88998
89000
  sourceNumberType: Be,
88999
89001
  onConfirmBeforeUpload: En,
89000
89002
  defaultFileType: He
89001
- } = toRefs(r), Bn = computed(() => ae.value ? uniqBy(ae.value, "value").map((ba, Kn) => {
89003
+ } = toRefs(r), Bn = computed(() => !ae.value || !ae.value.length ? [] : ae.value.map((ba, Kn) => {
89002
89004
  const oi = R.value ? ba[R.value] : Kn + 1;
89003
89005
  let ea = `${Kn + 1}`;
89004
89006
  if (G.value !== "seq") {
@@ -89010,7 +89012,7 @@ const QUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
89010
89012
  label: ea,
89011
89013
  value: oi
89012
89014
  };
89013
- }) : []), $n = r.itemNumberLabel || o("i18n_title_lineItem", "\u884C\u9879\u76EE"), zn = ref(O.value), Gn = ref(!1), Dn = reactive({
89015
+ })), $n = r.itemNumberLabel || o("i18n_title_lineItem", "\u884C\u9879\u76EE"), zn = ref(O.value), Gn = ref(!1), Dn = reactive({
89014
89016
  labelCol: { span: 6 },
89015
89017
  wrapperCol: { span: 14 },
89016
89018
  loading: !1
@@ -89079,9 +89081,9 @@ const QUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
89079
89081
  Be.value.indexOf(",") && (Ri = Be.value.split(",")[0] || "sourceNumber"), $r.sourceNumber = ii[Ri] || "";
89080
89082
  }
89081
89083
  }
89082
- let da;
89083
- for (da in $r)
89084
- Br.append(da, $r[da]);
89084
+ let ca;
89085
+ for (ca in $r)
89086
+ ca !== "fileList" && Br.append(ca, $r[ca]);
89085
89087
  Br.append("file", Er.originFileObj);
89086
89088
  const Ia = computed(() => p.value ? p.value : c === "sale" ? "/attachment/saleAttachment/upload" : "/attachment/purchaseAttachment/upload");
89087
89089
  return new Promise((Za, ks) => {
@@ -89104,8 +89106,8 @@ const QUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
89104
89106
  });
89105
89107
  });
89106
89108
  Promise.all(pr).then((Er) => {
89107
- const Br = Er.filter((da) => da && da.success && da.code === 200).map((da) => da.result);
89108
- Er.find((da) => da && da.code !== 200) && (Er.length > 1 ? message$1.error(o("i18n_alert_xzQIXVKm_86e50957", "\u90E8\u5206\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25")) : message$1.error(o("i18n_title_uploadError", "\u90E8\u5206\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"))), n("change_upload_files", Br), n("update:visible", !1), setTimeout(() => {
89109
+ const Br = Er.filter((ca) => ca && ca.success && ca.code === 200).map((ca) => ca.result);
89110
+ Er.find((ca) => ca && ca.code !== 200) && (Er.length > 1 ? message$1.error(o("i18n_alert_xzQIXVKm_86e50957", "\u90E8\u5206\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25")) : message$1.error(o("i18n_title_uploadError", "\u90E8\u5206\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"))), n("change_upload_files", Br), n("update:visible", !1), setTimeout(() => {
89109
89111
  tr(), Gn.value = !1;
89110
89112
  }, 1e3);
89111
89113
  }).finally(() => {
@@ -89187,7 +89189,7 @@ const QUploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
89187
89189
  computedItemInfo: Bn
89188
89190
  };
89189
89191
  }
89190
- }), uploadFile_vue_vue_type_style_index_0_scoped_d08dd58a_lang = "", _hoisted_1$9 = { class: "dropbox" }, _hoisted_2$8 = { class: "ant-upload-drag-icon" }, _hoisted_3$7 = { class: "ant-upload-text" }, _hoisted_4$6 = { class: "custom-upload-max-limit" }, _hoisted_5$4 = { class: "custom-upload-max-limit custom-upload-accept" };
89192
+ }), uploadFile_vue_vue_type_style_index_0_scoped_64b86f91_lang = "", _hoisted_1$9 = { class: "dropbox" }, _hoisted_2$8 = { class: "ant-upload-drag-icon" }, _hoisted_3$7 = { class: "ant-upload-text" }, _hoisted_4$6 = { class: "custom-upload-max-limit" }, _hoisted_5$4 = { class: "custom-upload-max-limit custom-upload-accept" };
89191
89193
  function _sfc_render$7(r, n, o, s, l, c) {
89192
89194
  const p = resolveComponent("a-radio"), b = resolveComponent("a-tooltip"), y = resolveComponent("a-radio-group"), O = resolveComponent("a-form-item"), x = resolveComponent("a-select"), D = resolveComponent("inbox-outlined"), P = resolveComponent("a-upload-dragger"), R = resolveComponent("a-form"), G = resolveComponent("a-modal");
89193
89195
  return openBlock(), createBlock(G, {
@@ -89334,7 +89336,7 @@ function _sfc_render$7(r, n, o, s, l, c) {
89334
89336
  _: 3
89335
89337
  }, 8, ["visible", "title", "confirm-loading", "onOk", "onCancel"]);
89336
89338
  }
89337
- const QUploadFile = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$7], ["__scopeId", "data-v-d08dd58a"]]);
89339
+ const QUploadFile = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$7], ["__scopeId", "data-v-64b86f91"]]);
89338
89340
  function _isSlot(r) {
89339
89341
  return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !isVNode(r);
89340
89342
  }
@@ -99348,7 +99350,7 @@ const qFieldSelectModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _
99348
99350
  function $r(ar, Or) {
99349
99351
  ar && ar.className && Ba(ar.className.split(" "), (Mr) => Mr !== Or).concat([Or]).join(" ");
99350
99352
  }
99351
- function da(ar, Or) {
99353
+ function ca(ar, Or) {
99352
99354
  ar && ar.className && Ba(ar.className.split(" "), (Mr) => Mr !== Or).join(" ");
99353
99355
  }
99354
99356
  function Ia(ar) {
@@ -99873,9 +99875,9 @@ ${ga.join("")}
99873
99875
  if (Ml) {
99874
99876
  const bc = Ri(Si, Zu);
99875
99877
  if (bc) {
99876
- const { row: nc, col: jl, rowspan: gl, colspan: ca } = bc;
99877
- if (Tu + Xr < nc + gl || Gs + Da < jl + ca)
99878
- return sl = _s[nc + gl - 1], Al = Fs[jl + ca - 1], Vi[Pe]([{ type: p, startColumn: ui, endColumn: Al, startRow: $i, endRow: sl }], { column: ui, row: $i }), void (Ql && Ql[Gn]({ message: ns("vxe.pro.area.mergeErr"), status: ce, id: se }));
99878
+ const { row: nc, col: jl, rowspan: gl, colspan: da } = bc;
99879
+ if (Tu + Xr < nc + gl || Gs + Da < jl + da)
99880
+ return sl = _s[nc + gl - 1], Al = Fs[jl + da - 1], Vi[Pe]([{ type: p, startColumn: ui, endColumn: Al, startRow: $i, endRow: sl }], { column: ui, row: $i }), void (Ql && Ql[Gn]({ message: ns("vxe.pro.area.mergeErr"), status: ce, id: se }));
99879
99881
  }
99880
99882
  gi || qn.push(Ml), es.push(ml);
99881
99883
  }
@@ -100572,7 +100574,7 @@ ${ga.join("")}
100572
100574
  const ma = document.onmousemove, sa = document.onmouseup, ya = rh.value, ha = ar.clientX, Fa = ar.clientY, ga = Hr.value, ta = Ha.value, Va = os.value, Xa = ga.$el, Oi = ta ? ta.$el : null, Ci = Va ? Va.$el : null, ui = Oi || Xa, $i = Ci || Xa, { rows: Li, cols: bi } = aa, ps = Zi(bi), Ws = Zi(Li), Ts = xs(bi), dl = xs(Li), Cl = aa.top, _l = aa.left, ol = aa.width, fs = aa.height, _s = Ia(ps.fixed), Fs = Bd(_s, ".vxe-table--cell-area"), sl = Fs.children[2], Al = ui.scrollTop, Tu = jr === "left" ? 0 : $i.scrollLeft, Gs = wl(dl), Vn = ds(Ts), qn = Ri(Gs, Vn);
100573
100575
  let Zn = 1, Ir = 1, Xr = 0, Da = 0, gi = "", Ti = null, Si = null;
100574
100576
  const Ii = Bd(_s, ".vxe-body--row"), es = Ii.firstChild, xi = { type: y, cols: [], rows: [], top: 0, left: 0, width: 0, height: 0 }, ml = (Ml) => {
100575
- const { offsetTop: bc, offsetLeft: nc } = vc(Ml, jr, ha, Fa, Tu, Al, $i, ui), jl = Qa(bc), gl = Qa(nc), ca = $i.scrollWidth, hu = ui.scrollHeight;
100577
+ const { offsetTop: bc, offsetLeft: nc } = vc(Ml, jr, ha, Fa, Tu, Al, $i, ui), jl = Qa(bc), gl = Qa(nc), da = $i.scrollWidth, hu = ui.scrollHeight;
100576
100578
  let Od = fs, Au = ol, nu = Cl, Zl = _l;
100577
100579
  switch (gi) {
100578
100580
  case "top":
@@ -100591,25 +100593,25 @@ ${ga.join("")}
100591
100593
  }
100592
100594
  break;
100593
100595
  case "right":
100594
- 0 < nc && (Au += Yr(ca - _l - ol, ji(dl, Ts, qn, !0, gl)));
100596
+ 0 < nc && (Au += Yr(da - _l - ol, ji(dl, Ts, qn, !0, gl)));
100595
100597
  }
100596
100598
  xi.height = Od, xi.width = Au, xi.left = Zl, xi.top = nu, xi.cols = Os(es, xi), xi.rows = ic(Ii, xi), $l(xi, gc(xi)), ea[Dn]("cell-area-extension-drag", { rows: aa.rows, cols: aa.cols, targetRows: xi.rows, targetCols: xi.cols }, Ml);
100597
100599
  }, Zu = (Ml) => {
100598
100600
  Yd(), Ru = setTimeout(() => {
100599
100601
  if (Ru) {
100600
- const { clientHeight: bc, clientWidth: nc } = Xa, { scrollLeft: jl, scrollWidth: gl } = $i, { scrollTop: ca, scrollHeight: hu } = ui;
100602
+ const { clientHeight: bc, clientWidth: nc } = Xa, { scrollLeft: jl, scrollWidth: gl } = $i, { scrollTop: da, scrollHeight: hu } = ui;
100601
100603
  let Od = null, Au = null;
100602
- Ti !== null && (Ti ? ca + bc < hu && (Od = ca + Zn * be) : ca && (Od = ca - Zn * be)), Si !== null && (Si ? jl + nc < gl && (Au = jl + Ir * be) : jl && (Au = jl - Ir * be)), lu(Au) || lu(Od) ? (ea.scrollTo(Au, Od), Zu(Ml), ml(Ml)) : Yd();
100604
+ Ti !== null && (Ti ? da + bc < hu && (Od = da + Zn * be) : da && (Od = da - Zn * be)), Si !== null && (Si ? jl + nc < gl && (Au = jl + Ir * be) : jl && (Au = jl - Ir * be)), lu(Au) || lu(Od) ? (ea.scrollTo(Au, Od), Zu(Ml), ml(Ml)) : Yd();
100603
100605
  }
100604
100606
  }, 50);
100605
100607
  };
100606
100608
  document.onmousemove = (Ml) => {
100607
100609
  uc(Ml);
100608
- const { clientY: bc, clientX: nc } = Ml, { clientHeight: jl, clientWidth: gl } = Xa, { offsetTop: ca, offsetLeft: hu } = vc(Ml, jr, ha, Fa, Tu, Al, $i, ui), Od = Fh(Xa), Au = Od.top, nu = Od.left, Zl = _l + ol + hu, Wl = Cl + fs + ca;
100610
+ const { clientY: bc, clientX: nc } = Ml, { clientHeight: jl, clientWidth: gl } = Xa, { offsetTop: da, offsetLeft: hu } = vc(Ml, jr, ha, Fa, Tu, Al, $i, ui), Od = Fh(Xa), Au = Od.top, nu = Od.left, Zl = _l + ol + hu, Wl = Cl + fs + da;
100609
100611
  let ou;
100610
100612
  Ti = null, Si = null, Xr = bc, Da = nc, Xr < Au ? (ou = !0, Ti = !1, Zn = Au - Xr) : Xr > Au + jl && (ou = !0, Ti = !0, Zn = Xr - Au - jl), Da < nu ? (ou = !0, Si = !1, Ir = nu - Da) : Da > nu + gl && (ou = !0, Si = !0, Ir = Da - nu - gl), Zl < _l ? Wl > Cl && Wl < Cl + fs && (gi = "left") : Zl > _l + ol ? Wl > Cl && Wl < Cl + fs && (gi = "right") : Wl < Cl ? gi = "top" : Wl > Cl + fs && (gi = "bottom"), ou ? !Ru && Zu(Ml) : Yd(), ml(Ml);
100611
100613
  }, document.onmouseup = () => {
100612
- document.onmousemove = ma, document.onmouseup = sa, Yd(), da(ya, "drag--extend-range");
100614
+ document.onmousemove = ma, document.onmouseup = sa, Yd(), ca(ya, "drag--extend-range");
100613
100615
  const Ml = ic(Ii, xi), bc = Os(es, xi);
100614
100616
  Ta(Ml, bc) ? (aa.rows = Ml, aa.cols = bc) : Ql && Ql[Gn]({ message: ns("vxe.pro.area.extendErr"), status: ce, id: se }), $l(aa, gc(aa)), Br(sl), Hh(ar, Li, bi, aa), wd = !1, ea[Dn]("cell-area-extension-end", { rows: aa.rows, cols: aa.cols, targetRows: Li, targetCols: bi }, ar);
100615
100617
  }, $r(ya, "drag--extend-range"), wd = !0, ea[Dn]("cell-area-extension-start", $l({ targetRows: Li, targetCols: bi }, Or), ar);
@@ -100636,12 +100638,12 @@ ${ga.join("")}
100636
100638
  Va || (Li = [], Vi[tr]());
100637
100639
  const Ws = document.onmousemove, Ts = document.onmouseup, dl = ar.clientX, Cl = ar.clientY, _l = Hr.value, ol = Ha.value, fs = os.value, _s = Ms(ar, ta), Fs = _l.$el, sl = ol ? ol.$el : null, Al = fs ? fs.$el : null, Tu = sl || Fs, Gs = Al || Fs, Vn = Ia(ga.fixed), qn = Bd(Vn, ".vxe-table--cell-area"), Zn = qn.children, Ir = Zn[0], Xr = Zn[2], Da = Zn[3], gi = ta, Ti = gi.parentNode, Si = Bd(Vn, ".vxe-body--row"), Ii = Si.firstChild, es = Tu.scrollTop, xi = ha === "left" ? 0 : Gs.scrollLeft;
100638
100640
  let ml = null, Zu = null, Ml = 1, bc = 1, nc = 0, jl = 0;
100639
- const gl = { type: Va ? O : p, cols: [], rows: [], top: 0, left: 0, width: 0, height: 0 }, ca = { type: x, area: gl, column: ga, row: Fa, top: ta.offsetTop, left: ta.offsetLeft, width: ta.offsetWidth, height: ta.offsetHeight };
100641
+ const gl = { type: Va ? O : p, cols: [], rows: [], top: 0, left: 0, width: 0, height: 0 }, da = { type: x, area: gl, column: ga, row: Fa, top: ta.offsetTop, left: ta.offsetLeft, width: ta.offsetWidth, height: ta.offsetHeight };
100640
100642
  if (Va) {
100641
100643
  const Au = ha ? `${ha}El` : "el", nu = Wd(Li, (Zl) => Zl.type === p);
100642
100644
  nu && (nu.type = O, nu[Au] = fi(Da), ks(nu[Au], nu)), gl[Au] = fi(Da);
100643
100645
  }
100644
- Vi[nr](ca), Li.push(gl);
100646
+ Vi[nr](da), Li.push(gl);
100645
100647
  const hu = (Au) => {
100646
100648
  const { offsetTop: nu, offsetLeft: Zl } = vc(Au, ha, dl, Cl, xi, es, Gs, Tu), Wl = Gs.scrollWidth, ou = Tu.scrollHeight, Wf = 0 <= nu, rs = 0 <= Zl;
100647
100649
  let Ku, dc, pu = Qa(nu), Kd = Qa(Zl);
@@ -100663,7 +100665,7 @@ ${ga.join("")}
100663
100665
  let dc;
100664
100666
  ml = null, Zu = null, nc = nu, jl = Zl, nc < rs ? (dc = !0, ml = !1, Ml = rs - nc) : nc > rs + Wl && (dc = !0, ml = !0, Ml = nc - rs - Wl), jl < Ku ? (dc = !0, Zu = !1, bc = Ku - jl) : jl > Ku + ou && (dc = !0, Zu = !0, bc = jl - Ku - ou), dc ? !Ru && Od(Au) : Yd(), hu(Au);
100665
100667
  }), document.onmouseup = () => {
100666
- document.onmousemove = Ws, document.onmouseup = Ts, Yd(), gl.cols = Os(Ii, gl), gl.rows = ic(Si, gl), da(ua, "drag--area"), ea[Dn]("cell-area-selection-end", { rows: gl.rows, cols: gl.cols }, ar);
100668
+ document.onmousemove = Ws, document.onmouseup = Ts, Yd(), gl.cols = Os(Ii, gl), gl.rows = ic(Si, gl), ca(ua, "drag--area"), ea[Dn]("cell-area-selection-end", { rows: gl.rows, cols: gl.cols }, ar);
100667
100669
  }, $r(ua, "drag--area"), hu(ar), lc.value = Li, ea[Dn]("cell-area-selection-start", Or, ar), ea[Dn]("active-cell-change-end", { ...ps, beforeActiveArea: bi, activeArea: Vi[ur]() }, ar);
100668
100670
  }
100669
100671
  }
@@ -119069,10 +119071,10 @@ function pieLabelLayout(r) {
119069
119071
  var fi = zn.states.select;
119070
119072
  fi && (fi.x += zn.x, fi.y += zn.y);
119071
119073
  } else {
119072
- var da = zn.getBoundingRect().clone();
119073
- da.applyTransform(zn.getComputedTransform());
119074
+ var ca = zn.getBoundingRect().clone();
119075
+ ca.applyTransform(zn.getComputedTransform());
119074
119076
  var Ia = (zn.style.margin || 0) + 2.1;
119075
- da.y -= Ia / 2, da.height += Ia, o.push({
119077
+ ca.y -= Ia / 2, ca.height += Ia, o.push({
119076
119078
  label: zn,
119077
119079
  labelLine: Gn,
119078
119080
  position: Pe,
@@ -119087,8 +119089,8 @@ function pieLabelLayout(r) {
119087
119089
  labelAlignTo: ur,
119088
119090
  edgeDistance: Ln,
119089
119091
  bleedMargin: nr,
119090
- rect: da,
119091
- unconstrainedWidth: da.width,
119092
+ rect: ca,
119093
+ unconstrainedWidth: ca.width,
119092
119094
  labelStyleWidth: zn.style.width
119093
119095
  });
119094
119096
  }
@@ -133428,8 +133430,8 @@ function createCSSAnimation(r, n, o, s) {
133428
133430
  var Rr = Yr.keyframes, Kr = Yr.propName;
133429
133431
  if (ea && (Kr = ea(Kr)), Kr)
133430
133432
  for (var pr = 0; pr < Rr.length; pr++) {
133431
- var Er = Rr[pr], Br = Math.round(Er.time / ei * 100) + "%", $r = getEasingFunc(Er.easing), da = Er.rawValue;
133432
- (isString(da) || isNumber(da)) && (oi[Br] = oi[Br] || {}, oi[Br][Kr] = Er.rawValue, $r && (oi[Br][$n] = $r));
133433
+ var Er = Rr[pr], Br = Math.round(Er.time / ei * 100) + "%", $r = getEasingFunc(Er.easing), ca = Er.rawValue;
133434
+ (isString(ca) || isNumber(ca)) && (oi[Br] = oi[Br] || {}, oi[Br][Kr] = Er.rawValue, $r && (oi[Br][$n] = $r));
133433
133435
  }
133434
133436
  }
133435
133437
  }