@beeintel/batch-image 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +184 -182
- package/dist/chunks/{AdjustToolPanel-B6dtlFlj.js → AdjustToolPanel-BELqYSUR.js} +15 -15
- package/dist/chunks/{BackgroundToolPanel-C3Rr9d4S.js → BackgroundToolPanel-Dy_l8KFl.js} +4 -4
- package/dist/chunks/{BatchMaterials-DDoJTaS5.js → BatchMaterials-niGKrga3.js} +1 -1
- package/dist/chunks/{BatchModeChoices-DeBARgvY.js → BatchModeChoices-BRqn6zNI.js} +1 -1
- package/dist/chunks/{BatchOutputColorPicker-D7WIDS4_.js → BatchOutputColorPicker-CCvmIF-b.js} +2 -2
- package/dist/chunks/{BatchReferenceFields-Cr5WgFRJ.js → BatchReferenceFields-C4t7OSTw.js} +2 -2
- package/dist/chunks/{BeautifyToolPanel-DDZXDQKM.js → BeautifyToolPanel-Dc-ddaBC.js} +4 -4
- package/dist/chunks/{BrandMarkToolPanel-vKobk_R3.js → BrandMarkToolPanel-FKxXth_3.js} +4 -4
- package/dist/chunks/{ContentTrimControl-BKCJEst5.js → ContentTrimControl-BQfigZPq.js} +2 -2
- package/dist/chunks/{CropToolPanel-C_sW5tWL.js → CropToolPanel-BhSuHkYm.js} +3 -3
- package/dist/chunks/{CutoutToolPanel-B7ObmiWd.js → CutoutToolPanel-BfaZZSE_.js} +4 -4
- package/dist/chunks/{DisclosureToolPanel-F3ccFJIF.js → DisclosureToolPanel-B_oc5fld.js} +2 -2
- package/dist/chunks/{ExpandToolPanel-BKjj5UJA.js → ExpandToolPanel-D_ZODTUZ.js} +3 -3
- package/dist/chunks/{ImageEffectsToolPanel-CsDIBpT6.js → ImageEffectsToolPanel-BRLPIt4q.js} +3 -3
- package/dist/chunks/{IpAuditToolPanel-CduDfFh-.js → IpAuditToolPanel-DfY-mBSe.js} +2 -2
- package/dist/chunks/{ListingToolPanel-8pJ2_zvI.js → ListingToolPanel-B9Yh3LBK.js} +3 -3
- package/dist/chunks/{MaterialSelectionPlate-CW7HaS6v.js → MaterialSelectionPlate-DhioUjdW.js} +1 -1
- package/dist/chunks/{MetadataToolPanel-C8XJOamN.js → MetadataToolPanel-KVrtb3K0.js} +3 -3
- package/dist/chunks/{OrientToolPanel-C1AzQchm.js → OrientToolPanel-BTrwaWBm.js} +3 -3
- package/dist/chunks/{PluginActionFooter.vue_vue_type_script_setup_true_lang-BGe419qz.js → PluginActionFooter.vue_vue_type_script_setup_true_lang-C2kJCYeA.js} +1 -1
- package/dist/chunks/{ResizeToolPanel-DWikcj2G.js → ResizeToolPanel-Ch_-WR74.js} +7 -7
- package/dist/chunks/{RetouchToolPanel-B4eQKk2W.js → RetouchToolPanel-BTS33Dsd.js} +3 -3
- package/dist/chunks/{ShadowToolPanel-Bbj76hQd.js → ShadowToolPanel-DxJE4eyV.js} +2 -2
- package/dist/chunks/{SvgExportToolPanel-BRxpzd7q.js → SvgExportToolPanel-RHmuQARH.js} +2 -2
- package/dist/chunks/{TranslationToolPanel-Bxv8U2WY.js → TranslationToolPanel-B_qTA1hM.js} +4 -4
- package/dist/chunks/{UpscaleToolPanel-BRIgpszs.js → UpscaleToolPanel-D0H-j2Tr.js} +3 -3
- package/dist/chunks/{entry-CboOSe2r.js → entry-DK9FjQZ_.js} +318 -317
- package/dist/chunks/{loader-circle-CylCgDqP.js → loader-circle-UFoEem2a.js} +1 -1
- package/dist/chunks/{motionFeatures-D67ghPG1.js → motionFeatures-D4miwXxc.js} +1 -1
- package/dist/chunks/{search-BwsDnulU.js → search-BjTSm1KS.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/node/cli.mjs +0 -0
- package/dist/resources.json +65 -65
- package/dist/style.css +1 -1
- package/package.json +95 -94
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { effectScope as Qc, ref as U, markRaw as ed, hasInjectionContext as qr, inject as Jo, reactive as tc, isRef as Zr, isReactive as od, toRaw as ot, getCurrentScope as lp, onScopeDispose as Qt, watch as Pe, nextTick as uo, toRefs as yb, computed as q, shallowRef as pt, defineComponent as Xe, h as ct, getCurrentInstance as Qs, Fragment as Ve, onMounted as wt, onUnmounted as Oo, createVNode as me, Text as kb, openBlock as P, createElementBlock as I, createElementVNode as z, useId as _r, unref as c, createBlock as ye, normalizeClass as He, createCommentVNode as j, renderList as wo, toDisplayString as C, provide as Ls, renderSlot as da, useAttrs as Pb, onBeforeUnmount as el, onDeactivated as zb, onActivated as Db, onBeforeUpdate as Cb, onUpdated as Ib, Comment as xb, mergeProps as
|
|
1
|
+
import { effectScope as Qc, ref as U, markRaw as ed, hasInjectionContext as qr, inject as Jo, reactive as tc, isRef as Zr, isReactive as od, toRaw as ot, getCurrentScope as lp, onScopeDispose as Qt, watch as Pe, nextTick as uo, toRefs as yb, computed as q, shallowRef as pt, defineComponent as Xe, h as ct, getCurrentInstance as Qs, Fragment as Ve, onMounted as wt, onUnmounted as Oo, createVNode as me, Text as kb, openBlock as P, createElementBlock as I, createElementVNode as z, useId as _r, unref as c, createBlock as ye, normalizeClass as He, createCommentVNode as j, renderList as wo, toDisplayString as C, provide as Ls, renderSlot as da, useAttrs as Pb, onBeforeUnmount as el, onDeactivated as zb, onActivated as Db, onBeforeUpdate as Cb, onUpdated as Ib, Comment as xb, mergeProps as Ia, cloneVNode as Ab, resolveDynamicComponent as Ei, Transition as ol, TransitionGroup as Eb, withCtx as xe, readonly as cp, shallowReactive as Sb, normalizeStyle as Do, withModifiers as it, createTextVNode as Le, onBeforeMount as Rb, triggerRef as mm, withKeys as qa, withDirectives as sa, vModelText as dp, vModelCheckbox as um, Teleport as Da, defineAsyncComponent as mp, KeepAlive as Lb, createStaticVNode as Tb, vShow as Sn, vModelSelect as Mb, normalizeProps as Vb, guardReactiveProps as jb, createApp as pm } from "vue";
|
|
2
2
|
import { p as Ts, s as Ms, i as tl, n as nt, c as Ro, M as Ob, a as Ll, g as Fb, b as Bb, d as Nb, A as $e, D as fm, v as wi, e as Vs, f as gm, h as Gb, j as Ha, k as Ln, l as vr, m as Ub, o as js, r as zn, q as td, t as ma, u as de, w as zo, x as up, y as ad, z as Tn, U as $b, B as rd, C as Ko, E as pp, F as Si, G as qb, H as Wb, I as Hb, J as Os, K as Kb, L as Gt, N as Wr, O as Xb, P as Zb, Q as Jr, R as al, S as Fs, T as fp, V as gp, W as nd, X as bp, Y as Jb, Z as Yb, _ as Cs, $ as hp, a0 as id, a1 as bm, a2 as Qb, a3 as hm, a4 as eh, a5 as oh, a6 as Br, a7 as na, a8 as th, a9 as hn, aa as us, ab as _m, ac as ah, ad as rh, ae as ac, af as nh, ag as ih, ah as sh, ai as ps, aj as lh, ak as ch, al as dh, am as mh, an as uh, ao as sd, ap as ld, aq as _p, ar as ph, as as vp, at as wp, au as vm, av as fh, aw as wm, ax as gh, ay as bh, az as hh, aA as yp, aB as _h, aC as kp } from "./hosted-resources-COzZ7nZY.js";
|
|
3
3
|
function Mn(e) {
|
|
4
4
|
if (e && typeof e == "object" && !Object.isFrozen(e)) {
|
|
@@ -531,7 +531,7 @@ function Mh(e) {
|
|
|
531
531
|
}
|
|
532
532
|
return t;
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function xa(e, o, t) {
|
|
535
535
|
return [...e.attempts].reverse().find((a) => a.operationId === o && a.itemId === t);
|
|
536
536
|
}
|
|
537
537
|
function tn(e, o, t) {
|
|
@@ -539,7 +539,7 @@ function tn(e, o, t) {
|
|
|
539
539
|
let r = o.dependsOnOperationId;
|
|
540
540
|
for (; r && !a.has(r); ) {
|
|
541
541
|
if (r === t) return !0;
|
|
542
|
-
a.add(r), r =
|
|
542
|
+
a.add(r), r = xa(e, r, o.itemId)?.dependsOnOperationId;
|
|
543
543
|
}
|
|
544
544
|
return !1;
|
|
545
545
|
}
|
|
@@ -547,7 +547,7 @@ function md(e, o) {
|
|
|
547
547
|
const t = nl(e, o.itemId), a = [], r = /* @__PURE__ */ new Set();
|
|
548
548
|
let n = o;
|
|
549
549
|
for (; n && !r.has(n.operationId); )
|
|
550
|
-
r.add(n.operationId), a.unshift(n), n = n.dependsOnOperationId ?
|
|
550
|
+
r.add(n.operationId), a.unshift(n), n = n.dependsOnOperationId ? xa(e, n.dependsOnOperationId, o.itemId) : void 0;
|
|
551
551
|
return [
|
|
552
552
|
...a,
|
|
553
553
|
...t.filter((s) => tn(e, s, o.operationId))
|
|
@@ -665,7 +665,7 @@ function Ap(e, o, t, a) {
|
|
|
665
665
|
}
|
|
666
666
|
function Ep(e, o) {
|
|
667
667
|
const t = e.items.find((r) => r.id === o.itemId);
|
|
668
|
-
if (!t || o.status !== "failed" || o.retryable === !1 || o.continuation === "skip" || o.continuation === "force" || o.errorCode === "PROVIDER_ACCEPTANCE_UNKNOWN" ||
|
|
668
|
+
if (!t || o.status !== "failed" || o.retryable === !1 || o.continuation === "skip" || o.continuation === "force" || o.errorCode === "PROVIDER_ACCEPTANCE_UNKNOWN" || xa(e, o.operationId, o.itemId)?.id !== o.id || t.currentVersionId !== o.inputVersionId)
|
|
669
669
|
return !1;
|
|
670
670
|
const a = e.attempts.find((r) => r.id === t.busyAttemptId);
|
|
671
671
|
return !a || ["waiting_dependency", "blocked_dependency"].includes(a.status) && tn(e, a, o.operationId);
|
|
@@ -676,7 +676,7 @@ function Vh(e, o, t) {
|
|
|
676
676
|
const r = [], n = nt("retry");
|
|
677
677
|
for (const s of a.itemIds) {
|
|
678
678
|
if (t && !t.includes(s)) continue;
|
|
679
|
-
const i =
|
|
679
|
+
const i = xa(e, o, s);
|
|
680
680
|
if (!i || !Ep(e, i)) continue;
|
|
681
681
|
const l = {
|
|
682
682
|
id: nt("attempt"),
|
|
@@ -707,7 +707,7 @@ function jh(e, o, t, a) {
|
|
|
707
707
|
"OUTPUT_GEOMETRY_CHANGED",
|
|
708
708
|
"UPSCALE_RESOLUTION_SHORTFALL",
|
|
709
709
|
"UPSCALE_OUTPUT_TOO_LARGE"
|
|
710
|
-
].includes(r.errorCode ?? "") ||
|
|
710
|
+
].includes(r.errorCode ?? "") || xa(e, r.operationId, r.itemId)?.id !== r.id || n.currentVersionId !== r.inputVersionId || !n.versions.some((g) => g.id === r.inputVersionId) || s.toolId !== t)
|
|
711
711
|
throw new Error("该失败项不能修改参数后继续,请检查当前版本与任务状态");
|
|
712
712
|
const i = nl(e, n.id), l = i.slice(i.indexOf(r) + 1);
|
|
713
713
|
if (l.some(
|
|
@@ -736,12 +736,12 @@ function jh(e, o, t, a) {
|
|
|
736
736
|
}
|
|
737
737
|
function Oh(e, o) {
|
|
738
738
|
const t = e.attempts.find((r) => r.id === o), a = e.items.find((r) => r.id === t?.itemId);
|
|
739
|
-
return !t || !a || !["failed", "cancelled"].includes(t.status) || t.continuation || t.errorCode === "PROVIDER_ACCEPTANCE_UNKNOWN" ||
|
|
739
|
+
return !t || !a || !["failed", "cancelled"].includes(t.status) || t.continuation || t.errorCode === "PROVIDER_ACCEPTANCE_UNKNOWN" || xa(e, t.operationId, t.itemId)?.id !== t.id || !ud(e, t).length || !t.inputVersionId || a.currentVersionId !== t.inputVersionId || !a.versions.some((r) => r.id === t.inputVersionId) ? !1 : (t.continuation = "skip", ut(e), !0);
|
|
740
740
|
}
|
|
741
741
|
function Fh(e, o) {
|
|
742
742
|
const t = [...new Set(o)].map((a) => e.attempts.find((r) => r.id === a));
|
|
743
743
|
if (!t.length || t.some(
|
|
744
|
-
(a) => !a || !["failed", "cancelled"].includes(a.status) || a.continuation || a.errorCode === "PROVIDER_ACCEPTANCE_UNKNOWN" ||
|
|
744
|
+
(a) => !a || !["failed", "cancelled"].includes(a.status) || a.continuation || a.errorCode === "PROVIDER_ACCEPTANCE_UNKNOWN" || xa(e, a.operationId, a.itemId)?.id !== a.id || e.items.find((r) => r.id === a.itemId)?.currentVersionId !== a.inputVersionId || !e.items.find((r) => r.id === a.itemId)?.versions.some((r) => r.id === a.inputVersionId)
|
|
745
745
|
))
|
|
746
746
|
throw Error("部分图片版本已变化或受理未确认,请取消后续并重新选择");
|
|
747
747
|
for (const a of t) a.continuation = "skip";
|
|
@@ -750,7 +750,7 @@ function Fh(e, o) {
|
|
|
750
750
|
function Sp(e, o) {
|
|
751
751
|
const t = e.operations.find((a) => a.id === o);
|
|
752
752
|
return t ? t.itemIds.flatMap((a) => {
|
|
753
|
-
const r =
|
|
753
|
+
const r = xa(e, o, a), n = e.items.find((s) => s.id === a);
|
|
754
754
|
return r && n && ["waiting_dependency", "blocked_dependency"].includes(r.status) && n.versions.some((s) => s.id === n.currentVersionId) ? [{ attemptId: r.id, itemId: a, versionId: n.currentVersionId }] : [];
|
|
755
755
|
}) : [];
|
|
756
756
|
}
|
|
@@ -797,7 +797,7 @@ function Gh(e, o) {
|
|
|
797
797
|
let a = o;
|
|
798
798
|
for (; a && !t.has(a.operationId); ) {
|
|
799
799
|
if (t.add(a.operationId), a.status === "failed" && !a.continuation) return a;
|
|
800
|
-
a = a.dependsOnOperationId ?
|
|
800
|
+
a = a.dependsOnOperationId ? xa(e, a.dependsOnOperationId, a.itemId) : void 0;
|
|
801
801
|
}
|
|
802
802
|
}
|
|
803
803
|
function lc(e, o) {
|
|
@@ -12469,7 +12469,7 @@ const Rp = {
|
|
|
12469
12469
|
"error.pickEffect": "Select an effect first.",
|
|
12470
12470
|
"error.sourceChanged": "The source image changed. Select the image again to preview.",
|
|
12471
12471
|
"error.previewCapacity": "The preview memory limit has been reached. Select fewer images or zoom in to preview fewer images at once."
|
|
12472
|
-
},
|
|
12472
|
+
}, za = {
|
|
12473
12473
|
en: u_,
|
|
12474
12474
|
"zh-CN": {
|
|
12475
12475
|
...mr["zh-CN"],
|
|
@@ -13386,7 +13386,7 @@ const ur = () => Am || (Am = typeof globalThis < "u" ? globalThis : typeof self
|
|
|
13386
13386
|
function ea(e, o) {
|
|
13387
13387
|
return h_.call(e, o);
|
|
13388
13388
|
}
|
|
13389
|
-
const Uo = Array.isArray, qo = (e) => typeof e == "function", Oe = (e) => typeof e == "string",
|
|
13389
|
+
const Uo = Array.isArray, qo = (e) => typeof e == "function", Oe = (e) => typeof e == "string", Co = (e) => typeof e == "boolean", ko = (e) => e !== null && typeof e == "object", __ = (e) => ko(e) && qo(e.then) && qo(e.catch), Vp = Object.prototype.toString, fd = (e) => Vp.call(e), Lo = (e) => fd(e) === "[object Object]", v_ = (e) => e == null ? "" : Uo(e) || Lo(e) && e.toString === Vp ? JSON.stringify(e, null, 2) : String(e);
|
|
13390
13390
|
function gd(e, o = "") {
|
|
13391
13391
|
return e.reduce((t, a, r) => r === 0 ? t + a : t + o + a, "");
|
|
13392
13392
|
}
|
|
@@ -13500,7 +13500,7 @@ function il(e, o, t = {}) {
|
|
|
13500
13500
|
function V_(e) {
|
|
13501
13501
|
throw e;
|
|
13502
13502
|
}
|
|
13503
|
-
const
|
|
13503
|
+
const wa = " ", j_ = "\r", vt = `
|
|
13504
13504
|
`, O_ = "\u2028", F_ = "\u2029";
|
|
13505
13505
|
function B_(e) {
|
|
13506
13506
|
const o = e;
|
|
@@ -13579,7 +13579,7 @@ function U_(e, o = {}) {
|
|
|
13579
13579
|
}
|
|
13580
13580
|
function m($) {
|
|
13581
13581
|
let W = "";
|
|
13582
|
-
for (; $.currentPeek() ===
|
|
13582
|
+
for (; $.currentPeek() === wa || $.currentPeek() === vt; )
|
|
13583
13583
|
W += $.currentPeek(), $.peek();
|
|
13584
13584
|
return W;
|
|
13585
13585
|
}
|
|
@@ -13655,7 +13655,7 @@ function U_(e, o = {}) {
|
|
|
13655
13655
|
return !1;
|
|
13656
13656
|
const ne = () => {
|
|
13657
13657
|
const po = $.currentPeek();
|
|
13658
|
-
return po === "{" ? b($.peek()) : po === "@" || po === "|" || po === ":" || po === "." || po ===
|
|
13658
|
+
return po === "{" ? b($.peek()) : po === "@" || po === "|" || po === ":" || po === "." || po === wa || !po ? !1 : po === vt ? ($.peek(), ne()) : F($, !1);
|
|
13659
13659
|
}, ze = ne();
|
|
13660
13660
|
return $.resetPeek(), ze;
|
|
13661
13661
|
}
|
|
@@ -13667,7 +13667,7 @@ function U_(e, o = {}) {
|
|
|
13667
13667
|
function F($, W = !0) {
|
|
13668
13668
|
const ee = (ze = !1, po = "") => {
|
|
13669
13669
|
const lo = $.currentPeek();
|
|
13670
|
-
return lo === "{" || lo === "@" || !lo ? ze : lo === "|" ? !(po ===
|
|
13670
|
+
return lo === "{" || lo === "@" || !lo ? ze : lo === "|" ? !(po === wa || po === vt) : lo === wa ? ($.peek(), ee(!0, wa)) : lo === vt ? ($.peek(), ee(!0, vt)) : !0;
|
|
13671
13671
|
}, ne = ee();
|
|
13672
13672
|
return W && $.resetPeek(), ne;
|
|
13673
13673
|
}
|
|
@@ -13730,7 +13730,7 @@ function U_(e, o = {}) {
|
|
|
13730
13730
|
} else {
|
|
13731
13731
|
if (ee === "{" || ee === "}" || ee === "@" || ee === "|" || !ee)
|
|
13732
13732
|
break;
|
|
13733
|
-
if (ee ===
|
|
13733
|
+
if (ee === wa || ee === vt)
|
|
13734
13734
|
if (F($))
|
|
13735
13735
|
W += ee, $.next();
|
|
13736
13736
|
else {
|
|
@@ -13750,7 +13750,7 @@ function U_(e, o = {}) {
|
|
|
13750
13750
|
for (; W = he($); )
|
|
13751
13751
|
ee += W;
|
|
13752
13752
|
const ne = $.currentChar();
|
|
13753
|
-
if (ne && ne !== "}" && ne !== Va && ne !==
|
|
13753
|
+
if (ne && ne !== "}" && ne !== Va && ne !== wa && ne !== vt && ne !== " ") {
|
|
13754
13754
|
const ze = bo($);
|
|
13755
13755
|
return p(Ao.INVALID_TOKEN_IN_PLACEHOLDER, n(), 0, ee + ze), ee + ze;
|
|
13756
13756
|
}
|
|
@@ -13800,7 +13800,7 @@ function U_(e, o = {}) {
|
|
|
13800
13800
|
return `\\${W}${ne}`;
|
|
13801
13801
|
}
|
|
13802
13802
|
function no($) {
|
|
13803
|
-
return $ !== "{" && $ !== "}" && $ !==
|
|
13803
|
+
return $ !== "{" && $ !== "}" && $ !== wa && $ !== vt;
|
|
13804
13804
|
}
|
|
13805
13805
|
function bo($) {
|
|
13806
13806
|
y($);
|
|
@@ -13818,7 +13818,7 @@ function U_(e, o = {}) {
|
|
|
13818
13818
|
function io($) {
|
|
13819
13819
|
const W = (ee) => {
|
|
13820
13820
|
const ne = $.currentChar();
|
|
13821
|
-
return ne === "{" || ne === "@" || ne === "|" || ne === "(" || ne === ")" || !ne || ne ===
|
|
13821
|
+
return ne === "{" || ne === "@" || ne === "|" || ne === "(" || ne === ")" || !ne || ne === wa ? ee : (ee += ne, $.next(), W(ee));
|
|
13822
13822
|
};
|
|
13823
13823
|
return W("");
|
|
13824
13824
|
}
|
|
@@ -13873,7 +13873,7 @@ function U_(e, o = {}) {
|
|
|
13873
13873
|
const { currentType: ee } = W;
|
|
13874
13874
|
let ne = null;
|
|
13875
13875
|
const ze = $.currentChar();
|
|
13876
|
-
switch ((ee === 7 || ee === 8 || ee === 11 || ee === 9) && (ze === vt || ze ===
|
|
13876
|
+
switch ((ee === 7 || ee === 8 || ee === 11 || ee === 9) && (ze === vt || ze === wa) && p(Ao.INVALID_LINKED_FORMAT, n(), 0), ze) {
|
|
13877
13877
|
case "@":
|
|
13878
13878
|
return $.next(), ne = h(
|
|
13879
13879
|
W,
|
|
@@ -14002,7 +14002,7 @@ function X_(e = {}) {
|
|
|
14002
14002
|
return w.type !== 11 ? (a(b, Ao.UNEXPECTED_EMPTY_LINKED_MODIFIER, k.lastStartLoc, 0), B.value = "", n(B, v, R), {
|
|
14003
14003
|
nextConsumeToken: w,
|
|
14004
14004
|
node: B
|
|
14005
|
-
}) : (w.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0,
|
|
14005
|
+
}) : (w.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ya(w)), B.value = w.value || "", n(B, b.currentOffset(), b.currentPosition()), {
|
|
14006
14006
|
node: B
|
|
14007
14007
|
});
|
|
14008
14008
|
}
|
|
@@ -14017,18 +14017,18 @@ function X_(e = {}) {
|
|
|
14017
14017
|
const R = u(b);
|
|
14018
14018
|
k.modifier = R.node, v = R.nextConsumeToken || b.nextToken();
|
|
14019
14019
|
}
|
|
14020
|
-
switch (v.type !== 9 && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0,
|
|
14020
|
+
switch (v.type !== 9 && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0, ya(v)), v = b.nextToken(), v.type === 2 && (v = b.nextToken()), v.type) {
|
|
14021
14021
|
case 10:
|
|
14022
|
-
v.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0,
|
|
14022
|
+
v.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0, ya(v)), k.key = p(b, v.value || "");
|
|
14023
14023
|
break;
|
|
14024
14024
|
case 4:
|
|
14025
|
-
v.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0,
|
|
14025
|
+
v.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0, ya(v)), k.key = l(b, v.value || "");
|
|
14026
14026
|
break;
|
|
14027
14027
|
case 5:
|
|
14028
|
-
v.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0,
|
|
14028
|
+
v.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0, ya(v)), k.key = i(b, v.value || "");
|
|
14029
14029
|
break;
|
|
14030
14030
|
case 6:
|
|
14031
|
-
v.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0,
|
|
14031
|
+
v.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0, ya(v)), k.key = d(b, v.value || "");
|
|
14032
14032
|
break;
|
|
14033
14033
|
default: {
|
|
14034
14034
|
a(b, Ao.UNEXPECTED_EMPTY_LINKED_KEY, w.lastStartLoc, 0);
|
|
@@ -14051,16 +14051,16 @@ function X_(e = {}) {
|
|
|
14051
14051
|
const M = B || b.nextToken();
|
|
14052
14052
|
switch (B = null, M.type) {
|
|
14053
14053
|
case 0:
|
|
14054
|
-
M.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0,
|
|
14054
|
+
M.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0, ya(M)), R.items.push(s(b, M.value || ""));
|
|
14055
14055
|
break;
|
|
14056
14056
|
case 5:
|
|
14057
|
-
M.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0,
|
|
14057
|
+
M.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0, ya(M)), R.items.push(i(b, M.value || ""));
|
|
14058
14058
|
break;
|
|
14059
14059
|
case 4:
|
|
14060
|
-
M.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0,
|
|
14060
|
+
M.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0, ya(M)), R.items.push(l(b, M.value || ""));
|
|
14061
14061
|
break;
|
|
14062
14062
|
case 6:
|
|
14063
|
-
M.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0,
|
|
14063
|
+
M.value == null && a(b, Ao.UNEXPECTED_LEXICAL_ANALYSIS, w.lastStartLoc, 0, ya(M)), R.items.push(d(b, M.value || ""));
|
|
14064
14064
|
break;
|
|
14065
14065
|
case 7: {
|
|
14066
14066
|
const N = h(b);
|
|
@@ -14093,7 +14093,7 @@ function X_(e = {}) {
|
|
|
14093
14093
|
}
|
|
14094
14094
|
return { parse: y };
|
|
14095
14095
|
}
|
|
14096
|
-
function
|
|
14096
|
+
function ya(e) {
|
|
14097
14097
|
if (e.type === 13)
|
|
14098
14098
|
return "EOF";
|
|
14099
14099
|
const o = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
@@ -14385,7 +14385,7 @@ function n0(e, o = {}) {
|
|
|
14385
14385
|
function i0() {
|
|
14386
14386
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ur().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ur().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
14387
14387
|
}
|
|
14388
|
-
function
|
|
14388
|
+
function Ca(e) {
|
|
14389
14389
|
return ko(e) && _d(e) === 0 && (ea(e, "b") || ea(e, "body"));
|
|
14390
14390
|
}
|
|
14391
14391
|
const jp = ["b", "body"];
|
|
@@ -14525,7 +14525,7 @@ function g0(e, o = {}) {
|
|
|
14525
14525
|
// @__NO_SIDE_EFFECTS__
|
|
14526
14526
|
function b0(e, o) {
|
|
14527
14527
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && Oe(e)) {
|
|
14528
|
-
|
|
14528
|
+
Co(o.warnHtmlMessage) && o.warnHtmlMessage;
|
|
14529
14529
|
const a = (o.onCacheKey || f0)(e), r = gs[a];
|
|
14530
14530
|
if (r)
|
|
14531
14531
|
return r;
|
|
@@ -14614,7 +14614,7 @@ function uc(e, o, t) {
|
|
|
14614
14614
|
}
|
|
14615
14615
|
function Om(e, o, t) {
|
|
14616
14616
|
let a = !0;
|
|
14617
|
-
for (let r = 0; r < o.length &&
|
|
14617
|
+
for (let r = 0; r < o.length && Co(a); r++) {
|
|
14618
14618
|
const n = o[r];
|
|
14619
14619
|
Oe(n) && (a = P0(e, o[r], t));
|
|
14620
14620
|
}
|
|
@@ -14918,7 +14918,7 @@ function R0(e, o) {
|
|
|
14918
14918
|
let r = e, n = 0;
|
|
14919
14919
|
for (; n < a; ) {
|
|
14920
14920
|
const s = t[n];
|
|
14921
|
-
if (qp.includes(s) &&
|
|
14921
|
+
if (qp.includes(s) && Ca(r) || !ko(r) || !ea(r, s))
|
|
14922
14922
|
return null;
|
|
14923
14923
|
const i = r[s];
|
|
14924
14924
|
if (i === void 0 || qo(r))
|
|
@@ -14957,7 +14957,7 @@ const Nm = (e) => {
|
|
|
14957
14957
|
}, Gm = () => Zp;
|
|
14958
14958
|
let Um = 0;
|
|
14959
14959
|
function B0(e = {}) {
|
|
14960
|
-
const o = qo(e.onWarn) ? e.onWarn : w_, t = Oe(e.version) ? e.version : L0, a = Oe(e.locale) || qo(e.locale) ? e.locale : Pi, r = qo(a) ? Pi : a, n = Uo(e.fallbackLocale) || Lo(e.fallbackLocale) || Oe(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, s = Lo(e.messages) ? e.messages : jl(r), i = Lo(e.datetimeFormats) ? e.datetimeFormats : jl(r), l = Lo(e.numberFormats) ? e.numberFormats : jl(r), d = lt(Vo(), e.modifiers, T0()), u = e.pluralRules || Vo(), p = qo(e.missing) ? e.missing : null, h =
|
|
14960
|
+
const o = qo(e.onWarn) ? e.onWarn : w_, t = Oe(e.version) ? e.version : L0, a = Oe(e.locale) || qo(e.locale) ? e.locale : Pi, r = qo(a) ? Pi : a, n = Uo(e.fallbackLocale) || Lo(e.fallbackLocale) || Oe(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, s = Lo(e.messages) ? e.messages : jl(r), i = Lo(e.datetimeFormats) ? e.datetimeFormats : jl(r), l = Lo(e.numberFormats) ? e.numberFormats : jl(r), d = lt(Vo(), e.modifiers, T0()), u = e.pluralRules || Vo(), p = qo(e.missing) ? e.missing : null, h = Co(e.missingWarn) || Vn(e.missingWarn) ? e.missingWarn : !0, g = Co(e.fallbackWarn) || Vn(e.fallbackWarn) ? e.fallbackWarn : !0, _ = !!e.fallbackFormat, m = !!e.unresolving, y = qo(e.postTranslation) ? e.postTranslation : null, b = Lo(e.processor) ? e.processor : null, w = Co(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, k = !!e.escapeParameter, v = qo(e.messageCompiler) ? e.messageCompiler : Wp, R = qo(e.messageResolver) ? e.messageResolver : Hp || S0, B = qo(e.localeFallbacker) ? e.localeFallbacker : Kp || k0, E = ko(e.fallbackContext) ? e.fallbackContext : void 0, A = e, M = ko(A.__datetimeFormatters) ? A.__datetimeFormatters : /* @__PURE__ */ new Map(), N = ko(A.__numberFormatters) ? A.__numberFormatters : /* @__PURE__ */ new Map(), F = ko(A.__meta) ? A.__meta : {};
|
|
14961
14961
|
Um++;
|
|
14962
14962
|
const L = {
|
|
14963
14963
|
version: t,
|
|
@@ -15050,7 +15050,7 @@ function qm(e, ...o) {
|
|
|
15050
15050
|
const { datetimeFormats: t, unresolving: a, onWarn: r } = e, { __datetimeFormatters: n } = e;
|
|
15051
15051
|
if (!Oe(o[0]) && !Mp(o[0]) && !st(o[0]))
|
|
15052
15052
|
return Gs;
|
|
15053
|
-
const [s, i, l, d] = pc(...o), u =
|
|
15053
|
+
const [s, i, l, d] = pc(...o), u = Co(l.missingWarn) ? l.missingWarn : e.missingWarn, p = Co(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn, h = !!l.part, g = vd(e, l);
|
|
15054
15054
|
if (!Oe(s) || s === "") {
|
|
15055
15055
|
const w = new Intl.DateTimeFormat(g.replace(/!/g, ""), d);
|
|
15056
15056
|
return h ? w.formatToParts(i) : w.format(i);
|
|
@@ -15116,7 +15116,7 @@ function Hm(e, ...o) {
|
|
|
15116
15116
|
const { numberFormats: t, unresolving: a, onWarn: r } = e, { __numberFormatters: n } = e;
|
|
15117
15117
|
if (!st(o[0]))
|
|
15118
15118
|
return Gs;
|
|
15119
|
-
const [s, i, l, d] = fc(...o), u =
|
|
15119
|
+
const [s, i, l, d] = fc(...o), u = Co(l.missingWarn) ? l.missingWarn : e.missingWarn, p = Co(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn, h = !!l.part, g = vd(e, l);
|
|
15120
15120
|
if (!Oe(s) || s === "") {
|
|
15121
15121
|
const w = new Intl.NumberFormat(g.replace(/!/g, ""), d);
|
|
15122
15122
|
return h ? w.formatToParts(i) : w.format(i);
|
|
@@ -15200,14 +15200,14 @@ function X0(e = {}) {
|
|
|
15200
15200
|
}
|
|
15201
15201
|
const Xm = () => "", Yt = (e) => qo(e);
|
|
15202
15202
|
function Zm(e, ...o) {
|
|
15203
|
-
const { fallbackFormat: t, postTranslation: a, unresolving: r, messageCompiler: n, fallbackLocale: s, messages: i } = e, [l, d] = gc(...o), u =
|
|
15203
|
+
const { fallbackFormat: t, postTranslation: a, unresolving: r, messageCompiler: n, fallbackLocale: s, messages: i } = e, [l, d] = gc(...o), u = Co(d.missingWarn) ? d.missingWarn : e.missingWarn, p = Co(d.fallbackWarn) ? d.fallbackWarn : e.fallbackWarn, h = Co(d.escapeParameter) ? d.escapeParameter : e.escapeParameter, g = !!d.resolvedMessage, _ = Oe(d.default) || Co(d.default) ? Co(d.default) ? n ? l : () => l : d.default : t ? n ? l : () => l : null, m = t || _ != null && (Oe(_) || qo(_)), y = vd(e, d);
|
|
15204
15204
|
h && Z0(d);
|
|
15205
15205
|
let [b, w, k] = g ? [
|
|
15206
15206
|
l,
|
|
15207
15207
|
y,
|
|
15208
15208
|
i[y] || Vo()
|
|
15209
15209
|
] : rf(e, l, y, s, p, u), v = b, R = l;
|
|
15210
|
-
if (!g && !(Oe(v) ||
|
|
15210
|
+
if (!g && !(Oe(v) || Ca(v) || Yt(v)) && m && (v = _, R = v), !g && (!(Oe(v) || Ca(v) || Yt(v)) || !Oe(w)))
|
|
15211
15211
|
return r ? sl : l;
|
|
15212
15212
|
let B = !1;
|
|
15213
15213
|
const E = () => {
|
|
@@ -15238,7 +15238,7 @@ function rf(e, o, t, a, r, n) {
|
|
|
15238
15238
|
const { messages: s, onWarn: i, messageResolver: l, localeFallbacker: d } = e, u = d(e, a, t);
|
|
15239
15239
|
let p = Vo(), h, g = null;
|
|
15240
15240
|
const _ = "translate";
|
|
15241
|
-
for (let m = 0; m < u.length && (h = u[m], p = s[h] || Vo(), (g = l(p, o)) === null && (g = p[o]), !(Oe(g) ||
|
|
15241
|
+
for (let m = 0; m < u.length && (h = u[m], p = s[h] || Vo(), (g = l(p, o)) === null && (g = p[o]), !(Oe(g) || Ca(g) || Yt(g))); m++)
|
|
15242
15242
|
if (!G0(h, u)) {
|
|
15243
15243
|
const y = Jp(
|
|
15244
15244
|
e,
|
|
@@ -15270,7 +15270,7 @@ function J0(e, o, t) {
|
|
|
15270
15270
|
}
|
|
15271
15271
|
function gc(...e) {
|
|
15272
15272
|
const [o, t, a] = e, r = Vo();
|
|
15273
|
-
if (!Oe(o) && !st(o) && !Yt(o) && !
|
|
15273
|
+
if (!Oe(o) && !st(o) && !Yt(o) && !Ca(o))
|
|
15274
15274
|
throw $a(Ua.INVALID_ARGUMENT);
|
|
15275
15275
|
const n = st(o) ? String(o) : (Yt(o), o);
|
|
15276
15276
|
return st(t) ? r.plural = t : Oe(t) ? r.default = t : Lo(t) && !pd(t) ? r.named = t : Uo(t) && (r.list = t), st(a) ? r.plural = a : Oe(a) ? r.default = a : Lo(a) && lt(r, a), [n, r];
|
|
@@ -15305,7 +15305,7 @@ function Q0(e, o, t, a) {
|
|
|
15305
15305
|
);
|
|
15306
15306
|
m = y ?? s(b, g);
|
|
15307
15307
|
}
|
|
15308
|
-
if (Oe(m) ||
|
|
15308
|
+
if (Oe(m) || Ca(m)) {
|
|
15309
15309
|
let y = !1;
|
|
15310
15310
|
const w = nf(e, g, o, m, g, () => {
|
|
15311
15311
|
y = !0;
|
|
@@ -15356,7 +15356,7 @@ let cf = null;
|
|
|
15356
15356
|
});
|
|
15357
15357
|
}
|
|
15358
15358
|
function zi(e) {
|
|
15359
|
-
if (!ko(e) ||
|
|
15359
|
+
if (!ko(e) || Ca(e))
|
|
15360
15360
|
return e;
|
|
15361
15361
|
for (const o in e)
|
|
15362
15362
|
if (ea(e, o))
|
|
@@ -15374,7 +15374,7 @@ function zi(e) {
|
|
|
15374
15374
|
}
|
|
15375
15375
|
r = r[t[s]];
|
|
15376
15376
|
}
|
|
15377
|
-
if (n || (
|
|
15377
|
+
if (n || (Ca(r) ? qp.includes(t[a]) || delete e[o] : (r[t[a]] = e[o], delete e[o])), !Ca(r)) {
|
|
15378
15378
|
const s = r[t[a]];
|
|
15379
15379
|
ko(s) && zi(s);
|
|
15380
15380
|
}
|
|
@@ -15440,7 +15440,7 @@ const av = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
15440
15440
|
};
|
|
15441
15441
|
function Us(e = {}) {
|
|
15442
15442
|
const { __root: o, __injectWithOption: t } = e, a = o === void 0, r = e.flatJson, n = Ns ? U : pt;
|
|
15443
|
-
let s =
|
|
15443
|
+
let s = Co(e.inheritLocale) ? e.inheritLocale : !0;
|
|
15444
15444
|
const i = n(
|
|
15445
15445
|
// prettier-ignore
|
|
15446
15446
|
o && s ? o.locale.value : Oe(e.locale) ? e.locale : Pi
|
|
@@ -15448,7 +15448,7 @@ function Us(e = {}) {
|
|
|
15448
15448
|
// prettier-ignore
|
|
15449
15449
|
o && s ? o.fallbackLocale.value : Oe(e.fallbackLocale) || Uo(e.fallbackLocale) || Lo(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i.value
|
|
15450
15450
|
), d = n(wd(i.value, e)), u = n(Lo(e.datetimeFormats) ? e.datetimeFormats : { [i.value]: {} }), p = n(Lo(e.numberFormats) ? e.numberFormats : { [i.value]: {} });
|
|
15451
|
-
let h = o ? o.missingWarn :
|
|
15451
|
+
let h = o ? o.missingWarn : Co(e.missingWarn) || Vn(e.missingWarn) ? e.missingWarn : !0, g = o ? o.fallbackWarn : Co(e.fallbackWarn) || Vn(e.fallbackWarn) ? e.fallbackWarn : !0, _ = o ? o.fallbackRoot : Co(e.fallbackRoot) ? e.fallbackRoot : !0, m = !!e.fallbackFormat, y = qo(e.missing) ? e.missing : null, b = qo(e.missing) ? ou(e.missing) : null, w = qo(e.postTranslation) ? e.postTranslation : null, k = o ? o.warnHtmlMessage : Co(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter;
|
|
15452
15452
|
const R = o ? o.modifiers : Lo(e.modifiers) ? e.modifiers : {};
|
|
15453
15453
|
let B = e.pluralRules || o && o.pluralRules, E;
|
|
15454
15454
|
E = (() => {
|
|
@@ -15551,7 +15551,7 @@ function Us(e = {}) {
|
|
|
15551
15551
|
return ue((_e) => Reflect.apply(Hm, null, [_e, ...le]), () => fc(...le), "number format", (_e) => Reflect.apply(_e.n, _e, [...le]), () => Gs, (_e) => Oe(_e) || Uo(_e));
|
|
15552
15552
|
}
|
|
15553
15553
|
function qe(le) {
|
|
15554
|
-
return le.map((_e) => Oe(_e) || st(_e) ||
|
|
15554
|
+
return le.map((_e) => Oe(_e) || st(_e) || Co(_e) ? Jm(String(_e)) : _e);
|
|
15555
15555
|
}
|
|
15556
15556
|
const Fe = {
|
|
15557
15557
|
normalize: qe,
|
|
@@ -15587,11 +15587,11 @@ function Us(e = {}) {
|
|
|
15587
15587
|
for (let Me = 0; Me < pe.length; Me++) {
|
|
15588
15588
|
const Eo = yo(pe[Me]);
|
|
15589
15589
|
let Fo = E.messageResolver(Eo, le);
|
|
15590
|
-
if (Fo === null && (Fo = Eo[le]),
|
|
15590
|
+
if (Fo === null && (Fo = Eo[le]), Ca(Fo) || Yt(Fo) || Oe(Fo))
|
|
15591
15591
|
return !0;
|
|
15592
15592
|
}
|
|
15593
15593
|
return !1;
|
|
15594
|
-
}, () => [le], "translate exists", (Y) => Reflect.apply(Y.te, Y, [le, _e]), tv, (Y) =>
|
|
15594
|
+
}, () => [le], "translate exists", (Y) => Reflect.apply(Y.te, Y, [le, _e]), tv, (Y) => Co(Y));
|
|
15595
15595
|
}
|
|
15596
15596
|
function so(le) {
|
|
15597
15597
|
let _e = null;
|
|
@@ -15724,7 +15724,7 @@ function Us(e = {}) {
|
|
|
15724
15724
|
return lo.datetimeFormats = oe, lo.numberFormats = ce, lo.rt = ke, lo.te = io, lo.tm = eo, lo.d = Se, lo.n = Ne, lo.getDateTimeFormat = $, lo.setDateTimeFormat = W, lo.mergeDateTimeFormat = ee, lo.getNumberFormat = ne, lo.setNumberFormat = ze, lo.mergeNumberFormat = po, lo[lf] = t, lo[bc] = go, lo[hc] = bo, lo[_c] = no, lo;
|
|
15725
15725
|
}
|
|
15726
15726
|
function rv(e) {
|
|
15727
|
-
const o = Oe(e.locale) ? e.locale : Pi, t = Oe(e.fallbackLocale) || Uo(e.fallbackLocale) || Lo(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : o, a = qo(e.missing) ? e.missing : void 0, r =
|
|
15727
|
+
const o = Oe(e.locale) ? e.locale : Pi, t = Oe(e.fallbackLocale) || Uo(e.fallbackLocale) || Lo(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : o, a = qo(e.missing) ? e.missing : void 0, r = Co(e.silentTranslationWarn) || Vn(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, n = Co(e.silentFallbackWarn) || Vn(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = Co(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, l = Lo(e.modifiers) ? e.modifiers : {}, d = e.pluralizationRules, u = qo(e.postTranslation) ? e.postTranslation : void 0, p = Oe(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, h = !!e.escapeParameterHtml, g = Co(e.sync) ? e.sync : !0;
|
|
15728
15728
|
let _ = e.messages;
|
|
15729
15729
|
if (Lo(e.sharedMessages)) {
|
|
15730
15730
|
const R = e.sharedMessages;
|
|
@@ -15801,17 +15801,17 @@ function vc(e = {}) {
|
|
|
15801
15801
|
},
|
|
15802
15802
|
// silentTranslationWarn
|
|
15803
15803
|
get silentTranslationWarn() {
|
|
15804
|
-
return
|
|
15804
|
+
return Co(o.missingWarn) ? !o.missingWarn : o.missingWarn;
|
|
15805
15805
|
},
|
|
15806
15806
|
set silentTranslationWarn(r) {
|
|
15807
|
-
o.missingWarn =
|
|
15807
|
+
o.missingWarn = Co(r) ? !r : r;
|
|
15808
15808
|
},
|
|
15809
15809
|
// silentFallbackWarn
|
|
15810
15810
|
get silentFallbackWarn() {
|
|
15811
|
-
return
|
|
15811
|
+
return Co(o.fallbackWarn) ? !o.fallbackWarn : o.fallbackWarn;
|
|
15812
15812
|
},
|
|
15813
15813
|
set silentFallbackWarn(r) {
|
|
15814
|
-
o.fallbackWarn =
|
|
15814
|
+
o.fallbackWarn = Co(r) ? !r : r;
|
|
15815
15815
|
},
|
|
15816
15816
|
// modifiers
|
|
15817
15817
|
get modifiers() {
|
|
@@ -16140,11 +16140,11 @@ function iu(e) {
|
|
|
16140
16140
|
}
|
|
16141
16141
|
function uv(e, o, ...t) {
|
|
16142
16142
|
const a = Lo(t[0]) ? t[0] : {};
|
|
16143
|
-
(
|
|
16143
|
+
(Co(a.globalInstall) ? a.globalInstall : !0) && ([au.name, "I18nT"].forEach((n) => e.component(n, au)), [ru.name, "I18nN"].forEach((n) => e.component(n, ru)), [cu.name, "I18nD"].forEach((n) => e.component(n, cu))), e.directive("t", mv(o));
|
|
16144
16144
|
}
|
|
16145
16145
|
const pv = /* @__PURE__ */ yr("global-vue-i18n");
|
|
16146
16146
|
function fv(e = {}) {
|
|
16147
|
-
const o = __VUE_I18N_LEGACY_API__ &&
|
|
16147
|
+
const o = __VUE_I18N_LEGACY_API__ && Co(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__, t = Co(e.globalInjection) ? e.globalInjection : !0, a = /* @__PURE__ */ new Map(), [r, n] = gv(e, o), s = /* @__PURE__ */ yr("");
|
|
16148
16148
|
function i(p) {
|
|
16149
16149
|
return a.get(p) || null;
|
|
16150
16150
|
}
|
|
@@ -17807,7 +17807,7 @@ const d1 = {
|
|
|
17807
17807
|
execution: () => "task-api",
|
|
17808
17808
|
defaultDrafts: () => ({ orient: { ...fm } }),
|
|
17809
17809
|
submission: (e) => ({ toolId: "orient", params: { ...wi(e.orient) } }),
|
|
17810
|
-
loadPanel: () => import("./OrientToolPanel-
|
|
17810
|
+
loadPanel: () => import("./OrientToolPanel-BTrwaWBm.js"),
|
|
17811
17811
|
createTaskAdapter: (e) => gt("orient", "1", "node", e)
|
|
17812
17812
|
}, m1 = "" + new URL("../assets/flatlay-fold-B-CRYy87.webp", import.meta.url).href, u1 = "" + new URL("../assets/flatlay-open-Dzas8okC.webp", import.meta.url).href, p1 = "" + new URL("../assets/ghost-front-WFgA4sUo.webp", import.meta.url).href, f1 = "" + new URL("../assets/ghost-three-quarter-Rt8cXj34.webp", import.meta.url).href, g1 = "" + new URL("../assets/upscale-creative-DnZnQufJ.webp", import.meta.url).href, b1 = "" + new URL("../assets/upscale-crisp-Ckdmbsnn.webp", import.meta.url).href, h1 = "" + new URL("../assets/dewrinkle-kFzP6LqD.webp", import.meta.url).href, _1 = "" + new URL("../assets/edit-Cv-txfZm.webp", import.meta.url).href, v1 = "" + new URL("../assets/flatlay-CPiVmlAa.webp", import.meta.url).href, w1 = "" + new URL("../assets/ghost-BCEAx_Zx.webp", import.meta.url).href, y1 = "" + new URL("../assets/model-BjWhieit.webp", import.meta.url).href, k1 = "" + new URL("../assets/polish-DFy6LNG7.webp", import.meta.url).href, P1 = "" + new URL("../assets/recolor-mBX7vdFT.webp", import.meta.url).href, z1 = "" + new URL("../assets/staging-CIc8pQJ6.webp", import.meta.url).href, D1 = "" + new URL("../assets/upscale-BrLadyUk.webp", import.meta.url).href, C1 = "" + new URL("../assets/background-DGdZUdkL.webp", import.meta.url).href, I1 = "" + new URL("../assets/cutout-CzMvV5An.webp", import.meta.url).href, x1 = "" + new URL("../assets/expand-C60VE9nK.webp", import.meta.url).href, A1 = "" + new URL("../assets/ascii_art-B4UGbtGs.webp", import.meta.url).href, E1 = "" + new URL("../assets/contour_lines-C_CqrgV1.webp", import.meta.url).href, S1 = "" + new URL("../assets/dither-CcxmO2e6.webp", import.meta.url).href, R1 = "" + new URL("../assets/duotone-Cdg_3fQf.webp", import.meta.url).href, L1 = "" + new URL("../assets/engraving-BENh1O2O.webp", import.meta.url).href, T1 = "" + new URL("../assets/film_stock-Bqauwcq4.webp", import.meta.url).href, M1 = "" + new URL("../assets/glass_tiles-3IXP-Hmg.webp", import.meta.url).href, V1 = "" + new URL("../assets/glitch_art-D1i3qben.webp", import.meta.url).href, j1 = "" + new URL("../assets/glitch_blur-C4q_9zyq.webp", import.meta.url).href, O1 = "" + new URL("../assets/glow-Bv9EHBU5.webp", import.meta.url).href, F1 = "" + new URL("../assets/gradient_map-BR-UVYMP.webp", import.meta.url).href, B1 = "" + new URL("../assets/halftone-CWdKu2_6.webp", import.meta.url).href, N1 = "" + new URL("../assets/holo_sticker-BQDikLg2.webp", import.meta.url).href, G1 = "" + new URL("../assets/kaleidoscope-BxqMZuWo.webp", import.meta.url).href, U1 = "" + new URL("../assets/lens_flare-DgyiAv_j.webp", import.meta.url).href, $1 = "" + new URL("../assets/light_leak-kUdpoFuC.webp", import.meta.url).href, q1 = "" + new URL("../assets/lo_fi-DSdl3yY_.webp", import.meta.url).href, W1 = "" + new URL("../assets/mirror_collage-JtSKCeSh.webp", import.meta.url).href, H1 = "" + new URL("../assets/motion_blur-B8YUHeSg.webp", import.meta.url).href, K1 = "" + new URL("../assets/paper_texture-CXphyIrs.webp", import.meta.url).href, X1 = "" + new URL("../assets/posterize-SpLVGq1s.webp", import.meta.url).href, Z1 = "" + new URL("../assets/sparkle-CD5GSGip.webp", import.meta.url).href, J1 = "" + new URL("../assets/textured_glass-D2coxp7n.webp", import.meta.url).href, Y1 = "" + new URL("../assets/tilt_shift-BKs46yeX.webp", import.meta.url).href, Q1 = "" + new URL("../assets/tritone-CcR4qizk.webp", import.meta.url).href, ew = "" + new URL("../assets/watercolor-CV67zYNE.webp", import.meta.url).href, ow = "" + new URL("../assets/wave_distortion-CV5jVfK4.webp", import.meta.url).href, tw = "" + new URL("../assets/xerox_noise-CbbHY1S1.webp", import.meta.url).href, aw = "" + new URL("../assets/resize-DVEAl0Um.webp", import.meta.url).href, rw = "" + new URL("../assets/body-CUFdRg8w.webp", import.meta.url).href, nw = "" + new URL("../assets/model-BbeF-fsf.webp", import.meta.url).href, iw = "" + new URL("../assets/text-DQW2mBGp.webp", import.meta.url).href, sw = "" + new URL("../assets/watermark-CpPrxaT5.webp", import.meta.url).href, lw = /* @__PURE__ */ Object.assign({
|
|
17813
17813
|
"./cards/mode-cards-v3/flatlay-fold.webp": m1,
|
|
@@ -17870,7 +17870,7 @@ function Nn(e) {
|
|
|
17870
17870
|
const cw = {
|
|
17871
17871
|
toolId: "expand",
|
|
17872
17872
|
toolVersion: "1",
|
|
17873
|
-
loadPanel: () => import("./ExpandToolPanel-
|
|
17873
|
+
loadPanel: () => import("./ExpandToolPanel-D_ZODTUZ.js"),
|
|
17874
17874
|
getCardImage: () => Nn("tool-cards/expand.webp"),
|
|
17875
17875
|
ui: {
|
|
17876
17876
|
toolId: "expand",
|
|
@@ -18496,7 +18496,7 @@ const hw = {
|
|
|
18496
18496
|
execution: () => "task-api",
|
|
18497
18497
|
defaultDrafts: () => ({ adjust: { ...gm } }),
|
|
18498
18498
|
submission: (e) => ({ toolId: "adjust", params: { ...Ln(e.adjust) } }),
|
|
18499
|
-
loadPanel: () => import("./AdjustToolPanel-
|
|
18499
|
+
loadPanel: () => import("./AdjustToolPanel-BELqYSUR.js"),
|
|
18500
18500
|
createTaskAdapter: (e) => gt("adjust", "1", "node", e)
|
|
18501
18501
|
}, _w = {
|
|
18502
18502
|
toolId: "crop",
|
|
@@ -18512,7 +18512,7 @@ const hw = {
|
|
|
18512
18512
|
execution: () => "task-api",
|
|
18513
18513
|
defaultDrafts: () => ({ crop: { ...Gb } }),
|
|
18514
18514
|
submission: (e) => ({ toolId: "crop", params: { ...Ha(e.crop) } }),
|
|
18515
|
-
loadPanel: () => import("./CropToolPanel-
|
|
18515
|
+
loadPanel: () => import("./CropToolPanel-BhSuHkYm.js"),
|
|
18516
18516
|
createTaskAdapter: (e) => gt("crop", "1", "node", e)
|
|
18517
18517
|
}, vw = {
|
|
18518
18518
|
toolId: "resize",
|
|
@@ -18553,7 +18553,7 @@ const hw = {
|
|
|
18553
18553
|
const o = Nl(e.sizeCrop);
|
|
18554
18554
|
return { toolId: o.toolId, params: { ...o.params } };
|
|
18555
18555
|
},
|
|
18556
|
-
loadPanel: () => import("./ResizeToolPanel-
|
|
18556
|
+
loadPanel: () => import("./ResizeToolPanel-Ch_-WR74.js"),
|
|
18557
18557
|
createTaskAdapter: (e) => gt("resize", "1", "node", e)
|
|
18558
18558
|
}, ww = "" + new URL("../assets/background-card-wK7DRpvM.png", import.meta.url).href, yw = "" + new URL("../assets/cutout-card-CN4gNFBz.png", import.meta.url).href;
|
|
18559
18559
|
function kw(e, o) {
|
|
@@ -18565,7 +18565,7 @@ function kw(e, o) {
|
|
|
18565
18565
|
}
|
|
18566
18566
|
}
|
|
18567
18567
|
const Pw = "" + new URL("../assets/shadow-card-DTZEH60r.png", import.meta.url).href, zw = {
|
|
18568
|
-
loadPanel: () => import("./BackgroundToolPanel-
|
|
18568
|
+
loadPanel: () => import("./BackgroundToolPanel-Dy_l8KFl.js"),
|
|
18569
18569
|
getCardImage: () => ww,
|
|
18570
18570
|
toolId: "background",
|
|
18571
18571
|
toolVersion: "1",
|
|
@@ -18598,10 +18598,10 @@ const Pw = "" + new URL("../assets/shadow-card-DTZEH60r.png", import.meta.url).h
|
|
|
18598
18598
|
execution: () => "task-api",
|
|
18599
18599
|
defaultDrafts: () => ({ shadow: { ...Ub } }),
|
|
18600
18600
|
submission: (e) => ({ toolId: "shadow", params: { ...vr(e.shadow) } }),
|
|
18601
|
-
loadPanel: () => import("./ShadowToolPanel-
|
|
18601
|
+
loadPanel: () => import("./ShadowToolPanel-DxJE4eyV.js"),
|
|
18602
18602
|
createTaskAdapter: (e) => gt("shadow", "1", "node", e)
|
|
18603
18603
|
}, Cw = {
|
|
18604
|
-
loadPanel: () => import("./CutoutToolPanel-
|
|
18604
|
+
loadPanel: () => import("./CutoutToolPanel-BfaZZSE_.js"),
|
|
18605
18605
|
getCardImage: () => yw,
|
|
18606
18606
|
toolId: "cutout",
|
|
18607
18607
|
toolVersion: "1",
|
|
@@ -19588,10 +19588,10 @@ const s2 = {
|
|
|
19588
19588
|
toolId: "metadata_cleanup",
|
|
19589
19589
|
params: { ...Vi(e.metadata) }
|
|
19590
19590
|
}),
|
|
19591
|
-
loadPanel: () => import("./MetadataToolPanel-
|
|
19591
|
+
loadPanel: () => import("./MetadataToolPanel-KVrtb3K0.js"),
|
|
19592
19592
|
createMetadataExecutor: Ad
|
|
19593
19593
|
}, l2 = {
|
|
19594
|
-
loadPanel: () => import("./DisclosureToolPanel-
|
|
19594
|
+
loadPanel: () => import("./DisclosureToolPanel-B_oc5fld.js"),
|
|
19595
19595
|
toolId: "ai_disclosure",
|
|
19596
19596
|
toolVersion: "1",
|
|
19597
19597
|
ui: bt(
|
|
@@ -19642,7 +19642,7 @@ const s2 = {
|
|
|
19642
19642
|
toolId: "brand_mark",
|
|
19643
19643
|
params: { ...$l(e.brandMark) }
|
|
19644
19644
|
}),
|
|
19645
|
-
loadPanel: () => import("./BrandMarkToolPanel-
|
|
19645
|
+
loadPanel: () => import("./BrandMarkToolPanel-FKxXth_3.js"),
|
|
19646
19646
|
createTaskAdapter: (e) => gt("brand_mark", "1", "node", e)
|
|
19647
19647
|
}, Gf = "beepop-translation-language", Dc = "beepop-translation-locale", Uf = (e) => `beepop-translation-draft:${encodeURIComponent(e)}`, Cc = (e) => typeof e == "string" && Object.hasOwn(fp, e);
|
|
19648
19648
|
function d2(e, o) {
|
|
@@ -19894,7 +19894,7 @@ function v2(e, o = nd().submitLirSegment) {
|
|
|
19894
19894
|
};
|
|
19895
19895
|
}
|
|
19896
19896
|
const w2 = {
|
|
19897
|
-
loadPanel: () => import("./IpAuditToolPanel-
|
|
19897
|
+
loadPanel: () => import("./IpAuditToolPanel-DfY-mBSe.js"),
|
|
19898
19898
|
toolId: "ip_audit",
|
|
19899
19899
|
toolVersion: "1",
|
|
19900
19900
|
ui: bt(
|
|
@@ -19923,7 +19923,7 @@ const w2 = {
|
|
|
19923
19923
|
}),
|
|
19924
19924
|
createTaskAdapter: (e) => gt("ip_audit", "1", "python-ai", e)
|
|
19925
19925
|
}, y2 = {
|
|
19926
|
-
loadPanel: () => import("./TranslationToolPanel-
|
|
19926
|
+
loadPanel: () => import("./TranslationToolPanel-B_qTA1hM.js"),
|
|
19927
19927
|
onBatchDraft: (e) => ({ translation: d2(e) }),
|
|
19928
19928
|
persistDraft: (e, o) => {
|
|
19929
19929
|
o.translation && m2(e, o.translation);
|
|
@@ -19965,7 +19965,7 @@ const w2 = {
|
|
|
19965
19965
|
}))
|
|
19966
19966
|
}
|
|
19967
19967
|
}),
|
|
19968
|
-
loadPanel: () => import("./ListingToolPanel-
|
|
19968
|
+
loadPanel: () => import("./ListingToolPanel-B9Yh3LBK.js"),
|
|
19969
19969
|
createOperationDispatcher: v2,
|
|
19970
19970
|
createTaskAdapter: (e) => gt("listing_remake", "1", "python-ai", e)
|
|
19971
19971
|
}, P2 = [
|
|
@@ -20060,7 +20060,7 @@ const z2 = {
|
|
|
20060
20060
|
if (!o.modes?.includes(e.retouch?.mode ?? ""))
|
|
20061
20061
|
throw new Error("该修图模式服务暂不可用");
|
|
20062
20062
|
},
|
|
20063
|
-
loadPanel: () => import("./RetouchToolPanel-
|
|
20063
|
+
loadPanel: () => import("./RetouchToolPanel-BTS33Dsd.js"),
|
|
20064
20064
|
getCardImage: (e) => e ? Nn(`tool-cards/ai-v2/${e}.webp`) : void 0,
|
|
20065
20065
|
toolId: "retouch",
|
|
20066
20066
|
toolVersion: "2",
|
|
@@ -20080,7 +20080,7 @@ const z2 = {
|
|
|
20080
20080
|
if (!o.modes?.includes(e.upscale?.mode ?? ""))
|
|
20081
20081
|
throw new Error("高清服务暂不可用");
|
|
20082
20082
|
},
|
|
20083
|
-
loadPanel: () => import("./UpscaleToolPanel-
|
|
20083
|
+
loadPanel: () => import("./UpscaleToolPanel-D0H-j2Tr.js"),
|
|
20084
20084
|
getCardImage: (e) => e ? Nn(`tool-cards/ai-v2/${e}.webp`) : void 0,
|
|
20085
20085
|
toolId: "upscale",
|
|
20086
20086
|
toolVersion: "2",
|
|
@@ -20100,7 +20100,7 @@ const z2 = {
|
|
|
20100
20100
|
if (!o.modes?.includes(e.beautify?.mode ?? ""))
|
|
20101
20101
|
throw new Error("该商品美化模式服务暂不可用");
|
|
20102
20102
|
},
|
|
20103
|
-
loadPanel: () => import("./BeautifyToolPanel-
|
|
20103
|
+
loadPanel: () => import("./BeautifyToolPanel-Dc-ddaBC.js"),
|
|
20104
20104
|
getCardImage: (e) => e ? Nn(`tool-cards/ai-v2/${e}.webp`) : void 0,
|
|
20105
20105
|
toolId: "beautify",
|
|
20106
20106
|
toolVersion: "2",
|
|
@@ -20116,12 +20116,12 @@ const z2 = {
|
|
|
20116
20116
|
submission: (e, o) => ({ toolId: "beautify", params: Rd("beautify", e, o) }),
|
|
20117
20117
|
createTaskAdapter: (e) => gt("beautify", ["1", "2"], "python-ai", e)
|
|
20118
20118
|
}, I2 = "" + new URL("../assets/imagetracer.worker-CgunQTPG.js", import.meta.url).href;
|
|
20119
|
-
class
|
|
20119
|
+
class ka extends Error {
|
|
20120
20120
|
constructor(o, t) {
|
|
20121
20121
|
super(t), this.code = o;
|
|
20122
20122
|
}
|
|
20123
20123
|
}
|
|
20124
|
-
const Pu = () => new
|
|
20124
|
+
const Pu = () => new ka("LOCAL_INTERRUPTED", "本机SVG处理已中断");
|
|
20125
20125
|
function x2() {
|
|
20126
20126
|
let e, o = !1;
|
|
20127
20127
|
return {
|
|
@@ -20129,12 +20129,12 @@ function x2() {
|
|
|
20129
20129
|
o = !0, e?.();
|
|
20130
20130
|
},
|
|
20131
20131
|
run(t, a, r) {
|
|
20132
|
-
return o || r?.aborted ? Promise.reject(Pu()) : e ? Promise.reject(new
|
|
20132
|
+
return o || r?.aborted ? Promise.reject(Pu()) : e ? Promise.reject(new ka("LOCAL_BUSY", "请等待当前本机图片完成")) : !t.size || t.size > Jb ? Promise.reject(new ka("INPUT_TOO_LARGE", "输入须为25MiB以内的文件")) : new Promise((n, s) => {
|
|
20133
20133
|
let i, l = !1;
|
|
20134
20134
|
const d = (h, g) => {
|
|
20135
20135
|
l || (l = !0, clearTimeout(p), r?.removeEventListener("abort", u), i && (i.onmessage = null, i.onerror = null, i.onmessageerror = null, i.terminate()), e = void 0, h ? s(h) : g && n(g));
|
|
20136
20136
|
}, u = () => d(Pu()), p = setTimeout(
|
|
20137
|
-
() => d(new
|
|
20137
|
+
() => d(new ka("LOCAL_TIMEOUT", "本机SVG处理超过120秒,已终止")),
|
|
20138
20138
|
12e4
|
|
20139
20139
|
);
|
|
20140
20140
|
e = u, r?.addEventListener("abort", u, { once: !0 }), (async () => {
|
|
@@ -20142,15 +20142,15 @@ function x2() {
|
|
|
20142
20142
|
const h = await la(t);
|
|
20143
20143
|
if (l) return;
|
|
20144
20144
|
if (h !== a.toLowerCase())
|
|
20145
|
-
throw new
|
|
20145
|
+
throw new ka("SOURCE_CHANGED", "实际输入文件与冻结指纹不一致");
|
|
20146
20146
|
i = Gt(I2, {
|
|
20147
20147
|
type: "module"
|
|
20148
|
-
}), i.onerror = () => d(new
|
|
20148
|
+
}), i.onerror = () => d(new ka("LOCAL_WORKER_FAILED", "SVG Worker异常")), i.onmessageerror = () => d(new ka("INVALID_RESULT", "无法读取SVG结果")), i.onmessage = async ({ data: g }) => {
|
|
20149
20149
|
if (!l)
|
|
20150
20150
|
try {
|
|
20151
20151
|
if (!g || typeof g != "object") throw new Error("SVG结果无效");
|
|
20152
20152
|
if ("error" in g && typeof g.error == "string")
|
|
20153
|
-
throw new
|
|
20153
|
+
throw new ka(
|
|
20154
20154
|
"code" in g && typeof g.code == "string" ? g.code : "INVALID_IMAGE",
|
|
20155
20155
|
g.error
|
|
20156
20156
|
);
|
|
@@ -20714,7 +20714,7 @@ const zA = [
|
|
|
20714
20714
|
toolId: "vectorize_svg",
|
|
20715
20715
|
params: { ...e.svgExport, schemaVersion: 2 }
|
|
20716
20716
|
}),
|
|
20717
|
-
loadPanel: () => import("./SvgExportToolPanel-
|
|
20717
|
+
loadPanel: () => import("./SvgExportToolPanel-RHmuQARH.js"),
|
|
20718
20718
|
createTaskAdapter: (e) => gt("vectorize_svg", "2", "python-ai", e)
|
|
20719
20719
|
}, Wf = [
|
|
20720
20720
|
"sparkle",
|
|
@@ -21976,11 +21976,11 @@ const Cu = (e) => Object.fromEntries(
|
|
|
21976
21976
|
descriptionKey: `tools.image_effects.${e}.description`,
|
|
21977
21977
|
messages: {
|
|
21978
21978
|
en: {
|
|
21979
|
-
title:
|
|
21980
|
-
description:
|
|
21979
|
+
title: za.en[`${e}.title`],
|
|
21980
|
+
description: za.en[`${e}.description`]
|
|
21981
21981
|
},
|
|
21982
21982
|
...Object.fromEntries(
|
|
21983
|
-
Object.entries(
|
|
21983
|
+
Object.entries(za).filter(([o]) => o !== "en").map(([o, t]) => [
|
|
21984
21984
|
o,
|
|
21985
21985
|
{ title: t[`${e}.title`], description: t[`${e}.description`] }
|
|
21986
21986
|
])
|
|
@@ -21995,13 +21995,13 @@ const Cu = (e) => Object.fromEntries(
|
|
|
21995
21995
|
...bt(
|
|
21996
21996
|
"image_effects",
|
|
21997
21997
|
"edit",
|
|
21998
|
-
[
|
|
21999
|
-
[
|
|
21998
|
+
[za.en.title, za.en.description],
|
|
21999
|
+
[za["zh-CN"].title, za["zh-CN"].description]
|
|
22000
22000
|
),
|
|
22001
22001
|
messages: {
|
|
22002
|
-
en: Cu(
|
|
22002
|
+
en: Cu(za.en),
|
|
22003
22003
|
...Object.fromEntries(
|
|
22004
|
-
Object.entries(
|
|
22004
|
+
Object.entries(za).filter(([e]) => e !== "en").map(([e, o]) => [e, Cu(o)])
|
|
22005
22005
|
)
|
|
22006
22006
|
}
|
|
22007
22007
|
},
|
|
@@ -22016,7 +22016,7 @@ const Cu = (e) => Object.fromEntries(
|
|
|
22016
22016
|
params: { ...Ac(e.imageEffects) }
|
|
22017
22017
|
}),
|
|
22018
22018
|
preview: (e) => e.imageEffects ? { recipe: { tool: "image_effects", params: Ac(e.imageEffects) } } : {},
|
|
22019
|
-
loadPanel: () => import("./ImageEffectsToolPanel-
|
|
22019
|
+
loadPanel: () => import("./ImageEffectsToolPanel-BRLPIt4q.js"),
|
|
22020
22020
|
createImageEffectsExecutor: cg
|
|
22021
22021
|
};
|
|
22022
22022
|
function Iu(e, o) {
|
|
@@ -23694,7 +23694,7 @@ const jd = Symbol("batch-translator"), bg = gg(Ly), {
|
|
|
23694
23694
|
uiNotice: MA,
|
|
23695
23695
|
connectDisplayPreferences: VA
|
|
23696
23696
|
} = bg;
|
|
23697
|
-
function
|
|
23697
|
+
function Io() {
|
|
23698
23698
|
return Jo(jd, bg);
|
|
23699
23699
|
}
|
|
23700
23700
|
/**
|
|
@@ -24569,7 +24569,7 @@ const Jk = ["aria-label", "title", "aria-expanded"], Yk = ["aria-label", "title"
|
|
|
24569
24569
|
showLanguage: { type: Boolean, default: !0 }
|
|
24570
24570
|
},
|
|
24571
24571
|
setup(e) {
|
|
24572
|
-
const { ui: o } =
|
|
24572
|
+
const { ui: o } = Io(), { displayPreferences: t, displayState: a, setThemeMode: r, setUILocale: n } = Zk(), s = e, i = `batch-appearance-${_r()}`, l = `batch-language-${_r()}`, d = U(!1);
|
|
24573
24573
|
Pe(
|
|
24574
24574
|
() => s.motionDisabled,
|
|
24575
24575
|
(k) => {
|
|
@@ -25895,7 +25895,7 @@ function mP(e, o, t) {
|
|
|
25895
25895
|
if (r === -1) return a;
|
|
25896
25896
|
const n = a[r];
|
|
25897
25897
|
delete n.props?.ref;
|
|
25898
|
-
const s = n.props ?
|
|
25898
|
+
const s = n.props ? Ia(o, n.props) : o;
|
|
25899
25899
|
o.class && n.props?.class && delete n.props.class;
|
|
25900
25900
|
const i = Ab(n, s);
|
|
25901
25901
|
for (const l in s) l.startsWith("on") && (i.props ||= {}, i.props[l] = s[l]);
|
|
@@ -26078,7 +26078,7 @@ var bP = /* @__PURE__ */ Xe({
|
|
|
26078
26078
|
},
|
|
26079
26079
|
setup(e) {
|
|
26080
26080
|
const o = e, { enter: t, exit: a } = gP(o), r = q(() => o.mode !== "wait" ? { tag: o.as } : { mode: o.mode === "wait" ? "out-in" : void 0 });
|
|
26081
|
-
return (n, s) => (P(), ye(Ei(e.mode === "wait" ? ol : Eb),
|
|
26081
|
+
return (n, s) => (P(), ye(Ei(e.mode === "wait" ? ol : Eb), Ia(r.value, {
|
|
26082
26082
|
appear: "",
|
|
26083
26083
|
css: !1,
|
|
26084
26084
|
onLeave: c(a),
|
|
@@ -27061,12 +27061,12 @@ function ks(e) {
|
|
|
27061
27061
|
if (o.querySelector("parsererror")) throw new Error("XLSX XML 无法解析");
|
|
27062
27062
|
return o;
|
|
27063
27063
|
}
|
|
27064
|
-
const
|
|
27064
|
+
const Pa = (e, o) => Array.from(e.getElementsByTagNameNS("*", o));
|
|
27065
27065
|
function $P(e, o) {
|
|
27066
|
-
if (
|
|
27066
|
+
if (Pa(e, "f").length) throw new Error("公式单元格不受支持");
|
|
27067
27067
|
if (e.getAttribute("t") === "inlineStr")
|
|
27068
|
-
return
|
|
27069
|
-
const t =
|
|
27068
|
+
return Pa(e, "t").map((a) => a.textContent ?? "").join("");
|
|
27069
|
+
const t = Pa(e, "v")[0]?.textContent ?? "";
|
|
27070
27070
|
return e.getAttribute("t") === "s" ? o[Number(t)] ?? "" : t;
|
|
27071
27071
|
}
|
|
27072
27072
|
function qP(e) {
|
|
@@ -27104,10 +27104,10 @@ async function WP(e) {
|
|
|
27104
27104
|
]);
|
|
27105
27105
|
let r = "xl/worksheets/sheet1.xml";
|
|
27106
27106
|
if (a["xl/workbook.xml"]) {
|
|
27107
|
-
const g =
|
|
27107
|
+
const g = Pa(ks(a["xl/workbook.xml"]), "sheet")[0], _ = a["xl/_rels/workbook.xml.rels"], m = g?.getAttributeNS(
|
|
27108
27108
|
"http://schemas.openxmlformats.org/officeDocument/2006/relationships",
|
|
27109
27109
|
"id"
|
|
27110
|
-
) ?? g?.getAttribute("r:id"), y = _ ?
|
|
27110
|
+
) ?? g?.getAttribute("r:id"), y = _ ? Pa(ks(_), "Relationship").find(
|
|
27111
27111
|
(k) => k.getAttribute("Id") === m
|
|
27112
27112
|
) : void 0, b = y?.getAttribute("Target");
|
|
27113
27113
|
if (!b || y?.getAttribute("TargetMode") === "External")
|
|
@@ -27119,14 +27119,14 @@ async function WP(e) {
|
|
|
27119
27119
|
}
|
|
27120
27120
|
const n = t([r])[r];
|
|
27121
27121
|
if (!n) throw Error("找不到第一个工作表");
|
|
27122
|
-
const s = a["xl/sharedStrings.xml"] ?
|
|
27123
|
-
(g) =>
|
|
27124
|
-
) : [], i =
|
|
27122
|
+
const s = a["xl/sharedStrings.xml"] ? Pa(ks(a["xl/sharedStrings.xml"]), "si").map(
|
|
27123
|
+
(g) => Pa(g, "t").map((_) => _.textContent ?? "").join("")
|
|
27124
|
+
) : [], i = Pa(ks(n), "sheetData")[0], l = i ? Pa(i, "row") : [];
|
|
27125
27125
|
if (l.length > 252) throw new Error("清单行数超过预览限制(最多 250 张)");
|
|
27126
27126
|
const d = l.map((g) => {
|
|
27127
27127
|
const _ = ["", ""];
|
|
27128
27128
|
let m = "";
|
|
27129
|
-
for (const y of
|
|
27129
|
+
for (const y of Pa(g, "c")) {
|
|
27130
27130
|
const b = qP(y.getAttribute("r") ?? "");
|
|
27131
27131
|
if (!(b > 1 || b < 0))
|
|
27132
27132
|
try {
|
|
@@ -27589,9 +27589,9 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
27589
27589
|
function qt() {
|
|
27590
27590
|
zr?.dispose(), zr = void 0;
|
|
27591
27591
|
}
|
|
27592
|
-
let
|
|
27592
|
+
let Aa;
|
|
27593
27593
|
function Mo() {
|
|
27594
|
-
|
|
27594
|
+
Aa?.dispose(), Aa = void 0;
|
|
27595
27595
|
}
|
|
27596
27596
|
let Rt;
|
|
27597
27597
|
const Wt = U();
|
|
@@ -27615,7 +27615,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
27615
27615
|
const T = D.value.operations.find((V) => V.id === f.operationId);
|
|
27616
27616
|
return gi(T) || Ft(T) || wn(T) || !!T && !!R?.supports(T) || T?.toolId === "cutout" && T.params.execution === "browser";
|
|
27617
27617
|
}
|
|
27618
|
-
function
|
|
27618
|
+
function xo() {
|
|
27619
27619
|
!Z.value || !document.hidden || D.value.paused || D.value.attempts.some(
|
|
27620
27620
|
(f) => rn(f) && !["succeeded", "failed", "cancelled"].includes(f.status)
|
|
27621
27621
|
) && (D.value.paused = !0, ke.value = "页面已隐藏:当前本机图片完成后暂停新任务,返回后可继续。", De());
|
|
@@ -27750,10 +27750,10 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
27750
27750
|
"LOCAL_INTERRUPTED"
|
|
27751
27751
|
);
|
|
27752
27752
|
}
|
|
27753
|
-
ut(D.value), De(),
|
|
27753
|
+
ut(D.value), De(), xo();
|
|
27754
27754
|
for (const be of D.value.attempts)
|
|
27755
27755
|
Kt(be) && jr(be);
|
|
27756
|
-
|
|
27756
|
+
va(), La(), ie(!0);
|
|
27757
27757
|
}).catch((Ge) => {
|
|
27758
27758
|
J() && (Z.value = !1, io.value = "readonly", ke.value = `编辑权恢复失败:${Ge.message}`), fe(), ie(!1);
|
|
27759
27759
|
}), Ce;
|
|
@@ -27775,18 +27775,18 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
27775
27775
|
});
|
|
27776
27776
|
return yt = T, T;
|
|
27777
27777
|
}
|
|
27778
|
-
let
|
|
27778
|
+
let Ea, ua, nn = 0;
|
|
27779
27779
|
async function qn(f) {
|
|
27780
27780
|
if (!navigator.locks) return;
|
|
27781
27781
|
const T = ++nn;
|
|
27782
|
-
|
|
27782
|
+
Ea?.(), Ea = void 0, await new Promise((V) => {
|
|
27783
27783
|
ua = V, navigator.locks.request("beepop-view-" + f, { mode: "shared" }, (O) => {
|
|
27784
27784
|
if (!O || Ae || T !== nn || D.value.id !== f) {
|
|
27785
27785
|
V();
|
|
27786
27786
|
return;
|
|
27787
27787
|
}
|
|
27788
27788
|
const H = new Promise((re) => {
|
|
27789
|
-
|
|
27789
|
+
Ea = re;
|
|
27790
27790
|
});
|
|
27791
27791
|
return V(), H;
|
|
27792
27792
|
}).catch(() => V());
|
|
@@ -27864,8 +27864,8 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
27864
27864
|
fe.attempts.some(ca) && (ke.value = "未决处理身份已保留,不会自动重新提交"), hn(fe), D.value = fe, Q.value = structuredClone(fe.workspaceView ?? {});
|
|
27865
27865
|
}
|
|
27866
27866
|
if (Se.value = "local", F.value = [], Ne.value = !!a.execution?.remote, qe.value = [], ue.value = !0, r ? (r.bind(D.value.id), await Xt()) : (Z.value = !0, io.value = "writer"), Ae || f !== ve) return;
|
|
27867
|
-
await De(), document.addEventListener("visibilitychange",
|
|
27868
|
-
Pt.value = Date.now(), Z.value ? (La(),
|
|
27867
|
+
await De(), document.addEventListener("visibilitychange", xo), oo ??= window.setInterval(() => {
|
|
27868
|
+
Pt.value = Date.now(), Z.value ? (La(), va()) : ue.value && !Ae && a.pageSession && Er();
|
|
27869
27869
|
}, 1500);
|
|
27870
27870
|
return;
|
|
27871
27871
|
}
|
|
@@ -27916,12 +27916,12 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
27916
27916
|
io.value = "unsupported", ke.value = "无法建立本页安全会话,请检查浏览器存储和Web Locks支持;原记录保留。";
|
|
27917
27917
|
return;
|
|
27918
27918
|
}
|
|
27919
|
-
L.record.observing ? io.value = "readonly" : (await Xt(), H && !Z.value && L.observe(!0)), !(Ae || f !== ve) && (document.addEventListener("visibilitychange",
|
|
27919
|
+
L.record.observing ? io.value = "readonly" : (await Xt(), H && !Z.value && L.observe(!0)), !(Ae || f !== ve) && (document.addEventListener("visibilitychange", xo), document.addEventListener("visibilitychange", et), window.addEventListener("focus", et), window.addEventListener("blur", et), oo ??= window.setInterval(() => {
|
|
27920
27920
|
if (L.expired()) {
|
|
27921
27921
|
!document.hidden && document.hasFocus() && xr();
|
|
27922
27922
|
return;
|
|
27923
27923
|
}
|
|
27924
|
-
!document.hidden && document.hasFocus() && Date.now() - (L.record.lastSeenAt ?? 0) > 3e4 && L.activity(!0), Pt.value = Date.now(), Date.now() - Eo >= 1e4 && (Eo = Date.now(), Ja()), Z.value ? (
|
|
27924
|
+
!document.hidden && document.hasFocus() && Date.now() - (L.record.lastSeenAt ?? 0) > 3e4 && L.activity(!0), Pt.value = Date.now(), Date.now() - Eo >= 1e4 && (Eo = Date.now(), Ja()), Z.value ? (va(), La()) : ue.value && !Ae && io.value !== "unsupported" && (L.record.observing ? Er() : Xt());
|
|
27925
27925
|
}, 1500));
|
|
27926
27926
|
}
|
|
27927
27927
|
}
|
|
@@ -27963,7 +27963,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
27963
27963
|
L.activity(!1), Za();
|
|
27964
27964
|
for (const V of k.values()) V.abort();
|
|
27965
27965
|
for (const V of v) V.abort();
|
|
27966
|
-
v.clear(), k.clear(), document.removeEventListener("visibilitychange", et), window.removeEventListener("focus", et), window.removeEventListener("blur", et), je.clear(), So.clear(), Qo.splice(0), Ke.clear(), pe.value = 0, eo.value = 0, Me = 0, nn++, ua?.(), ua = void 0,
|
|
27966
|
+
v.clear(), k.clear(), document.removeEventListener("visibilitychange", et), window.removeEventListener("focus", et), window.removeEventListener("blur", et), je.clear(), So.clear(), Qo.splice(0), Ke.clear(), pe.value = 0, eo.value = 0, Me = 0, nn++, ua?.(), ua = void 0, Ea?.(), Ea = void 0, L.stop(), qt(), R?.dispose(), Mo(), Dt(), $t?.(!1), kt++, Ut = void 0, oa = void 0, Qe.value = !1, io.value = "initial", ne.value = 0, ht = !1, Ht = !1, ve++, Et.clear(), nr !== void 0 && clearTimeout(nr), nr = void 0, yt = void 0, ue.value = !1, Ae = !0, document.removeEventListener("visibilitychange", xo), St(new Error("页面关闭,本机抠图中断")), Mo(), oo !== void 0 && clearInterval(oo), oo = void 0;
|
|
27967
27967
|
const f = Bo;
|
|
27968
27968
|
Bo = void 0;
|
|
27969
27969
|
const T = Go.then(
|
|
@@ -27982,7 +27982,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
27982
27982
|
const Ki = q(
|
|
27983
27983
|
() => (Z.value || !!a?.pageSession) && !eo.value && !ze.value && !je.size && !pe.value && !Qo.length && !Y.pendingCount.value && (!Z.value || !D.value.attempts.some(ca))
|
|
27984
27984
|
);
|
|
27985
|
-
function
|
|
27985
|
+
function Sa() {
|
|
27986
27986
|
if (Ht) throw Error("正在切换批次,请稍后操作");
|
|
27987
27987
|
if (eo.value || ze.value || je.size || pe.value || Qo.length || Y.pendingCount.value || Z.value && D.value.attempts.some(ca))
|
|
27988
27988
|
throw new Error("请先完成或取消当前任务与上传");
|
|
@@ -27991,13 +27991,13 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
27991
27991
|
St(), qt(), Mo(), Dt(), o.clear(), Y.invalidate();
|
|
27992
27992
|
}
|
|
27993
27993
|
async function sn() {
|
|
27994
|
-
(!a?.pageSession || Z.value) && ho(),
|
|
27994
|
+
(!a?.pageSession || Z.value) && ho(), Sa();
|
|
27995
27995
|
const f = D.value, T = ve;
|
|
27996
27996
|
if (b && !await b.reset({ action: "newBatch", batchId: f.id }))
|
|
27997
27997
|
throw Error("业务端未允许新建批次");
|
|
27998
27998
|
if (D.value !== f || T !== ve || Ae)
|
|
27999
27999
|
throw Error("批次上下文已失效");
|
|
28000
|
-
return (!a?.pageSession || Z.value) && ho(),
|
|
28000
|
+
return (!a?.pageSession || Z.value) && ho(), Sa(), a ? Xi() : Zi();
|
|
28001
28001
|
}
|
|
28002
28002
|
async function Xi(f) {
|
|
28003
28003
|
if (!a) return;
|
|
@@ -28042,9 +28042,9 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
28042
28042
|
f === ve && (ne.value--, Ht = !1);
|
|
28043
28043
|
}
|
|
28044
28044
|
}
|
|
28045
|
-
async function
|
|
28045
|
+
async function fa(f) {
|
|
28046
28046
|
if (f === D.value.id) return;
|
|
28047
|
-
if (a && !a.pageSession && ho(),
|
|
28047
|
+
if (a && !a.pageSession && ho(), Sa(), a) return Xi(f);
|
|
28048
28048
|
const T = ve, V = D.value.id;
|
|
28049
28049
|
ne.value++, Ht = !0;
|
|
28050
28050
|
try {
|
|
@@ -28273,7 +28273,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
28273
28273
|
V === ve && eo.value--;
|
|
28274
28274
|
}
|
|
28275
28275
|
}
|
|
28276
|
-
async function
|
|
28276
|
+
async function ga(f, T) {
|
|
28277
28277
|
if (a) throw Error("当前接入尚未配置替换来源能力");
|
|
28278
28278
|
ho();
|
|
28279
28279
|
const V = D.value.items.find((fe) => fe.id === f);
|
|
@@ -28348,7 +28348,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
28348
28348
|
f,
|
|
28349
28349
|
T
|
|
28350
28350
|
);
|
|
28351
|
-
H.skippedItemIds = _e.value.filter((ie) => O.has(ie)),
|
|
28351
|
+
H.skippedItemIds = _e.value.filter((ie) => O.has(ie)), xo();
|
|
28352
28352
|
const re = Dn(D.value)?.id !== H.id ? H.itemIds.length : H.attemptIds.filter((ie) => {
|
|
28353
28353
|
const J = D.value.attempts.find((we) => we.id === ie);
|
|
28354
28354
|
return J && ["waiting_dependency", "blocked_dependency"].includes(J.status);
|
|
@@ -28361,7 +28361,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
28361
28361
|
function wl() {
|
|
28362
28362
|
if (ho(), ht) return;
|
|
28363
28363
|
const f = () => {
|
|
28364
|
-
D.value.paused = !1,
|
|
28364
|
+
D.value.paused = !1, xo(), D.value.paused || (ke.value = ""), ut(D.value), _t();
|
|
28365
28365
|
};
|
|
28366
28366
|
if (!Dr) {
|
|
28367
28367
|
f();
|
|
@@ -28404,7 +28404,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
28404
28404
|
throw new Error("当前版本已变化或步骤无法跳过,请先取消后续任务再重新提交");
|
|
28405
28405
|
ke.value = "已明确采用失败前版本,继续后续步骤", _t();
|
|
28406
28406
|
}
|
|
28407
|
-
function
|
|
28407
|
+
function ba(f, T) {
|
|
28408
28408
|
ho();
|
|
28409
28409
|
const V = D.value.operations.find((H) => H.id === f);
|
|
28410
28410
|
V && b?.assert(V);
|
|
@@ -28747,7 +28747,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
28747
28747
|
);
|
|
28748
28748
|
async function ta(f, T) {
|
|
28749
28749
|
const V = ve, O = D.value, H = O.id, re = O.operations.find((co) => co.id === f.operationId), ie = O.items.find((co) => co.id === f.itemId), J = ie.versions.find((co) => co.id === f.inputVersionId), we = () => !Ae && V === ve && D.value.id === H && Z.value && f.status !== "cancelled" && f.continuation !== "force" && !O.expiredAt && !L.expired() && ie.currentVersionId === f.inputVersionId, fe = () => {
|
|
28750
|
-
if (!we()) throw new
|
|
28750
|
+
if (!we()) throw new ka("LOCAL_INTERRUPTED", "本机SVG处理已中断");
|
|
28751
28751
|
};
|
|
28752
28752
|
if (!f.localSvgResult && f.retryOf) {
|
|
28753
28753
|
const co = O.attempts.find((Ze) => Ze.id === f.retryOf)?.localSvgResult;
|
|
@@ -29006,8 +29006,8 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29006
29006
|
throw new $e("SOURCE_CHANGED", "特效输入资产身份不可用");
|
|
29007
29007
|
at = Ct.sha256, mo = await s(Ct.oss_url, Ct.sha256), fe();
|
|
29008
29008
|
}
|
|
29009
|
-
fe(),
|
|
29010
|
-
const No = await
|
|
29009
|
+
fe(), Aa ??= vo.get("image_effects").createImageEffectsExecutor();
|
|
29010
|
+
const No = await Aa.run(
|
|
29011
29011
|
mo,
|
|
29012
29012
|
Ce,
|
|
29013
29013
|
at,
|
|
@@ -29117,7 +29117,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29117
29117
|
});
|
|
29118
29118
|
ie(), Br(T, f, J), f.stage = "已完成", ut(T), await De();
|
|
29119
29119
|
}
|
|
29120
|
-
function
|
|
29120
|
+
function ha(f) {
|
|
29121
29121
|
const T = D.value, V = ve, O = () => !Ae && Z.value && V === ve && D.value === T && !T.expiredAt && T.attempts.includes(f) && f.continuation !== "force";
|
|
29122
29122
|
return {
|
|
29123
29123
|
owner: T,
|
|
@@ -29127,7 +29127,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29127
29127
|
}
|
|
29128
29128
|
};
|
|
29129
29129
|
}
|
|
29130
|
-
async function
|
|
29130
|
+
async function _a(f, T, V, O) {
|
|
29131
29131
|
const { task: H, receipt: re, generatedDetails: ie } = Fg(
|
|
29132
29132
|
T,
|
|
29133
29133
|
f.remotePlan,
|
|
@@ -29201,7 +29201,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29201
29201
|
}
|
|
29202
29202
|
}
|
|
29203
29203
|
async function aa(f) {
|
|
29204
|
-
const T = a.execution.remote, { owner: V, live: O, check: H } =
|
|
29204
|
+
const T = a.execution.remote, { owner: V, live: O, check: H } = ha(f), re = V.operations.find((be) => be.id === f.operationId), J = V.items.find((be) => be.id === f.itemId).versions.find((be) => be.id === f.inputVersionId), we = ve, fe = new AbortController();
|
|
29205
29205
|
k.set(f.id, fe);
|
|
29206
29206
|
const Ce = () => {
|
|
29207
29207
|
if (H(), fe.signal.aborted) throw Error("已停止本地等待;原请求身份保留");
|
|
@@ -29230,7 +29230,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29230
29230
|
),
|
|
29231
29231
|
f.remotePlan
|
|
29232
29232
|
);
|
|
29233
|
-
Ce(), ro.state === "accepted" ? await
|
|
29233
|
+
Ce(), ro.state === "accepted" ? await _a(f, ro.receipt, Ce, fe.signal) : ro.state === "not_accepted" ? (f.remoteAdmission = "not_accepted", na(V, f, "failed", ro.reason, ro.code, !0), await De()) : (f.status = "submission_unknown", f.stage = "原请求受理待核查", await De());
|
|
29234
29234
|
} catch (be) {
|
|
29235
29235
|
if (!O()) return;
|
|
29236
29236
|
if (Ge)
|
|
@@ -29248,7 +29248,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29248
29248
|
}
|
|
29249
29249
|
if (f.remoteAdmission === "not_accepted" || f.applied || f.remoteWaitingStopped && !T)
|
|
29250
29250
|
return;
|
|
29251
|
-
const { live: O, check: H } =
|
|
29251
|
+
const { live: O, check: H } = ha(f);
|
|
29252
29252
|
O() && (await ar.get(f.id), O() && await Et.run(
|
|
29253
29253
|
f.id,
|
|
29254
29254
|
async () => {
|
|
@@ -29259,7 +29259,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29259
29259
|
};
|
|
29260
29260
|
try {
|
|
29261
29261
|
if (f.remotePlan = await qc(D.value, f), ie(), f.remoteReceipt?.status === "succeeded") {
|
|
29262
|
-
await
|
|
29262
|
+
await _a(
|
|
29263
29263
|
f,
|
|
29264
29264
|
ot(f.remoteReceipt),
|
|
29265
29265
|
ie,
|
|
@@ -29273,7 +29273,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29273
29273
|
re.signal,
|
|
29274
29274
|
ui
|
|
29275
29275
|
);
|
|
29276
|
-
return ie(), await
|
|
29276
|
+
return ie(), await _a(f, we, ie, re.signal), we.pollAfterMs;
|
|
29277
29277
|
}
|
|
29278
29278
|
const J = qu(
|
|
29279
29279
|
await vn(
|
|
@@ -29287,7 +29287,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29287
29287
|
),
|
|
29288
29288
|
f.remotePlan
|
|
29289
29289
|
);
|
|
29290
|
-
return ie(), J.state === "accepted" ? (await
|
|
29290
|
+
return ie(), J.state === "accepted" ? (await _a(f, J.receipt, ie, re.signal), J.receipt.pollAfterMs) : (J.state === "not_accepted" ? (f.remoteAdmission = "not_accepted", na(D.value, f, "failed", J.reason, J.code, !0)) : (f.status = "submission_unknown", f.stage = "原请求暂无回执,保留原请求身份继续核查"), await De(), 3e3);
|
|
29291
29291
|
} catch (J) {
|
|
29292
29292
|
throw O() && (ke.value = J.message), J;
|
|
29293
29293
|
} finally {
|
|
@@ -29308,7 +29308,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29308
29308
|
const T = D.value.attempts.find((ie) => ie.id === f), V = a?.execution?.remote;
|
|
29309
29309
|
if (!T?.remotePlan || !T.taskId || !V?.cancel)
|
|
29310
29310
|
throw Error("业务端未提供真实远程取消能力");
|
|
29311
|
-
const { check: O } =
|
|
29311
|
+
const { check: O } = ha(T), H = new AbortController();
|
|
29312
29312
|
k.get(T.id)?.abort(), k.set(T.id, H);
|
|
29313
29313
|
const re = () => {
|
|
29314
29314
|
if (O(), H.signal.aborted) throw Error("取消核查等待已停止");
|
|
@@ -29320,7 +29320,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29320
29320
|
H.signal,
|
|
29321
29321
|
ui
|
|
29322
29322
|
);
|
|
29323
|
-
await
|
|
29323
|
+
await _a(T, ie, re, H.signal);
|
|
29324
29324
|
} finally {
|
|
29325
29325
|
k.get(T.id) === H && k.delete(T.id);
|
|
29326
29326
|
}
|
|
@@ -29441,7 +29441,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29441
29441
|
} catch (J) {
|
|
29442
29442
|
if (!re() || f.status === "cancelled" || ie() || !gi(V) && !wn(V) && await oi(f, J, Ft(V)))
|
|
29443
29443
|
return;
|
|
29444
|
-
const we = J instanceof $e || J instanceof Tt || J instanceof Ga || J instanceof
|
|
29444
|
+
const we = J instanceof $e || J instanceof Tt || J instanceof Ga || J instanceof ka ? J.code : void 0;
|
|
29445
29445
|
na(
|
|
29446
29446
|
D.value,
|
|
29447
29447
|
f,
|
|
@@ -29475,7 +29475,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29475
29475
|
const V = D.value.items.find((O) => O.id === f.itemId)?.versions.find((O) => O.id === f.inputVersionId);
|
|
29476
29476
|
V?.source.kind === "external_url" && (V.source.expectedSha256 = T.actualSourceSha256);
|
|
29477
29477
|
}
|
|
29478
|
-
if (T.status === "succeeded" && f.status === "failed" && !f.continuation &&
|
|
29478
|
+
if (T.status === "succeeded" && f.status === "failed" && !f.continuation && xa(D.value, f.operationId, f.itemId)?.id === f.id) {
|
|
29479
29479
|
const V = D.value.items.find((H) => H.id === f.itemId), O = D.value.attempts.find((H) => H.id === V?.busyAttemptId);
|
|
29480
29480
|
V?.currentVersionId === f.inputVersionId && (O && ["waiting_dependency", "blocked_dependency"].includes(O.status) && tn(D.value, O, f.operationId) || !O && nl(D.value, f.itemId).at(-1)?.id === f.id) && (V.busyAttemptId = f.id);
|
|
29481
29481
|
}
|
|
@@ -29548,7 +29548,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29548
29548
|
);
|
|
29549
29549
|
}
|
|
29550
29550
|
let rr;
|
|
29551
|
-
function
|
|
29551
|
+
function va() {
|
|
29552
29552
|
return rr || (rr = Cl().finally(() => {
|
|
29553
29553
|
rr = void 0;
|
|
29554
29554
|
}), rr);
|
|
@@ -29651,11 +29651,11 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29651
29651
|
init: Cr,
|
|
29652
29652
|
stop: Ya,
|
|
29653
29653
|
newWorkspace: sn,
|
|
29654
|
-
openBatch:
|
|
29654
|
+
openBatch: fa,
|
|
29655
29655
|
select: cn,
|
|
29656
29656
|
selectOperation: Kn,
|
|
29657
29657
|
addLocal: hl,
|
|
29658
|
-
replaceLocal:
|
|
29658
|
+
replaceLocal: ga,
|
|
29659
29659
|
addSources: Be,
|
|
29660
29660
|
importSource: _l,
|
|
29661
29661
|
addHostAssets: ts,
|
|
@@ -29669,7 +29669,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29669
29669
|
queryAttempt: as,
|
|
29670
29670
|
setRemoteWaiting: ai,
|
|
29671
29671
|
cancelRemoteAttempt: zl,
|
|
29672
|
-
retry:
|
|
29672
|
+
retry: ba,
|
|
29673
29673
|
restoreVersion: rs,
|
|
29674
29674
|
canDeleteSelected: Rr,
|
|
29675
29675
|
deleteSelected: kl,
|
|
@@ -29679,7 +29679,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29679
29679
|
imageUrl: ns,
|
|
29680
29680
|
readVersionBlob: Jn,
|
|
29681
29681
|
releaseImageUrl: Yn,
|
|
29682
|
-
poll:
|
|
29682
|
+
poll: va
|
|
29683
29683
|
};
|
|
29684
29684
|
}), i3 = ["src", "alt"], s3 = { key: 2 }, l3 = {
|
|
29685
29685
|
key: 3,
|
|
@@ -29697,7 +29697,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29697
29697
|
},
|
|
29698
29698
|
emits: ["open"],
|
|
29699
29699
|
setup(e, { emit: o }) {
|
|
29700
|
-
const { ui: t, uiText: a } =
|
|
29700
|
+
const { ui: t, uiText: a } = Io(), r = e, n = o, s = $n(), i = U(""), l = U(1), d = q(() => {
|
|
29701
29701
|
const _ = Ro(r.item).asset, m = _ && al(_), y = m?.width && m?.height && _?.orientation !== void 0 ? m.width / m.height : l.value;
|
|
29702
29702
|
return Math.round(Math.max(48, Math.min(192, 64 * y)));
|
|
29703
29703
|
}), u = q(() => {
|
|
@@ -29731,7 +29731,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29731
29731
|
"while-press": { scale: 0.97 },
|
|
29732
29732
|
class: He(["batch-thumbnail", [{ focused: e.focused }, u.value && `is-${u.value}`]]),
|
|
29733
29733
|
"data-item-id": e.item.id,
|
|
29734
|
-
style:
|
|
29734
|
+
style: Do({ "--thumbnail-width": `${d.value}px` }),
|
|
29735
29735
|
title: e.item.name,
|
|
29736
29736
|
"aria-label": c(t)("common.card_7e0b173f", { p0: e.item.name }),
|
|
29737
29737
|
"aria-current": e.focused ? "true" : void 0,
|
|
@@ -29765,7 +29765,7 @@ const $n = /* @__PURE__ */ Dh("batch", () => {
|
|
|
29765
29765
|
},
|
|
29766
29766
|
emits: ["open", "navigate"],
|
|
29767
29767
|
setup(e, { emit: o }) {
|
|
29768
|
-
const { ui: t, uiText: a } =
|
|
29768
|
+
const { ui: t, uiText: a } = Io(), r = e, n = o, s = U(), i = U(0), l = Lg(), d = q(() => r.items.findIndex((g) => g.id === r.focusedId)), u = q(() => r.items.slice(i.value, i.value + 8));
|
|
29769
29769
|
let p = 0;
|
|
29770
29770
|
function h(g) {
|
|
29771
29771
|
const _ = g instanceof HTMLElement ? g : g && "$el" in g ? g.$el : void 0;
|
|
@@ -29922,7 +29922,7 @@ const v3 = {
|
|
|
29922
29922
|
motionDisabled: { type: Boolean }
|
|
29923
29923
|
},
|
|
29924
29924
|
setup(e) {
|
|
29925
|
-
const { ui: o } =
|
|
29925
|
+
const { ui: o } = Io(), t = e, a = _3(), r = U(!1), n = U(!1);
|
|
29926
29926
|
let s = 0;
|
|
29927
29927
|
Pe(
|
|
29928
29928
|
() => h3(t.batch, t.exportSession, t.exportBusy),
|
|
@@ -29990,7 +29990,7 @@ const v3 = {
|
|
|
29990
29990
|
}
|
|
29991
29991
|
});
|
|
29992
29992
|
function Wi() {
|
|
29993
|
-
return
|
|
29993
|
+
return Io().ui;
|
|
29994
29994
|
}
|
|
29995
29995
|
const k3 = ["aria-label"], P3 = { class: "batch-confirmation-card" }, z3 = /* @__PURE__ */ Xe({
|
|
29996
29996
|
__name: "BatchConfirmationModal",
|
|
@@ -30369,7 +30369,7 @@ const F3 = { class: "version-thumb" }, B3 = ["src", "alt"], N3 = { key: 1 }, gl
|
|
|
30369
30369
|
detached: { type: Boolean }
|
|
30370
30370
|
},
|
|
30371
30371
|
setup(e) {
|
|
30372
|
-
const { ui: o, uiText: t } =
|
|
30372
|
+
const { ui: o, uiText: t } = Io(), a = Zd(), r = e, n = $n(), s = U("");
|
|
30373
30373
|
let i = 0, l = "", d;
|
|
30374
30374
|
function u(p) {
|
|
30375
30375
|
r.detached ? p.startsWith("blob:") && URL.revokeObjectURL(p) : n.releaseImageUrl(p);
|
|
@@ -30429,9 +30429,9 @@ const F3 = { class: "version-thumb" }, B3 = ["src", "alt"], N3 = { key: 1 }, gl
|
|
|
30429
30429
|
},
|
|
30430
30430
|
emits: ["close", "open", "enter", "leave", "pause", "resume", "cancel"],
|
|
30431
30431
|
setup(e, { emit: o }) {
|
|
30432
|
-
const { ui: t, uiText: a, uiNotice: r } =
|
|
30432
|
+
const { ui: t, uiText: a, uiNotice: r } = Io(), n = Wi(), { exportStageText: s } = Xd(t), i = Cg(), l = e, d = o, u = q(() => j3(l.batch)), p = U(), h = U(""), g = q(
|
|
30433
30433
|
() => l.exportSession?.batchId === l.batch.id && l.exportSession.status === "running" ? l.exportSession : void 0
|
|
30434
|
-
), _ =
|
|
30434
|
+
), _ = Io().locale, m = q(
|
|
30435
30435
|
() => u.value?.images.map((N) => l.feedback?.(N.attempt)).find(Boolean)
|
|
30436
30436
|
), y = (N, F) => N.startsWith("common.queue.") && !["common.queue.waiting", "common.queue.keep"].includes(N) ? n(N, F) : t(N, F);
|
|
30437
30437
|
Pe(_, () => {
|
|
@@ -30507,11 +30507,11 @@ const F3 = { class: "version-thumb" }, B3 = ["src", "alt"], N3 = { key: 1 }, gl
|
|
|
30507
30507
|
ref_key: "root",
|
|
30508
30508
|
ref: p,
|
|
30509
30509
|
class: "task-popover-position",
|
|
30510
|
-
style:
|
|
30510
|
+
style: Do(b.value)
|
|
30511
30511
|
}, [
|
|
30512
30512
|
me(c(Re).aside, {
|
|
30513
30513
|
class: "task-popover",
|
|
30514
|
-
style:
|
|
30514
|
+
style: Do({ maxHeight: b.value.maxHeight }),
|
|
30515
30515
|
role: "region",
|
|
30516
30516
|
"aria-label": c(t)("common.taskPopover_2cdbd0b9"),
|
|
30517
30517
|
initial: { opacity: 0, x: -6 },
|
|
@@ -30691,7 +30691,7 @@ const i4 = { class: "receipt-stack" }, s4 = ["src"], l4 = /* @__PURE__ */ Xe({
|
|
|
30691
30691
|
},
|
|
30692
30692
|
emits: ["complete"],
|
|
30693
30693
|
setup(e, { emit: o }) {
|
|
30694
|
-
const { ui: t, uiText: a } =
|
|
30694
|
+
const { ui: t, uiText: a } = Io(), r = o;
|
|
30695
30695
|
return (n, s) => (P(), ye(c(Re).div, {
|
|
30696
30696
|
class: "queue-receipt",
|
|
30697
30697
|
"aria-hidden": "true",
|
|
@@ -30712,7 +30712,7 @@ const i4 = { class: "receipt-stack" }, s4 = ["src"], l4 = /* @__PURE__ */ Xe({
|
|
|
30712
30712
|
key: l,
|
|
30713
30713
|
src: i.src,
|
|
30714
30714
|
alt: "",
|
|
30715
|
-
style:
|
|
30715
|
+
style: Do({ transform: `rotate(${(l - 1) * 7}deg) translateX(${l * 8}px)` })
|
|
30716
30716
|
}, null, 12, s4))), 128)),
|
|
30717
30717
|
e.receipt.images.length ? j("", !0) : (P(), ye(c(hk), {
|
|
30718
30718
|
key: 0,
|
|
@@ -32200,7 +32200,7 @@ const V4 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
|
|
|
32200
32200
|
blob: {}
|
|
32201
32201
|
},
|
|
32202
32202
|
setup(e) {
|
|
32203
|
-
const { ui: o, uiText: t } =
|
|
32203
|
+
const { ui: o, uiText: t } = Io(), a = Zd();
|
|
32204
32204
|
let r = 0, n;
|
|
32205
32205
|
const s = e, i = U("");
|
|
32206
32206
|
return Pe(
|
|
@@ -32260,7 +32260,7 @@ const V4 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
|
|
|
32260
32260
|
localOnly: { type: Boolean }
|
|
32261
32261
|
},
|
|
32262
32262
|
setup(e) {
|
|
32263
|
-
const { ui: o, uiText: t } =
|
|
32263
|
+
const { ui: o, uiText: t } = Io(), a = e, { mode: r, entries: n, busy: s, committing: i, error: l, urlText: d, mergeGroups: u, selected: p, capacityError: h } = a.session, g = U(), _ = U(), m = U(), y = U(20), b = [
|
|
32264
32264
|
{ id: "local", label: "本地图片" },
|
|
32265
32265
|
{ id: "url", label: "图片链接" },
|
|
32266
32266
|
{ id: "xlsx", label: "表格导入" }
|
|
@@ -32301,7 +32301,7 @@ const V4 = "data:application/octet-stream;base64,UEsDBBQAAAAIAOhIQ11vsgX7/QAAALw
|
|
|
32301
32301
|
onClick: A[11] || (A[11] = it((M) => e.session.reset(), ["self"]))
|
|
32302
32302
|
}, {
|
|
32303
32303
|
default: xe(() => [
|
|
32304
|
-
me(c(Re).section,
|
|
32304
|
+
me(c(Re).section, Ia(c(Nc), {
|
|
32305
32305
|
class: "import-modal import-v4",
|
|
32306
32306
|
"data-material-static": "",
|
|
32307
32307
|
role: "dialog",
|
|
@@ -32531,7 +32531,7 @@ const v5 = ["viewBox"], w5 = ["width", "height"], y5 = ["x", "y", "width", "heig
|
|
|
32531
32531
|
},
|
|
32532
32532
|
emits: ["requestFocus"],
|
|
32533
32533
|
setup(e, { emit: o }) {
|
|
32534
|
-
const { ui: t, uiText: a } =
|
|
32534
|
+
const { ui: t, uiText: a } = Io(), r = e, n = _5(
|
|
32535
32535
|
() => r.params.logo,
|
|
32536
32536
|
() => r.logoUrl
|
|
32537
32537
|
), s = o, i = _r(), l = `${i}-brand-mark-clip`, d = `${i}-brand-mark-checker`, u = `${i}-brand-mark-tile`, p = U("loading"), h = U("loading"), g = q(() => {
|
|
@@ -32621,7 +32621,7 @@ const v5 = ["viewBox"], w5 = ["width", "height"], y5 = ["x", "y", "width", "heig
|
|
|
32621
32621
|
w.value ? "brand-mark-draft-ready" : void 0,
|
|
32622
32622
|
e.variant === "focus" ? `lc-bg-${e.background}` : void 0
|
|
32623
32623
|
]]),
|
|
32624
|
-
style:
|
|
32624
|
+
style: Do(e.variant === "grid" ? { backgroundColor: "var(--soft)" } : void 0),
|
|
32625
32625
|
"aria-hidden": "true"
|
|
32626
32626
|
}, [
|
|
32627
32627
|
(P(), I("svg", {
|
|
@@ -32743,7 +32743,7 @@ const v5 = ["viewBox"], w5 = ["width", "height"], y5 = ["x", "y", "width", "heig
|
|
|
32743
32743
|
], 8, P5)
|
|
32744
32744
|
], 8, v5))
|
|
32745
32745
|
], 6)) : j("", !0),
|
|
32746
|
-
(P(), ye(
|
|
32746
|
+
(P(), ye(Da, {
|
|
32747
32747
|
to: e.captionTarget ?? "body",
|
|
32748
32748
|
disabled: !e.captionTarget
|
|
32749
32749
|
}, [
|
|
@@ -32785,7 +32785,7 @@ const v5 = ["viewBox"], w5 = ["width", "height"], y5 = ["x", "y", "width", "heig
|
|
|
32785
32785
|
},
|
|
32786
32786
|
emits: ["eligibility"],
|
|
32787
32787
|
setup(e, { emit: o }) {
|
|
32788
|
-
const { ui: t, uiText: a } =
|
|
32788
|
+
const { ui: t, uiText: a } = Io(), r = e, n = o, s = _r(), i = `${s}-shadow-filter`, l = `${s}-shadow-checker`, d = pt(), u = U("pending"), p = U(""), h = pt();
|
|
32789
32789
|
let g = 0, _, m;
|
|
32790
32790
|
const y = q(
|
|
32791
32791
|
() => p.value === r.sourceUrl && h.value === r.image
|
|
@@ -32985,7 +32985,7 @@ const v5 = ["viewBox"], w5 = ["width", "height"], y5 = ["x", "y", "width", "heig
|
|
|
32985
32985
|
preserveAspectRatio: "none"
|
|
32986
32986
|
}, null, 8, M5)
|
|
32987
32987
|
], 8, A5)) : j("", !0),
|
|
32988
|
-
(P(), ye(
|
|
32988
|
+
(P(), ye(Da, {
|
|
32989
32989
|
to: e.captionTarget ?? "body",
|
|
32990
32990
|
disabled: !e.captionTarget
|
|
32991
32991
|
}, [
|
|
@@ -33027,7 +33027,7 @@ const v5 = ["viewBox"], w5 = ["width", "height"], y5 = ["x", "y", "width", "heig
|
|
|
33027
33027
|
e.variant === "focus" ? `lc-bg-${e.background}` : void 0,
|
|
33028
33028
|
`resize-draft-preview-${e.variant}`
|
|
33029
33029
|
]]),
|
|
33030
|
-
style:
|
|
33030
|
+
style: Do(e.variant === "grid" ? { backgroundColor: "var(--soft)" } : void 0),
|
|
33031
33031
|
"aria-hidden": "true"
|
|
33032
33032
|
}, [
|
|
33033
33033
|
(P(), I("svg", {
|
|
@@ -33232,7 +33232,7 @@ function eb(e = hg) {
|
|
|
33232
33232
|
), n = t.match(/^([a-zA-Z]+) 必须是六位十六进制颜色$/), s = r?.[1] ?? n?.[1] ?? (t === "随机种子超出范围" ? "seed" : void 0), i = r ? r6[r[2]] : n ? "error.color" : Tp[t];
|
|
33233
33233
|
if (s) {
|
|
33234
33234
|
const l = `field.${s}`;
|
|
33235
|
-
return Object.hasOwn(
|
|
33235
|
+
return Object.hasOwn(za.en, l) ? e(`tools.image_effects.${i}`, {
|
|
33236
33236
|
field: e(`tools.image_effects.${l}`)
|
|
33237
33237
|
}) : e(`tools.image_effects.${a}`);
|
|
33238
33238
|
}
|
|
@@ -33794,7 +33794,7 @@ const f6 = {
|
|
|
33794
33794
|
alphaSource: {}
|
|
33795
33795
|
},
|
|
33796
33796
|
setup(e) {
|
|
33797
|
-
const { ui: o, uiText: t } =
|
|
33797
|
+
const { ui: o, uiText: t } = Io(), a = eb(o), r = e, n = Jo(tb, void 0), s = U(!1), i = U({ status: "idle" });
|
|
33798
33798
|
let l, d = 0, u = "", p = "", h;
|
|
33799
33799
|
function g() {
|
|
33800
33800
|
p && URL.revokeObjectURL(p), p = "", h = void 0, u = "";
|
|
@@ -34096,7 +34096,7 @@ const f6 = {
|
|
|
34096
34096
|
},
|
|
34097
34097
|
emits: ["select", "open", "replace"],
|
|
34098
34098
|
setup(e, { emit: o }) {
|
|
34099
|
-
const { ui: t, uiText: a } =
|
|
34099
|
+
const { ui: t, uiText: a } = Io(), r = e, n = o, s = $n(), i = U(""), l = U(!1), d = U(), u = U(), p = U({ width: 0, height: 0 }), h = q(() => {
|
|
34100
34100
|
const A = Ro(r.item).asset;
|
|
34101
34101
|
return A && A.orientation !== void 0 ? al(A) : p.value;
|
|
34102
34102
|
}), g = q(() => {
|
|
@@ -34267,7 +34267,7 @@ const U6 = {
|
|
|
34267
34267
|
},
|
|
34268
34268
|
emits: ["close"],
|
|
34269
34269
|
setup(e, { emit: o }) {
|
|
34270
|
-
const { ui: t, uiText: a } =
|
|
34270
|
+
const { ui: t, uiText: a } = Io(), r = Jo(ul, () => "body"), n = e, s = o, i = U(), l = U({ left: 12, top: 12, width: n.width, maxHeight: 600, modal: !1 }), d = q(() => ({
|
|
34271
34271
|
left: l.value.left + "px",
|
|
34272
34272
|
top: l.value.top + "px",
|
|
34273
34273
|
width: l.value.width + "px",
|
|
@@ -34322,7 +34322,7 @@ const U6 = {
|
|
|
34322
34322
|
{ immediate: !0 }
|
|
34323
34323
|
), Oo(() => {
|
|
34324
34324
|
g = !0, h++, b();
|
|
34325
|
-
}), (w, k) => (P(), ye(
|
|
34325
|
+
}), (w, k) => (P(), ye(Da, {
|
|
34326
34326
|
to: c(r)()
|
|
34327
34327
|
}, [
|
|
34328
34328
|
me(ol, { name: "batch-float" }, {
|
|
@@ -34342,7 +34342,7 @@ const U6 = {
|
|
|
34342
34342
|
role: "dialog",
|
|
34343
34343
|
"aria-modal": l.value.modal ? "true" : void 0,
|
|
34344
34344
|
"aria-label": e.title,
|
|
34345
|
-
style:
|
|
34345
|
+
style: Do(d.value)
|
|
34346
34346
|
}, [
|
|
34347
34347
|
z("header", null, [
|
|
34348
34348
|
z("h2", null, C(e.title), 1),
|
|
@@ -34370,7 +34370,7 @@ const U6 = {
|
|
|
34370
34370
|
text: {}
|
|
34371
34371
|
},
|
|
34372
34372
|
setup(e) {
|
|
34373
|
-
const { ui: o } =
|
|
34373
|
+
const { ui: o } = Io(), t = Symbol(), a = _r(), r = U(), n = q(() => ec.value === t);
|
|
34374
34374
|
function s() {
|
|
34375
34375
|
n.value && (ec.value = void 0);
|
|
34376
34376
|
}
|
|
@@ -34409,7 +34409,7 @@ const U6 = {
|
|
|
34409
34409
|
}, 8, ["id", "open", "anchor", "title"])
|
|
34410
34410
|
], 64));
|
|
34411
34411
|
}
|
|
34412
|
-
}), ab = /* @__PURE__ */ tt(Z6, [["__scopeId", "data-v-
|
|
34412
|
+
}), ab = /* @__PURE__ */ tt(Z6, [["__scopeId", "data-v-938ab304"]]), J6 = ["data-tool-id"], Y6 = { class: "tool-heading" }, Q6 = {
|
|
34413
34413
|
key: 0,
|
|
34414
34414
|
class: "plugin-panel-actions"
|
|
34415
34415
|
}, e9 = /* @__PURE__ */ Xe({
|
|
@@ -34423,7 +34423,7 @@ const U6 = {
|
|
|
34423
34423
|
},
|
|
34424
34424
|
emits: ["reset"],
|
|
34425
34425
|
setup(e, { emit: o }) {
|
|
34426
|
-
const { ui: t } =
|
|
34426
|
+
const { ui: t } = Io(), a = o;
|
|
34427
34427
|
return (r, n) => (P(), I("section", {
|
|
34428
34428
|
"data-onboarding": "tool-panel",
|
|
34429
34429
|
"data-material-docked": "true",
|
|
@@ -34498,7 +34498,7 @@ const U6 = {
|
|
|
34498
34498
|
])) : j("", !0)
|
|
34499
34499
|
], 10, J6));
|
|
34500
34500
|
}
|
|
34501
|
-
}), o9 = /* @__PURE__ */ tt(e9, [["__scopeId", "data-v-
|
|
34501
|
+
}), o9 = /* @__PURE__ */ tt(e9, [["__scopeId", "data-v-f44b5019"]]), t9 = ["role"], a9 = /* @__PURE__ */ Xe({
|
|
34502
34502
|
__name: "PluginPanelStatus",
|
|
34503
34503
|
props: {
|
|
34504
34504
|
context: {},
|
|
@@ -34506,7 +34506,7 @@ const U6 = {
|
|
|
34506
34506
|
},
|
|
34507
34507
|
emits: ["retry"],
|
|
34508
34508
|
setup(e, { emit: o }) {
|
|
34509
|
-
const { ui: t } =
|
|
34509
|
+
const { ui: t } = Io(), a = o;
|
|
34510
34510
|
return (r, n) => (P(), ye(o9, { context: e.context }, {
|
|
34511
34511
|
default: xe(() => [
|
|
34512
34512
|
z("p", {
|
|
@@ -34565,7 +34565,7 @@ const U6 = {
|
|
|
34565
34565
|
},
|
|
34566
34566
|
emits: ["update:modelValue", "tool", "entry", "back", "close", "execute", "refreshAi"],
|
|
34567
34567
|
setup(e, { expose: o, emit: t }) {
|
|
34568
|
-
const { ui: a, uiText: r } =
|
|
34568
|
+
const { ui: a, uiText: r } = Io(), { uploadLocal: n } = u8(), s = Hd(), i = Jo(
|
|
34569
34569
|
Pg,
|
|
34570
34570
|
(A) => n(A, A.name)
|
|
34571
34571
|
), l = e, d = t, u = /* @__PURE__ */ new Map(), p = U(), h = U(0);
|
|
@@ -34750,7 +34750,7 @@ const U6 = {
|
|
|
34750
34750
|
hasOverlay: E,
|
|
34751
34751
|
blocksShortcuts: () => l.visible !== !1 && (p.value?.blocksShortcuts?.() ?? E()),
|
|
34752
34752
|
dismissOverlay: () => E() && !!p.value?.dismissOverlay?.()
|
|
34753
|
-
}), (A, M) => (P(), ye(c(Re).aside,
|
|
34753
|
+
}), (A, M) => (P(), ye(c(Re).aside, Ia({
|
|
34754
34754
|
inert: e.visible === !1 ? !0 : void 0,
|
|
34755
34755
|
"aria-hidden": e.visible === !1 ? "true" : void 0,
|
|
34756
34756
|
class: "tools-panel plugin-host"
|
|
@@ -34841,8 +34841,8 @@ const U6 = {
|
|
|
34841
34841
|
},
|
|
34842
34842
|
emits: ["close", "select"],
|
|
34843
34843
|
setup(e, { emit: o }) {
|
|
34844
|
-
const { ui: t, uiText: a, uiLanguageName: r, uiTargetLanguage: n } =
|
|
34845
|
-
return (i, l) => (P(), ye(c(Re).aside,
|
|
34844
|
+
const { ui: t, uiText: a, uiLanguageName: r, uiTargetLanguage: n } = Io(), s = o;
|
|
34845
|
+
return (i, l) => (P(), ye(c(Re).aside, Ia(c(Ui), {
|
|
34846
34846
|
class: "tools-panel translation-detail-panel",
|
|
34847
34847
|
"aria-label": c(t)("tools.image_translation.translationDetailsPanel_a331fa9a"),
|
|
34848
34848
|
onKeydown: l[2] || (l[2] = qa(it((d) => s("close"), ["stop", "prevent"]), ["esc"]))
|
|
@@ -34992,7 +34992,7 @@ const w9 = ["data-cancelled-steps"], y9 = /* @__PURE__ */ Xe({
|
|
|
34992
34992
|
},
|
|
34993
34993
|
emits: ["open", "delete"],
|
|
34994
34994
|
setup(e) {
|
|
34995
|
-
const { ui: o, uiText: t, uiDate: a } =
|
|
34995
|
+
const { ui: o, uiText: t, uiDate: a } = Io(), r = U(), n = U(!1);
|
|
34996
34996
|
let s;
|
|
34997
34997
|
return wt(() => {
|
|
34998
34998
|
if (typeof IntersectionObserver > "u") {
|
|
@@ -35081,7 +35081,7 @@ const w9 = ["data-cancelled-steps"], y9 = /* @__PURE__ */ Xe({
|
|
|
35081
35081
|
},
|
|
35082
35082
|
emits: ["dismiss"],
|
|
35083
35083
|
setup(e) {
|
|
35084
|
-
const { ui: o, uiText: t } =
|
|
35084
|
+
const { ui: o, uiText: t } = Io(), { exportByteChange: a, exportStageText: r, exportExclusionText: n } = Xd(o);
|
|
35085
35085
|
return (s, i) => (P(), I("section", {
|
|
35086
35086
|
class: "task-operation task-export",
|
|
35087
35087
|
"aria-label": c(o)("common.exportProgress_9c709622")
|
|
@@ -35224,7 +35224,7 @@ const w9 = ["data-cancelled-steps"], y9 = /* @__PURE__ */ Xe({
|
|
|
35224
35224
|
},
|
|
35225
35225
|
emits: ["close", "update:tab", "open", "batch", "create", "reconfigure", "dismiss-export", "error"],
|
|
35226
35226
|
setup(e, { emit: o }) {
|
|
35227
|
-
const { ui: t, uiText: a, uiNotice: r, uiDate: n } =
|
|
35227
|
+
const { ui: t, uiText: a, uiNotice: r, uiDate: n } = Io(), s = Wi(), i = Hd(), l = Cg(), d = e, u = o, p = (X, te) => X.startsWith("common.queue.") && !["common.queue.waiting", "common.queue.keep"].includes(X) ? s(X, te) : t(X, te), h = U(!1), g = U(!1), _ = U(""), m = $n(), y = U(), b = U(!1), w = U(""), k = d.attentionItemId ? m.itemTasks.get(d.attentionItemId) : void 0, v = U(
|
|
35228
35228
|
d.operationId ?? (k ? (Gh(m.batch, k) ?? k).operationId : m.executionOperationId ?? m.batch.activeOperationId)
|
|
35229
35229
|
), R = U(), B = U();
|
|
35230
35230
|
function E(X) {
|
|
@@ -35664,7 +35664,7 @@ const w9 = ["data-cancelled-steps"], y9 = /* @__PURE__ */ Xe({
|
|
|
35664
35664
|
onClick: te[11] || (te[11] = it((K) => u("close"), ["self"]))
|
|
35665
35665
|
}, {
|
|
35666
35666
|
default: xe(() => [
|
|
35667
|
-
me(c(Re).aside,
|
|
35667
|
+
me(c(Re).aside, Ia(c(Ui), {
|
|
35668
35668
|
class: "task-drawer",
|
|
35669
35669
|
"data-material-static": "",
|
|
35670
35670
|
role: "dialog",
|
|
@@ -36051,7 +36051,7 @@ const w9 = ["data-cancelled-steps"], y9 = /* @__PURE__ */ Xe({
|
|
|
36051
36051
|
title: c(m).batch.items.some((je) => je.id === ae.itemId) ? void 0 : c(t)("common.historyDrawer_8efc886c"),
|
|
36052
36052
|
onClick: (je) => u("open", ae.itemId, ae.id)
|
|
36053
36053
|
}, [
|
|
36054
|
-
ue(ae) ? (P(), ye(gl,
|
|
36054
|
+
ue(ae) ? (P(), ye(gl, Ia({
|
|
36055
36055
|
key: 0,
|
|
36056
36056
|
ref_for: !0
|
|
36057
36057
|
}, ue(ae)), null, 16)) : j("", !0),
|
|
@@ -36199,7 +36199,7 @@ const w9 = ["data-cancelled-steps"], y9 = /* @__PURE__ */ Xe({
|
|
|
36199
36199
|
_: 1
|
|
36200
36200
|
}));
|
|
36201
36201
|
}
|
|
36202
|
-
}), cz = /* @__PURE__ */ tt(lz, [["__scopeId", "data-v-
|
|
36202
|
+
}), cz = /* @__PURE__ */ tt(lz, [["__scopeId", "data-v-8e18e559"]]), ib = Symbol("batch-workspace-slots");
|
|
36203
36203
|
function dz() {
|
|
36204
36204
|
return Jo(ib, void 0);
|
|
36205
36205
|
}
|
|
@@ -36808,7 +36808,7 @@ const _z = ["data-zoom"], vz = {
|
|
|
36808
36808
|
}, [
|
|
36809
36809
|
z("div", {
|
|
36810
36810
|
class: "lc-scroll-content",
|
|
36811
|
-
style:
|
|
36811
|
+
style: Do({
|
|
36812
36812
|
minWidth: `${F.value + a.fitPadding * 2}px`,
|
|
36813
36813
|
minHeight: `${L.value + R.value + a.fitPadding * 2}px`
|
|
36814
36814
|
})
|
|
@@ -36816,7 +36816,7 @@ const _z = ["data-zoom"], vz = {
|
|
|
36816
36816
|
k.value && E.value > 0 ? (P(), I("div", {
|
|
36817
36817
|
key: 0,
|
|
36818
36818
|
class: He(["lc-canvas-stack", { "lc-floating-labels": e.floatingLabels }]),
|
|
36819
|
-
style:
|
|
36819
|
+
style: Do({ width: `${F.value}px` })
|
|
36820
36820
|
}, [
|
|
36821
36821
|
e.compare && e.resultUrl && io.value === void 0 ? (P(), I("div", vz, [
|
|
36822
36822
|
z("span", null, C(e.sourceLabel), 1),
|
|
@@ -36831,7 +36831,7 @@ const _z = ["data-zoom"], vz = {
|
|
|
36831
36831
|
lo.value,
|
|
36832
36832
|
{ "lc-disabled": e.disabled }
|
|
36833
36833
|
]),
|
|
36834
|
-
style:
|
|
36834
|
+
style: Do({ width: `${F.value}px`, height: `${L.value}px`, backgroundColor: e.backgroundColor }),
|
|
36835
36835
|
onPointerdown: ue,
|
|
36836
36836
|
onPointermove: Z,
|
|
36837
36837
|
onPointerup: Se,
|
|
@@ -36842,7 +36842,7 @@ const _z = ["data-zoom"], vz = {
|
|
|
36842
36842
|
z("img", {
|
|
36843
36843
|
class: "lc-layer lc-source",
|
|
36844
36844
|
src: e.sourceUrl,
|
|
36845
|
-
style:
|
|
36845
|
+
style: Do(
|
|
36846
36846
|
e.sourceRect ? {
|
|
36847
36847
|
left: `${e.sourceRect.x / e.width * 100}%`,
|
|
36848
36848
|
top: `${e.sourceRect.y / e.height * 100}%`,
|
|
@@ -36868,16 +36868,16 @@ const _z = ["data-zoom"], vz = {
|
|
|
36868
36868
|
io.value === void 0 ? (P(), I("div", {
|
|
36869
36869
|
key: 0,
|
|
36870
36870
|
class: He(["lc-layer lc-result-backing", e.backgroundColor ? "" : `lc-bg-${e.background}`]),
|
|
36871
|
-
style:
|
|
36871
|
+
style: Do({ clipPath: po.value, backgroundColor: e.backgroundColor })
|
|
36872
36872
|
}, null, 6)) : j("", !0),
|
|
36873
36873
|
z("div", {
|
|
36874
36874
|
class: "lc-layer lc-result",
|
|
36875
|
-
style:
|
|
36875
|
+
style: Do({ clipPath: po.value, opacity: io.value })
|
|
36876
36876
|
}, [
|
|
36877
36877
|
z("img", {
|
|
36878
36878
|
src: e.resultUrl,
|
|
36879
36879
|
alt: e.resultAlt,
|
|
36880
|
-
style:
|
|
36880
|
+
style: Do(
|
|
36881
36881
|
e.resultRect ? {
|
|
36882
36882
|
left: `${e.resultRect.x / e.width * 100}%`,
|
|
36883
36883
|
top: `${e.resultRect.y / e.height * 100}%`,
|
|
@@ -36912,7 +36912,7 @@ const _z = ["data-zoom"], vz = {
|
|
|
36912
36912
|
e.compare && e.resultUrl && io.value === void 0 ? (P(), I(Ve, { key: 4 }, [
|
|
36913
36913
|
z("span", {
|
|
36914
36914
|
class: "lc-wipe-line",
|
|
36915
|
-
style:
|
|
36915
|
+
style: Do({ left: `${so.value}%` }),
|
|
36916
36916
|
"aria-hidden": "true"
|
|
36917
36917
|
}, [...pe[10] || (pe[10] = [
|
|
36918
36918
|
z("span", null, "↔", -1)
|
|
@@ -37066,7 +37066,7 @@ const _z = ["data-zoom"], vz = {
|
|
|
37066
37066
|
},
|
|
37067
37067
|
emits: ["update:options", "update:scope", "update:previewId", "update:previewExpanded", "preview", "start", "cancel", "close", "download", "open-svg"],
|
|
37068
37068
|
setup(e, { emit: o }) {
|
|
37069
|
-
const { ui: t, uiText: a } =
|
|
37069
|
+
const { ui: t, uiText: a } = Io(), { exportByteChange: r, exportExclusionText: n } = Xd(t), s = e, i = o, l = q(() => s.scope === "selected" ? s.selectedCount : s.allCount), d = q(
|
|
37070
37070
|
() => s.options.format === "jpeg" || s.options.format === "webp" || s.options.format === "gif"
|
|
37071
37071
|
), u = q(() => Math.round(s.options.quality * 100)), p = U("settings");
|
|
37072
37072
|
Pe(
|
|
@@ -37200,7 +37200,7 @@ const _z = ["data-zoom"], vz = {
|
|
|
37200
37200
|
onChange: N
|
|
37201
37201
|
}, [
|
|
37202
37202
|
z("option", Hz, C(c(t)("common.exportDialog_c2ef509f")), 1),
|
|
37203
|
-
ue[14] || (ue[14] = Tb('<option value="png" data-v-
|
|
37203
|
+
ue[14] || (ue[14] = Tb('<option value="png" data-v-7e4ad7b0>PNG</option><option value="jpeg" data-v-7e4ad7b0>JPEG</option><option value="webp" data-v-7e4ad7b0>WebP</option><option value="gif" data-v-7e4ad7b0>GIF</option><option value="tga" data-v-7e4ad7b0>TGA</option>', 5))
|
|
37204
37204
|
], 40, Wz)
|
|
37205
37205
|
]),
|
|
37206
37206
|
z("span", {
|
|
@@ -37251,7 +37251,7 @@ const _z = ["data-zoom"], vz = {
|
|
|
37251
37251
|
z("span", null, C(c(t)("common.exportDialog_1d7704db")), 1),
|
|
37252
37252
|
z("label", {
|
|
37253
37253
|
class: "color-ring",
|
|
37254
|
-
style:
|
|
37254
|
+
style: Do({ "--chosen-color": e.options.jpegBackground }),
|
|
37255
37255
|
title: c(t)("common.exportDialog_c3371c10", { p0: e.options.jpegBackground })
|
|
37256
37256
|
}, [
|
|
37257
37257
|
z("input", {
|
|
@@ -37537,7 +37537,7 @@ const _z = ["data-zoom"], vz = {
|
|
|
37537
37537
|
])
|
|
37538
37538
|
], 42, Mz));
|
|
37539
37539
|
}
|
|
37540
|
-
}), QD = /* @__PURE__ */ tt(YD, [["__scopeId", "data-v-
|
|
37540
|
+
}), QD = /* @__PURE__ */ tt(YD, [["__scopeId", "data-v-7e4ad7b0"]]);
|
|
37541
37541
|
function eC(e, o, t, a, r, n) {
|
|
37542
37542
|
const s = U(!1), i = U({ ...fh }), l = U("selected"), d = U(""), u = U(!1), p = U(), h = U(!1), g = U(!1), _ = U(), m = U(), y = U(""), b = U(""), w = U(""), k = U([]);
|
|
37543
37543
|
let v, R, B, E, A = 0, M = 0, N = !1;
|
|
@@ -38007,7 +38007,7 @@ const iC = ["src"], sC = {
|
|
|
38007
38007
|
},
|
|
38008
38008
|
emits: ["draft-size"],
|
|
38009
38009
|
setup(e, { emit: o }) {
|
|
38010
|
-
const { ui: t, uiText: a } =
|
|
38010
|
+
const { ui: t, uiText: a } = Io(), r = e, n = o, s = l6(), i = U(), l = U(""), d = U(!1), u = U("");
|
|
38011
38011
|
let p = 0, h = "", g, _;
|
|
38012
38012
|
function m() {
|
|
38013
38013
|
l.value && URL.revokeObjectURL(l.value), l.value = "", i.value = void 0;
|
|
@@ -38127,7 +38127,7 @@ const iC = ["src"], sC = {
|
|
|
38127
38127
|
}), (F, L) => (P(), I(Ve, null, [
|
|
38128
38128
|
z("div", {
|
|
38129
38129
|
class: He(["basic-preview-overlay", l.value || v.value?.kind === "render" ? `lc-bg-${e.background}` : void 0]),
|
|
38130
|
-
style:
|
|
38130
|
+
style: Do(A.value),
|
|
38131
38131
|
"aria-hidden": "true"
|
|
38132
38132
|
}, [
|
|
38133
38133
|
v.value?.kind === "render" && k.value ? (P(), ye(Yg, {
|
|
@@ -38142,17 +38142,17 @@ const iC = ["src"], sC = {
|
|
|
38142
38142
|
l.value ? (P(), I("img", {
|
|
38143
38143
|
key: 1,
|
|
38144
38144
|
class: He(["basic-adjust-image", { "basic-orient-image": e.recipe.tool === "orient" }]),
|
|
38145
|
-
style:
|
|
38145
|
+
style: Do(M.value),
|
|
38146
38146
|
src: l.value,
|
|
38147
38147
|
alt: ""
|
|
38148
38148
|
}, null, 14, iC)) : j("", !0),
|
|
38149
38149
|
N.value ? (P(), I("div", {
|
|
38150
38150
|
key: 2,
|
|
38151
38151
|
class: "basic-crop-frame",
|
|
38152
|
-
style:
|
|
38152
|
+
style: Do(N.value)
|
|
38153
38153
|
}, null, 4)) : j("", !0)
|
|
38154
38154
|
], 6),
|
|
38155
|
-
(P(), ye(
|
|
38155
|
+
(P(), ye(Da, {
|
|
38156
38156
|
to: e.captionTarget ?? "body",
|
|
38157
38157
|
disabled: !e.captionTarget
|
|
38158
38158
|
}, [
|
|
@@ -38192,7 +38192,7 @@ const iC = ["src"], sC = {
|
|
|
38192
38192
|
},
|
|
38193
38193
|
emits: ["update:modelValue"],
|
|
38194
38194
|
setup(e, { emit: o }) {
|
|
38195
|
-
const { ui: t, uiText: a } =
|
|
38195
|
+
const { ui: t, uiText: a } = Io(), r = o, n = [
|
|
38196
38196
|
{ value: "checker", label: "透明棋盘背景" },
|
|
38197
38197
|
{ value: "white", label: "白色背景" },
|
|
38198
38198
|
{ value: "black", label: "黑色背景" }
|
|
@@ -38219,7 +38219,7 @@ const iC = ["src"], sC = {
|
|
|
38219
38219
|
lir: {}
|
|
38220
38220
|
},
|
|
38221
38221
|
setup(e) {
|
|
38222
|
-
const { ui: o, uiText: t } =
|
|
38222
|
+
const { ui: o, uiText: t } = Io(), a = e, r = Wg(() => a.lir.productAssets), n = (s) => r.get(s);
|
|
38223
38223
|
return (s, i) => (P(), I("details", gC, [
|
|
38224
38224
|
z("summary", null, C(c(o)("tools.listing_remake.lirResultDetails_21cc0e4f", { p0: e.lir.productAssets.length })), 1),
|
|
38225
38225
|
z("div", bC, [
|
|
@@ -38252,7 +38252,7 @@ const iC = ["src"], sC = {
|
|
|
38252
38252
|
wipe: {}
|
|
38253
38253
|
},
|
|
38254
38254
|
setup(e) {
|
|
38255
|
-
const { ui: o, uiText: t } =
|
|
38255
|
+
const { ui: o, uiText: t } = Io(), a = e, r = (i) => {
|
|
38256
38256
|
const l = nb(
|
|
38257
38257
|
a.box,
|
|
38258
38258
|
i || { x: 0, y: 0, width: a.width, height: a.height }
|
|
@@ -38268,24 +38268,24 @@ const iC = ["src"], sC = {
|
|
|
38268
38268
|
e.compare ? (P(), I("div", {
|
|
38269
38269
|
key: 0,
|
|
38270
38270
|
class: "translation-clip",
|
|
38271
|
-
style:
|
|
38271
|
+
style: Do({ clipPath: `inset(0 ${100 - e.wipe}% 0 0)` })
|
|
38272
38272
|
}, [
|
|
38273
38273
|
z("div", {
|
|
38274
38274
|
class: "translation-region",
|
|
38275
38275
|
"data-side": "source",
|
|
38276
|
-
style:
|
|
38276
|
+
style: Do(n.value)
|
|
38277
38277
|
}, [
|
|
38278
38278
|
z("span", null, C(c(o)("tools.image_translation.translationRegions_a924d739")), 1)
|
|
38279
38279
|
], 4)
|
|
38280
38280
|
], 4)) : j("", !0),
|
|
38281
38281
|
z("div", {
|
|
38282
38282
|
class: "translation-clip",
|
|
38283
|
-
style:
|
|
38283
|
+
style: Do(e.compare ? { clipPath: `inset(0 0 0 ${e.wipe}%)` } : void 0)
|
|
38284
38284
|
}, [
|
|
38285
38285
|
z("div", {
|
|
38286
38286
|
class: "translation-region",
|
|
38287
38287
|
"data-side": "result",
|
|
38288
|
-
style:
|
|
38288
|
+
style: Do(s.value)
|
|
38289
38289
|
}, [
|
|
38290
38290
|
z("span", null, C(e.compare ? c(o)("tools.image_translation.translationRegions_fe8669d1") : c(o)("tools.image_translation.translationRegions_031b6c8c")), 1)
|
|
38291
38291
|
], 4)
|
|
@@ -38364,7 +38364,7 @@ const iC = ["src"], sC = {
|
|
|
38364
38364
|
},
|
|
38365
38365
|
emits: ["panStart", "close", "previous", "next", "retry", "scale", "compare", "history", "translationDetails", "zoomChange"],
|
|
38366
38366
|
setup(e, { expose: o, emit: t }) {
|
|
38367
|
-
const { ui: a, uiText: r, uiTargetLanguage: n } =
|
|
38367
|
+
const { ui: a, uiText: r, uiTargetLanguage: n } = Io(), s = eb(a), i = e, l = t, d = i.task?.details?.analysis?.findings.find((ee) => ee.box)?.box, u = U(
|
|
38368
38368
|
!i.embedded || !!(i.task?.details?.analysis && i.resultUrl)
|
|
38369
38369
|
), p = U(d ? (d[1] + d[3]) / 20 : 50), h = U("checker"), g = U(i.initialZoom ?? "fit"), _ = U(1), m = U(!0), y = U(!1), b = U(!1), w = U(!1), k = q(
|
|
38370
38370
|
() => !!i.resultUrl && !!i.task?.exportArtifact && i.svgComparisonEnabled !== !1
|
|
@@ -38655,7 +38655,7 @@ const iC = ["src"], sC = {
|
|
|
38655
38655
|
z("div", FC, [
|
|
38656
38656
|
me(c(Fa), null, {
|
|
38657
38657
|
default: xe(() => [
|
|
38658
|
-
y.value && F.value ? (P(), ye(c(Re).aside,
|
|
38658
|
+
y.value && F.value ? (P(), ye(c(Re).aside, Ia({ key: "risks" }, c(Ui), {
|
|
38659
38659
|
class: "risk-findings",
|
|
38660
38660
|
role: "region",
|
|
38661
38661
|
"aria-label": c(a)("common.imageViewer_33f4e2f1")
|
|
@@ -38835,7 +38835,7 @@ const iC = ["src"], sC = {
|
|
|
38835
38835
|
params: e.basicRecipe.params,
|
|
38836
38836
|
background: R.value
|
|
38837
38837
|
}, null, 8, ["source-url", "width", "height", "params", "background"])) : j("", !0),
|
|
38838
|
-
(P(), ye(
|
|
38838
|
+
(P(), ye(Da, {
|
|
38839
38839
|
to: e.captionTarget ?? "body",
|
|
38840
38840
|
disabled: !e.captionTarget
|
|
38841
38841
|
}, [
|
|
@@ -38866,11 +38866,11 @@ const iC = ["src"], sC = {
|
|
|
38866
38866
|
m.value && F.value ? (P(), I(Ve, { key: 5 }, [
|
|
38867
38867
|
z("div", {
|
|
38868
38868
|
class: "risk-clip",
|
|
38869
|
-
style:
|
|
38869
|
+
style: Do({ clipPath: oe.value })
|
|
38870
38870
|
}, [
|
|
38871
38871
|
(P(), I("svg", {
|
|
38872
38872
|
class: "risk-overlay source",
|
|
38873
|
-
style:
|
|
38873
|
+
style: Do(he.value),
|
|
38874
38874
|
viewBox: "0 0 1000 1000",
|
|
38875
38875
|
preserveAspectRatio: "none",
|
|
38876
38876
|
"aria-hidden": "true"
|
|
@@ -38888,11 +38888,11 @@ const iC = ["src"], sC = {
|
|
|
38888
38888
|
Q.value ? (P(), I("div", {
|
|
38889
38889
|
key: 0,
|
|
38890
38890
|
class: "risk-clip",
|
|
38891
|
-
style:
|
|
38891
|
+
style: Do({ clipPath: ce.value })
|
|
38892
38892
|
}, [
|
|
38893
38893
|
(P(), I("svg", {
|
|
38894
38894
|
class: "risk-overlay result",
|
|
38895
|
-
style:
|
|
38895
|
+
style: Do(he.value),
|
|
38896
38896
|
viewBox: "0 0 1000 1000",
|
|
38897
38897
|
preserveAspectRatio: "none",
|
|
38898
38898
|
"aria-hidden": "true"
|
|
@@ -38920,7 +38920,7 @@ const iC = ["src"], sC = {
|
|
|
38920
38920
|
se.value ? (P(), I("div", {
|
|
38921
38921
|
key: 7,
|
|
38922
38922
|
class: "expansion-outline",
|
|
38923
|
-
style:
|
|
38923
|
+
style: Do({
|
|
38924
38924
|
left: `${se.value.box.x / se.value.width * 100}%`,
|
|
38925
38925
|
top: `${se.value.box.y / se.value.height * 100}%`,
|
|
38926
38926
|
width: `${se.value.box.width / se.value.width * 100}%`,
|
|
@@ -39067,7 +39067,7 @@ const sI = ["aria-label", "title", "aria-expanded", "aria-keyshortcuts"], lI = {
|
|
|
39067
39067
|
},
|
|
39068
39068
|
emits: ["update:open"],
|
|
39069
39069
|
setup(e, { emit: o }) {
|
|
39070
|
-
const { ui: t, uiText: a } =
|
|
39070
|
+
const { ui: t, uiText: a } = Io(), r = Jo(ul, () => "body"), n = e, s = o, i = U(), l = q(() => [...new Set(Ys.map((h) => h.group))]);
|
|
39071
39071
|
let d = null, u = 0;
|
|
39072
39072
|
Pe(
|
|
39073
39073
|
() => n.open,
|
|
@@ -39112,7 +39112,7 @@ const sI = ["aria-label", "title", "aria-expanded", "aria-keyshortcuts"], lI = {
|
|
|
39112
39112
|
}),
|
|
39113
39113
|
z("span", null, C(c(t)("common.shortcutHelp_ee263818")), 1)
|
|
39114
39114
|
], 8, sI),
|
|
39115
|
-
(P(), ye(
|
|
39115
|
+
(P(), ye(Da, {
|
|
39116
39116
|
to: c(r)()
|
|
39117
39117
|
}, [
|
|
39118
39118
|
e.open ? (P(), I("div", {
|
|
@@ -39240,7 +39240,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39240
39240
|
onboardingObserver: {}
|
|
39241
39241
|
},
|
|
39242
39242
|
setup(e, { expose: o }) {
|
|
39243
|
-
const { ui: t, uiText: a, uiDate: r, uiNotice: n } =
|
|
39243
|
+
const { ui: t, uiText: a, uiDate: r, uiNotice: n } = Io(), s = Wi(), i = Hd(), l = U();
|
|
39244
39244
|
function d(S) {
|
|
39245
39245
|
return i?.config.value.visibility?.[S] !== !1;
|
|
39246
39246
|
}
|
|
@@ -39271,7 +39271,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39271
39271
|
}
|
|
39272
39272
|
return { tool: void 0, group: "file", entry: void 0 };
|
|
39273
39273
|
}
|
|
39274
|
-
const g = e, _ = () => import("./motionFeatures-
|
|
39274
|
+
const g = e, _ = () => import("./motionFeatures-D4miwXxc.js").then((S) => S.default), m = $n(), y = Jo(ul, () => "body"), b = M4({
|
|
39275
39275
|
batch: () => m.batch,
|
|
39276
39276
|
writable: () => m.writer,
|
|
39277
39277
|
addFile: (S) => m.addLocal([S]),
|
|
@@ -39493,7 +39493,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39493
39493
|
() => qt(),
|
|
39494
39494
|
{ deep: !0, flush: "sync" }
|
|
39495
39495
|
);
|
|
39496
|
-
const
|
|
39496
|
+
const Aa = U("automatic"), Mo = U("current"), Rt = U(), Wt = U("checker"), Dt = U(!1), ft = U();
|
|
39497
39497
|
function rn(S) {
|
|
39498
39498
|
ft.value = {
|
|
39499
39499
|
batchId: m.batch.id,
|
|
@@ -39507,14 +39507,14 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39507
39507
|
...S
|
|
39508
39508
|
};
|
|
39509
39509
|
}
|
|
39510
|
-
const
|
|
39510
|
+
const xo = U(""), Ke = eC(
|
|
39511
39511
|
() => m.batch,
|
|
39512
39512
|
m,
|
|
39513
39513
|
rC(),
|
|
39514
39514
|
rn,
|
|
39515
39515
|
() => oo.value ?? eo.value,
|
|
39516
39516
|
() => g.onboardingObserver
|
|
39517
|
-
), { open: Qo, busy: Wo } = Ke, Dr = mp(() => import("./BatchMaterials-
|
|
39517
|
+
), { open: Qo, busy: Wo } = Ke, Dr = mp(() => import("./BatchMaterials-niGKrga3.js")), ht = q(() => {
|
|
39518
39518
|
const S = Ih(m.batch), x = ft.value;
|
|
39519
39519
|
if (x?.batchId === m.batch.id) {
|
|
39520
39520
|
if (x.status === "running")
|
|
@@ -39590,7 +39590,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39590
39590
|
function Cr() {
|
|
39591
39591
|
Xt || De.value || !m.batch.operations.length && !ft.value || (Kt && clearTimeout(Kt), _t.value = !0);
|
|
39592
39592
|
}
|
|
39593
|
-
function
|
|
39593
|
+
function Ea() {
|
|
39594
39594
|
Ja.value || (Kt && clearTimeout(Kt), Kt = setTimeout(() => {
|
|
39595
39595
|
_t.value = !1;
|
|
39596
39596
|
}, 150));
|
|
@@ -39661,7 +39661,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39661
39661
|
x?.layer && (await uo(), G === Ki && Ba(() => x.layer?.(S.slice(0, 6).some(Boolean))));
|
|
39662
39662
|
}
|
|
39663
39663
|
);
|
|
39664
|
-
const
|
|
39664
|
+
const Sa = U("fit"), pa = U(!1), sn = U("");
|
|
39665
39665
|
function Xi() {
|
|
39666
39666
|
m.writer && (sn.value = m.batch.name, pa.value = !0, uo(() => w.value?.querySelector(".batch-name-input")?.focus()));
|
|
39667
39667
|
}
|
|
@@ -39670,24 +39670,24 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39670
39670
|
try {
|
|
39671
39671
|
m.renameBatch(sn.value), pa.value = !1;
|
|
39672
39672
|
} catch (S) {
|
|
39673
|
-
|
|
39673
|
+
xo.value = S.message;
|
|
39674
39674
|
}
|
|
39675
39675
|
}
|
|
39676
|
-
const
|
|
39676
|
+
const fa = U(!1);
|
|
39677
39677
|
let Hn = 0, Qa = !1, Ji = r4(
|
|
39678
39678
|
location.search,
|
|
39679
39679
|
vo.list()
|
|
39680
39680
|
);
|
|
39681
39681
|
const Yi = U(!1);
|
|
39682
39682
|
function ln() {
|
|
39683
|
-
m.ready && !
|
|
39683
|
+
m.ready && !fa.value && m.savePageView({
|
|
39684
39684
|
tool: M.value,
|
|
39685
39685
|
group: N.value,
|
|
39686
39686
|
entry: L.value,
|
|
39687
39687
|
drafts: F.value,
|
|
39688
39688
|
toolsOpen: oe.value,
|
|
39689
39689
|
zoom: no.value,
|
|
39690
|
-
viewerZoom:
|
|
39690
|
+
viewerZoom: Sa.value,
|
|
39691
39691
|
view: Fe.value,
|
|
39692
39692
|
focusedId: oo.value,
|
|
39693
39693
|
background: Wt.value,
|
|
@@ -39702,7 +39702,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39702
39702
|
F,
|
|
39703
39703
|
oe,
|
|
39704
39704
|
no,
|
|
39705
|
-
|
|
39705
|
+
Sa,
|
|
39706
39706
|
Fe,
|
|
39707
39707
|
oo,
|
|
39708
39708
|
Wt,
|
|
@@ -39713,7 +39713,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39713
39713
|
), Pe([() => m.ready, () => m.batch.id], async ([S, x]) => {
|
|
39714
39714
|
const G = ++Hn;
|
|
39715
39715
|
if (!S) {
|
|
39716
|
-
|
|
39716
|
+
fa.value = !1;
|
|
39717
39717
|
return;
|
|
39718
39718
|
}
|
|
39719
39719
|
const Ie = Ji;
|
|
@@ -39721,7 +39721,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39721
39721
|
const Ye = !Qa;
|
|
39722
39722
|
Qa = !0;
|
|
39723
39723
|
const We = () => G === Hn && m.ready && m.batch.id === x;
|
|
39724
|
-
|
|
39724
|
+
fa.value = !0;
|
|
39725
39725
|
const Te = m.pageView;
|
|
39726
39726
|
try {
|
|
39727
39727
|
if (m.workspaceAdapter) {
|
|
@@ -39737,15 +39737,15 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39737
39737
|
) && (L.value = Te.entry), Te.drafts && (F.value = nC(
|
|
39738
39738
|
Pn(Bt(), i?.config.value.parameterDefaults),
|
|
39739
39739
|
Te.drafts
|
|
39740
|
-
)), typeof Te.zoom == "number" && Te.zoom >= 0.75 && Te.zoom <= 1.5 && (no.value = Te.zoom), (Te.viewerZoom === "fit" || typeof Te.viewerZoom == "number" && Te.viewerZoom > 0.01 && Te.viewerZoom <= 8) && (
|
|
39740
|
+
)), typeof Te.zoom == "number" && Te.zoom >= 0.75 && Te.zoom <= 1.5 && (no.value = Te.zoom), (Te.viewerZoom === "fit" || typeof Te.viewerZoom == "number" && Te.viewerZoom > 0.01 && Te.viewerZoom <= 8) && (Sa.value = Te.viewerZoom), typeof Te.toolsOpen == "boolean" && (oe.value = Te.toolsOpen), (Te.background === "checker" || Te.background === "white" || Te.background === "black") && (Wt.value = Te.background), typeof Te.compare == "boolean" && (Dt.value = Te.compare), Te.view === "focus" && typeof Te.focusedId == "string" && m.batch.items.some((to) => to.id === Te.focusedId) && await It(Te.focusedId), !We()) return;
|
|
39741
39741
|
if (Ie.kind === "valid" && u(Ie.contribution.toolId, Ie.contribution.entryId) ? (N.value = Ie.contribution.groupId, M.value = Ie.contribution.toolId, L.value = Ie.contribution.entryId, Ie.contribution.toolId === "image_effects" && xn(Ie.contribution.entryId) && ai(Ie.contribution.entryId), oe.value = !0) : Ie.kind === "invalid" && (Yi.value = !0), i && (!p(N.value) || M.value && !u(M.value, L.value))) {
|
|
39742
39742
|
const to = h();
|
|
39743
39743
|
M.value = to.tool, N.value = to.group, L.value = to.entry;
|
|
39744
39744
|
}
|
|
39745
39745
|
if (M.value === "image_effects" && ue.value && (Ye || Ie.kind === "valid") && (se.value = !0), await uo(), !We()) return;
|
|
39746
|
-
|
|
39746
|
+
fa.value = !1, ln();
|
|
39747
39747
|
} finally {
|
|
39748
|
-
G === Hn && (
|
|
39748
|
+
G === Hn && (fa.value = !1);
|
|
39749
39749
|
}
|
|
39750
39750
|
});
|
|
39751
39751
|
function Qi() {
|
|
@@ -39760,7 +39760,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39760
39760
|
).length
|
|
39761
39761
|
), _l = q(
|
|
39762
39762
|
() => new Map([...m.itemTasks].map(([S, x]) => [S, x.status]))
|
|
39763
|
-
),
|
|
39763
|
+
), ga = q(
|
|
39764
39764
|
() => m.batch.items.filter((S) => {
|
|
39765
39765
|
if (Qe.value === "all") return !0;
|
|
39766
39766
|
if (Qe.value === "busy") return !!S.busyAttemptId;
|
|
@@ -39805,7 +39805,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39805
39805
|
() => Mo.value === "current" && Be.value ? Ae(Me.value, Be.value) : void 0
|
|
39806
39806
|
), yl = q(
|
|
39807
39807
|
() => Fe.value === "focus" && Mo.value === "current" && !!Be.value && Me.value?.tool === "crop" && Me.value.params.ratio === "alpha-bounds" && er.value === void 0
|
|
39808
|
-
),
|
|
39808
|
+
), ba = q(() => {
|
|
39809
39809
|
if (!Be.value) return;
|
|
39810
39810
|
if (Mo.value === "task")
|
|
39811
39811
|
return m.batch.attempts.find((x) => x.id === yo.value);
|
|
@@ -39814,7 +39814,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39814
39814
|
const S = jt.value;
|
|
39815
39815
|
return S?.fromAttemptId ? m.batch.attempts.find((x) => x.id === S.fromAttemptId) : m.itemTasks.get(Be.value.id);
|
|
39816
39816
|
}), Sr = q(
|
|
39817
|
-
() => !!Be.value && (Mo.value === "task" ? !!(
|
|
39817
|
+
() => !!Be.value && (Mo.value === "task" ? !!(ba.value?.result || ba.value?.partialResult || ba.value?.exportArtifact) : !!jt.value?.parentVersionId)
|
|
39818
39818
|
);
|
|
39819
39819
|
function as(S) {
|
|
39820
39820
|
return ac(m.batch, S);
|
|
@@ -39884,7 +39884,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39884
39884
|
return S?.errorCode === "UPSCALE_OUTPUT_TOO_LARGE" ? "file_budget" : S?.errorCode === "UPSCALE_RESOLUTION_SHORTFALL" ? "shortfall" : void 0;
|
|
39885
39885
|
});
|
|
39886
39886
|
function tr() {
|
|
39887
|
-
ta.value = void 0,
|
|
39887
|
+
ta.value = void 0, xo.value === np && (xo.value = "");
|
|
39888
39888
|
}
|
|
39889
39889
|
function oi() {
|
|
39890
39890
|
const S = m.batch.attempts.find((G) => G.id === ta.value), x = S && m.batch.operations.find((G) => G.id === S.operationId);
|
|
@@ -39913,7 +39913,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39913
39913
|
...Te.staging,
|
|
39914
39914
|
...Ye,
|
|
39915
39915
|
stagingMode: Ye.stagingMode ?? "shared_scene"
|
|
39916
|
-
} : We[Ie] = { ...Te[Ie], ...Ye }, Q.value++, F.value.aiEntries = We, L.value = Ie, N.value = "ai", M.value = G.toolId, oe.value = !0, De.value = !1, m.select([x.itemId]), ta.value = S,
|
|
39916
|
+
} : We[Ie] = { ...Te[Ie], ...Ye }, Q.value++, F.value.aiEntries = We, L.value = Ie, N.value = "ai", M.value = G.toolId, oe.value = !0, De.value = !1, m.select([x.itemId]), ta.value = S, xo.value = np;
|
|
39917
39917
|
}
|
|
39918
39918
|
function ss() {
|
|
39919
39919
|
d("history") && (ua(), Ir.value = void 0, dn.value = void 0, m.refreshHistory(), W.value = "batches", De.value = !0);
|
|
@@ -39921,14 +39921,14 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39921
39921
|
function ti() {
|
|
39922
39922
|
d("history") && (ua(), nn(), Ir.value = void 0, m.refreshHistory(), W.value = "tasks", dn.value = m.attentionItemIds[0], De.value = !0);
|
|
39923
39923
|
}
|
|
39924
|
-
const
|
|
39924
|
+
const ha = q(
|
|
39925
39925
|
() => m.batch.items.findIndex((S) => S.id === oo.value)
|
|
39926
|
-
),
|
|
39927
|
-
() => Mo.value === "task" ?
|
|
39926
|
+
), _a = q(
|
|
39927
|
+
() => Mo.value === "task" ? ba.value?.details?.disclosure ?? void 0 : jt.value?.disclosure
|
|
39928
39928
|
);
|
|
39929
39929
|
function aa(S) {
|
|
39930
39930
|
if (!p(S)) {
|
|
39931
|
-
|
|
39931
|
+
xo.value = "当前接入尚未配置此工具的执行能力";
|
|
39932
39932
|
return;
|
|
39933
39933
|
}
|
|
39934
39934
|
if (tr(), he.value = !1, ge.value = null, L.value = void 0, !oe.value && N.value === S) {
|
|
@@ -39943,7 +39943,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39943
39943
|
}
|
|
39944
39944
|
function ls() {
|
|
39945
39945
|
if (!u("vectorize_svg")) {
|
|
39946
|
-
|
|
39946
|
+
xo.value = "当前配置未开放SVG工具";
|
|
39947
39947
|
return;
|
|
39948
39948
|
}
|
|
39949
39949
|
Ke.close(), aa("file"), M.value = "vectorize_svg";
|
|
@@ -39971,23 +39971,23 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
39971
39971
|
function rr() {
|
|
39972
39972
|
if (Fe.value === "focus") ii();
|
|
39973
39973
|
else {
|
|
39974
|
-
const S = eo.value && m.batch.items.some((x) => x.id === eo.value) ? eo.value : m.batch.selectedIds[0] ??
|
|
39974
|
+
const S = eo.value && m.batch.items.some((x) => x.id === eo.value) ? eo.value : m.batch.selectedIds[0] ?? ga.value[0]?.id;
|
|
39975
39975
|
S && It(S);
|
|
39976
39976
|
}
|
|
39977
39977
|
}
|
|
39978
|
-
function
|
|
39978
|
+
function va() {
|
|
39979
39979
|
Fe.value === "focus" && !Lt.value && !et.value && !ee.value && !De.value && !Bo.value && !Qo.value && !co() && w.value?.querySelector(".focus-surface")?.focus({ preventScroll: !0 });
|
|
39980
39980
|
}
|
|
39981
39981
|
function Cl(S) {
|
|
39982
|
-
S.detail > 0 && uo(
|
|
39982
|
+
S.detail > 0 && uo(va);
|
|
39983
39983
|
}
|
|
39984
39984
|
function nr(S) {
|
|
39985
|
-
S.target instanceof Element && S.target.classList.contains("lc-scroll") &&
|
|
39985
|
+
S.target instanceof Element && S.target.classList.contains("lc-scroll") && va();
|
|
39986
39986
|
}
|
|
39987
39987
|
function La(S) {
|
|
39988
39988
|
S.target instanceof Element && !S.target.closest(
|
|
39989
39989
|
"button,input,select,textarea,a,[role=slider],[role=button],[contenteditable]"
|
|
39990
|
-
) &&
|
|
39990
|
+
) && va();
|
|
39991
39991
|
}
|
|
39992
39992
|
function ri(S) {
|
|
39993
39993
|
qt(), Fe.value === "focus" ? S > 0 ? io.value?.zoomIn() : io.value?.zoomOut() : no.value = Math.max(0.75, Math.min(1.5, no.value + S * 0.25));
|
|
@@ -40002,9 +40002,9 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40002
40002
|
async function V(S) {
|
|
40003
40003
|
if (Be.value)
|
|
40004
40004
|
try {
|
|
40005
|
-
await m.restoreVersion(Be.value.id, S), zt(), dt.value = f(Be.value, S), Xa = setTimeout(zt, 1600), Mo.value = "current", Rt.value = void 0, ee.value = !1, uo(
|
|
40005
|
+
await m.restoreVersion(Be.value.id, S), zt(), dt.value = f(Be.value, S), Xa = setTimeout(zt, 1600), Mo.value = "current", Rt.value = void 0, ee.value = !1, uo(va);
|
|
40006
40006
|
} catch (x) {
|
|
40007
|
-
|
|
40007
|
+
xo.value = x.message;
|
|
40008
40008
|
}
|
|
40009
40009
|
}
|
|
40010
40010
|
function O(S) {
|
|
@@ -40014,14 +40014,14 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40014
40014
|
try {
|
|
40015
40015
|
m.undoAction() && (zt(), Mo.value = "current", Rt.value = void 0, oo.value && It(oo.value));
|
|
40016
40016
|
} catch (S) {
|
|
40017
|
-
|
|
40017
|
+
xo.value = S.message;
|
|
40018
40018
|
}
|
|
40019
40019
|
}
|
|
40020
40020
|
function re() {
|
|
40021
40021
|
try {
|
|
40022
40022
|
m.redoAction() && (zt(), Mo.value = "current", Rt.value = void 0, oo.value && It(oo.value));
|
|
40023
40023
|
} catch (S) {
|
|
40024
|
-
|
|
40024
|
+
xo.value = S.message;
|
|
40025
40025
|
}
|
|
40026
40026
|
}
|
|
40027
40027
|
function ie() {
|
|
@@ -40045,7 +40045,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40045
40045
|
S.shiftKey && document.activeElement === G ? (S.preventDefault(), Ie?.focus()) : !S.shiftKey && document.activeElement === Ie && (S.preventDefault(), G?.focus());
|
|
40046
40046
|
}
|
|
40047
40047
|
function fe() {
|
|
40048
|
-
const S =
|
|
40048
|
+
const S = ha.value;
|
|
40049
40049
|
if (m.deleteSelected() && oo.value && !m.batch.items.some((x) => x.id === oo.value)) {
|
|
40050
40050
|
const x = m.batch.items[Math.min(S, m.batch.items.length - 1)];
|
|
40051
40051
|
x ? It(x.id) : ii();
|
|
@@ -40061,13 +40061,13 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40061
40061
|
});
|
|
40062
40062
|
};
|
|
40063
40063
|
if (!go.value)
|
|
40064
|
-
return x(
|
|
40065
|
-
const G = new Set(
|
|
40064
|
+
return x(ga.value), S;
|
|
40065
|
+
const G = new Set(ga.value.map((We) => We.id));
|
|
40066
40066
|
for (const We of m.batch.groups) {
|
|
40067
40067
|
const Te = We.itemIds.filter((to) => G.has(to));
|
|
40068
40068
|
Te.length && (S.push({ kind: "group", id: We.id, label: We.label, itemIds: Te }), x(Te.map((to) => m.batch.items.find((Jt) => Jt.id === to)).filter((to) => !!to)));
|
|
40069
40069
|
}
|
|
40070
|
-
const Ie = new Set(m.batch.groups.flatMap((We) => We.itemIds)), Ye =
|
|
40070
|
+
const Ie = new Set(m.batch.groups.flatMap((We) => We.itemIds)), Ye = ga.value.filter((We) => !Ie.has(We.id));
|
|
40071
40071
|
return Ye.length && (S.push({
|
|
40072
40072
|
kind: "group",
|
|
40073
40073
|
id: "ungrouped",
|
|
@@ -40112,11 +40112,11 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40112
40112
|
case "delete":
|
|
40113
40113
|
return m.canDeleteSelected;
|
|
40114
40114
|
case "view":
|
|
40115
|
-
return Fe.value === "focus" || !!
|
|
40115
|
+
return Fe.value === "focus" || !!ga.value.length;
|
|
40116
40116
|
case "previous":
|
|
40117
|
-
return Fe.value === "focus" &&
|
|
40117
|
+
return Fe.value === "focus" && ha.value > 0;
|
|
40118
40118
|
case "next":
|
|
40119
|
-
return Fe.value === "focus" &&
|
|
40119
|
+
return Fe.value === "focus" && ha.value >= 0 && ha.value < m.batch.items.length - 1;
|
|
40120
40120
|
case "selectCurrent":
|
|
40121
40121
|
return m.writer && Fe.value === "focus" && !!Be.value;
|
|
40122
40122
|
case "help":
|
|
@@ -40262,15 +40262,15 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40262
40262
|
m.select(m.batch.items.map((S) => S.id));
|
|
40263
40263
|
}
|
|
40264
40264
|
function ub() {
|
|
40265
|
-
|
|
40265
|
+
xo.value = "", m.notice = "";
|
|
40266
40266
|
}
|
|
40267
40267
|
function pb() {
|
|
40268
|
-
m.select(
|
|
40268
|
+
m.select(ga.value.map((S) => S.id));
|
|
40269
40269
|
}
|
|
40270
40270
|
Pe(
|
|
40271
40271
|
() => m.expirySequence,
|
|
40272
40272
|
() => {
|
|
40273
|
-
Za(), b.invalidate(), Bo.value = !1, De.value = !1, pa.value = !1,
|
|
40273
|
+
Za(), b.invalidate(), Bo.value = !1, De.value = !1, pa.value = !1, xo.value = "", Dt.value = !1, Wt.value = "checker", Il();
|
|
40274
40274
|
},
|
|
40275
40275
|
{ flush: "sync" }
|
|
40276
40276
|
);
|
|
@@ -40296,23 +40296,23 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40296
40296
|
...L.value ? { entryId: L.value } : {}
|
|
40297
40297
|
});
|
|
40298
40298
|
} catch (x) {
|
|
40299
|
-
|
|
40299
|
+
xo.value = x.message;
|
|
40300
40300
|
}
|
|
40301
40301
|
}
|
|
40302
40302
|
async function xl() {
|
|
40303
40303
|
try {
|
|
40304
40304
|
if (Wo.value) throw Error("导出进行中,请等待结束后切换批次");
|
|
40305
|
-
await m.newWorkspace(), Za(), Il(),
|
|
40305
|
+
await m.newWorkspace(), Za(), Il(), xo.value = "";
|
|
40306
40306
|
} catch (S) {
|
|
40307
|
-
|
|
40307
|
+
xo.value = S.message;
|
|
40308
40308
|
}
|
|
40309
40309
|
}
|
|
40310
40310
|
async function nm(S) {
|
|
40311
40311
|
try {
|
|
40312
40312
|
if (Wo.value) throw Error("导出进行中,请等待结束后切换批次");
|
|
40313
|
-
await m.openBatch(S), Za(), m.workspaceAdapter || Il(), De.value = !1,
|
|
40313
|
+
await m.openBatch(S), Za(), m.workspaceAdapter || Il(), De.value = !1, xo.value = "";
|
|
40314
40314
|
} catch (x) {
|
|
40315
|
-
|
|
40315
|
+
xo.value = x.message;
|
|
40316
40316
|
}
|
|
40317
40317
|
}
|
|
40318
40318
|
async function fb() {
|
|
@@ -40354,9 +40354,9 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40354
40354
|
}
|
|
40355
40355
|
Je.submitted(Ye, Fr.id, xt.toolId, to), ta.value = void 0, E(Fr), ci && Hi(), ei = setTimeout(() => {
|
|
40356
40356
|
Mr.value = !1;
|
|
40357
|
-
}, 350),
|
|
40357
|
+
}, 350), xo.value = "";
|
|
40358
40358
|
} catch (G) {
|
|
40359
|
-
Mr.value = !1,
|
|
40359
|
+
Mr.value = !1, xo.value = G.message;
|
|
40360
40360
|
}
|
|
40361
40361
|
}
|
|
40362
40362
|
function gb(S) {
|
|
@@ -40366,9 +40366,9 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40366
40366
|
const x = S.target, G = x.files?.[0], Ie = cn.value;
|
|
40367
40367
|
if (x.value = "", cn.value = void 0, !(!G || !Ie))
|
|
40368
40368
|
try {
|
|
40369
|
-
await m.replaceLocal(Ie, G),
|
|
40369
|
+
await m.replaceLocal(Ie, G), xo.value = "";
|
|
40370
40370
|
} catch (Ye) {
|
|
40371
|
-
|
|
40371
|
+
xo.value = Ye.message;
|
|
40372
40372
|
}
|
|
40373
40373
|
}
|
|
40374
40374
|
function Al() {
|
|
@@ -40394,13 +40394,13 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40394
40394
|
async function It(S, x, G, Ie, Ye = !0) {
|
|
40395
40395
|
const We = m.batch.items.find((Xo) => Xo.id === S);
|
|
40396
40396
|
if (!We) return;
|
|
40397
|
-
|
|
40397
|
+
Aa.value = x ? "explicit" : "automatic";
|
|
40398
40398
|
const Te = x ? void 0 : ts(We), to = x ?? (Te ? "task" : "current");
|
|
40399
40399
|
Te && (G = Te.id), oo.value !== S && zt();
|
|
40400
40400
|
const Jt = to === "current" && oo.value !== S ? [...w.value?.querySelectorAll("[data-item-id] img") ?? []].find(
|
|
40401
40401
|
(Xo) => Xo.closest("[data-item-id]")?.dataset.itemId === S && Xo.complete && Xo.naturalWidth
|
|
40402
|
-
)?.currentSrc : void 0, xt =
|
|
40403
|
-
je.value = Fe.value === "focus" && oo.value !== S ? Math.sign(Ta - xt) : 0, So.value++, Fe.value === "grid" && to === "current" && !er.value ? zr(S) : qt(), Fe.value = "focus", Ye && uo(
|
|
40402
|
+
)?.currentSrc : void 0, xt = ha.value, Ta = m.batch.items.findIndex((Xo) => Xo.id === S);
|
|
40403
|
+
je.value = Fe.value === "focus" && oo.value !== S ? Math.sign(Ta - xt) : 0, So.value++, Fe.value === "grid" && to === "current" && !er.value ? zr(S) : qt(), Fe.value = "focus", Ye && uo(va), eo.value = S, yo.value = to === "task" ? G : void 0, Rt.value = to === "version" ? Ie : void 0, ae.value = "";
|
|
40404
40404
|
const fn = ++ni;
|
|
40405
40405
|
El(), oo.value = S, Mo.value = to, K.value = !1;
|
|
40406
40406
|
const Ma = to === "task" && G ? m.batch.attempts.find((Xo) => Xo.id === G) : void 0, Or = Ro(We), ci = to === "version" && Ie ? We.versions.find((Xo) => Xo.id === Ie) ?? Or : Or, Fr = to === "task" && Ma ? Ma.inputVersionId || Or.id : ci.parentVersionId ?? ci.id;
|
|
@@ -40454,7 +40454,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40454
40454
|
height: dm
|
|
40455
40455
|
};
|
|
40456
40456
|
};
|
|
40457
|
-
X.value = lm(bn), te.value = lm(gn), Dt.value = Sr.value && (!!
|
|
40457
|
+
X.value = lm(bn), te.value = lm(gn), Dt.value = Sr.value && (!!ba.value?.details?.analysis || !!ba.value?.exportArtifact), Dt.value && qt(), K.value = !0;
|
|
40458
40458
|
}
|
|
40459
40459
|
function si(S) {
|
|
40460
40460
|
const x = m.batch.items.findIndex((Ie) => Ie.id === oo.value), G = m.batch.items[x + S];
|
|
@@ -40468,7 +40468,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40468
40468
|
vl.value?.id
|
|
40469
40469
|
],
|
|
40470
40470
|
([S, x, G, Ie], [Ye, We, Te, to]) => {
|
|
40471
|
-
!x || x !== We || S !== Ye || (
|
|
40471
|
+
!x || x !== We || S !== Ye || (Aa.value === "automatic" ? (G !== Te || Ie !== to) && It(x, void 0, void 0, void 0, !1) : G !== Te && Mo.value === "current" && It(x, "current", void 0, void 0, !1));
|
|
40472
40472
|
}
|
|
40473
40473
|
);
|
|
40474
40474
|
const ds = q(() => {
|
|
@@ -40575,8 +40575,9 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40575
40575
|
onLoadCapture: Sl,
|
|
40576
40576
|
onErrorCapture: Sl,
|
|
40577
40577
|
class: He(["batch-shell", { "tools-collapsed": !oe.value, "tool-selected": !!M.value }]),
|
|
40578
|
-
inert: !c(m).ready ||
|
|
40579
|
-
"aria-busy": !c(m).ready ||
|
|
40578
|
+
inert: !c(m).ready || fa.value ? !0 : void 0,
|
|
40579
|
+
"aria-busy": !c(m).ready || fa.value,
|
|
40580
|
+
style: Do({ visibility: !c(m).ready || fa.value ? "hidden" : void 0 }),
|
|
40580
40581
|
"data-icon-motion-disabled": c(k) || c(v) ? !0 : void 0,
|
|
40581
40582
|
"data-flight-target": c(St) ? c(St).returning ? "grid" : "focus" : void 0,
|
|
40582
40583
|
onDragover: x[56] || (x[56] = it(() => {
|
|
@@ -40976,9 +40977,9 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
40976
40977
|
transition: c(ao),
|
|
40977
40978
|
class: "rail-history icon-motion-trigger",
|
|
40978
40979
|
onMouseenter: Cr,
|
|
40979
|
-
onMouseleave:
|
|
40980
|
+
onMouseleave: Ea,
|
|
40980
40981
|
onFocusin: Cr,
|
|
40981
|
-
onFocusout:
|
|
40982
|
+
onFocusout: Ea,
|
|
40982
40983
|
"aria-label": c(t)("common.app_c4d52826"),
|
|
40983
40984
|
title: Ht.value,
|
|
40984
40985
|
onClick: ti
|
|
@@ -41050,7 +41051,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41050
41051
|
"skipped-count": Yn.value.length,
|
|
41051
41052
|
"batch-id": c(m).batch.id,
|
|
41052
41053
|
"applied-count": hl.value,
|
|
41053
|
-
"current-disclosure": Fe.value === "focus" ?
|
|
41054
|
+
"current-disclosure": Fe.value === "focus" ? _a.value : void 0,
|
|
41054
41055
|
"current-name": Fe.value === "focus" ? Be.value?.name : void 0,
|
|
41055
41056
|
"trim-estimate-applied": yl.value,
|
|
41056
41057
|
"current-image-source": Fe.value === "focus" && Mo.value === "current" && K.value && Be.value && oo.value && !Zt.value.get(oo.value) ? {
|
|
@@ -41064,7 +41065,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41064
41065
|
onBack: zl,
|
|
41065
41066
|
onEntry: ai,
|
|
41066
41067
|
onTool: x[15] || (x[15] = (G) => {
|
|
41067
|
-
u(G) ? (L.value = void 0, M.value = G) :
|
|
41068
|
+
u(G) ? (L.value = void 0, M.value = G) : xo.value = "当前接入尚未配置此工具的执行能力";
|
|
41068
41069
|
}),
|
|
41069
41070
|
onExecute: fb
|
|
41070
41071
|
}, null, 8, ["retouch-modes", "upscale-modes", "beautification-modes", "svg-engines", "entry", "presentation", "draft-reset-generation", "upscale-recovery", "upscale-sources", "ai-available", "ai-checking", "ai-feedback", "onRefreshAi", "model-value", "svg-result", "group", "tool", "count", "available-count", "waiting-count", "blocked-count", "submitting", "visible", "writer", "available-tools", "available-node-tools", "max-lir-references", "available-cutout-modes", "skipped-count", "batch-id", "applied-count", "current-disclosure", "current-name", "trim-estimate-applied", "current-image-source", "viewing-snapshot", "current-width", "current-height"]), [
|
|
@@ -41128,10 +41129,10 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41128
41129
|
z("span", null, C(c(a)(
|
|
41129
41130
|
f(Be.value, jt.value?.id ?? Be.value.currentVersionId)
|
|
41130
41131
|
)), 1),
|
|
41131
|
-
|
|
41132
|
+
_a.value ? (P(), I("span", BI, C(c(a)(_a.value.reason)), 1)) : j("", !0)
|
|
41132
41133
|
])
|
|
41133
41134
|
]),
|
|
41134
|
-
z("span", NI, C(
|
|
41135
|
+
z("span", NI, C(ha.value + 1) + " / " + C(c(m).batch.items.length), 1),
|
|
41135
41136
|
Mo.value === "version" && jt.value ? (P(), I("span", GI, C(c(t)("common.app_11b441c1", { p0: f(Be.value, jt.value.id) })), 1)) : j("", !0)
|
|
41136
41137
|
]),
|
|
41137
41138
|
z("div", UI, [
|
|
@@ -41173,7 +41174,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41173
41174
|
z("div", qI, [
|
|
41174
41175
|
me(c(Fa), null, {
|
|
41175
41176
|
default: xe(() => [
|
|
41176
|
-
|
|
41177
|
+
xo.value || c(m).notice ? (P(), ye(c(Re).div, {
|
|
41177
41178
|
key: "notice",
|
|
41178
41179
|
initial: { opacity: 0, y: -3 },
|
|
41179
41180
|
animate: { opacity: 1, y: 0 },
|
|
@@ -41183,7 +41184,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41183
41184
|
role: "status"
|
|
41184
41185
|
}, {
|
|
41185
41186
|
default: xe(() => [
|
|
41186
|
-
z("span", null, C(c(n)(
|
|
41187
|
+
z("span", null, C(c(n)(xo.value || c(m).notice)), 1),
|
|
41187
41188
|
me(c(Re).button, {
|
|
41188
41189
|
"while-press": { scale: 0.97 },
|
|
41189
41190
|
transition: c(ao),
|
|
@@ -41298,7 +41299,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41298
41299
|
disabled: !c(m).writer
|
|
41299
41300
|
}, {
|
|
41300
41301
|
default: xe(() => [
|
|
41301
|
-
Le(C(c(t)("common.app_41dec731", { p0:
|
|
41302
|
+
Le(C(c(t)("common.app_41dec731", { p0: ga.value.length })), 1)
|
|
41302
41303
|
]),
|
|
41303
41304
|
_: 1
|
|
41304
41305
|
}, 8, ["transition", "disabled"])
|
|
@@ -41324,15 +41325,15 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41324
41325
|
ref: le,
|
|
41325
41326
|
class: "image-scroller grid"
|
|
41326
41327
|
}, [
|
|
41327
|
-
c(m).batch.items.length ?
|
|
41328
|
+
c(m).batch.items.length ? ga.value.length ? (P(), I("div", {
|
|
41328
41329
|
key: 2,
|
|
41329
41330
|
class: "virtual-content",
|
|
41330
|
-
style:
|
|
41331
|
+
style: Do({ height: `${c(Ge).getTotalSize()}px` })
|
|
41331
41332
|
}, [
|
|
41332
41333
|
(P(!0), I(Ve, null, wo(be.value, (G) => (P(), I("div", {
|
|
41333
41334
|
key: String(G.key),
|
|
41334
41335
|
class: "virtual-row",
|
|
41335
|
-
style:
|
|
41336
|
+
style: Do({ transform: `translateY(${G.start}px)`, height: `${G.size}px` })
|
|
41336
41337
|
}, [
|
|
41337
41338
|
Ce.value[G.index]?.kind === "group" ? (P(), I("div", hx, [
|
|
41338
41339
|
me(c(Re).button, {
|
|
@@ -41352,7 +41353,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41352
41353
|
])) : (P(), I("div", {
|
|
41353
41354
|
key: 1,
|
|
41354
41355
|
class: "card-grid",
|
|
41355
|
-
style:
|
|
41356
|
+
style: Do({
|
|
41356
41357
|
gridTemplateColumns: `repeat(${_e.value}, minmax(0,1fr))`,
|
|
41357
41358
|
"--card-zoom": no.value
|
|
41358
41359
|
})
|
|
@@ -41427,9 +41428,9 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41427
41428
|
key: 2,
|
|
41428
41429
|
"space-pan-held": Ct.value,
|
|
41429
41430
|
onPanStart: mn,
|
|
41430
|
-
"initial-zoom":
|
|
41431
|
+
"initial-zoom": Sa.value,
|
|
41431
41432
|
onZoomChange: x[33] || (x[33] = (G) => {
|
|
41432
|
-
|
|
41433
|
+
Sa.value = G, ln();
|
|
41433
41434
|
}),
|
|
41434
41435
|
ref_key: "viewerRef",
|
|
41435
41436
|
ref: io,
|
|
@@ -41461,23 +41462,23 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41461
41462
|
"source-height": mt.value ? Pt.value : $.value,
|
|
41462
41463
|
"source-rect": mt.value ? void 0 : X.value,
|
|
41463
41464
|
"result-rect": mt.value ? void 0 : te.value,
|
|
41464
|
-
task:
|
|
41465
|
+
task: ba.value,
|
|
41465
41466
|
"queue-paused": c(m).batch.paused,
|
|
41466
41467
|
readonly: !c(m).writer,
|
|
41467
41468
|
"output-color": lo.value.outputColor,
|
|
41468
41469
|
"expansion-ratio": lo.value.expansionRatio,
|
|
41469
|
-
disclosure:
|
|
41470
|
+
disclosure: _a.value,
|
|
41470
41471
|
onHistory: ti,
|
|
41471
41472
|
"preview-background": Wt.value,
|
|
41472
41473
|
"compare-enabled": Dt.value,
|
|
41473
|
-
"svg-comparison-enabled": !!
|
|
41474
|
+
"svg-comparison-enabled": !!ba.value?.exportArtifact,
|
|
41474
41475
|
onCompare: x[34] || (x[34] = (G) => Dt.value = G),
|
|
41475
41476
|
onClose: ii,
|
|
41476
41477
|
onPrevious: x[35] || (x[35] = (G) => si(-1)),
|
|
41477
41478
|
onNext: x[36] || (x[36] = (G) => si(1)),
|
|
41478
41479
|
onRetry: x[37] || (x[37] = (G) => oo.value && It(
|
|
41479
41480
|
oo.value,
|
|
41480
|
-
|
|
41481
|
+
Aa.value === "automatic" ? void 0 : Mo.value,
|
|
41481
41482
|
yo.value,
|
|
41482
41483
|
Rt.value
|
|
41483
41484
|
)),
|
|
@@ -41503,7 +41504,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41503
41504
|
transition: c(ao),
|
|
41504
41505
|
onClick: x[39] || (x[39] = (G) => oo.value && It(
|
|
41505
41506
|
oo.value,
|
|
41506
|
-
|
|
41507
|
+
Aa.value === "automatic" ? void 0 : Mo.value,
|
|
41507
41508
|
yo.value,
|
|
41508
41509
|
Rt.value
|
|
41509
41510
|
))
|
|
@@ -41594,7 +41595,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41594
41595
|
]),
|
|
41595
41596
|
_: 1
|
|
41596
41597
|
}, 8, ["class", "layout-dependency"]),
|
|
41597
|
-
(P(), ye(
|
|
41598
|
+
(P(), ye(Da, {
|
|
41598
41599
|
to: c(y)()
|
|
41599
41600
|
}, [
|
|
41600
41601
|
me(c(Fa), null, {
|
|
@@ -41611,14 +41612,14 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41611
41612
|
onCancel: x[43] || (x[43] = (G) => c(m).cancelWaiting()),
|
|
41612
41613
|
onClose: qn,
|
|
41613
41614
|
onEnter: Cr,
|
|
41614
|
-
onLeave:
|
|
41615
|
+
onLeave: Ea,
|
|
41615
41616
|
onOpen: bl
|
|
41616
41617
|
}, null, 8, ["batch", "anchor", "export-session", "disabled", "feedback", "onPause", "onResume"])) : j("", !0)
|
|
41617
41618
|
]),
|
|
41618
41619
|
_: 1
|
|
41619
41620
|
})
|
|
41620
41621
|
], 8, ["to"])),
|
|
41621
|
-
(P(), ye(
|
|
41622
|
+
(P(), ye(Da, {
|
|
41622
41623
|
to: c(y)()
|
|
41623
41624
|
}, [
|
|
41624
41625
|
me(c(Fa), null, {
|
|
@@ -41633,7 +41634,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41633
41634
|
onClick: x[46] || (x[46] = it((G) => et.value = !1, ["self"]))
|
|
41634
41635
|
}, {
|
|
41635
41636
|
default: xe(() => [
|
|
41636
|
-
me(c(Re).section,
|
|
41637
|
+
me(c(Re).section, Ia(c(Nc), {
|
|
41637
41638
|
class: "import-modal delete-confirm-modal",
|
|
41638
41639
|
role: "dialog",
|
|
41639
41640
|
"aria-modal": "true",
|
|
@@ -41686,7 +41687,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41686
41687
|
]),
|
|
41687
41688
|
_: 1
|
|
41688
41689
|
}),
|
|
41689
|
-
(P(), ye(
|
|
41690
|
+
(P(), ye(Da, {
|
|
41690
41691
|
to: c(y)()
|
|
41691
41692
|
}, [
|
|
41692
41693
|
me(c(Fa), null, {
|
|
@@ -41773,7 +41774,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41773
41774
|
xl(), De.value = !1;
|
|
41774
41775
|
}),
|
|
41775
41776
|
onReconfigure: ar,
|
|
41776
|
-
onError: x[55] || (x[55] = (G) =>
|
|
41777
|
+
onError: x[55] || (x[55] = (G) => xo.value = G)
|
|
41777
41778
|
}, null, 8, ["operation-id", "export-session", "tab", "attention-item-id"])) : j("", !0)
|
|
41778
41779
|
]),
|
|
41779
41780
|
_: 1
|
|
@@ -41790,7 +41791,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41790
41791
|
onClick: it(T, ["self"])
|
|
41791
41792
|
}, {
|
|
41792
41793
|
default: xe(() => [
|
|
41793
|
-
me(c(Re).aside,
|
|
41794
|
+
me(c(Re).aside, Ia(c(Ui), {
|
|
41794
41795
|
class: "task-drawer version-drawer",
|
|
41795
41796
|
"data-material-static": "",
|
|
41796
41797
|
role: "dialog",
|
|
@@ -41875,7 +41876,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41875
41876
|
hidden: "",
|
|
41876
41877
|
onChange: bb
|
|
41877
41878
|
}, null, 544)
|
|
41878
|
-
],
|
|
41879
|
+
], 46, hI),
|
|
41879
41880
|
c(R) ? (P(), ye(l4, {
|
|
41880
41881
|
key: c(R).id,
|
|
41881
41882
|
receipt: c(R),
|
|
@@ -41893,7 +41894,7 @@ const hI = ["inert", "aria-busy", "data-icon-motion-disabled", "data-flight-targ
|
|
|
41893
41894
|
_: 1
|
|
41894
41895
|
}, 8, ["transition"]));
|
|
41895
41896
|
}
|
|
41896
|
-
}), jx = /* @__PURE__ */ tt(Vx, [["__scopeId", "data-v-
|
|
41897
|
+
}), jx = /* @__PURE__ */ tt(Vx, [["__scopeId", "data-v-41999461"]]);
|
|
41897
41898
|
function Ox(e, o, t) {
|
|
41898
41899
|
if (t) return e;
|
|
41899
41900
|
const r = {
|
|
@@ -42568,7 +42569,7 @@ function mb(e, o) {
|
|
|
42568
42569
|
[
|
|
42569
42570
|
...R.value ? [ct("p", { role: "alert" }, R.value)] : [],
|
|
42570
42571
|
ct(jx, { ref: v }),
|
|
42571
|
-
ct(
|
|
42572
|
+
ct(Da, { to: "body" }, [
|
|
42572
42573
|
ct("div", {
|
|
42573
42574
|
ref: t,
|
|
42574
42575
|
class: "batch-workspace-host batch-overlay-host",
|
|
@@ -42813,7 +42814,7 @@ export {
|
|
|
42813
42814
|
X8 as C,
|
|
42814
42815
|
Zk as D,
|
|
42815
42816
|
Lg as E,
|
|
42816
|
-
|
|
42817
|
+
Io as F,
|
|
42817
42818
|
o9 as G,
|
|
42818
42819
|
Hd as H,
|
|
42819
42820
|
qA as I,
|