Peach: Local-first video metadata scraper and media manager.
build(web): 第二轮集成合并后重建前端产物
longmeidaoee626e9d3885
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 805b86841..44aac624d 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4f31f79f-1d9f-4bdf-aa60-46284850bad7", e._sentryDebugIdIdentifier = "sentry-dbid-4f31f79f-1d9f-4bdf-aa60-46284850bad7");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d61f8d2e-3895-4b7e-bfa5-ca26a8109e65", e._sentryDebugIdIdentifier = "sentry-dbid-d61f8d2e-3895-4b7e-bfa5-ca26a8109e65");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {@@ -28222,8 +28222,8 @@ ST = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var CT = {};-CT = {+var Lce = {};+Lce = {ascending: "naraščajoče",ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse: "Strni",@@ -28238,8 +28238,8 @@ CT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var Lce = {};-Lce = {+var Rce = {};+Rce = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -28254,8 +28254,8 @@ Lce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var Rce = {};-Rce = {+var zce = {};+zce = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -28270,8 +28270,8 @@ Rce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var zce = {};-zce = {+var Bce = {};+Bce = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -28286,8 +28286,8 @@ zce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var Bce = {};-Bce = {+var Vce = {};+Vce = {ascending: "висхідний",ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse: "Згорнути",@@ -28302,8 +28302,8 @@ Bce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var Vce = {};-Vce = {+var Hce = {};+Hce = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -28318,8 +28318,8 @@ Vce = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var Hce = {};-Hce = {+var Uce = {};+Uce = {ascending: "遞增",ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse: "收合",@@ -28334,8 +28334,8 @@ Hce = {};//#endregion//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var wT = {};-wT = {+var CT = {};+CT = {"ar-AE": Xw,"bg-BG": Zw,"cs-CZ": Qw,@@ -28363,17 +28363,17 @@ wT = {"ro-RO": bT,"ru-RU": xT,"sk-SK": ST,- "sl-SI": CT,- "sr-SP": Lce,- "sv-SE": Rce,- "tr-TR": zce,- "uk-UA": Bce,- "zh-CN": Vce,- "zh-TW": Hce+ "sl-SI": Lce,+ "sr-SP": Rce,+ "sv-SE": zce,+ "tr-TR": Bce,+ "uk-UA": Vce,+ "zh-CN": Hce,+ "zh-TW": Uce};//#endregion//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Uce = class extends Uw {+var Wce = class extends Uw {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28451,14 +28451,14 @@ var Uce = class extends Uw {};//#endregion//#region node_modules/react-aria/dist/private/table/useTable.mjs-function Wce(e) {+function Gce(e) {return e && e.__esModule ? e.default : e;}-function Gce(e, t, n) {+function Kce(e, t, n) {let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = xS({usage: "search",sensitivity: "base"- }), { direction: c } = Py(), l = t.selectionManager.disabledBehavior, u = (0, E.useMemo)(() => r || new Uce({+ }), { direction: c } = Py(), l = t.selectionManager.disabledBehavior, u = (0, E.useMemo)(() => r || new Wce({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28485,7 +28485,7 @@ function Gce(e, t, n) {keyboardDelegate: u}, t, n);i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");- let { column: p, direction: m } = t.sortDescriptor || {}, h = By(Wce(wT), "@react-aria/table"), g = (0, E.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = By(Gce(CT), "@react-aria/table"), g = (0, E.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [@@ -28499,7 +28499,7 @@ function Gce(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function Kce(e, t, n) {+function qce(e, t, n) {let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Py(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Ww.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = () => {if (n.current) {let e = wb(n.current);@@ -28514,7 +28514,7 @@ function Kce(e, t, n) {return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? TT(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? wT(e) : e.firstChild();if (o) {Fv(o);return;@@ -28546,7 +28546,7 @@ function Kce(e, t, n) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (Fv(n.current), Fb(n.current, { containingElement: Mb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : TT(a), t && (Fv(t), Fb(t, { containingElement: Mb(n.current) })));+ p === "cell" && l === "rtl" ? (Fv(n.current), Fb(n.current, { containingElement: Mb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : wT(a), t && (Fv(t), Fb(t, { containingElement: Mb(n.current) })));}break;}@@ -28558,7 +28558,7 @@ function Kce(e, t, n) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (Fv(n.current), Fb(n.current, { containingElement: Mb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? TT(a) : a.firstChild(), t && (Fv(t), Fb(t, { containingElement: Mb(n.current) })));+ p === "cell" && l === "ltr" ? (Fv(n.current), Fb(n.current, { containingElement: Mb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? wT(a) : a.firstChild(), t && (Fv(t), Fb(t, { containingElement: Mb(n.current) })));}break;}@@ -28599,7 +28599,7 @@ function Kce(e, t, n) {isPressed: v};}-function TT(e) {+function wT(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28608,8 +28608,8 @@ function TT(e) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function qce(e, t, n) {- let { gridCellProps: r, isPressed: i } = Kce(e, t, n), a = e.node.column?.key;+function Jce(e, t, n) {+ let { gridCellProps: r, isPressed: i } = qce(e, t, n), a = e.node.column?.key;return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Jw(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i@@ -28617,11 +28617,11 @@ function qce(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Jce(e) {+function Yce(e) {return e && e.__esModule ? e.default : e;}-function Yce(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Kce({+function Xce(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = qce({focusMode: "child",...e}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = nb({@@ -28632,7 +28632,7 @@ function Yce(e, t, n) {ref: n}), { focusableProps: l } = Qv({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;r.props.allowsSorting && !pv() && (u = d ? f : "none");- let p = By(Jce(wT), "@react-aria/table"), m;+ let p = By(Yce(CT), "@react-aria/table"), m;i && (m = `${p.format("sortable")}`, d && f && pv() && (m = `${m}, ${p.format(f)}`));let h = Lb(m), g = t.collection.size === 0;return (0, E.useEffect)(() => {@@ -28654,11 +28654,11 @@ function Yce(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function Xce(e) {+function Zce(e) {return e && e.__esModule ? e.default : e;}-function Zce(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = By(Xce(wT), "@react-aria/table"), d = Bv(), f = t.resizingColumn === r.key, p = (0, E.useRef)(f), m = (0, E.useRef)(null), h = (0, E.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, E.useState)(!1), { direction: y } = Py(), b = (0, E.useCallback)((e) => {+function Qce(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = By(Zce(CT), "@react-aria/table"), d = Bv(), f = t.resizingColumn === r.key, p = (0, E.useRef)(f), m = (0, E.useRef)(null), h = (0, E.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, E.useState)(!1), { direction: y } = Py(), b = (0, E.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, E.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);@@ -28756,13 +28756,13 @@ function Zce(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function Qce(e, t, n) {+function $ce(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs-function $ce(e, t, n) {+function ele(e, t, n) {let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Ww.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = SC({selectionManager: t.selectionManager,key: r.key,@@ -28784,10 +28784,10 @@ function $ce(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function ele(e) {+function tle(e) {return e && e.__esModule ? e.default : e;}-var tle = {+var nle = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28797,21 +28797,21 @@ var tle = {rtl: "ArrowRight"}};-function nle(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = $ce(e, t, n), { direction: s } = Py();+function rle(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = ele(e, t, n), { direction: s } = Py();i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = By(ele(wT), "@react-aria/table"), u = Oy({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = By(tle(CT), "@react-aria/table"), u = Oy({"aria-label": c ? l.format("collapse") : l.format("expand"),"aria-labelledby": Yw(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = rle(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = rle(t.collection, a);+ let n = ile(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = ile(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === tle.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === tle.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));+ n.key === nle.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === nle.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));},"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,"aria-level": e.level + 1,@@ -28839,35 +28839,35 @@ function nle(e, t, n) {...o};}-function rle(e, t) {+function ile(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function ile() {+function ale() {return { rowGroupProps: { role: "rowgroup" } };}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function ale() {- return ile();+function ole() {+ return ale();}//#endregion//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function ole(e) {+function sle(e) {return e && e.__esModule ? e.default : e;}-function sle(e, t) {+function cle(e, t) {let { key: n } = e, { checkboxProps: r } = OC(e, t);return { checkboxProps: {...r,"aria-labelledby": `${r.id} ${Yw(t, n)}`} };}-function cle(e) {+function lle(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": By(ole(wT), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": By(sle(CT), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),isSelected: n,isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",isIndeterminate: !t && !n,@@ -28876,13 +28876,13 @@ function cle(e) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var lle = /* @__PURE__ */ new WeakMap();-function ET(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${lle.get(e)}-${n}-${t}`) : "";+var ule = /* @__PURE__ */ new WeakMap();+function TT(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${ule.get(e)}-${n}-${t}`) : "";}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function ule(e, t, n) {+function dle(e, t, n) {let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = SC({selectionManager: o,key: r,@@ -28890,7 +28890,7 @@ function ule(e, t, n) {isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = ET(t, r, "tab"), m = ET(t, r, "tabpanel"), { tabIndex: h } = d, g = Hy(u?.props, { labelable: !0 });+ }), p = TT(t, r, "tab"), m = TT(t, r, "tabpanel"), { tabIndex: h } = d, g = Hy(u?.props, { labelable: !0 });delete g.id;let _ = gv(u?.props), { focusableProps: v } = Qv({...u?.props,@@ -28912,7 +28912,7 @@ function ule(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var dle = class {+var fle = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28956,11 +28956,11 @@ var dle = class {};//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function fle(e, t, n) {+function ple(e, t, n) {let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Py(), { collectionProps: l } = dS({ref: n,selectionManager: o,- keyboardDelegate: (0, E.useMemo)(() => new dle(a, c, r, s), [+ keyboardDelegate: (0, E.useMemo)(() => new fle(a, c, r, s), [a,s,r,@@ -28971,7 +28971,7 @@ function fle(e, t, n) {scrollRef: n,linkBehavior: "selection"}), u = Bv();- return lle.set(t, u), { tabListProps: {+ return ule.set(t, u), { tabListProps: {...K(l, Oy({...e,id: u@@ -28983,12 +28983,12 @@ function fle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function ple(e, t, n) {- let r = yC(n) ? void 0 : 0, i = ET(t, e.id ?? t?.selectedKey, "tabpanel");+function mle(e, t, n) {+ let r = yC(n) ? void 0 : 0, i = TT(t, e.id ?? t?.selectedKey, "tabpanel");return { tabPanelProps: K(Oy({...e,id: i,- "aria-labelledby": ET(t, t?.selectedKey, "tab")+ "aria-labelledby": TT(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28998,294 +28998,294 @@ function ple(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tree/useTree.mjs-function mle(e, t, n) {+function hle(e, t, n) {let { gridProps: r } = Jse(e, t, n);return r.role = "treegrid", { gridProps: r };}//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var hle = {};-hle = {+var gle = {};+gle = {collapse: "طي",expand: "تمديد"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var gle = {};-gle = {+var _le = {};+_le = {collapse: "Свиване",expand: "Разширяване"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var _le = {};-_le = {+var vle = {};+vle = {collapse: "Sbalit",expand: "Roztáhnout"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var vle = {};-vle = {+var yle = {};+yle = {collapse: "Skjul",expand: "Udvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var yle = {};-yle = {+var ble = {};+ble = {collapse: "Reduzieren",expand: "Erweitern"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var ble = {};-ble = {+var xle = {};+xle = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var xle = {};-xle = {+var Sle = {};+Sle = {expand: "Expand",collapse: "Collapse"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var Sle = {};-Sle = {+var Cle = {};+Cle = {collapse: "Contraer",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var Cle = {};-Cle = {+var wle = {};+wle = {collapse: "Ahenda",expand: "Laienda"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var wle = {};-wle = {+var Tle = {};+Tle = {collapse: "Pienennä",expand: "Laajenna"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var Tle = {};-Tle = {+var Ele = {};+Ele = {collapse: "Réduire",expand: "Développer"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var Ele = {};-Ele = {+var Dle = {};+Dle = {collapse: "כווץ",expand: "הרחב"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var Dle = {};-Dle = {+var Ole = {};+Ole = {collapse: "Sažmi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var Ole = {};-Ole = {+var kle = {};+kle = {collapse: "Összecsukás",expand: "Kibontás"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var kle = {};-kle = {+var Ale = {};+Ale = {collapse: "Comprimi",expand: "Espandi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var Ale = {};-Ale = {+var jle = {};+jle = {collapse: "折りたたむ",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var jle = {};-jle = {+var Mle = {};+Mle = {collapse: "접기",expand: "펼치기"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var Mle = {};-Mle = {+var Nle = {};+Nle = {collapse: "Sutraukti",expand: "Išskleisti"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var Nle = {};-Nle = {+var Ple = {};+Ple = {collapse: "Sakļaut",expand: "Izvērst"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var Ple = {};-Ple = {+var Fle = {};+Fle = {collapse: "Skjul",expand: "Utvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var Fle = {};-Fle = {+var Ile = {};+Ile = {collapse: "Samenvouwen",expand: "Uitvouwen"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var Ile = {};-Ile = {+var Lle = {};+Lle = {collapse: "Zwiń",expand: "Rozwiń"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var Lle = {};-Lle = {+var Rle = {};+Rle = {collapse: "Recolher",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var Rle = {};-Rle = {+var zle = {};+zle = {collapse: "Colapsar",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var zle = {};-zle = {+var Ble = {};+Ble = {collapse: "Restrângeți",expand: "Extindeți"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var Ble = {};-Ble = {+var Vle = {};+Vle = {collapse: "Свернуть",expand: "Развернуть"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var Vle = {};-Vle = {+var Hle = {};+Hle = {collapse: "Zbaliť",expand: "Rozbaliť"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var Hle = {};-Hle = {+var Ule = {};+Ule = {collapse: "Strni",expand: "Razširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var Ule = {};-Ule = {+var Wle = {};+Wle = {collapse: " Skupi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var Wle = {};-Wle = {+var Gle = {};+Gle = {collapse: "Dölj",expand: "Expandera"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var Gle = {};-Gle = {+var Kle = {};+Kle = {collapse: "Daralt",expand: "Genişlet"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var Kle = {};-Kle = {+var qle = {};+qle = {collapse: "Згорнути",expand: "Розгорнути"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var qle = {};-qle = {+var Jle = {};+Jle = {collapse: "折叠",expand: "扩展"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var Jle = {};-Jle = {+var Yle = {};+Yle = {collapse: "收合",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs-var Yle = {};-Yle = {- "ar-AE": hle,- "bg-BG": gle,- "cs-CZ": _le,- "da-DK": vle,- "de-DE": yle,- "el-GR": ble,- "en-US": xle,- "es-ES": Sle,- "et-EE": Cle,- "fi-FI": wle,- "fr-FR": Tle,- "he-IL": Ele,- "hr-HR": Dle,- "hu-HU": Ole,- "it-IT": kle,- "ja-JP": Ale,- "ko-KR": jle,- "lt-LT": Mle,- "lv-LV": Nle,- "nb-NO": Ple,- "nl-NL": Fle,- "pl-PL": Ile,- "pt-BR": Lle,- "pt-PT": Rle,- "ro-RO": zle,- "ru-RU": Ble,- "sk-SK": Vle,- "sl-SI": Hle,- "sr-SP": Ule,- "sv-SE": Wle,- "tr-TR": Gle,- "uk-UA": Kle,- "zh-CN": qle,- "zh-TW": Jle+var Xle = {};+Xle = {+ "ar-AE": gle,+ "bg-BG": _le,+ "cs-CZ": vle,+ "da-DK": yle,+ "de-DE": ble,+ "el-GR": xle,+ "en-US": Sle,+ "es-ES": Cle,+ "et-EE": wle,+ "fi-FI": Tle,+ "fr-FR": Ele,+ "he-IL": Dle,+ "hr-HR": Ole,+ "hu-HU": kle,+ "it-IT": Ale,+ "ja-JP": jle,+ "ko-KR": Mle,+ "lt-LT": Nle,+ "lv-LV": Ple,+ "nb-NO": Fle,+ "nl-NL": Ile,+ "pl-PL": Lle,+ "pt-BR": Rle,+ "pt-PT": zle,+ "ro-RO": Ble,+ "ru-RU": Vle,+ "sk-SK": Hle,+ "sl-SI": Ule,+ "sr-SP": Wle,+ "sv-SE": Gle,+ "tr-TR": Kle,+ "uk-UA": qle,+ "zh-CN": Jle,+ "zh-TW": Yle};//#endregion//#region node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function Xle(e) {+function Zle(e) {return e && e.__esModule ? e.default : e;}-function Zle(e, t, n) {- let { node: r } = e, i = Yse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = By(Xle(Yle), "@react-aria/tree"), s = {+function Qle(e, t, n) {+ let { node: r } = e, i = Yse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = By(Zle(Xle), "@react-aria/tree"), s = {onPress: () => {i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));},@@ -29304,15 +29304,15 @@ function Zle(e, t, n) {}//#endregion//#region src/react/components/selection-dock.tsx-var Qle = "(prefers-reduced-motion: reduce)", $le = () => matchMedia(Qle).matches, eue = (e) => {- let t = matchMedia(Qle);+var $le = "(prefers-reduced-motion: reduce)", eue = () => matchMedia($le).matches, tue = (e) => {+ let t = matchMedia($le);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, DT = /* @__PURE__ */ new Map(), tue = () => {+}, ET = /* @__PURE__ */ new Map(), nue = () => {let e = document.documentElement;- DT.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...DT.values())}px`) : e.style.removeProperty("--selection-dock-space");+ ET.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...ET.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function nue({ children: e, count: t, label: n }) {- let r = (0, E.useRef)(null), i = l_(), a = (0, E.useSyncExternalStore)(eue, $le, () => !1), { isFocusVisible: o } = jv(), s = a || o, c = {+function rue({ children: e, count: t, label: n }) {+ let r = (0, E.useRef)(null), i = l_(), a = (0, E.useSyncExternalStore)(tue, eue, () => !1), { isFocusVisible: o } = jv(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -29320,10 +29320,10 @@ function nue({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- DT.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), tue();+ ET.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), nue();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), DT.delete(e), tue();+ n.disconnect(), window.removeEventListener("resize", t), ET.delete(e), nue();};}, [i]), /* @__PURE__ */ (0, D.jsxs)(F_.div, {ref: r,@@ -29358,18 +29358,18 @@ function nue({ children: e, count: t, label: n }) {}), e]});}-function OT({ visible: e, ...t }) {- return /* @__PURE__ */ (0, D.jsx)(f_, { children: e ? /* @__PURE__ */ (0, D.jsx)(nue, { ...t }, "selection") : null });+function DT({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, D.jsx)(f_, { children: e ? /* @__PURE__ */ (0, D.jsx)(rue, { ...t }, "selection") : null });}//#endregion//#region src/react/batch-dock/batch-dock-api.ts-var kT = {+var OT = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function rue(e, t = !1) {+function iue(e, t = !1) {switch (e) {case "trash": return [{@@ -29385,7 +29385,7 @@ function rue(e, t = !1) {glyph: "trash",danger: !0},- kT+ OT];case "junk": return [t ? {@@ -29406,7 +29406,7 @@ function rue(e, t = !1) {glyph: "trash",danger: !0},- kT+ OT];case "follow": return [{@@ -29427,7 +29427,7 @@ function rue(e, t = !1) {label: "忽略",glyph: "eye-off"},- kT+ OT];default: return [{@@ -29461,48 +29461,48 @@ function rue(e, t = !1) {glyph: "trash",danger: !0},- kT+ OT];}}//#endregion//#region src/react/batch-dock/batch-dock-island.tsx-var AT = null, iue = {+var kT = null, aue = {count: 0,context: "catalog",junkDismissed: !1-}, jT = /* @__PURE__ */ new Set();-function aue(e) {- return jT.add(e), () => {- jT.delete(e);+}, AT = /* @__PURE__ */ new Set();+function oue(e) {+ return AT.add(e), () => {+ AT.delete(e);};}-function oue() {- for (let e of [...jT]) e();+function sue() {+ for (let e of [...AT]) e();}-var sue = { render(e) {- iue = e, (0, St.flushSync)(oue);+var cue = { render(e) {+ aue = e, (0, St.flushSync)(sue);} };-function cue(e) {- return AT = e, sue;+function lue(e) {+ return kT = e, cue;}-function lue() {- let e = (0, E.useSyncExternalStore)(aue, () => iue);- return AT ? /* @__PURE__ */ (0, D.jsx)(uue, {- host: AT,+function uue() {+ let e = (0, E.useSyncExternalStore)(oue, () => aue);+ return kT ? /* @__PURE__ */ (0, D.jsx)(due, {+ host: kT,props: e}) : null;}-function uue({ host: e, props: t }) {+function due({ host: e, props: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, D.jsx)(OT, {+ children: /* @__PURE__ */ (0, D.jsx)(DT, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: rue(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, D.jsxs)("button", {+ children: iue(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29519,12 +29519,12 @@ function uue({ host: e, props: t }) {}//#endregion//#region src/number-setting.ts-function MT(e, t, n, r) {+function jT(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}//#endregion//#region src/settings-store.ts-function due(e, t) {+function fue(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29544,7 +29544,7 @@ function due(e, t) {}//#endregion//#region src/sort-preferences.ts-var fue = [+var pue = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29553,7 +29553,7 @@ var fue = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], NT = ["release", "发行时间"], pue = [...fue, NT].map(([e]) => e), PT = {+], MT = ["release", "发行时间"], mue = [...pue, MT].map(([e]) => e), NT = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29562,28 +29562,28 @@ var fue = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, mue = {+}, hue = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, hue = (e, t, n = PT) => (n[e] || [])[+(t === "asc")] || "", FT = (e, t = PT) => t[e] ? "desc" : "";-function IT(e, t, n, r = PT) {+}, gue = (e, t, n = NT) => (n[e] || [])[+(t === "asc")] || "", PT = (e, t = NT) => t[e] ? "desc" : "";+function FT(e, t, n, r = NT) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: FT(e, r)+ dir: PT(e, r)};}-function LT(e, t, n) {+function IT(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function RT(e, t, n, r, i = n) {- let a = e ? mue[e] : void 0, o = a ? a[0] : e, s = o && pue.includes(o) ? o : i;- return PT[s] ? {+function LT(e, t, n, r, i = n) {+ let a = e ? hue[e] : void 0, o = a ? a[0] : e, s = o && mue.includes(o) ? o : i;+ return NT[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : LT(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : IT(s, n, r)} : {sort: s,dir: ""@@ -29591,15 +29591,15 @@ function RT(e, t, n, r, i = n) {}//#endregion//#region src/appearance/home-glow.ts-var zT = [+var RT = ["spot1","spot2","spot3"-], gue = [+], _ue = ["光晕一","光晕二","光晕三"-], _ue = "native", BT = [+], vue = "native", zT = [["ash","灰雾",@@ -29905,7 +29905,7 @@ var zT = ["rose"],[- _ue,+ vue,"玻璃原色",{spot1: {@@ -29923,7 +29923,7 @@ var zT = [},"blue"]-], VT = (e) => e === _ue, HT = [...BT.map(([e, t]) => [e, t]), ["custom", "自定义"]], vue = (e) => (HT.find(([t]) => t === e) || HT[0])[1], UT = (e) => structuredClone((BT.find(([t]) => t === e) || BT[0])[2]), yue = [+], BT = (e) => e === vue, VT = [...zT.map(([e, t]) => [e, t]), ["custom", "自定义"]], yue = (e) => (VT.find(([t]) => t === e) || VT[0])[1], HT = (e) => structuredClone((zT.find(([t]) => t === e) || zT[0])[2]), bue = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29936,7 +29936,7 @@ var zT = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], WT = "blue", bue = (e) => yue.some(([t]) => t === e) ? e : WT, xue = (e) => (BT.find(([t]) => t === e) || [])[3] || "blue", Sue = [+], UT = "blue", xue = (e) => bue.some(([t]) => t === e) ? e : UT, Sue = (e) => (zT.find(([t]) => t === e) || [])[3] || "blue", Cue = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29946,7 +29946,7 @@ var zT = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], Cue = [+], wue = [["gray","云灰",@@ -30342,11 +30342,11 @@ var zT = ["霁蓝","#6686b8"]-], wue = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Tue = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Eue = (e, t) => `rgba(${[+], Tue = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Eue = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Due = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Due = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Oue = {strength: [0,100,@@ -30372,7 +30372,7 @@ var zT = [100,50]-}, Oue = {+}, kue = {on: !0,preset: "ash",strength: 100,@@ -30380,57 +30380,57 @@ var zT = [speed: 100,soften: 50,size: 50,- ...UT("ash")+ ...HT("ash")};-function kue(e) {- let t = e && typeof e == "object" ? e : {}, n = HT.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = UT(r === "custom" ? "ash" : r), a = {+function Aue(e) {+ let t = e && typeof e == "object" ? e : {}, n = VT.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = HT(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(Due)) a[e] = wue(+t[e], n, r, i);- for (let e of zT) {+ for (let [e, [n, r, i]] of Object.entries(Oue)) a[e] = Tue(+t[e], n, r, i);+ for (let e of RT) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: Tue(r.color, o.color),- alpha: wue(+r.alpha, 0, 100, o.alpha)+ color: Eue(r.color, o.color),+ alpha: Tue(+r.alpha, 0, 100, o.alpha)};}return a;}-var Aue = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, jue = /* @__PURE__ */ new WeakMap();-function Mue(e, t) {+var jue = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Mue = /* @__PURE__ */ new WeakMap();+function Nue(e, t) {if (!e) return;- let n = jue.get(e);- n || (n = /* @__PURE__ */ new Map(), jue.set(e, n));- let r = t.on && !VT(t.preset), i = (t, r) => {+ let n = Mue.get(e);+ n || (n = /* @__PURE__ */ new Map(), Mue.set(e, n));+ let r = t.on && !BT(t.preset), i = (t, r) => {n.get(t) !== r && (n.set(t, r), e.style.setProperty(t, r));};- i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), zT.forEach((e, n) => {+ i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), RT.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, Eue(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, Due(r.color, r.alpha));});}-function Nue(e, t) {+function Pue(e, t) {if (!e) return;- let n = !t.on || VT(t.preset);+ let n = !t.on || BT(t.preset);e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));}//#endregion//#region src/appearance/settings.ts-var Pue = "peach.settings.v1", Fue = [+var Fue = "peach.settings.v1", Iue = ["system","light","dark"-], Iue = [+], Lue = [0,7,30,90-], Lue = [+], Rue = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], Rue = {+], zue = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30450,46 +30450,46 @@ var Pue = "peach.settings.v1", Fue = [theme: "system",groupCollapse: !0,sidebarOrder: [...Bc],- homeGlow: Oue,- accent: WT-}, GT = (e, t, n) => t.includes(e) ? e : n;-function zue(e) {+ homeGlow: kue,+ accent: UT+}, WT = (e, t, n) => t.includes(e) ? e : n;+function Bue(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...Rue,+ ...zue,...t};- n.followInitialDays = Iue.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = Lue.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;let r = !1, i = +n.sortDefaultsVersion || 0;i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);- let a = mue[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = MT(+n.batchSize, 1, 200, 60), n.defaultSort = GT(n.defaultSort, pue, "seed"), n.hoverDelaySeconds = MT(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = MT(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = MT(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = MT(+n.relatedLimit, 0, 60, 20), Object.assign(n, fa(n)), n.theme = GT(n.theme, Fue, "system"), n.homeGlow = kue(n.homeGlow), n.accent = bue(n.accent), n.sidebarOrder = Wc(n.sidebarOrder), {+ let a = hue[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = jT(+n.batchSize, 1, 200, 60), n.defaultSort = WT(n.defaultSort, mue, "seed"), n.hoverDelaySeconds = jT(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = jT(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = jT(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = jT(+n.relatedLimit, 0, 60, 20), Object.assign(n, fa(n)), n.theme = WT(n.theme, Iue, "system"), n.homeGlow = Aue(n.homeGlow), n.accent = xue(n.accent), n.sidebarOrder = Wc(n.sidebarOrder), {settings: n,migrated: r};}-function Bue(e) {+function Vue(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return zue(t);+ return Bue(t);}-var KT = null;-function qT() {- if (KT) return KT;- let { settings: e, migrated: t } = Bue(localStorage);- return KT = due(Pue, e), t && KT.save(), KT;+var GT = null;+function KT() {+ if (GT) return GT;+ let { settings: e, migrated: t } = Vue(localStorage);+ return GT = fue(Fue, e), t && GT.save(), GT;}-function Vue(e, t, n = qT()) {+function Hue(e, t, n = KT()) {let r = n.value, i = e && e.followInitialDays;- Iue.includes(i) && (r.followInitialDays = i, n.save());- for (let t of Lue) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ Lue.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of Rue) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let a = e && e.searchHistoryLimit;- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = MT(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Rue.searchHistoryLimit && Hue(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = jT(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== zue.searchHistoryLimit && Uue(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}-function Hue(e = qT()) {+function Uue(e = KT()) {return Ut("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })@@ -30497,7 +30497,7 @@ function Hue(e = qT()) {}//#endregion//#region src/appearance/theme.ts-var Uue = [+var Wue = [["system","跟随系统",@@ -30513,32 +30513,32 @@ var Uue = ["深色","moon"]-], Wue = null, Gue = () => Wue ??= matchMedia("(prefers-color-scheme: dark)"), JT = null;-function Kue() {- return JT || (JT = document.createElement("style"), JT.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), JT.isConnected || document.head.append(JT), () => {+], Gue = null, Kue = () => Gue ??= matchMedia("(prefers-color-scheme: dark)"), qT = null;+function que() {+ return qT || (qT = document.createElement("style"), qT.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), qT.isConnected || document.head.append(qT), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), JT?.remove();+ cancelAnimationFrame(t), clearTimeout(n), qT?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function YT(e = qT().value.theme) {- let t = Kue(), n = document.documentElement;+function JT(e = KT().value.theme) {+ let t = que(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && Gue().matches;+ let r = e === "dark" || e === "system" && Kue().matches;n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";}), t();}-var que = !1;-function Jue() {- que || (que = !0, Gue().addEventListener("change", () => {- qT().value.theme === "system" && YT();+var Jue = !1;+function Yue() {+ Jue || (Jue = !0, Kue().addEventListener("change", () => {+ KT().value.theme === "system" && JT();}));}//#endregion//#region src/appearance/layout.ts-var XT = [[+var YT = [["big","大图","maximize"@@ -30546,7 +30546,7 @@ var XT = [["small","小图","layout-grid"-]], Yue = [[+]], Xue = [["big","大图","maximize"@@ -30554,7 +30554,7 @@ var XT = [["small","小图","layout-grid"-]], Xue = [[+]], Zue = [["fixed","固定比例","layout-grid"@@ -30562,121 +30562,121 @@ var XT = [["masonry","瀑布流","columns-2"-]], ZT = .75, QT = () => qT().value, $T = (e = QT()) => da(e.javLayout), Zue = (e = QT()) => da(e.homeLayout), Que = (e, t = QT()) => e ? Zue(t) : $T(t), $ue = Yue.map(([e]) => e), ede = Xue.map(([e]) => e), eE = (e = QT()) => GT(e.photoSize, $ue, "small"), tE = (e = QT()) => GT(e.photoLayout, ede, "masonry"), nE = null;-function rE(e, t = QT()) {+]], XT = .75, ZT = () => KT().value, QT = (e = ZT()) => da(e.javLayout), Que = (e = ZT()) => da(e.homeLayout), $ue = (e, t = ZT()) => e ? Que(t) : QT(t), ede = Xue.map(([e]) => e), tde = Zue.map(([e]) => e), $T = (e = ZT()) => WT(e.photoSize, ede, "small"), eE = (e = ZT()) => WT(e.photoLayout, tde, "masonry"), tE = null;+function nE(e, t = ZT()) {let n = {active: e.active,- size: Que(e.home, t),+ size: $ue(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = nE;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (nE = n), nE;+ }, r = tE;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (tE = n), tE;}-function iE(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? ZT : 16 / 9;+function rE(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? XT : 16 / 9;}-function tde(e, t = qT()) {+function nde(e, t = KT()) {t.value.homeLayout = da(e), t.save();}-function nde(e, t = qT()) {+function rde(e, t = KT()) {t.value.javLayout = da(e), t.save();}-function rde(e, t = qT()) {+function ide(e, t = KT()) {t.value.homeLayout = t.value.javLayout = da(e), t.save();}-function ide(e, t = qT()) {- t.value.photoSize = GT(e, $ue, "small"), t.save();+function ade(e, t = KT()) {+ t.value.photoSize = WT(e, ede, "small"), t.save();}-function ade(e, t = qT()) {- t.value.photoLayout = GT(e, ede, "masonry"), t.save();+function ode(e, t = KT()) {+ t.value.photoLayout = WT(e, tde, "masonry"), t.save();}//#endregion//#region src/appearance/density.ts-var ode = "density", sde = {+var sde = "density", cde = {big: "336px",dense: "168px"-}, cde = () => localStorage.getItem(ode) === "dense" ? "dense" : "big";-function lde(e, t) {- let [n, r] = Yue;+}, lde = () => localStorage.getItem(sde) === "dense" ? "dense" : "big";+function ude(e, t) {+ let [n, r] = Xue;e.querySelector("[data-icon-swap]") ? Xo(e, t === r[0] ? "b" : "a") : e.innerHTML = Yo(n[2], r[2], t === r[0] ? "b" : "a"), e.setAttribute("aria-label", t === "big" ? "切换为小图" : "切换为大图");}-var ude = () => document.querySelector("#density");-function aE(e = cde()) {- document.documentElement.style.setProperty("--tile", sde[e]), document.body.dataset.density = e;- let t = ude();- t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), lde(t, e === "big" ? "big" : "small"));+var dde = () => document.querySelector("#density");+function iE(e = lde()) {+ document.documentElement.style.setProperty("--tile", cde[e]), document.body.dataset.density = e;+ let t = dde();+ t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), ude(t, e === "big" ? "big" : "small"));}-function dde() {- let e = cde() === "big" ? "dense" : "big";- localStorage.setItem(ode, e), aE(e);+function fde() {+ let e = lde() === "big" ? "dense" : "big";+ localStorage.setItem(sde, e), iE(e);}-function fde(e) {- let t = ude();- t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), lde(t, e));+function pde(e) {+ let t = dde();+ t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), ude(t, e));}//#endregion//#region src/appearance/glow.ts-function pde(e = qT()) {- Mue(document.querySelector(".glowlayer"), e.value.homeGlow);+function mde(e = KT()) {+ Nue(document.querySelector(".glowlayer"), e.value.homeGlow);}-var mde = 0;-function oE(e = qT()) {- mde ||= requestAnimationFrame(() => {- mde = 0, pde(e);+var hde = 0;+function aE(e = KT()) {+ hde ||= requestAnimationFrame(() => {+ hde = 0, mde(e);});}-function sE(e = qT()) {- Nue(document.documentElement, e.value.homeGlow);+function oE(e = KT()) {+ Pue(document.documentElement, e.value.homeGlow);}-function cE(e = qT()) {+function sE(e = KT()) {document.documentElement.dataset.accent = e.value.accent;}-var hde = (e, t, n) => ({+var gde = (e, t, n) => ({key: e,label: t,- native: VT(e),- fill: VT(e) ? "" : Aue(n)+ native: BT(e),+ fill: BT(e) ? "" : jue(n)});-function gde(e) {- let t = BT.map(([e, t, n]) => hde(e, t, zT.map((e) => n[e].color)));- return e.preset === "custom" && t.push(hde("custom", "自定义", zT.map((t) => e[t].color))), t;+function _de(e) {+ let t = zT.map(([e, t, n]) => gde(e, t, RT.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(gde("custom", "自定义", RT.map((t) => e[t].color))), t;}-var lE = yue;-function _de(e, t = qT()) {+var cE = bue;+function vde(e, t = KT()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, UT(e)), t.value.accent = xue(e), t.save(), oE(t), sE(t), cE(t);+ n.preset = e, Object.assign(n, HT(e)), t.value.accent = Sue(e), t.save(), aE(t), oE(t), sE(t);}-function vde(e, t = qT()) {- t.value.accent = bue(e), t.save(), cE(t);+function yde(e, t = KT()) {+ t.value.accent = xue(e), t.save(), sE(t);}-function yde(e = qT()) {+function bde(e = KT()) {let t = e.value.homeGlow;- t.preset = Oue.preset, Object.assign(t, UT(t.preset)), e.value.accent = WT, e.save(), oE(e), sE(e), cE(e);+ t.preset = kue.preset, Object.assign(t, HT(t.preset)), e.value.accent = UT, e.save(), aE(e), oE(e), sE(e);}-function bde(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && VT(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function xde(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && BT(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function xde(e, t = qT()) {- return bde(e, t.value.homeGlow), t.subscribe(() => bde(e, t.value.homeGlow));+function Sde(e, t = KT()) {+ return xde(e, t.value.homeGlow), t.subscribe(() => xde(e, t.value.homeGlow));}//#endregion//#region src/react/components/glow-preset-grid.tsx-function Sde({ store: e, label: t, hidden: n }) {+function Cde({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, D.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: gde(r).map((t) => /* @__PURE__ */ (0, D.jsx)("button", {+ children: _de(r).map((t) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glow-chip": "","data-glow-preset": t.key,"aria-pressed": t.key === r.preset,title: t.label,"aria-label": t.label,- onClick: () => _de(t.key, e),+ onClick: () => vde(t.key, e),children: /* @__PURE__ */ (0, D.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30688,14 +30688,14 @@ function Sde({ store: e, label: t, hidden: n }) {}//#endregion//#region src/react/glow-picker/glow-picker-island.tsx-var uE = null;-function Cde(e) {- uE = e;+var lE = null;+function wde(e) {+ lE = e;}-function wde() {- return uE ? /* @__PURE__ */ (0, D.jsx)(Tde, { host: uE }) : null;+function Tde() {+ return lE ? /* @__PURE__ */ (0, D.jsx)(Ede, { host: lE }) : null;}-function Tde({ host: e }) {+function Ede({ host: e }) {let { store: t } = e;(0, E.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30707,11 +30707,11 @@ function Tde({ host: e }) {children: [/* @__PURE__ */ (0, D.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => yde(t),+ onClick: () => bde(t),children: "重置"})]}),- /* @__PURE__ */ (0, D.jsx)(Sde, {+ /* @__PURE__ */ (0, D.jsx)(Cde, {store: t,label: "光晕",hidden: !n.on@@ -30725,14 +30725,14 @@ function Tde({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: lE.map(([e, n]) => /* @__PURE__ */ (0, D.jsx)("button", {+ children: cE.map(([e, n]) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => vde(e, t),+ onClick: () => yde(e, t),children: /* @__PURE__ */ (0, D.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30751,32 +30751,32 @@ function Tde({ host: e }) {}//#endregion//#region src/player/host.ts-var dE = null;-function Ede(e) {- dE = e;+var uE = null;+function Dde(e) {+ uE = e;}-function fE() {- if (!dE) throw Error("播放器还没有接上宿主(configurePlayer)");- return dE;+function dE() {+ if (!uE) throw Error("播放器还没有接上宿主(configurePlayer)");+ return uE;}//#endregion//#region src/player/menu.ts-var pE = null;-function Dde(e) {- pE = e;+var fE = null;+function Ode(e) {+ fE = e;}-function Ode() {+function kde() {let e = document.getElementById("playerMenu");return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;}-var mE = null, kde = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function hE() {+var pE = null, Ade = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function mE() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && mo(e, () => {e.innerHTML = "";- }), mE &&= (mE(), null);+ }), pE &&= (pE(), null);}-async function Ade(e) {+async function jde(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30789,8 +30789,8 @@ async function Ade(e) {return t.remove(), n;}}-function jde(e) {- let t = !!pE?.inMiniplayer(e), n = e.peachItem, r = pE?.kind(e) ?? "item", i = (t) => {+function Mde(e) {+ let t = !!fE?.inMiniplayer(e), n = e.peachItem, r = fE?.kind(e) ?? "item", i = (t) => {let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);if (r !== "follow" && location.pathname === i.pathname) {let e = new URLSearchParams(location.search);@@ -30806,7 +30806,7 @@ function jde(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Ade(i(e)).then((e) => fE().toast(e ? t : "复制失败,请手动复制地址栏", {+ jde(i(e)).then((e) => dE().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30818,11 +30818,11 @@ function jde(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => pE?.expand()+ run: () => fE?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => pE?.toMiniplayer()+ run: () => fE?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30845,29 +30845,29 @@ function jde(e) {run: () => s.click()}), o;}-function Mde(e, t, n) {- let r = Ode();- hE();- let i = fE().stage();+function Nde(e, t, n) {+ let r = kde();+ mE();+ let i = dE().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = jde(e);+ let a = Mde(e);r.innerHTML = a.map((e, t) => {let n = e.checked !== void 0;- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${kde(z(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? kde(z("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${Ade(z(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? Ade(z("check"), "data-player-menu-check") : ""}</button>`;}).join(""), po(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;let o = [...r.querySelectorAll("[data-player-menu]")];o.forEach((e) => {e.onclick = (t) => {t.stopPropagation();let n = a[Number(e.dataset.playerMenu)];- hE(), n?.run();+ mE(), n?.run();};});let s = (e) => {- r.contains(e.target) || hE();+ r.contains(e.target) || mE();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), hE();+ e.preventDefault(), e.stopPropagation(), mE();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30875,51 +30875,51 @@ function Mde(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- go(t, e.el()) && hE();+ go(t, e.el()) && mE();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), mE = () => {+ }, 0), pE = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function Nde(e) {+function Pde(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Mde(e, t.clientX, t.clientY));- }), e.on("dispose", hE);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Nde(e, t.clientX, t.clientY));+ }), e.on("dispose", mE);}//#endregion//#region src/player/registry.ts-var Pde = null, gE = () => Pde;-function _E(e) {- Pde = e;+var Fde = null, hE = () => Fde;+function gE(e) {+ Fde = e;}-function vE(e) {+function _E(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}//#endregion//#region src/player/stats.ts-function Fde(e) {+function Ide(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);return 0;}-function Ide(e) {+function Lde(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;}-var Lde = 3e3;-function Rde(e, t) {+var Rde = 3e3;+function zde(e, t) {let n = Number(e) || 0, r = un(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function zde(e) {+function Bde(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30934,10 +30934,10 @@ function zde(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = Ide(e), s = e.currentTime || 0;+ let a = performance.now(), o = Lde(e), s = e.currentTime || 0;if (n) {let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;- !i && c > 0 && (r += c), e * 1e3 > Lde * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > Rde * 2 && (t.length = 0);}for (n = {at: a,@@ -30946,56 +30946,56 @@ function zde(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > Lde;) t.shift();+ }); t.length > 2 && a - t[0].at > Rde;) t.shift();let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;}};}-var yE = 24;-function bE(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > yE && e.splice(0, e.length - yE);+var vE = 24;+function yE(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > vE && e.splice(0, e.length - vE);}-var xE = "peach-player-panel";-function SE(e, t, n, r) {- let i = [...Array(Math.max(0, yE - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var bE = "peach-player-panel";+function xE(e, t, n, r) {+ let i = [...Array(Math.max(0, vE - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {if (e === null) return "<i aria-hidden=\"true\"></i>";let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;}).join("");return `<span data-player-stats-plot="${t}" role="img" aria-label="${B(r)}">${o}</span>`;}-function Bde() {+function Vde() {return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${z("chart")}</button><div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div><div data-player-stats="" id="playerStats" role="status" hidden></div>`;}-function Vde(e, t = "") {+function Hde(e, t = "") {let n = t ? encodeURIComponent(t) : "";return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));}-function Hde(e, t = "") {- let n = Vde(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+function Ude(e, t = "") {+ let n = Hde(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;return r > 0 && i > 0 ? r * 8 / i : 0;}-function Ude(e, t, n = "", r = null) {+function Wde(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : Hde(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : Ude(t, n);}-function CE(e) {+function SE(e) {if (!Number.isFinite(e) || e <= 0) return "加载中…";let t = e / 8;return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;}-function Wde(e, t) {- return e > 0 ? CE(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : CE(0);+function Gde(e, t) {+ return e > 0 ? SE(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : SE(0);}//#endregion//#region src/player/subtitle-style.ts-var wE = {+var CE = {font: {label: "字体",values: [@@ -31098,7 +31098,7 @@ var wE = {["shadow", "阴影"]]}-}, Gde = {+}, Kde = {font: "sans",size: "100",color: "white",@@ -31108,7 +31108,7 @@ var wE = {window: "black",windowOpacity: "0",edge: "shadow"-}, TE = "peach.caption-style.v1", Kde = {+}, wE = "peach.caption-style.v1", qde = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -31117,7 +31117,7 @@ var wE = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, qde = {+}, Jde = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -31125,28 +31125,28 @@ var wE = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, Jde = {+}, Yde = {none: "none",raised: "-1px -1px 0 #ddd,1px 1px 0 #222",depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",shadow: "2px 2px 3px #000"};-function Yde() {+function Xde() {let e = {};try {- e = JSON.parse(localStorage.getItem(TE) || "{}") || {};+ e = JSON.parse(localStorage.getItem(wE) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(Gde).map(([t, n]) => [t, wE[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(Kde).map(([t, n]) => [t, CE[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function Xde(e, t, n) {- let r = Yde(), i = document.createElement("div");+function Zde(e, t, n) {+ let r = Xde(), i = document.createElement("div");i.className = "vjs-peach-captions", i.setAttribute("aria-hidden", "true");let a = document.createElement("div");a.className = "vjs-peach-caption-window", i.append(a), e.querySelector("media-container").append(i), e.dataset.peachCaptions = "";let o = () => {- let t = (e, t) => `rgba(${Kde[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", qde[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", Jde[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${qde[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", Jde[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", Yde[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");}, s = () => {a.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -31161,27 +31161,27 @@ function Xde(e, t, n) {return t.textTracks.addEventListener("addtrack", l, { signal: n }), t.textTracks.addEventListener("removetrack", l, { signal: n }), t.textTracks.addEventListener("change", s, { signal: n }), o(), l(), {current: () => r,set(e, t) {- if (wE[e].values.some(([e]) => e === t)) {+ if (CE[e].values.some(([e]) => e === t)) {r = {...r,[e]: t}, o();try {- localStorage.setItem(TE, JSON.stringify(r));+ localStorage.setItem(wE, JSON.stringify(r));} catch {}}},reset() {- r = { ...Gde }, o();+ r = { ...Kde }, o();try {- localStorage.removeItem(TE);+ localStorage.removeItem(wE);} catch {}}};}//#endregion//#region src/player/subtitle-memory.ts-var EE = /* @__PURE__ */ new Map(), Zde = class {+var TE = /* @__PURE__ */ new Map(), Qde = class {player;video;changed;@@ -31230,7 +31230,7 @@ var EE = /* @__PURE__ */ new Map(), Zde = class {}save(e) {if (!this.url) return Promise.resolve();- let t = (EE.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (TE.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = await fetch(this.url, {method: "PUT",headers: { "Content-Type": "application/json" },@@ -31244,15 +31244,15 @@ var EE = /* @__PURE__ */ new Map(), Zde = class {let n = !!this.error;this.error = "", n && !this.cleanup.signal.aborted && this.changed();});- return EE.set(this.url, t), t.finally(() => {- EE.get(this.url) === t && EE.delete(this.url);+ return TE.set(this.url, t), t.finally(() => {+ TE.get(this.url) === t && TE.delete(this.url);}).catch(() => {}), t;}async restore() {if (!this.url) return;let e = this.cleanup.signal;try {- if (await EE.get(this.url)?.catch(() => {}), e.aborted) return;+ if (await TE.get(this.url)?.catch(() => {}), e.aborted) return;let t = await Ut(this.url, { signal: e });if (e.aborted) return;this.selected === void 0 && (this.selected = t.selected), this.apply();@@ -31307,7 +31307,7 @@ var EE = /* @__PURE__ */ new Map(), Zde = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, Qde = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", $de = class {+}, $de = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", efe = class {player;video;panels;@@ -31326,7 +31326,7 @@ var EE = /* @__PURE__ */ new Map(), Zde = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = Xde(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = Qde(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = Zde(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = $de(), this.cc.onclick = () => {let e = this.tracks().find((e) => e.mode === "showing");e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {@@ -31336,7 +31336,7 @@ var EE = /* @__PURE__ */ new Map(), Zde = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new Zde(e, t, () => {+ }), this.session = new Qde(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31384,7 +31384,7 @@ var EE = /* @__PURE__ */ new Map(), Zde = class {}options(e = 1) {this.page = "options";- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(wE).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(CE).map(([e, n]) => {let r = n.values.find(([n]) => n === t[e])?.[1] || "";return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${B(n.label)}</span><b>${B(r)}</b>${z("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);@@ -31396,7 +31396,7 @@ var EE = /* @__PURE__ */ new Map(), Zde = class {}styleOptions(e) {this.page = "style";- let t = wE[e];+ let t = CE[e];this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {let r = this.styles.current()[e] === t;return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${B(t)}"><span class="vjs-peach-option-check">${r ? z("check") : ""}</span><span class="vjs-peach-option-label">${B(n)}</span></button>`;@@ -31513,7 +31513,7 @@ var EE = /* @__PURE__ */ new Map(), Zde = class {};//#endregion//#region src/player/controls.ts-function DE(e, t, n = "") {+function EE(e, t, n = "") {if (!e) return () => {};let r = e.querySelector(":scope>.vjs-peach-tooltip");r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));@@ -31524,27 +31524,27 @@ function DE(e, t, n = "") {};return o(), o;}-function efe(e, t) {+function tfe(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function tfe(e, t = !0) {- let n = fE(), r = n.settings();+function nfe(e, t = !0) {+ let n = dE(), r = n.settings();r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));}-var nfe = /* @__PURE__ */ new WeakMap();-function rfe(e) {+var rfe = /* @__PURE__ */ new WeakMap();+function ife(e) {if (!e) return;- let t = fE().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), nfe.get(e)?.(t ? "默认视图" : "影院模式");+ let t = dE().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), rfe.get(e)?.(t ? "默认视图" : "影院模式");}-function ife(e, t = !0) {- let n = fE(), r = n.settings();+function afe(e, t = !0) {+ let n = dE(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), rfe(i?.querySelector("[data-player-theater]")), vE(gE());+ i?.toggleAttribute("data-theater", r.theaterMode), ife(i?.querySelector("[data-player-theater]")), _E(hE());}-function afe(e) {- let t = fE().stage(), n = t?.querySelector("[data-ambient-canvas]");+function ofe(e) {+ let t = dE().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31567,9 +31567,9 @@ function afe(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (fE().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (dE().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && fE().settings().ambientMode && (l(), e.paused || u(++o));+ !i && dE().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31578,7 +31578,7 @@ function afe(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function ofe(e, t, n = 0, r = null) {+function sfe(e, t, n = 0, r = null) {let i = e.el().querySelector(".vjs-control-bar");if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -31588,7 +31588,7 @@ function ofe(e, t, n = 0, r = null) {let o = i.querySelector(".vjs-fullscreen-control");i.insertBefore(a, o || null);let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");- DE(s, "设置");+ EE(s, "设置");let l = a.querySelector(".vjs-peach-settings-menu"), u, d = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, f = r, p = "auto", m = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;@@ -31628,11 +31628,11 @@ function ofe(e, t, n = 0, r = null) {active: n};}, _ = () => l.getAttribute("aria-hidden") !== "true", v = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(xE, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(bE, { detail: "settings" }));}, y = () => v(!1), b = (e) => {e.detail !== "settings" && y();};- document.addEventListener(xE, b);+ document.addEventListener(bE, b);let x = null, S = 0, C = (e, t) => {let n = ++S;x && (clearTimeout(x), x = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -31648,13 +31648,13 @@ function ofe(e, t, n = 0, r = null) {}), i;}, w = (e, t) => e.querySelector(t), T = "main", E = (t = 0) => {T = "main";- let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${fE().settings().ambientMode}">+ let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${dE().settings().ambientMode}">${z("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${z("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${z("player-menu-next")}</button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${Qde()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</b>${z("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${$de()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</b>${z("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${z("player-quality")}<span>清晰度</span><b>${B(n.label)}</b>${z("player-menu-next")}</button></div>`, t);w(i, "[data-player-ambient]").onclick = () => {- tfe(!fE().settings().ambientMode), E();+ nfe(!dE().settings().ambientMode), E();}, w(i, "[data-player-speed]").onclick = () => A(), w(i, "[data-player-subtitles]").onclick = () => u?.show(), w(i, "[data-player-quality-view]").onclick = () => M();}, D = .05, O = [1,@@ -31734,8 +31734,8 @@ function ofe(e, t, n = 0, r = null) {"removequalitylevel","change"], N), e.on("dispose", () => {- S++, document.removeEventListener("pointerdown", P), document.removeEventListener(xE, b), x && clearTimeout(x);- }), u = new $de(e, t, {+ S++, document.removeEventListener("pointerdown", P), document.removeEventListener(bE, b), x && clearTimeout(x);+ }), u = new efe(e, t, {render: C,open: () => {T = "subtitles", v(!0);@@ -31744,21 +31744,21 @@ function ofe(e, t, n = 0, r = null) {back: () => {u?.hide(), E(-1);}- }), g(), sfe(e, a), cfe(e), (e) => {+ }), g(), cfe(e, a), lfe(e), (e) => {f = e?.length ? e : null, N();};}-function sfe(e, t) {+function cfe(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = fE().settings().theaterMode, i = document.createElement("div");+ let r = dE().settings().theaterMode, i = document.createElement("div");i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${z(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);let a = i.querySelector("button");- nfe.set(a, DE(a, "影院模式", "T")), rfe(a), a.onclick = (e) => {- e.stopPropagation(), ife(!fE().settings().theaterMode);+ rfe.set(a, EE(a, "影院模式", "T")), ife(a), a.onclick = (e) => {+ e.stopPropagation(), afe(!dE().settings().theaterMode);};}-function cfe(e) {+function lfe(e) {let t = e.el().querySelector(".vjs-control-bar");if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -31770,7 +31770,7 @@ function cfe(e) {e.dataset.peachExplicitIcon = "";let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = DE(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = EE(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {let t = e.paused() || e.ended(), n = t ? s : c;o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");};@@ -31781,7 +31781,7 @@ function cfe(e) {], d), d();let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));- let h = DE(p, "静音", "M"), g = () => {+ let h = EE(p, "静音", "M"), g = () => {let t = e.muted() || e.volume() === 0;m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");};@@ -31807,7 +31807,7 @@ function cfe(e) {});let x = document.createElement("button"), S = !1;x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";- let C = x.querySelector(".vjs-peach-time-text"), w = DE(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = EE(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = fn(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : fn(t)} / ${fn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${fn(n)};点击显示已播放时间` : `已播放 ${fn(t)},总时长 ${fn(n)};点击显示剩余时间`);};@@ -31819,12 +31819,12 @@ function cfe(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- DE(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");- let D = DE(E, "画中画");+ EE(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");+ let D = EE(E, "画中画");e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = DE(O, "全屏", "F"), j = () => {+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = EE(O, "全屏", "F"), j = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), vE(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), _E(e);};e.on(["fullscreenchange",@@ -31845,7 +31845,7 @@ function cfe(e) {});let P = document.createElement("div");P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${z("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);- let F = P.querySelector("button"), I = DE(F, "展开控件"), ee = (t) => {+ let F = P.querySelector("button"), I = EE(F, "展开控件"), ee = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), F.setAttribute("aria-expanded", String(t)), I(t ? "收起控件" : "展开控件");};F.onclick = (t) => {@@ -31857,7 +31857,7 @@ function cfe(e) {}, te = new ResizeObserver(L);te.observe(e.el()), e.on("dispose", () => te.disconnect()), ee(!1), L();}-function lfe(e, t, n = {}) {+function ufe(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");@@ -31891,13 +31891,13 @@ function lfe(e, t, n = {}) {r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);});}-function ufe(e, t) {+function dfe(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => un(e.duration()) || un(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(fE().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(dE().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31938,11 +31938,11 @@ function ufe(e, t) {} catch {}});}-function dfe(e) {+function ffe(e) {let t = e.el().querySelector(".vjs-loading-spinner");t && !t.querySelector(".vjs-peach-spinner-container") && (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");}-function ffe(e, t) {+function pfe(e, t) {Ut(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -31958,35 +31958,35 @@ function ffe(e, t) {}//#endregion//#region src/player/progress.ts-var pfe = "peach.playback-position.v1", OE = /* @__PURE__ */ new WeakMap();-function kE(e) {- OE.get(e)?.(), OE.delete(e);+var mfe = "peach.playback-position.v1", DE = /* @__PURE__ */ new WeakMap();+function OE(e) {+ DE.get(e)?.(), DE.delete(e);}-function AE(e, t, n = null) {+function kE(e, t, n = null) {let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;}-function mfe(e) {+function hfe(e) {try {- let t = localStorage.getItem(`${pfe}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${mfe}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function hfe(e, t) {- let n = mfe(e);+function gfe(e, t) {+ let n = hfe(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * un(t.duration) : 0;}-function gfe(e, t) {- kE(t);+function _fe(e, t) {+ OE(t);let n = t.readyState >= 1, r = () => {if (!n || !Number.isFinite(t.currentTime)) return;let r = t.ended ? 0 : Math.max(0, t.currentTime);try {- localStorage.setItem(`${pfe}:${e}`, String(r));+ localStorage.setItem(`${mfe}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -32000,7 +32000,7 @@ function gfe(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), OE.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), DE.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -32013,19 +32013,19 @@ function gfe(e, t) {}//#endregion//#region src/player/telemetry.ts-var jE = /* @__PURE__ */ new WeakMap();-function ME(e) {- jE.get(e)?.(), jE.delete(e);+var AE = /* @__PURE__ */ new WeakMap();+function jE(e) {+ AE.get(e)?.(), AE.delete(e);}-function _fe(e, t, n, r) {+function vfe(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), jE.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), AE.set(e, () => {n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);});}-function vfe(e, t, n = {}) {+function yfe(e, t, n = {}) {if (!t) return;let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {let r = un(e.duration) || un(t.duration);@@ -32066,11 +32066,11 @@ function vfe(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, _fe(t, l, u, () => {+ }, vfe(t, l, u, () => {a++;}), c();}-function yfe(e, t) {+function bfe(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = un(e.duration) || un(t.duration);(r || n) && (Ut("/api/follow/activity", {@@ -32101,24 +32101,24 @@ function yfe(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, _fe(t, o, s, () => {});+ }, vfe(t, o, s, () => {});}//#endregion//#region src/player/dispose.ts-function NE(e) {+function ME(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (kE(t), ME(t));+ t && (OE(t), jE(t));try {e.dispose();} catch {}}//#endregion//#region src/core/random-id.ts-function PE() {+function NE() {if (typeof crypto.randomUUID == "function") return crypto.randomUUID();let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;@@ -32127,23 +32127,23 @@ function PE() {}//#endregion//#region src/player/stream.ts-function bfe() {- return PE();+function xfe() {+ return NE();}-function FE(e, t) {+function PE(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function xfe(e) {+function Sfe(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function Sfe(e, t) {- let n = xfe(e);+async function Cfe(e, t) {+ let n = Sfe(e);if (n) return n;try {let n = await Ut(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -32152,9 +32152,9 @@ async function Sfe(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return FE(e, t);+ return PE(e, t);}-function IE(e) {+function FE(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -32163,23 +32163,23 @@ function IE(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var LE = "";-function Cfe() {- return LE;-}+var IE = "";function wfe() {- return LE ||= bfe(), LE;+ return IE;+}+function Tfe() {+ return IE ||= xfe(), IE;}-var Tfe = (e) => FE(e, wfe()), Efe = (e) => Sfe(e, wfe());-function RE() {- let e = LE;- e && (LE = "", IE(e));+var Efe = (e) => PE(e, Tfe()), Dfe = (e) => Cfe(e, Tfe());+function LE() {+ let e = IE;+ e && (IE = "", FE(e));}//#endregion//#region src/player/v10-player.ts-var zE = (e) => typeof e == "string" ? [e] : e, Dfe = (e, t) => {+var RE = (e) => typeof e == "string" ? [e] : e, Ofe = (e, t) => {let n = document.createElement("div"), r = document.createElement("video-player");- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${PE()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${NE()}`, n.setAttribute("lang", "zh-CN");let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {@@ -32274,9 +32274,9 @@ var zE = (e) => typeof e == "string" ? [e] : e, Dfe = (e, t) => {e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();};return e.addEventListener("loadedmetadata", T, { signal: c }), {- on: (e, t) => zE(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => zE(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => zE(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => RE(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => RE(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => RE(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32331,7 +32331,7 @@ var zE = (e) => typeof e == "string" ? [e] : e, Dfe = (e, t) => {n.id = String(t.id || ""), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, Ofe = "/vendor/videojs/10.1.0/", kfe = [+}, kfe = "/vendor/videojs/10.1.0/", Afe = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32349,18 +32349,18 @@ var zE = (e) => typeof e == "string" ? [e] : e, Dfe = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], BE = null;-function VE() {- return BE ??= Promise.all(kfe.map((e) => import(+], zE = null;+function BE() {+ return zE ??= Promise.all(Afe.map((e) => import(/* @vite-ignore */- `${Ofe}${e}`-))).then(() => Dfe).catch((e) => {- throw BE = null, e;- }), BE;+ `${kfe}${e}`+))).then(() => Ofe).catch((e) => {+ throw zE = null, e;+ }), zE;}//#endregion//#region src/player/immerse-player.ts-var Afe = {+var jfe = {controls: !1,preload: "auto",posterImage: !1,@@ -32372,39 +32372,39 @@ var Afe = {errorDisplay: !1,textTrackSettings: !1};-function jfe(e, t) {+function Mfe(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([Sfe(n, r), VE().catch(() => null)]).then(([o, s]) => {+ return Promise.all([Cfe(n, r), BE().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = FE(n, r), l = String(o.type || "").includes("mpegurl");+ let c = PE(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, Afe);- i = t, t.peachItem = n, t.peachPlaybackKey = AE("item", n);+ let t = s(e, jfe);+ i = t, t.peachItem = n, t.peachPlaybackKey = kE("item", n);let r = new AbortController();- Xde(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new Zde(t, e), ffe(t, n.id), l && t.one("error", () => {+ Zde(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new Qde(t, e), pfe(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- vfe(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ yfe(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, IE(r), i ? NE(i) : (e.pause(), ME(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, FE(r), i ? ME(i) : (e.pause(), jE(e), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var Mfe = /* @__PURE__ */ new WeakMap(), HE = null, UE = null, WE = null;-function Nfe() {- HE &&= (clearInterval(HE), null), UE &&= (clearInterval(UE), null), WE &&= (clearTimeout(WE), null);+var Nfe = /* @__PURE__ */ new WeakMap(), VE = null, HE = null, UE = null;+function Pfe() {+ VE &&= (clearInterval(VE), null), HE &&= (clearInterval(HE), null), UE &&= (clearTimeout(UE), null);}-async function Pfe(e, t, n, r = {}) {- let i = gE();+async function Ffe(e, t, n, r = {}) {+ let i = hE();if (i && !i.isDisposed()) return i;- let a = fE(), o = r.resume ?? null;+ let a = dE(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : Efe(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : Dfe(e), c;try {- c = await VE();+ c = await BE();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -32430,7 +32430,7 @@ async function Pfe(e, t, n, r = {}) {} }}});- _E(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || AE("item", e), Nde(l), l.on("loadedmetadata", () => {+ gE(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || kE("item", e), Pde(l), l.on("loadedmetadata", () => {let e = l.el()?.querySelector("video");e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);});@@ -32438,7 +32438,7 @@ async function Pfe(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = zde(Rde(f, e.duration)), m = 0, h = !1, g = () => gE() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = Bde(zde(f, e.duration)), m = 0, h = !1, g = () => hE() === l && !l.isDisposed(), _ = () => {if (!u || h || !g()) return;let e = Number(l.duration());(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {@@ -32449,15 +32449,15 @@ async function Pfe(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- Mfe.set(l, y), y.updateStats = () => {+ Nfe.set(l, y), y.updateStats = () => {let n = y.chrome?.statsPanel;if (!n || n.hidden || !g()) return;- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Cfe(), h = s ? Vde(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = wfe(), h = s ? Hde(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;p.sample(t);- let x = Ude(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);+ let x = Wde(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);m = S;- let w = Fde(t);- bE(d.speed, x), bE(d.activity, C), bE(d.buffer, w);+ let w = Ide(t);+ yE(d.speed, x), yE(d.activity, C), yE(d.buffer, w);let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? ["网络活动",`${_ ? pn(_) : "—"} · ${h.length} 请求`,@@ -32475,17 +32475,17 @@ async function Pfe(e, t, n, r = {}) {["连接速度",D,- SE(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ xE(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- SE(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ xE(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- SE(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ xE(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${fn(t.currentTime)} / ${fn(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -32501,15 +32501,15 @@ async function Pfe(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = Ude(l, e.id, Cfe(), r ? null : p), a = r ? CE(i) : Wde(i, Fde(t));+ let i = Wde(l, e.id, wfe(), r ? null : p), a = r ? SE(i) : Gde(i, Ide(t));n.innerHTML = `${z("gauge")}<span class="sr-only">加载速度</span><span>${B(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), UE && clearInterval(UE), UE = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), HE && clearInterval(HE), HE = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (WE && clearTimeout(WE), WE = setTimeout(() => {- e.hidden = !0, UE &&= (clearInterval(UE), null);+ e && (UE && clearTimeout(UE), UE = setTimeout(() => {+ e.hidden = !0, HE &&= (clearInterval(HE), null);}, 1400));};return l.on([@@ -32520,7 +32520,7 @@ async function Pfe(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Tfe(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Efe(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({code: 2,message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`@@ -32528,13 +32528,13 @@ async function Pfe(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = ofe(l, t, e.height, r.qualities ?? null);+ let n = sfe(l, t, e.height, r.qualities ?? null);r.mediaPromise?.then((t) => {if (!g()) return;n?.(t?.qualities?.length ? t.qualities : null);let r = Number(t?.size) || 0;- r > 0 && !f && (f = r, p.bitrate = Rde(r, e.duration));- }).catch(() => {}), lfe(l, e, { thumbnail: !r.source }), ufe(l, e), dfe(l), r.source || ffe(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = zde(r, e.duration));+ }).catch(() => {}), ufe(l, e, { thumbnail: !r.source }), dfe(l, e), ffe(l), r.source || pfe(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -32543,14 +32543,14 @@ async function Pfe(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var Ffe = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function Ife(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Ffe), e.querySelector(":scope > #playerStatsBtn")) return;+var Ife = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function Lfe(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Ife), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = Bde(), e.insertBefore(n.content, t);+ n.innerHTML = Vde(), e.insertBefore(n.content, t);}-function Lfe(e, t) {- let n = Mfe.get(e);+function Rfe(e, t) {+ let n = Nfe.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32562,29 +32562,29 @@ function Lfe(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), HE &&= (clearInterval(HE), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), VE &&= (clearInterval(VE), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(xE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), HE && clearInterval(HE), HE = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(bE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), VE && clearInterval(VE), VE = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(xE, t), s = () => document.removeEventListener(xE, t);+ document.addEventListener(bE, t), s = () => document.removeEventListener(bE, t);}- let c = e.el().querySelector("video"), l = c ? afe(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, Nfe()));+ let c = e.el().querySelector("video"), l = c ? ofe(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, Pfe()));};return e.one("dispose", d), d;}-function GE(e, t) {- if (t.kind === "immerse") return jfe(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = fE(), c = t.chrome === !1 ? null : e.parentElement;- c && Ife(c, e);- let l = AE(n, r, i?.index ?? null), u = {+function WE(e, t) {+ if (t.kind === "immerse") return Mfe(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = dE(), c = t.chrome === !1 ? null : e.parentElement;+ c && Lfe(c, e);+ let l = kE(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: hfe(l, r),+ time: gfe(l, r),autoplay: !1}};@@ -32604,38 +32604,38 @@ function GE(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (kE(m), d ? (gE() === d && (_E(null), Nfe()), NE(d)) : ME(m));+ p(), !(d && a?.(d)) && (OE(m), d ? (hE() === d && (gE(null), Pfe()), ME(d)) : jE(m));};- return Pfe(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, gfe(l, m), n === "follow" ? yfe(r, m) : (m.addEventListener("play", () => {+ return Ffe(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, _fe(l, m), n === "follow" ? bfe(r, m) : (m.addEventListener("play", () => {Ut("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), vfe(r, m, {+ }, { once: !0 }), yfe(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = Lfe(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = Rfe(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}//#endregion//#region src/player/playback.ts-function KE(e) {+function GE(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function Rfe(e, t) {+function zfe(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}//#endregion//#region src/player/preview-player.ts-function zfe(e, t, n) {+function Bfe(e, t, n) {e.controls = !1;let r = !1, i = null;- return VE().then((a) => {+ return BE().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32660,57 +32660,57 @@ function zfe(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (ofe(o, e), lfe(o, null, { thumbnail: !1 }), dfe(o));+ r || o.isDisposed() || (sfe(o, e), ufe(o, null, { thumbnail: !1 }), ffe(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, NE(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, ME(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}//#endregion//#region src/react/catalog-grid/catalog-view.ts-var qE = "peach.catalog-view.v1", JE = /* @__PURE__ */ new Set(), YE = "cards";-function XE() {+var KE = "peach.catalog-view.v1", qE = /* @__PURE__ */ new Set(), JE = "cards";+function YE() {try {- return localStorage.getItem(qE) === "list" ? "list" : "cards";+ return localStorage.getItem(KE) === "list" ? "list" : "cards";} catch {- return YE;+ return JE;}}-function Bfe(e) {- YE = e === "list" ? "list" : "cards";+function Vfe(e) {+ JE = e === "list" ? "list" : "cards";try {- localStorage.setItem(qE, YE);+ localStorage.setItem(KE, JE);} catch {}- JE.forEach((e) => e());+ qE.forEach((e) => e());}-function Vfe(e) {- JE.add(e);+function Hfe(e) {+ qE.add(e);let t = (t) => {- (t.key === qE || t.key === null) && e();+ (t.key === KE || t.key === null) && e();};return addEventListener("storage", t), () => {- JE.delete(e), removeEventListener("storage", t);+ qE.delete(e), removeEventListener("storage", t);};}-var ZE = () => (0, E.useSyncExternalStore)(Vfe, XE, () => "cards");-function QE(e, t) {+var XE = () => (0, E.useSyncExternalStore)(Hfe, YE, () => "cards");+function ZE(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var Hfe = (e, t) => [+var Ufe = (e, t) => ["catalog-grid","catalog",e,t-], Ufe = (e, t) => [+], Wfe = (e, t) => ["catalog-grid","entity",e,t];-async function Wfe(e, t, n, r, i) {+async function Gfe(e, t, n, r, i) {let a = new URLSearchParams(e);a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");let o = await H(`/api/items?${a}`, i), s = {@@ -32720,22 +32720,22 @@ async function Wfe(e, t, n, r, i) {};return !t && !s.items.length && !r && (s.libraryEmpty = (await H("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var Gfe = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Kfe = (e, t) => {+var Kfe = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, qfe = (e, t) => {let n = t.reduce((e, t) => e + t.items.length, 0);return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;};-function qfe(e) {- let t = QE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function Jfe(e) {+ let t = ZE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: Hfe(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => Wfe(t, e, n, r, i),+ queryKey: Ufe(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => Gfe(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: Gfe(n)+ getNextPageParam: Kfe(n)};}-function Jfe(e) {+function Yfe(e) {return {- queryKey: Ufe(e.entityKey || "", e.revision || 0),+ queryKey: Wfe(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32750,12 +32750,12 @@ function Jfe(e) {};},initialPageParam: 0,- getNextPageParam: Kfe+ getNextPageParam: qfe};}-async function Yfe(e, t) {- if (e.mode !== "catalog" || e.wall || XE() === "list") return;- let n = qfe(e);+async function Xfe(e, t) {+ if (e.mode !== "catalog" || e.wall || YE() === "list") return;+ let n = Jfe(e);await W.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -32764,11 +32764,11 @@ async function Yfe(e, t) {})});}-function Xfe(e) {+function Zfe(e) {let t = JSON.stringify(e);return W.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function Zfe(e, t, n) {+function Qfe(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32783,24 +32783,24 @@ function Zfe(e, t, n) {return !0;}) : [...e];}-var $E = (e, t) => !!e && !!ma(e, t);-function Qfe(e, t) {- let n = (e) => $E(e, t) && !!(e.creator || (e.performers || []).length || e.studio);- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => $E(e, t)) || e[e.length - 1];+var QE = (e, t) => !!e && !!ma(e, t);+function $fe(e, t) {+ let n = (e) => QE(e, t) && !!(e.creator || (e.performers || []).length || e.studio);+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => QE(e, t)) || e[e.length - 1];}-function $fe(e, { collapse: t, mix: n, javImage: r }) {+function epe(e, { collapse: t, mix: n, javImage: r }) {let i = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()}, a = /* @__PURE__ */ new Set(), o = [], s = [];for (let c of e) {s.push(o.length);- let e = Zfe(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = Qfe(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({kind: "card",item: e}));if (n && e.length >= 8) {- let t = Qfe(e, r);+ let t = $fe(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32813,16 +32813,16 @@ function $fe(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function epe(e, t, n) {+function tpe(e, t, n) {let r = Math.max(1, n), i = [];for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);return i;}-function tpe(e, t) {+function npe(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();}-function npe(e, t) {+function rpe(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32835,10 +32835,10 @@ function npe(e, t) {strip: null}), r;}-function eD(e, t) {- rpe((t) => t.id === e, t);+function $E(e, t) {+ ipe((t) => t.id === e, t);}-function rpe(e, t) {+function ipe(e, t) {W.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {@@ -32859,34 +32859,34 @@ function rpe(e, t) {} : n)});}-var ipe = (e) => Math.min(Math.max(e || 0, 0), 100), tD = (e) => Math.round(ipe(e) / 20), ape = (e) => {- let t = tD(e);+var ape = (e) => Math.min(Math.max(e || 0, 0), 100), eD = (e) => Math.round(ape(e) / 20), ope = (e) => {+ let t = eD(e);return t ? `${t} 星` : "未评分";-}, ope = (e, t) => t === tD(e) ? 0 : t * 20, nD = (e) => ["item", e], rD = (e) => [+}, spe = (e, t) => t === eD(e) ? 0 : t * 20, tD = (e) => ["item", e], nD = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], spe = (e, t) => [+], cpe = (e, t) => ["item-related",e,t-], cpe = (e) => `/api/item?id=${e}`, lpe = (e, t) => `/api/related?id=${e}&limit=${t}`, iD = "/api/playlist", upe = "/api/feedback", aD = "/api/item-tag", dpe = "/api/watch-later", fpe = "/api/quality-goal", ppe = "/api/preference", oD = class extends Error {};-async function sD(e, t) {- let n = await H(cpe(e), t);- if (n.error) throw new oD(n.error);+], lpe = (e) => `/api/item?id=${e}`, upe = (e, t) => `/api/related?id=${e}&limit=${t}`, rD = "/api/playlist", dpe = "/api/feedback", iD = "/api/item-tag", fpe = "/api/watch-later", ppe = "/api/quality-goal", mpe = "/api/preference", aD = class extends Error {};+async function oD(e, t) {+ let n = await H(lpe(e), t);+ if (n.error) throw new aD(n.error);return n;}-async function cD(e, t, n) {+async function sD(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([sD(r, n), t.mixRelated(r)]);- return W.setQueryData(nD(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([oD(r, n), t.mixRelated(r)]);+ return W.setQueryData(tD(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${Va(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return mpe(await H(`${iD}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return hpe(await H(`${rD}?id=${e.playlistId}`, n));let r = await H(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -32897,19 +32897,19 @@ async function cD(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var mpe = (e) => ({+var hpe = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), hpe = (e) => e.disposal === "vanished";-function lD(e, t) {+}), gpe = (e) => e.disposal === "vanished";+function cD(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !hpe(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !gpe(e)) : e.items;return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;}-function gpe(e, t) {+function _pe(e, t) {if (t?.kind !== "parts" && t?.kind !== "editions") return e;let n = t.items.find((t) => t.id === e.id)?.part_label || "";return e.part_label === n ? e : {@@ -32917,20 +32917,20 @@ function gpe(e, t) {part_label: n};}-function _pe(e, t) {+function vpe(e, t) {if (!e || e.kind !== "parts" && e.kind !== "editions") return null;let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;}-async function vpe(e, t) {+async function ype(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = rD(n);+ let o = nD(n);try {let r = n.fresh ? void 0 : W.getQueryData(o);a = !r && n.kind === "mix", i = r || await W.fetchQuery({queryKey: o,- queryFn: () => cD(n, e.helpers, t),+ queryFn: () => sD(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32942,21 +32942,21 @@ async function vpe(e, t) {return;}}- let o = i ? lD(i, e.id) : e.id;+ let o = i ? cD(i, e.id) : e.id;if (o == null) {r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });return;}- let s, c = a && o === i?.seedId ? W.getQueryData(nD(o)) : void 0;+ let s, c = a && o === i?.seedId ? W.getQueryData(tD(o)) : void 0;try {s = c || await W.fetchQuery({- queryKey: nD(o),- queryFn: () => sD(o, t),+ queryKey: tD(o),+ queryFn: () => oD(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof oD) {+ if (e instanceof aD) {r.redirect({ kind: "gone" });return;}@@ -32967,7 +32967,7 @@ async function vpe(e, t) {id: Number(s.follow_item_id)});}-function ype(e) {+function bpe(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = sn(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -32989,35 +32989,35 @@ function ype(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function bpe(e, t) {+function xpe(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = sn(t.tagLabel(e.k)), i = n.get(r);(!i || sn(e.k) === r && sn(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var uD = (e, t) => (e.tags || []).some((e) => sn(e.k) === sn(t)), xpe = (e, t) => ({+var lD = (e, t) => (e.tags || []).some((e) => sn(e.k) === sn(t)), Spe = (e, t) => ({...e,tags: (e.tags || []).filter((e) => sn(e.k) !== sn(t))-}), Spe = (e, t) => uD(e, t.k) ? e : {+}), Cpe = (e, t) => lD(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, Cpe = "peach.recentTags";-function wpe() {+}, wpe = "peach.recentTags";+function Tpe() {try {- let e = JSON.parse(localStorage.getItem(Cpe) || "[]");+ let e = JSON.parse(localStorage.getItem(wpe) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function Tpe(e) {+function Epe(e) {try {- let t = wpe().filter((t) => sn(t) !== sn(e));- localStorage.setItem(Cpe, JSON.stringify([e, ...t].slice(0, 12)));+ let t = Tpe().filter((t) => sn(t) !== sn(e));+ localStorage.setItem(wpe, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function Epe(e, t, n) {+function Dpe(e, t, n) {let r = sn(e), i = new Map(t.map((e) => [sn(e.k), e])), a = t.filter((e) => !r || sn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(sn(e)) || {k: e,n: 0@@ -33028,73 +33028,73 @@ function Epe(e, t, n) {create: r && !s ? e.trim() : ""};}-var Dpe = {+var Ope = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, Ope = {+}, kpe = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function kpe(e) {+function Ape(e) {let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;return {- title: Ope[e.kind],+ title: kpe[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var dD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Ape = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(dD(e.part_label))}</small>` : "";-function jpe(e, t, n, r) {+var uD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, jpe = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(uD(e.part_label))}</small>` : "";+function Mpe(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var Mpe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function Npe(e, t) {+var Npe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function Ppe(e, t) {return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";}-function Ppe(e) {+function Fpe(e) {let t = Number(e.duration) > 0 ? Number(e.duration) : 0;return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;}-function Fpe(e, t) {+function Ipe(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}//#endregion//#region src/react/immerse/immerse.ts-var Ipe = (e, t, n) => [+var Lpe = (e, t, n) => ["immerse-list",e,t,n];-function Lpe(e) {+function Rpe(e) {let t = new URLSearchParams();for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();}-var Rpe = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function zpe(e, t = Math.random) {+var zpe = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function Bpe(e, t = Math.random) {for (let n = e.length - 1; n > 0; n--) {let r = Math.floor(t() * (n + 1));[e[n], e[r]] = [e[r], e[n]];}return e;}-async function Bpe(e, t) {- return zpe(((await H(`/api/items?${e}`)).items || []).filter((e) => Rpe(e, t)));+async function Vpe(e, t) {+ return Bpe(((await H(`/api/items?${e}`)).items || []).filter((e) => zpe(e, t)));}-var Vpe = (e) => W.ensureQueryData({- queryKey: nD(e),- queryFn: ({ signal: t }) => sD(e, t)+var Hpe = (e) => W.ensureQueryData({+ queryKey: tD(e),+ queryFn: ({ signal: t }) => oD(e, t)});-function Hpe(e, t) {+function Upe(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function Upe(e) {+function Wpe(e) {let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";return {who: n,@@ -33103,306 +33103,306 @@ function Upe(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Wpe(e, t, n) {+function Gpe(e, t, n) {if (!e || !t || !n || !Number.isFinite(n)) return null;let r = e / t;return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";}-function Gpe(e, t) {+function Kpe(e, t) {return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);}-var Kpe = 15e3, qpe = {+var qpe = 15e3, Jpe = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, fD = null, pD = null, mD = qpe, hD = /* @__PURE__ */ new Set(), gD = 0, Jpe = 0, _D = 0, Ype = "", vD = [], yD = 0, bD = !1, xD = !1, SD = null, CD = /* @__PURE__ */ new Set(), wD = "", TD = null, ED = 0, DD = null, OD = !1;-function kD() {- if (!fD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return fD;+}, dD = null, fD = null, pD = Jpe, mD = /* @__PURE__ */ new Set(), hD = 0, Ype = 0, gD = 0, Xpe = "", _D = [], vD = 0, yD = !1, bD = !1, xD = null, SD = /* @__PURE__ */ new Set(), CD = "", wD = null, TD = 0, ED = null, DD = !1;+function OD() {+ if (!dD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return dD;}-function Xpe(e) {- return hD.add(e), () => {- hD.delete(e);+function Zpe(e) {+ return mD.add(e), () => {+ mD.delete(e);};}-function Zpe() {- for (let e of [...hD]) e();+function Qpe() {+ for (let e of [...mD]) e();}-function AD() {- (0, St.flushSync)(Zpe);+function kD() {+ (0, St.flushSync)(Qpe);}-function Qpe() {- let e = TD ? Hde(TD.id) : 0;- return e ? `${wD} · ${CE(e)}` : wD;+function $pe() {+ let e = wD ? Ude(wD.id) : 0;+ return e ? `${CD} · ${SE(e)}` : CD;}-function jD(e, t = null) {- clearInterval(ED), ED = 0, e === null ? (mD = {- ...mD,+function AD(e, t = null) {+ clearInterval(TD), TD = 0, e === null ? (pD = {+ ...pD,loading: null- }, AD()) : (wD = e, TD = t, mD = {- ...mD,- loading: Qpe()- }, AD(), ED = window.setInterval(() => {- TD = vD[yD] ?? null, mD = {- ...mD,- loading: Qpe()- }, AD();+ }, kD()) : (CD = e, wD = t, pD = {+ ...pD,+ loading: $pe()+ }, kD(), TD = window.setInterval(() => {+ wD = _D[vD] ?? null, pD = {+ ...pD,+ loading: $pe()+ }, kD();}, 500));}-function $pe(e) {+function eme(e) {let t = document.createElement("div");t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);let n = document.createElement("video");- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), pD.track.append(t);- let r = bfe(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), fD.track.append(t);+ let r = xfe(), i = () => {}, a = {el: t,video: n,session: r,- release: () => IE(r),+ release: () => FE(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return CD.add(a), a;+ return SD.add(a), a;}-function eme(e, t) {+function tme(e, t) {return new Promise((n) => {- e.release = GE(e.video, {+ e.release = WE(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- mD.open && PD(1);+ pD.open && ND(1);}}), e.gone.then(n);});}-function MD(e) {- e && !e.disposed && (e.disposed = !0, CD.delete(e), e.leave(), e.release(), e.el.remove(), SD === e && (SD = null));+function jD(e) {+ e && !e.disposed && (e.disposed = !0, SD.delete(e), e.leave(), e.release(), e.el.remove(), xD === e && (xD = null));}-var tme = [+var nme = ["loadeddata","canplay","error"];-function nme(e) {+function rme(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), tme.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), nme.forEach((e) => t.removeEventListener(e, i)), n());};- tme.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, Kpe);+ nme.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, qpe);e.gone.then(i);});}-function ND(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Wpe(e.videoWidth, e.videoHeight, n);+function MD(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Gpe(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var rme = () => pD?.track.querySelectorAll("video").forEach(ND);-function ime(e) {- delete e.dataset.fit, e.readyState >= 1 ? ND(e) : e.addEventListener("loadedmetadata", () => ND(e), { once: !0 });-}+var ime = () => fD?.track.querySelectorAll("video").forEach(MD);function ame(e) {- mD = {- ...mD,+ delete e.dataset.fit, e.readyState >= 1 ? MD(e) : e.addEventListener("loadedmetadata", () => MD(e), { once: !0 });+}+function ome(e) {+ pD = {+ ...pD,wide: e- }, AD(), rme();+ }, kD(), ime();}-var ome = () => {- let e = Ype;+var sme = () => {+ let e = Xpe;return W.fetchQuery({- queryKey: Ipe(e, Jpe, _D),- queryFn: () => Bpe(e, kD().sourceOffline),+ queryKey: Lpe(e, Ype, gD),+ queryFn: () => Vpe(e, OD().sourceOffline),staleTime: Infinity});};-function sme(e, t) {+function cme(e, t) {let n = () => un(e.duration) || un(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && pD && (pD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), DD = {+ t && fD && (fD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), ED = {video: e,duration: n};}-async function cme(e = 0) {- let t = vD[yD];- if (!t || bD) return;- let n = gD;- kD().route(t.id), bD = !0, jD(e ? "切换中…" : "加载中…", t);+async function lme(e = 0) {+ let t = _D[vD];+ if (!t || yD) return;+ let n = hD;+ OD().route(t.id), yD = !0, AD(e ? "切换中…" : "加载中…", t);let r = null;try {- if (await Vpe(t.id).catch((e) => {- if (!(e instanceof oD)) throw e;- }), n !== gD) return;- let i = SD, a = !!(e && i);- a || MD(i);- let o = $pe(a ? e > 0 ? 100 : -100 : 0);- if (r = o, ime(o.video), await eme(o, t), await nme(o), o.disposed || (ame(Gpe(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await Hpe(t.id).catch((e) => {+ if (!(e instanceof aD)) throw e;+ }), n !== hD) return;+ let i = xD, a = !!(e && i);+ a || jD(i);+ let o = eme(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, ame(o.video), await tme(o, t), await rme(o), o.disposed || (ome(Kpe(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";- })), await new Promise((e) => setTimeout(e, 210)), MD(i), o.el.style.transform = ""), o.disposed)) return;- SD = o, r = null, o.video.play()?.catch(() => {}), mD = {- ...mD,+ })), await new Promise((e) => setTimeout(e, 210)), jD(i), o.el.style.transform = ""), o.disposed)) return;+ xD = o, r = null, o.video.play()?.catch(() => {}), pD = {+ ...pD,idle: !1,shown: {item: t,- index: yD,- length: vD.length+ index: vD,+ length: _D.length}- }, sme(o.video, t), U("/api/play", { id: t.id }).catch(() => {}), jD(null);+ }, cme(o.video, t), U("/api/play", { id: t.id }).catch(() => {}), AD(null);} catch {- MD(r), n === gD && jD(null);+ jD(r), n === hD && AD(null);} finally {- n === gD && (bD = !1);+ n === hD && (yD = !1);}}-async function PD(e) {- if (bD || !mD.open) return;- let t = gD;- if (yD += e, jD("切换中…", vD[yD] ?? null), yD >= vD.length - 3 && !xD) {- xD = !0;+async function ND(e) {+ if (yD || !pD.open) return;+ let t = hD;+ if (vD += e, AD("切换中…", _D[vD] ?? null), vD >= _D.length - 3 && !bD) {+ bD = !0;try {- _D += 1;- let e = await ome();- t === gD && (vD = Hpe(vD, e));+ gD += 1;+ let e = await sme();+ t === hD && (_D = Upe(_D, e));} catch {} finally {- xD = !1;+ bD = !1;}}- t === gD && (yD >= vD.length && (yD = 0), yD < 0 && (yD = vD.length - 1), await cme(e));+ t === hD && (vD >= _D.length && (vD = 0), vD < 0 && (vD = _D.length - 1), await lme(e));}-async function lme(e) {- let t = ++gD;- ume(), Jpe += 1, _D = 0, Ype = Lpe(kD().filters()), W.removeQueries({ queryKey: ["immerse-list"] }), mD = {- ...mD,+async function ume(e) {+ let t = ++hD;+ dme(), Ype += 1, gD = 0, Xpe = Rpe(OD().filters()), W.removeQueries({ queryKey: ["immerse-list"] }), pD = {+ ...pD,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), jD("加载内容…");+ }, document.body.setAttribute("data-immerse-open", ""), AD("加载内容…");try {- let n = await ome();+ let n = await sme();if (e && !n.some((t) => t.id === e)) {- let t = await Vpe(e).catch((e) => {- if (e instanceof oD) return null;+ let t = await Hpe(e).catch((e) => {+ if (e instanceof aD) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== gD) return;- if (vD = n, !vD.length) {- FD(), kD().warn("当前筛选下没有可直接播放的内容");+ if (t !== hD) return;+ if (_D = n, !_D.length) {+ PD(), OD().warn("当前筛选下没有可直接播放的内容");return;}- yD = Math.max(0, vD.findIndex((t) => t.id === e)), await cme();+ vD = Math.max(0, _D.findIndex((t) => t.id === e)), await lme();} catch {- if (t !== gD) return;- jD(null), FD();+ if (t !== hD) return;+ AD(null), PD();}}-function ume() {- clearInterval(ED), ED = 0, zD(), RD = null, DD = null, OD = !1, [...CD].forEach(MD), bD = !1;+function dme() {+ clearInterval(TD), TD = 0, RD(), LD = null, ED = null, DD = !1, [...SD].forEach(jD), yD = !1;}-function FD() {- mD.open && (gD++, ume(), mD = qpe, document.body.removeAttribute("data-immerse-open"), AD(), kD().closed());+function PD() {+ pD.open && (hD++, dme(), pD = Jpe, document.body.removeAttribute("data-immerse-open"), kD(), OD().closed());}-var ID = 0, LD = null, dme = 0, RD = null, fme = 0;-function zD() {- clearTimeout(ID), ID = 0, LD = null;+var FD = 0, ID = null, fme = 0, LD = null, pme = 0;+function RD() {+ clearTimeout(FD), FD = 0, ID = null;}-function pme(e) {- let t = SD?.video;+function mme(e) {+ let t = xD?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- LD && LD.side === n && r - LD.at <= 280 ? (zD(), Rfe(t, kD().seekSeconds() * n)) : (ID && (clearTimeout(ID), ID = 0, KE(t)), LD = {+ ID && ID.side === n && r - ID.at <= 280 ? (RD(), zfe(t, OD().seekSeconds() * n)) : (FD && (clearTimeout(FD), FD = 0, GE(t)), ID = {side: n,at: r- }, ID = window.setTimeout(() => {- ID = 0, LD = null, mD.open && KE(SD?.video);+ }, FD = window.setTimeout(() => {+ FD = 0, ID = null, pD.open && GE(xD?.video);}, 280));}-function mme() {- Date.now() < dme || KE(SD?.video);+function hme() {+ Date.now() < fme || GE(xD?.video);}-var BD = (e) => pD?.bar.toggleAttribute("data-scrubbing", e);-function VD(e) {- pD && (pD.progress.style.width = `${(e * 100).toFixed(2)}%`);+var zD = (e) => fD?.bar.toggleAttribute("data-scrubbing", e);+function BD(e) {+ fD && (fD.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function hme(e) {+function gme(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- RD = null;+ LD = null;return;}- let n = SD?.video;- RD = {+ let n = xD?.video;+ LD = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function gme(e) {- if (!RD || e.touches.length !== 1) return;- let t = e.touches[0].clientX - RD.x, n = e.touches[0].clientY - RD.y;- if (!RD.axis) {+function _me(e) {+ if (!LD || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - LD.x, n = e.touches[0].clientY - LD.y;+ if (!LD.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- RD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", RD.axis === "x" && BD(!0);+ LD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", LD.axis === "x" && zD(!0);}- if (RD.axis !== "x") return;- let r = SD?.video, i = r && r.duration || 0;- i && (e.preventDefault(), RD.to = Math.min(i, Math.max(0, RD.from + t / window.innerWidth * i)), VD(RD.to / i));+ if (LD.axis !== "x") return;+ let r = xD?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), LD.to = Math.min(i, Math.max(0, LD.from + t / window.innerWidth * i)), BD(LD.to / i));}-function _me(e) {- if (!RD) return;- let t = RD;- if (RD = null, dme = Date.now() + 700, BD(!1), t.axis === "x") {- let e = SD?.video;+function vme(e) {+ if (!LD) return;+ let t = LD;+ if (LD = null, fme = Date.now() + 700, zD(!1), t.axis === "x") {+ let e = xD?.video;e && t.to != null && (e.currentTime = t.to);return;}let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;- Math.abs(i) > 60 ? (zD(), PD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), pme(n.clientX));+ Math.abs(i) > 60 ? (RD(), ND(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), mme(n.clientX));}-function vme() {- RD = null, BD(!1);+function yme() {+ LD = null, zD(!1);}-function yme(e) {+function bme(e) {let t = Date.now();- t - fme < 260 || (fme = t, PD(e.deltaY > 0 ? 1 : -1));+ t - pme < 260 || (pme = t, ND(e.deltaY > 0 ? 1 : -1));}-function HD(e) {- let t = pD.bar.getBoundingClientRect();+function VD(e) {+ let t = fD.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function bme(e) {- DD?.duration() && (OD = !0, BD(!0), e.currentTarget.setPointerCapture(e.pointerId), VD(HD(e)), e.preventDefault());-}function xme(e) {- OD && VD(HD(e));+ ED?.duration() && (DD = !0, zD(!0), e.currentTarget.setPointerCapture(e.pointerId), BD(VD(e)), e.preventDefault());}function Sme(e) {- if (!OD) return;- OD = !1, BD(!1);- let t = DD?.duration();- DD && t && (DD.video.currentTime = t * HD(e));+ DD && BD(VD(e));+}+function Cme(e) {+ if (!DD) return;+ DD = !1, zD(!1);+ let t = ED?.duration();+ ED && t && (ED.video.currentTime = t * VD(e));}-function Cme() {- OD = !1, BD(!1);+function wme() {+ DD = !1, zD(!1);}-async function UD(e, t) {- let n = await U(upe, {+async function HD(e, t) {+ let n = await U(dpe, {id: e,kind: t- }), r = W.getQueryData(nD(e));- if (!r) return eD(e, {+ }), r = W.getQueryData(tD(e));+ if (!r) return $E(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33411,7 +33411,7 @@ async function UD(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return W.setQueryData(nD(e), i), eD(e, {+ return W.setQueryData(tD(e), i), $E(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33419,7 +33419,7 @@ async function UD(e, t) {o_count: i.o_count}), n;}-var wme = [+var Tme = [{kind: "dislike",glyph: "thumbs-down",@@ -33436,31 +33436,31 @@ var wme = [label: "记一次高潮"}];-function Tme(e) {+function Eme(e) {return yt({- queryKey: nD(e ?? 0),- queryFn: ({ signal: t }) => sD(e, t),+ queryKey: tD(e ?? 0),+ queryFn: ({ signal: t }) => oD(e, t),enabled: e != null,staleTime: Infinity}).data;}-function Eme({ kind: e, glyph: t, label: n, id: r }) {- let i = Tme(r), a = bt({+function Dme({ kind: e, glyph: t, label: n, id: r }) {+ let i = Eme(r), a = bt({mutationFn: async (t) => {- let n = W.getQueryData(nD(t))?.feedback || null;+ let n = W.getQueryData(tD(t))?.feedback || null;return {- result: await UD(t, e),+ result: await HD(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- kD().toast(Fpe(e, t), { undo: async () => {- e === "o" ? await UD(r, "o-undo") : (t.feedback && await UD(r, t.feedback), n && await UD(r, n));+ OD().toast(Ipe(e, t), { undo: async () => {+ e === "o" ? await HD(r, "o-undo") : (t.feedback && await HD(r, t.feedback), n && await HD(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- PD(1);+ ND(1);}, 260);},- onError: (e) => kD().failure("更新反馈", e)+ onError: (e) => OD().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, D.jsxs)("div", {"data-immerse-action": "",@@ -33491,11 +33491,11 @@ function Eme({ kind: e, glyph: t, label: n, id: r }) {})]});}-function Dme({ shown: e }) {- let t = e?.item ?? null, n = Tme(t?.id ?? null), r = n ? Upe(n) : null, i = kD(), a = (e) => {- e.preventDefault(), n && (FD(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function Ome({ shown: e }) {+ let t = e?.item ?? null, n = Eme(t?.id ?? null), r = n ? Wpe(n) : null, i = OD(), a = (e) => {+ e.preventDefault(), n && (PD(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (FD(), i.openItem(t.id));+ t && (PD(), i.openItem(t.id));}, s = r ? Da(r.name, r.ref, ua(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, D.jsxs)("div", {"data-immerse-ui": "",@@ -33524,18 +33524,18 @@ function Dme({ shown: e }) {})]});}-var Ome = { __html: Go("媒体加载中") };-function kme({ view: e }) {+var kme = { __html: Go("媒体加载中") };+function Ame({ view: e }) {let t = (0, E.useRef)(null), n = (0, E.useRef)(null), r = (0, E.useRef)(null), i = (0, E.useRef)(null);(0, E.useLayoutEffect)(() => {let e = t.current;- return pD = {+ return fD = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", hme, { passive: !0 }), e.addEventListener("touchmove", gme, { passive: !1 }), e.addEventListener("touchend", _me, { passive: !1 }), e.addEventListener("touchcancel", vme, { passive: !0 }), e.addEventListener("wheel", yme, { passive: !0 }), () => {- e.removeEventListener("touchstart", hme), e.removeEventListener("touchmove", gme), e.removeEventListener("touchend", _me), e.removeEventListener("touchcancel", vme), e.removeEventListener("wheel", yme), pD = null;+ }, e.addEventListener("touchstart", gme, { passive: !0 }), e.addEventListener("touchmove", _me, { passive: !1 }), e.addEventListener("touchend", vme, { passive: !1 }), e.addEventListener("touchcancel", yme, { passive: !0 }), e.addEventListener("wheel", bme, { passive: !0 }), () => {+ e.removeEventListener("touchstart", gme), e.removeEventListener("touchmove", _me), e.removeEventListener("touchend", vme), e.removeEventListener("touchcancel", yme), e.removeEventListener("wheel", bme), fD = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33552,10 +33552,10 @@ function kme({ view: e }) {children: [/* @__PURE__ */ (0, D.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: mme+ onClick: hme}), /* @__PURE__ */ (0, D.jsx)("div", {"data-immerse-actions": "",- children: wme.map((e) => /* @__PURE__ */ (0, D.jsx)(Eme, {+ children: Tme.map((e) => /* @__PURE__ */ (0, D.jsx)(Dme, {...e,id: a}, e.kind))@@ -33568,7 +33568,7 @@ function kme({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: Ome+ dangerouslySetInnerHTML: kme}), /* @__PURE__ */ (0, D.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, D.jsx)("button", {@@ -33576,7 +33576,7 @@ function kme({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: FD,+ onClick: PD,children: /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-x" })@@ -33585,90 +33585,90 @@ function kme({ view: e }) {/* @__PURE__ */ (0, D.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: bme,- onPointerMove: xme,- onPointerUp: Sme,- onPointerCancel: Cme,+ onPointerDown: xme,+ onPointerMove: Sme,+ onPointerUp: Cme,+ onPointerCancel: wme,children: /* @__PURE__ */ (0, D.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, D.jsx)(Dme, { shown: e.shown })+ /* @__PURE__ */ (0, D.jsx)(Ome, { shown: e.shown })]});}-var Ame = {- open: lme,- close: FD,- isOpen: () => mD.open,- activeVideo: () => mD.open ? SD?.video ?? null : null+var jme = {+ open: ume,+ close: PD,+ isOpen: () => pD.open,+ activeVideo: () => pD.open ? xD?.video ?? null : null};-function jme(e) {- if (!mD.open) return;+function Mme(e) {+ if (!pD.open) return;let t = e.target;- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && PD(1), e.key === "ArrowUp" && PD(-1)));+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && ND(1), e.key === "ArrowUp" && ND(-1)));}-function Mme(e) {- let t = !fD;- return fD = e, t && (document.addEventListener("keydown", jme), addEventListener("resize", () => {- mD.open && rme();+function Nme(e) {+ let t = !dD;+ return dD = e, t && (document.addEventListener("keydown", Mme), addEventListener("resize", () => {+ pD.open && ime();}), addEventListener("pagehide", () => {- CD.forEach((e) => IE(e.session));- })), Ame;+ SD.forEach((e) => FE(e.session));+ })), jme;}-function Nme() {- let e = (0, E.useSyncExternalStore)(Xpe, () => mD);- return fD ? /* @__PURE__ */ (0, D.jsx)(kme, { view: e }) : null;+function Pme() {+ let e = (0, E.useSyncExternalStore)(Zpe, () => pD);+ return dD ? /* @__PURE__ */ (0, D.jsx)(Ame, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var Pme = {+var Fme = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, Fme = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function Ime(e) {- let t = Pme[e.path] ? "cleanup" : e.section;+}, Ime = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function Lme(e) {+ let t = Fme[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var Lme = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function WD(e) {+var Rme = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function UD(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = Pme[e.path] ?? "";+ let n = Fme[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: Ime(e),+ pressed: Lme(e),crumb: n,- compact: Fme.has(e.path) || e.section === "configuration",+ compact: Ime.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: Lme(e.trash),+ text: Rme(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var GD = (e) => e.replace(/[&<>"']/g, (e) => ({+var WD = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), Rme = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${GD(e)}"/></svg>`, zme = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";-function Bme(e) {- let t = WD(e);+})[e]), zme = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${WD(e)}"/></svg>`, Bme = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";+function Vme(e) {+ let t = UD(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${GD(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${Rme(r)}<span>${GD(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${Rme("chevron-right")}</li><li aria-current="true"><span>${GD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? zme : `<span data-lede-text="">${GD(t.lede.text)}</span>${t.lede.total ? Vme : ""}`}</p>`;- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${GD(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${WD(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${zme(r)}<span>${WD(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${zme("chevron-right")}</li><li aria-current="true"><span>${WD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? Bme : `<span data-lede-text="">${WD(t.lede.text)}</span>${t.lede.total ? Hme : ""}`}</p>`;+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${WD(t.title)}</h2>` + i;}-var Vme = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Hme = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";//#endregion//#region src/react/settings-panel/icon.tsx-function KD({ name: e }) {+function GD({ name: e }) {let { wide: t, viewBox: n } = Ht(e);return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: n,@@ -33677,7 +33677,7 @@ function KD({ name: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-function Hme({ name: e }) {+function Ume({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33686,88 +33686,88 @@ function Hme({ name: e }) {}//#endregion//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs-var Ume = (e, t) => {+var Wme = (e, t) => {let n = Array(e.length + t.length);for (let t = 0; t < e.length; t++) n[t] = e[t];for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];return n;-}, Wme = (e, t) => ({+}, Gme = (e, t) => ({classGroupId: e,validator: t-}), Gme = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), Kme = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), qD = "-", Kme = [], qme = "arbitrary..", Jme = (e) => {- let t = Zme(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), KD = "-", qme = [], Jme = "arbitrary..", Yme = (e) => {+ let t = Qme(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return Xme(e);- let n = e.split(qD);- return Yme(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return Zme(e);+ let n = e.split(KD);+ return Xme(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Ume(i, t) : t : i || Kme;+ return t ? i ? Wme(i, t) : t : i || qme;}- return n[e] || Kme;+ return n[e] || qme;}};-}, Yme = (e, t, n) => {+}, Xme = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = Yme(e, t + 1, i);+ let n = Xme(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(qD) : e.slice(t).join(qD), s = a.length;+ let o = t === 0 ? e.join(KD) : e.slice(t).join(KD), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, Xme = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, Zme = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);- return r ? qme + r : void 0;-})(), Zme = (e) => {+ return r ? Jme + r : void 0;+})(), Qme = (e) => {let { theme: t, classGroups: n } = e;- return Qme(n, t);-}, Qme = (e, t) => {- let n = Gme();+ return $me(n, t);+}, $me = (e, t) => {+ let n = Kme();for (let r in e) {let i = e[r];- JD(i, n, r, t);+ qD(i, n, r, t);}return n;-}, JD = (e, t, n, r) => {+}, qD = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- $me(i, t, n, r);+ ehe(i, t, n, r);}-}, $me = (e, t, n, r) => {- typeof e == "string" ? ehe(e, t, n) : typeof e == "function" ? the(e, t, n, r) : nhe(e, t, n, r);-}, ehe = (e, t, n) => {- let r = e === "" ? t : rhe(t, e);+}, ehe = (e, t, n, r) => {+ typeof e == "string" ? the(e, t, n) : typeof e == "function" ? nhe(e, t, n, r) : rhe(e, t, n, r);+}, the = (e, t, n) => {+ let r = e === "" ? t : ihe(t, e);r.classGroupId = n;-}, the = (e, t, n, r) => {- ihe(e) ? JD(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Wme(n, e)));}, nhe = (e, t, n, r) => {+ ahe(e) ? qD(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Gme(n, e)));+}, rhe = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- JD(o, rhe(t, a), n, r);+ qD(o, ihe(t, a), n, r);}-}, rhe = (e, t) => {- let n = e, r = t.split(qD), i = r.length;+}, ihe = (e, t) => {+ let n = e, r = t.split(KD), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = Gme(), n.nextPart.set(t, i)), n = i;+ i || (i = Kme(), n.nextPart.set(t, i)), n = i;}return n;-}, ihe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ahe = (e) => {+}, ahe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ohe = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33785,19 +33785,19 @@ var Ume = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, YD = "!", ohe = ":", she = [], che = (e, t, n, r, i) => ({+}, JD = "!", she = ":", che = [], lhe = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), lhe = (e) => {+}), uhe = (e) => {let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {let t = [], n = 0, r = 0, i = 0, a, o = e.length;for (let s = 0; s < o; s++) {let o = e[s];if (n === 0 && r === 0) {- if (o === ohe) {+ if (o === she) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33809,13 +33809,13 @@ var Ume = (e, t) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(YD) ? (c = s.slice(0, -1), l = !0) : s.startsWith(YD) && (c = s.slice(1), l = !0);+ s.endsWith(JD) ? (c = s.slice(0, -1), l = !0) : s.startsWith(JD) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return che(t, l, c, u);+ return lhe(t, l, c, u);};if (t) {- let e = t + ohe, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : che(she, !1, t, void 0, !0);+ let e = t + she, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : lhe(che, !1, t, void 0, !0);}if (n) {let e = r;@@ -33825,7 +33825,7 @@ var Ume = (e, t) => {});}return r;-}, uhe = (e) => {+}, dhe = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33837,18 +33837,18 @@ var Ume = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, dhe = (e) => ({- cache: ahe(e.cacheSize),- parseClassName: lhe(e),- sortModifiers: uhe(e),- postfixLookupClassGroupIds: fhe(e),- ...Jme(e)-}), fhe = (e) => {+}, fhe = (e) => ({+ cache: ohe(e.cacheSize),+ parseClassName: uhe(e),+ sortModifiers: dhe(e),+ postfixLookupClassGroupIds: phe(e),+ ...Yme(e)+}), phe = (e) => {let t = Object.create(null), n = e.postfixLookupClassGroups;if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;return t;-}, phe = /\s+/, mhe = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(phe), l = "";+}, mhe = /\s+/, hhe = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(mhe), l = "";for (let e = c.length - 1; e >= 0; --e) {let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);if (u) {@@ -33868,7 +33868,7 @@ var Ume = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + YD : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + JD : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33879,34 +33879,34 @@ var Ume = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, hhe = (...e) => {+}, ghe = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = ghe(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = _he(n)) && (i && (i += " "), i += r);return i;-}, ghe = (e) => {+}, _he = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = ghe(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = _he(e[r])) && (n && (n += " "), n += t);return n;-}, _he = (e, ...t) => {- let n, r, i, a, o = (o) => (n = dhe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, vhe = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = fhe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {let t = r(e);if (t) return t;- let a = mhe(e, n);+ let a = hhe(e, n);return i(e, a), a;};- return a = o, (...e) => a(hhe(...e));-}, vhe = [], XD = (e) => {- let t = (t) => t[e] || vhe;+ return a = o, (...e) => a(ghe(...e));+}, yhe = [], YD = (e) => {+ let t = (t) => t[e] || yhe;return t.isThemeGetter = !0, t.themeKey = e, t;-}, yhe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, bhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, xhe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, She = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Che = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, whe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, The = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ehe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ZD = (e) => xhe.test(e), QD = (e) => !!e && !Number.isNaN(Number(e)), $D = (e) => !!e && Number.isInteger(Number(e)), eO = (e) => e.endsWith("%") && QD(e.slice(0, -1)), tO = (e) => She.test(e), Dhe = () => !0, Ohe = (e) => Che.test(e) && !whe.test(e), nO = () => !1, khe = (e) => The.test(e), Ahe = (e) => Ehe.test(e), jhe = (e) => !rO(e) && !oO(e), Mhe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Nhe = (e) => lO(e, Khe, nO), rO = (e) => yhe.test(e), iO = (e) => lO(e, qhe, Ohe), Phe = (e) => lO(e, Jhe, QD), Fhe = (e) => lO(e, Xhe, Dhe), Ihe = (e) => lO(e, Yhe, nO), Lhe = (e) => lO(e, Whe, nO), Rhe = (e) => lO(e, Ghe, Ahe), aO = (e) => lO(e, Zhe, khe), oO = (e) => bhe.test(e), sO = (e) => uO(e, qhe), zhe = (e) => uO(e, Yhe), Bhe = (e) => uO(e, Whe), Vhe = (e) => uO(e, Khe), Hhe = (e) => uO(e, Ghe), cO = (e) => uO(e, Zhe, !0), Uhe = (e) => uO(e, Xhe, !0), lO = (e, t, n) => {- let r = yhe.exec(e);- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, uO = (e, t, n = !1) => {+}, bhe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, xhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, She = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Che = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, whe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, The = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Ehe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Dhe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, XD = (e) => She.test(e), ZD = (e) => !!e && !Number.isNaN(Number(e)), QD = (e) => !!e && Number.isInteger(Number(e)), $D = (e) => e.endsWith("%") && ZD(e.slice(0, -1)), eO = (e) => Che.test(e), Ohe = () => !0, khe = (e) => whe.test(e) && !The.test(e), tO = () => !1, Ahe = (e) => Ehe.test(e), jhe = (e) => Dhe.test(e), Mhe = (e) => !nO(e) && !aO(e), Nhe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Phe = (e) => cO(e, qhe, tO), nO = (e) => bhe.test(e), rO = (e) => cO(e, Jhe, khe), Fhe = (e) => cO(e, Yhe, ZD), Ihe = (e) => cO(e, Zhe, Ohe), Lhe = (e) => cO(e, Xhe, tO), Rhe = (e) => cO(e, Ghe, tO), zhe = (e) => cO(e, Khe, jhe), iO = (e) => cO(e, Qhe, Ahe), aO = (e) => xhe.test(e), oO = (e) => lO(e, Jhe), Bhe = (e) => lO(e, Xhe), Vhe = (e) => lO(e, Ghe), Hhe = (e) => lO(e, qhe), Uhe = (e) => lO(e, Khe), sO = (e) => lO(e, Qhe, !0), Whe = (e) => lO(e, Zhe, !0), cO = (e, t, n) => {let r = bhe.exec(e);+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;+}, lO = (e, t, n = !1) => {+ let r = xhe.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, Whe = (e) => e === "position" || e === "percentage", Ghe = (e) => e === "image" || e === "url", Khe = (e) => e === "length" || e === "size" || e === "bg-size", qhe = (e) => e === "length", Jhe = (e) => e === "number", Yhe = (e) => e === "family-name", Xhe = (e) => e === "number" || e === "weight", Zhe = (e) => e === "shadow", Qhe = () => {- let e = XD("color"), t = XD("font"), n = XD("text"), r = XD("font-weight"), i = XD("tracking"), a = XD("leading"), o = XD("breakpoint"), s = XD("container"), c = XD("spacing"), l = XD("radius"), u = XD("shadow"), d = XD("inset-shadow"), f = XD("text-shadow"), p = XD("drop-shadow"), m = XD("blur"), h = XD("perspective"), g = XD("aspect"), _ = XD("ease"), v = XD("animate"), y = () => [+}, Ghe = (e) => e === "position" || e === "percentage", Khe = (e) => e === "image" || e === "url", qhe = (e) => e === "length" || e === "size" || e === "bg-size", Jhe = (e) => e === "length", Yhe = (e) => e === "number", Xhe = (e) => e === "family-name", Zhe = (e) => e === "number" || e === "weight", Qhe = (e) => e === "shadow", $he = () => {+ let e = YD("color"), t = YD("font"), n = YD("text"), r = YD("font-weight"), i = YD("tracking"), a = YD("leading"), o = YD("breakpoint"), s = YD("container"), c = YD("spacing"), l = YD("radius"), u = YD("shadow"), d = YD("inset-shadow"), f = YD("text-shadow"), p = YD("drop-shadow"), m = YD("blur"), h = YD("perspective"), g = YD("aspect"), _ = YD("ease"), v = YD("animate"), y = () => ["auto","avoid","all",@@ -33931,8 +33931,8 @@ var Ume = (e, t) => {"left-bottom"], x = () => [...b(),- oO,- rO+ aO,+ nO], S = () => ["auto","hidden",@@ -33944,43 +33944,43 @@ var Ume = (e, t) => {"contain","none"], w = () => [- oO,- rO,+ aO,+ nO,c], T = () => [- ZD,+ XD,"full","auto",...w()], E = () => [- $D,+ QD,"none","subgrid",- oO,- rO+ aO,+ nO], D = () => ["auto",{ span: ["full",- $D,- oO,- rO+ QD,+ aO,+ nO] },- $D,- oO,- rO+ QD,+ aO,+ nO], O = () => [- $D,+ QD,"auto",- oO,- rO+ aO,+ nO], k = () => ["auto","min","max","fr",- oO,- rO+ aO,+ nO], A = () => ["start","end",@@ -34000,7 +34000,7 @@ var Ume = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], N = () => [- ZD,+ XD,"auto","full","dvw",@@ -34015,7 +34015,7 @@ var Ume = (e, t) => {...w()], P = () => [s,- ZD,+ XD,"screen","full","dvw",@@ -34026,7 +34026,7 @@ var Ume = (e, t) => {"fit",...w()], F = () => [- ZD,+ XD,"screen","full","lh",@@ -34039,13 +34039,13 @@ var Ume = (e, t) => {...w()], I = () => [e,- oO,- rO+ aO,+ nO], ee = () => [...b(),- Bhe,- Lhe,- { position: [oO, rO] }+ Vhe,+ Rhe,+ { position: [aO, nO] }], L = () => ["no-repeat", { repeat: ["","x",@@ -34056,25 +34056,25 @@ var Ume = (e, t) => {"auto","cover","contain",- Vhe,- Nhe,- { size: [oO, rO] }+ Hhe,+ Phe,+ { size: [aO, nO] }], ne = () => [- eO,- sO,- iO+ $D,+ oO,+ rO], re = () => ["","none","full",l,- oO,- rO+ aO,+ nO], ie = () => ["",- QD,- sO,- iO+ ZD,+ oO,+ rO], ae = () => ["solid","dashed",@@ -34098,32 +34098,32 @@ var Ume = (e, t) => {"color","luminosity"], se = () => [- QD,- eO,- Bhe,- Lhe+ ZD,+ $D,+ Vhe,+ Rhe], ce = () => ["","none",m,- oO,- rO+ aO,+ nO], le = () => ["none",- QD,- oO,- rO+ ZD,+ aO,+ nO], ue = () => ["none",- QD,- oO,- rO+ ZD,+ aO,+ nO], de = () => [- QD,- oO,- rO- ], fe = () => [ZD,+ aO,+ nO+ ], fe = () => [+ XD,"full",...w()];@@ -34137,17 +34137,17 @@ var Ume = (e, t) => {"bounce"],aspect: ["video"],- blur: [tO],- breakpoint: [tO],- color: [Dhe],- container: [tO],- "drop-shadow": [tO],+ blur: [eO],+ breakpoint: [eO],+ color: [Ohe],+ container: [eO],+ "drop-shadow": [eO],ease: ["in","out","in-out"],- font: [jhe],+ font: [Mhe],"font-weight": ["thin","extralight",@@ -34159,7 +34159,7 @@ var Ume = (e, t) => {"extrabold","black"],- "inset-shadow": [tO],+ "inset-shadow": [eO],leading: ["none","tight",@@ -34176,11 +34176,11 @@ var Ume = (e, t) => {"distant","none"],- radius: [tO],- shadow: [tO],- spacing: ["px", QD],- text: [tO],- "text-shadow": [tO],+ radius: [eO],+ shadow: [eO],+ spacing: ["px", ZD],+ text: [eO],+ "text-shadow": [eO],tracking: ["tighter","tight",@@ -34194,9 +34194,9 @@ var Ume = (e, t) => {aspect: [{ aspect: ["auto","square",- ZD,- rO,- oO,+ XD,+ nO,+ aO,g] }],container: ["container"],@@ -34204,15 +34204,15 @@ var Ume = (e, t) => {"","normal","size",- oO,- rO+ aO,+ nO] }],- "container-named": [Mhe],+ "container-named": [Nhe],columns: [{ columns: [- QD,+ ZD,"auto",- rO,- oO,+ nO,+ aO,s] }],"break-after": [{ "break-after": y() }],@@ -34309,13 +34309,13 @@ var Ume = (e, t) => {"collapse"],z: [{ z: [- $D,+ QD,"auto",- oO,- rO+ aO,+ nO] }],basis: [{ basis: [- ZD,+ XD,"full","auto",s,@@ -34333,32 +34333,32 @@ var Ume = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- QD,ZD,+ XD,"auto","initial","none",- rO+ nO] }],grow: [{ grow: ["",- QD,- oO,- rO+ ZD,+ aO,+ nO] }],shrink: [{ shrink: ["",- QD,- oO,- rO+ ZD,+ aO,+ nO] }],order: [{ order: [- $D,+ QD,"first","last","none",- oO,- rO+ aO,+ nO] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34465,15 +34465,15 @@ var Ume = (e, t) => {"font-size": [{ text: ["base",n,- sO,- iO+ oO,+ rO] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Uhe,- Fhe+ Whe,+ Ihe] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34485,15 +34485,15 @@ var Ume = (e, t) => {"expanded","extra-expanded","ultra-expanded",- eO,- rO+ $D,+ nO] }],"font-family": [{ font: [- zhe,- Ihe,+ Bhe,+ Lhe,t] }],- "font-features": [{ "font-features": [rO] }],+ "font-features": [{ "font-features": [nO] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34502,14 +34502,14 @@ var Ume = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- oO,- rO+ aO,+ nO] }],"line-clamp": [{ "line-clamp": [- QD,+ ZD,"none",- oO,- Phe+ aO,+ Fhe] }],leading: [{ leading: ["none",@@ -34518,16 +34518,16 @@ var Ume = (e, t) => {] }],"list-image": [{ "list-image": ["none",- oO,- rO+ aO,+ nO] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- oO,- rO+ aO,+ nO] }],"text-alignment": [{ text: ["left",@@ -34547,18 +34547,18 @@ var Ume = (e, t) => {],"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- QD,+ ZD,"from-font","auto",- oO,- iO+ aO,+ rO] }],"text-decoration-color": [{ decoration: I() }],"underline-offset": [{ "underline-offset": [- QD,+ ZD,"auto",- oO,- rO+ aO,+ nO] }],"text-transform": ["uppercase",@@ -34579,9 +34579,9 @@ var Ume = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- $D,- oO,- rO+ QD,+ aO,+ nO] }],"vertical-align": [{ align: ["baseline",@@ -34592,8 +34592,8 @@ var Ume = (e, t) => {"text-bottom","sub","super",- oO,- rO+ aO,+ nO] }],whitespace: [{ whitespace: ["normal",@@ -34621,8 +34621,8 @@ var Ume = (e, t) => {] }],content: [{ content: ["none",- oO,- rO+ aO,+ nO] }],"bg-attachment": [{ bg: ["fixed",@@ -34657,24 +34657,24 @@ var Ume = (e, t) => {"l","tl"] },- $D,- oO,- rO+ QD,+ aO,+ nO],radial: ["",- oO,- rO+ aO,+ nO],conic: ["",- $D,- oO,- rO+ QD,+ aO,+ nO]},- Hhe,- Rhe+ Uhe,+ zhe] }],"bg-color": [{ bg: I() }],"gradient-from-pos": [{ from: ne() }],@@ -34741,15 +34741,15 @@ var Ume = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"outline-w": [{ outline: ["",- QD,- sO,- iO+ ZD,+ oO,+ rO] }],"outline-color": [{ outline: I() }],shadow: [{ shadow: [@@ -34757,35 +34757,35 @@ var Ume = (e, t) => {"inner","none",u,- cO,- aO+ sO,+ iO] }],"shadow-color": [{ shadow: I() }],"inset-shadow": [{ "inset-shadow": ["none",d,- cO,- aO+ sO,+ iO] }],"inset-shadow-color": [{ "inset-shadow": I() }],"ring-w": [{ ring: ie() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: I() }],- "ring-offset-w": [{ "ring-offset": [QD, iO] }],+ "ring-offset-w": [{ "ring-offset": [ZD, rO] }],"ring-offset-color": [{ "ring-offset": I() }],"inset-ring-w": [{ "inset-ring": ie() }],"inset-ring-color": [{ "inset-ring": I() }],"text-shadow": [{ "text-shadow": ["none",f,- cO,- aO+ sO,+ iO] }],"text-shadow-color": [{ "text-shadow": I() }],opacity: [{ opacity: [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"mix-blend": [{ "mix-blend": [...oe(),@@ -34807,7 +34807,7 @@ var Ume = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [QD] }],+ "mask-image-linear-pos": [{ "mask-linear": [ZD] }],"mask-image-linear-from-pos": [{ "mask-linear-from": se() }],"mask-image-linear-to-pos": [{ "mask-linear-to": se() }],"mask-image-linear-from-color": [{ "mask-linear-from": I() }],@@ -34836,7 +34836,7 @@ var Ume = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": se() }],"mask-image-y-from-color": [{ "mask-y-from": I() }],"mask-image-y-to-color": [{ "mask-y-to": I() }],- "mask-image-radial": [{ "mask-radial": [oO, rO] }],+ "mask-image-radial": [{ "mask-radial": [aO, nO] }],"mask-image-radial-from-pos": [{ "mask-radial-from": se() }],"mask-image-radial-to-pos": [{ "mask-radial-to": se() }],"mask-image-radial-from-color": [{ "mask-radial-from": I() }],@@ -34847,7 +34847,7 @@ var Ume = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [QD] }],+ "mask-image-conic-pos": [{ "mask-conic": [ZD] }],"mask-image-conic-from-pos": [{ "mask-conic-from": se() }],"mask-image-conic-to-pos": [{ "mask-conic-to": se() }],"mask-image-conic-from-color": [{ "mask-conic-from": I() }],@@ -34871,111 +34871,111 @@ var Ume = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- oO,- rO+ aO,+ nO] }],filter: [{ filter: ["","none",- oO,- rO+ aO,+ nO] }],blur: [{ blur: ce() }],brightness: [{ brightness: [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],contrast: [{ contrast: [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- cO,- aO+ sO,+ iO] }],"drop-shadow-color": [{ "drop-shadow": I() }],grayscale: [{ grayscale: ["",- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"hue-rotate": [{ "hue-rotate": [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],invert: [{ invert: ["",- QD,- oO,- rO+ ZD,+ aO,+ nO] }],saturate: [{ saturate: [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],sepia: [{ sepia: ["",- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- oO,- rO+ aO,+ nO] }],"backdrop-blur": [{ "backdrop-blur": ce() }],"backdrop-brightness": [{ "backdrop-brightness": [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"backdrop-contrast": [{ "backdrop-contrast": [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"backdrop-invert": [{ "backdrop-invert": ["",- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"backdrop-opacity": [{ "backdrop-opacity": [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"backdrop-saturate": [{ "backdrop-saturate": [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- QD,- oO,- rO+ ZD,+ aO,+ nO] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34991,39 +34991,39 @@ var Ume = (e, t) => {"shadow","transform","none",- oO,- rO+ aO,+ nO] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- QD,+ ZD,"initial",- oO,- rO+ aO,+ nO] }],ease: [{ ease: ["linear","initial",_,- oO,- rO+ aO,+ nO] }],delay: [{ delay: [- QD,- oO,- rO+ ZD,+ aO,+ nO] }],animate: [{ animate: ["none",v,- oO,- rO+ aO,+ nO] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- oO,- rO+ aO,+ nO] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: le() }],@@ -35039,8 +35039,8 @@ var Ume = (e, t) => {"skew-x": [{ "skew-x": de() }],"skew-y": [{ "skew-y": de() }],transform: [{ transform: [- oO,- rO,+ aO,+ nO,"","none","gpu",@@ -35054,9 +35054,9 @@ var Ume = (e, t) => {"translate-z": [{ "translate-z": fe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- $D,- oO,- rO+ QD,+ aO,+ nO] }],accent: [{ accent: I() }],appearance: [{ appearance: ["none", "auto"] }],@@ -35106,8 +35106,8 @@ var Ume = (e, t) => {"nwse-resize","zoom-in","zoom-out",- oO,- rO+ aO,+ nO] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -35193,15 +35193,15 @@ var Ume = (e, t) => {"scroll","contents","transform",- oO,- rO+ aO,+ nO] }],fill: [{ fill: ["none", ...I()] }],"stroke-w": [{ stroke: [- QD,- sO,- iO,- Phe+ ZD,+ oO,+ rO,+ Fhe] }],stroke: [{ stroke: ["none", ...I()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35459,16 +35459,16 @@ var Ume = (e, t) => {"selection"]};-}, $he = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (dO(e, "cacheSize", t), dO(e, "prefix", n), dO(e, "experimentalParseClassName", r), fO(e.theme, a.theme), fO(e.classGroups, a.classGroups), fO(e.conflictingClassGroups, a.conflictingClassGroups), fO(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), dO(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), dO(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), pO(e.theme, i.theme), pO(e.classGroups, i.classGroups), pO(e.conflictingClassGroups, i.conflictingClassGroups), pO(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), mO(e, i, "postfixLookupClassGroups"), mO(e, i, "orderSensitiveModifiers"), e), dO = (e, t, n) => {+}, ege = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (uO(e, "cacheSize", t), uO(e, "prefix", n), uO(e, "experimentalParseClassName", r), dO(e.theme, a.theme), dO(e.classGroups, a.classGroups), dO(e.conflictingClassGroups, a.conflictingClassGroups), dO(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), uO(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), uO(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), fO(e.theme, i.theme), fO(e.classGroups, i.classGroups), fO(e.conflictingClassGroups, i.conflictingClassGroups), fO(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), pO(e, i, "postfixLookupClassGroups"), pO(e, i, "orderSensitiveModifiers"), e), uO = (e, t, n) => {n !== void 0 && (e[t] = n);+}, dO = (e, t) => {+ if (t) for (let n in t) uO(e, n, t[n]);}, fO = (e, t) => {- if (t) for (let n in t) dO(e, n, t[n]);-}, pO = (e, t) => {- if (t) for (let n in t) mO(e, t, n);-}, mO = (e, t, n) => {+ if (t) for (let n in t) pO(e, t, n);+}, pO = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, ege = (e, ...t) => typeof e == "function" ? _he(Qhe, e, ...t) : _he(() => $he(Qhe(), e), ...t), tge = [+}, tge = (e, ...t) => typeof e == "function" ? vhe($he, e, ...t) : vhe(() => ege($he(), e), ...t), nge = ["large-title","display-1","display-2",@@ -35482,18 +35482,18 @@ var Ume = (e, t) => {"body-2","caption-1","caption-2"-], nge = [+], rge = ["regular","medium","semibold","bold"-], hO = ege({ extend: { classGroups: { "font-size": [{ text: tge.flatMap((e) => nge.map((t) => `${e}-${t}`)) }] } } });-function gO(e) {+], mO = tge({ extend: { classGroups: { "font-size": [{ text: nge.flatMap((e) => rge.map((t) => `${e}-${t}`)) }] } } });+function hO(e) {return e;}//#endregion//#region src/react/components/pill-tab.tsx-var rge = typeof window < "u" ? E.useLayoutEffect : E.useEffect, ige = gO({+var ige = typeof window < "u" ? E.useLayoutEffect : E.useEffect, age = hO({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35515,9 +35515,9 @@ var rge = typeof window < "u" ? E.useLayoutEffect : E.useEffect, ige = gO({gray: "text-text-primary"}});-function _O({ children: e, className: t, ref: n, container: r, ...i }) {+function gO({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, E.useRef)(null), [o, s] = (0, E.useState)(null);- rge(() => {+ ige(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35553,7 +35553,7 @@ function _O({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: hO("pointer-events-none absolute left-0 top-0", ige.radius[o.variant], ige.thumb[o.variant]),+ className: mO("pointer-events-none absolute left-0 top-0", age.radius[o.variant], age.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35564,44 +35564,44 @@ function _O({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, D.jsxs)("div", {ref: c,role: "group",- className: hO("relative inline-flex items-center gap-1", t),+ className: mO("relative inline-flex items-center gap-1", t),...i,children: [l, e]}) : r ? (0, St.createPortal)(l, r) : null;}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var vO = null, yO = null, bO = /* @__PURE__ */ new Set();-function age(e) {- return bO.add(e), () => {- bO.delete(e);+var _O = null, vO = null, yO = /* @__PURE__ */ new Set();+function oge(e) {+ return yO.add(e), () => {+ yO.delete(e);};}-function oge() {- for (let e of [...bO]) e();+function sge() {+ for (let e of [...yO]) e();}-var sge = { render(e) {- yO = e, (0, St.flushSync)(oge);+var cge = { render(e) {+ vO = e, (0, St.flushSync)(sge);} };-function cge(e) {- return vO = e, yO = null, sge;+function lge(e) {+ return _O = e, vO = null, cge;}-function lge() {- let e = (0, E.useSyncExternalStore)(age, () => yO);- return vO && e ? /* @__PURE__ */ (0, D.jsx)(uge, {- host: vO,+function uge() {+ let e = (0, E.useSyncExternalStore)(oge, () => vO);+ return _O && e ? /* @__PURE__ */ (0, D.jsx)(dge, {+ host: _O,props: e}) : null;}-function uge({ host: e, props: t }) {- let n = WD(t);+function dge({ host: e, props: t }) {+ let n = UD(t);return n ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(dge, {+ /* @__PURE__ */ (0, D.jsx)(fge, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, D.jsx)(fge, {+ n.crumb ? /* @__PURE__ */ (0, D.jsx)(pge, {host: e,label: n.crumb}) : null,@@ -35610,13 +35610,13 @@ function uge({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, D.jsx)(pge, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, D.jsx)(mge, {host: e,lede: n.lede})] }) : null;}-function dge({ host: e, pressed: t, menu: n }) {+function fge({ host: e, pressed: t, menu: n }) {let r = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35626,7 +35626,7 @@ function dge({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, D.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, D.jsx)(_O, {+ children: /* @__PURE__ */ (0, D.jsx)(gO, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35640,13 +35640,13 @@ function dge({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, D.jsx)(KD, { name: i }), /* @__PURE__ */ (0, D.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, D.jsx)(GD, { name: i }), /* @__PURE__ */ (0, D.jsx)("span", { children: r })]}, n);})})});}-function fge({ host: e, label: t }) {+function pge({ host: e, label: t }) {return /* @__PURE__ */ (0, D.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35656,20 +35656,20 @@ function fge({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, D.jsx)(KD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, D.jsx)("li", {+ }), /* @__PURE__ */ (0, D.jsx)(GD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, D.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, D.jsx)("span", { children: t })})] })});}-function pge({ host: e, lede: t }) {+function mge({ host: e, lede: t }) {return /* @__PURE__ */ (0, D.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, D.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: zme }- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(mge, { text: t.text }), t.total ? /* @__PURE__ */ (0, D.jsx)("button", {+ dangerouslySetInnerHTML: { __html: Bme }+ }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(hge, { text: t.text }), t.total ? /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35679,7 +35679,7 @@ function pge({ host: e, lede: t }) {}) : null] })});}-function mge({ text: e }) {+function hge({ text: e }) {let t = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {Zo(t.current, e);@@ -35690,20 +35690,20 @@ function mge({ text: e }) {}//#endregion//#region src/core/jav-title.ts-var hge = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, gge = (e, t = e?.name) => {+var gge = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, _ge = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(hge, "") : n;-}, _ge = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), vge = (e) => {+ return e?.is_jav ? n.replace(gge, "") : n;+}, vge = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), yge = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(_ge) || t[0] || "";+ return t.find(vge) || t[0] || "";};-function xO(e, t = e?.name) {- let n = gge(e, t), r = String(e?.code || "").trim().toUpperCase();+function bO(e, t = e?.name) {+ let n = _ge(e, t), r = String(e?.code || "").trim().toUpperCase();if (!e?.is_jav || !r) return {code: "",title: n};- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = vge(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = yge(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => ["中字","无码","无码破解"@@ -35714,23 +35714,23 @@ function xO(e, t = e?.name) {badges: f};}-var SO = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = xO(e, t);+var xO = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = bO(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function CO(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = xO(e, t);+function SO(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = bO(e, t);if (!n) return B(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${B(r)}</span>` : ""}`;}//#endregion//#region node_modules/@remixicon/react/index.mjs-var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+var bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35738,7 +35738,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35746,7 +35746,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), wO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), CO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35754,7 +35754,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), TO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), wO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35762,7 +35762,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), EO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), TO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35770,7 +35770,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35778,7 +35778,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35786,7 +35786,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35794,7 +35794,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35802,7 +35802,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35810,7 +35810,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35818,7 +35818,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35826,7 +35826,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35834,7 +35834,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35842,7 +35842,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35850,7 +35850,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), DO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), EO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35858,7 +35858,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35866,7 +35866,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), OO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), DO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35874,7 +35874,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), kO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), OO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35882,7 +35882,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), AO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), kO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35890,7 +35890,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35898,7 +35898,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), jO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), AO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35906,7 +35906,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35914,7 +35914,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35922,7 +35922,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35930,7 +35930,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35938,7 +35938,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35946,7 +35946,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35954,7 +35954,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), MO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), jO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35962,7 +35962,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), Bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35970,7 +35970,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35978,7 +35978,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), Vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), Hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35986,7 +35986,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), NO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), MO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -35994,7 +35994,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), PO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), NO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36002,7 +36002,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36010,7 +36010,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36018,7 +36018,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36026,7 +36026,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36034,7 +36034,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36042,7 +36042,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36050,7 +36050,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36058,7 +36058,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36066,7 +36066,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), FO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), PO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36074,7 +36074,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), IO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), FO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36082,7 +36082,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), LO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), IO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36090,7 +36090,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), Xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), Zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36098,7 +36098,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), RO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), LO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36106,7 +36106,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36114,7 +36114,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), Qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), $ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36122,7 +36122,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), $ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), e_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36130,7 +36130,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), e_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), t_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36138,7 +36138,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), t_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), n_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36146,7 +36146,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), n_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), r_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36154,7 +36154,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), r_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), i_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36162,7 +36162,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), i_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), a_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36170,7 +36170,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), a_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), o_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36178,7 +36178,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), o_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {+}, E.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), s_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -36186,7 +36186,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Efill: e,...r,className: "remixicon " + (n || "")-}, E.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), zO = gO({+}, E.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), RO = hO({base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",variant: {bold: "py-0.5 text-body-medium",@@ -36205,16 +36205,16 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Esoft: "bg-background-secondary-default text-text-secondary"}});-function BO({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function zO({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, D.jsx)("span", {ref: r,- className: hO(zO.base, zO.variant[e], zO.color[t], n),+ className: mO(RO.base, RO.variant[e], RO.color[t], n),...i});}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var VO = gO({+var BO = hO({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -36273,40 +36273,40 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, D.jsxs)("button", {ref: c,type: s,- className: hO(VO.base, VO.size[t], VO.variant[e], n && VO.iconOnlySize[t], o),+ className: mO(BO.base, BO.size[t], BO.variant[e], n && BO.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, D.jsx)(r, {- className: VO.icon[t],+ className: BO.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {- className: VO.label[t],+ className: BO.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, D.jsx)(i, {- className: VO.icon[t],+ className: BO.icon[t],"aria-hidden": !0}) : null]});}-function HO({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function VO({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, D.jsxs)("a", {ref: s,- className: hO(VO.base, VO.size[t], VO.variant[e], n && VO.iconOnlySize[t], o),+ className: mO(BO.base, BO.size[t], BO.variant[e], n && BO.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, D.jsx)(r, {- className: VO.icon[t],+ className: BO.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {- className: VO.label[t],+ className: BO.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, D.jsx)(i, {- className: VO.icon[t],+ className: BO.icon[t],"aria-hidden": !0}) : null]@@ -36314,7 +36314,7 @@ function HO({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var UO = gO({+var HO = hO({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -36338,15 +36338,15 @@ var UO = gO({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function WO({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = hO(UO.base, UO.size[t], UO.variant[e], a), l = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+function UO({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = mO(HO.base, HO.size[t], HO.variant[e], a), l = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [n ? /* @__PURE__ */ (0, D.jsx)(n, {- className: UO.icon[t],+ className: HO.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, D.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, D.jsx)(r, {- className: UO.icon[t],+ className: HO.icon[t],"aria-hidden": !0}) : null] });@@ -36373,38 +36373,38 @@ function WO({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/components/card.tsx-var s_e = "min-w-0", c_e = {+var c_e = "min-w-0", l_e = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, l_e = {+}, u_e = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, u_e = {+}, d_e = {line: "border border-border-button-default",soft: "border border-separator-border"-}, d_e = {+}, f_e = {none: "",default: "p-5"-}, f_e = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", p_e = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";-function GO(e = {}) {+}, p_e = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", m_e = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";+function WO(e = {}) {let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");return [- s_e,- c_e[t],- l_e[s],- d_e[n],- a ? u_e[a] : "",- r ? f_e : "",- i ? p_e : "",+ c_e,+ l_e[t],+ u_e[s],+ f_e[n],+ a ? d_e[a] : "",+ r ? p_e : "",+ i ? m_e : "",o ?? ""].filter(Boolean).join(" ");}//#endregion//#region src/react/components/overlay-scrollbar.ts-function KO() {+function GO() {let e = (0, E.useRef)(null);return (0, E.useEffect)(() => {Ha(e.current);@@ -36412,8 +36412,8 @@ function KO() {}//#endregion//#region src/react/components/code-block.tsx-function qO({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0, copyLabel: a, onCopy: o }) {- let s = KO(), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1);+function KO({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0, copyLabel: a, onCopy: o }) {+ let s = GO(), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1);(0, E.useEffect)(() => {l(""), d(!1);}, [e]);@@ -36425,7 +36425,7 @@ function qO({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0,}};return /* @__PURE__ */ (0, D.jsxs)("div", {- className: hO(GO({+ className: mO(WO({bordered: "soft",radius: "plain",padding: "none"@@ -36450,7 +36450,7 @@ function qO({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0,ref: s,tabIndex: 0,"aria-label": n,- className: hO("m-0 overflow-auto overscroll-contain p-3 font-mono text-caption-1-regular whitespace-pre text-text-primary", i && "max-h-80"),+ className: mO("m-0 overflow-auto overscroll-contain p-3 font-mono text-caption-1-regular whitespace-pre text-text-primary", i && "max-h-80"),children: /* @__PURE__ */ (0, D.jsx)("code", { children: r === void 0 ? e : e.slice(0, r) })})}),@@ -36464,11 +36464,11 @@ function qO({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0,}//#endregion//#region src/react/components/empty-state.tsx-var m_e = {+var h_e = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function JO({ target: e, children: t }) {+function qO({ target: e, children: t }) {return /* @__PURE__ */ (0, D.jsx)(q, {size: "small",variant: "secondary",@@ -36476,11 +36476,11 @@ function JO({ target: e, children: t }) {children: t});}-function YO({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function JO({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${m_e[i]}`,+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${h_e[i]}`,children: [/* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,@@ -36507,7 +36507,7 @@ function YO({ icon: e, title: t, actions: n, children: r, size: i = "standard" }}//#endregion//#region src/react/components/loading-dots.tsx-function XO({ label: e, inline: t = !1 }) {+function YO({ label: e, inline: t = !1 }) {let n = /* @__PURE__ */ (0, D.jsxs)("span", {"aria-hidden": !0,className: "inline-flex shrink-0 items-center gap-1",@@ -36535,9 +36535,9 @@ function XO({ label: e, inline: t = !1 }) {function J({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-note-layout": "",- className: hO("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: mO("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: hO("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: mO("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -36554,34 +36554,34 @@ function J({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, D.jsx)("div", {role: "status",- className: hO("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: mO("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),children: s});case "success": return /* @__PURE__ */ (0, D.jsx)("div", {role: "status",- className: hO("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: mO("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),children: s});case "warning": return /* @__PURE__ */ (0, D.jsx)("div", {role: "note",- className: hO("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: mO("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),children: s});case "error": return /* @__PURE__ */ (0, D.jsx)("div", {role: "alert",- className: hO("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: mO("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),children: s});default: return /* @__PURE__ */ (0, D.jsx)("div", {role: "note",- className: hO("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: mO("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}}//#endregion//#region src/react/components/page.tsx-function ZO({ children: e }) {+function XO({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("div", {className: "mx-auto flex w-full max-w-board flex-col gap-8",children: e@@ -36589,21 +36589,21 @@ function ZO({ children: e }) {}//#endregion//#region src/react/components/progress.tsx-var QO = 100, h_e = .4;-function $O({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * QO;+var ZO = 100, g_e = .4;+function QO({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * ZO;return /* @__PURE__ */ (0, D.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${QO} 1`,+ viewBox: `0 0 ${ZO} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, D.jsx)("rect", {- width: QO,+ width: ZO,height: 1,className: "fill-background-tertiary-default"}),@@ -36614,7 +36614,7 @@ function $O({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, D.jsx)("rect", {x: o(e),- width: h_e,+ width: g_e,height: 1,className: "fill-background-secondary-default"}, e))@@ -36631,7 +36631,7 @@ function Y(e) {}//#endregion//#region src/react/settings/use-action.ts-function ek(e = "") {+function $O(e = "") {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(""), [i, a] = (0, E.useState)(e);(0, E.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -36657,21 +36657,21 @@ function ek(e = "") {}//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function tk({ className: e, children: t }) {+function ek({ className: e, children: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {- className: hO("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: mO("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function nk({ className: e, children: t }) {+function tk({ className: e, children: t }) {return /* @__PURE__ */ (0, D.jsx)("p", {- className: hO("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: mO("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function rk({ label: e, description: t, children: n }) {+function nk({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: hO("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: mO("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, D.jsx)("p", {@@ -36686,7 +36686,7 @@ function rk({ label: e, description: t, children: n }) {}//#endregion//#region src/react/settings/section.tsx-function ik({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function rk({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -36694,12 +36694,12 @@ function ik({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(nk, { children: o })+ children: /* @__PURE__ */ (0, D.jsx)(tk, { children: o })}), /* @__PURE__ */ (0, D.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, D.jsx)(nk, { children: o }), /* @__PURE__ */ (0, D.jsx)(tk, { children: a })] });+ }) : /* @__PURE__ */ (0, D.jsx)(tk, { children: o }), /* @__PURE__ */ (0, D.jsx)(ek, { children: a })] });return i ? /* @__PURE__ */ (0, D.jsx)("form", {id: n,"aria-label": e,@@ -36714,13 +36714,13 @@ function ik({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function ak({ children: e }) {+function ik({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function ok({ divided: e = !1, children: t }) {+function ak({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -36729,7 +36729,7 @@ function ok({ divided: e = !1, children: t }) {children: t});}-function sk({ status: e, children: t }) {+function ok({ status: e, children: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",children: [e ? /* @__PURE__ */ (0, D.jsx)("div", {@@ -36738,34 +36738,34 @@ function sk({ status: e, children: t }) {}) : null, t]});}-function ck({ role: e, children: t }) {+function sk({ role: e, children: t }) {return /* @__PURE__ */ (0, D.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function lk({ children: e }) {+function ck({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function uk({ children: e }) {+function lk({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function dk({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, D.jsx)(WO, {+function uk({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, D.jsx)(UO, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: jO,+ trailingIcon: AO,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -36773,13 +36773,13 @@ function dk({ href: e, children: t, leadingIcon: n }) {})});}-function fk({ children: e }) {+function dk({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function pk({ term: e, children: t }) {+function fk({ term: e, children: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",children: [/* @__PURE__ */ (0, D.jsx)("dt", {@@ -36791,7 +36791,7 @@ function pk({ term: e, children: t }) {})]});}-function mk({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function pk({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, E.useId)(), c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = (0, E.useRef)(!1), [d, f] = (0, E.useState)(n ?? t);return (0, E.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (Wa(c.current, l.current, n), f(n));@@ -36807,12 +36807,12 @@ function mk({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:},className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [- i ? null : /* @__PURE__ */ (0, D.jsx)(EO, {+ i ? null : /* @__PURE__ */ (0, D.jsx)(TO, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, D.jsx)(EO, {+ i ? /* @__PURE__ */ (0, D.jsx)(TO, {"aria-hidden": !0,className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"}) : null@@ -36822,13 +36822,13 @@ function mk({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, D.jsx)("div", {- className: hO("flex flex-col gap-2 pt-3", o),+ className: mO("flex flex-col gap-2 pt-3", o),children: r})})]});}-function g_e({ name: e }) {+function __e({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -36838,22 +36838,22 @@ function g_e({ name: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-function hk({ mark: e }) {+function mk({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, D.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, D.jsx)(g_e, { name: e });+ }) : /* @__PURE__ */ (0, D.jsx)(__e, { name: e });}//#endregion//#region src/react/activity/tasks.ts-var __e = "/api/tasks", gk = ["tasks"], v_e = (e, t) => H(`${__e}?${new URLSearchParams({+var v_e = "/api/tasks", hk = ["tasks"], y_e = (e, t) => H(`${v_e}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function _k(...e) {+function gk(...e) {let t = /* @__PURE__ */ new Map();for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);return [...t.values()].sort((e, t) => {@@ -36861,26 +36861,26 @@ function _k(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var y_e = 2e3, b_e = 1e4, x_e = (e) => e?.running?.length ? y_e : b_e, vk = (e) => H(__e, e);-async function S_e(e) {+var b_e = 2e3, x_e = 1e4, S_e = (e) => e?.running?.length ? b_e : x_e, _k = (e) => H(v_e, e);+async function C_e(e) {await W.fetchQuery({- queryKey: gk,- queryFn: () => vk(e)+ queryKey: hk,+ queryFn: () => _k(e)});}-var yk = {+var vk = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, C_e = {+}, w_e = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, w_e = (e) => C_e[e] || e, bk = {+}, T_e = (e) => w_e[e] || e, yk = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -36957,7 +36957,7 @@ var yk = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, T_e = [+}, E_e = ["gone_count","unclear_count","source_failed",@@ -36979,14 +36979,14 @@ var yk = {"paused_count","miss","incomplete"-], E_e = ["face_match_unavailable"], xk = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || E_e.some((t) => e.result_summary?.[t] === !0) || T_e.some((t) => Number(e.result_summary?.[t]) > 0);-function D_e(e) {+], D_e = ["face_match_unavailable"], bk = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || D_e.some((t) => e.result_summary?.[t] === !0) || E_e.some((t) => Number(e.result_summary?.[t]) > 0);+function O_e(e) {let t = e.result_summary?.issues;return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];}-var O_e = /* @__PURE__ */ new Set(["library-processing"]);-function k_e(e, t = !0) {- if (!xk(e) && e.status !== "failed" || O_e.has(e.task_key) && !t) return null;+var k_e = /* @__PURE__ */ new Set(["library-processing"]);+function A_e(e, t = !0) {+ if (!bk(e) && e.status !== "failed" || k_e.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -37004,12 +37004,12 @@ function k_e(e, t = !0) {label: n[1]} : null;}-function A_e(e) {+function j_e(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) O_e.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);+ for (let n of e) k_e.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);return new Set(t.values());}-function j_e(e) {+function M_e(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -37018,7 +37018,7 @@ function j_e(e) {}return t;}-function M_e(e, t) {+function N_e(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -37040,12 +37040,12 @@ function M_e(e, t) {}return n;}-var N_e = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !xk(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Sk = (e) => e.status === "pending" || e.status === "running";-function P_e(e) {+var P_e = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !bk(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), xk = (e) => e.status === "pending" || e.status === "running";+function F_e(e) {let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};- return [r, Tk(e.error) || U_e(o) || (Sk(e) && i > 0 ? `${wk(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, wk(e.error) || W_e(o) || (xk(e) && i > 0 ? `${Ck(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function Ck(e) {+function Sk(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -37054,19 +37054,19 @@ function Ck(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function wk(e, t) {+function Ck(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function F_e(e) {+function I_e(e) {let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";}-function Tk(e) {- let t = F_e(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function wk(e) {+ let t = I_e(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? Bt(n[1]) : t;}-var I_e = {+var L_e = {没有新写法: "未发现新别名",已装上: "已保存资料图片",已装着认得准的小图: "已保留身份核对通过的小尺寸图片",@@ -37080,11 +37080,11 @@ var I_e = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, L_e = {+}, R_e = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, R_e = {+}, z_e = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -37095,8 +37095,8 @@ var I_e = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, z_e = (e) => I_e[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${L_e[t.toLowerCase()]} 资料页` : `已保存来自 ${L_e[t.toLowerCase()]} 的资料`);-function Ek(e) {+}, B_e = (e) => L_e[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${R_e[t.toLowerCase()]} 资料页` : `已保存来自 ${R_e[t.toLowerCase()]} 的资料`);+function Tk(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -37106,7 +37106,7 @@ function Ek(e) {minute: "2-digit"});}-var B_e = /* @__PURE__ */ new Set([+var V_e = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -37115,17 +37115,17 @@ var B_e = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function V_e(e) {- let t = H_e(e);+function H_e(e) {+ let t = U_e(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function H_e(e) {- return Object.entries(e || {}).filter(([e, t]) => !B_e.has(e) && (e in bk || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? Tk(String(t)) : e === "outcome" || e === "result" ? z_e(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${bk[e]} ${pn(Number(t))}` : e === "operation" ? `操作:${R_e[String(t)] || "批量操作"}` : `${bk[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function U_e(e) {+ return Object.entries(e || {}).filter(([e, t]) => !V_e.has(e) && (e in yk || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? wk(String(t)) : e === "outcome" || e === "result" ? B_e(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${yk[e]} ${pn(Number(t))}` : e === "operation" ? `操作:${z_e[String(t)] || "批量操作"}` : `${yk[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var U_e = (e) => V_e(e).join(" · "), W_e = ["background-issues"];-function G_e() {+var W_e = (e) => H_e(e).join(" · "), G_e = ["background-issues"];+function K_e() {let e = (0, E.useId)(), t = yt({- queryKey: W_e,+ queryKey: G_e,queryFn: ({ signal: e }) => H("/api/background-issues", e),refetchInterval: 3e4}).data?.issues || [];@@ -37138,26 +37138,26 @@ function G_e() {children: "需要处理"}), /* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col gap-3",- children: t.map((e) => /* @__PURE__ */ (0, D.jsx)("li", { children: /* @__PURE__ */ (0, D.jsx)(K_e, { issue: e }) }, e.key))+ children: t.map((e) => /* @__PURE__ */ (0, D.jsx)("li", { children: /* @__PURE__ */ (0, D.jsx)(q_e, { issue: e }) }, e.key))})]}) : null;}-function K_e({ issue: e }) {+function q_e({ issue: e }) {let t = k(), n = bt({mutationFn: () => U(e.retry, {}),onSuccess: () => {- t.invalidateQueries({ queryKey: W_e });+ t.invalidateQueries({ queryKey: G_e });}- }), r = e.since ? `自 ${Ek(e.since)} 起` : `发现于 ${Ek(e.noticed_at)}`;+ }), r = e.since ? `自 ${Tk(e.since)} 起` : `发现于 ${Tk(e.noticed_at)}`;return /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: e.title,action: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(WO, {+ children: [/* @__PURE__ */ (0, D.jsx)(UO, {href: e.href,size: "small",- trailingIcon: TO,+ trailingIcon: wO,children: e.link_label}), e.retry ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -37173,24 +37173,24 @@ function K_e({ issue: e }) {}//#endregion//#region src/react/components/source-label.tsx-var q_e = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, J_e = Object.fromEntries(Object.entries(So).map(([e, t]) => [e, function({ className: e }) {+var J_e = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Y_e = Object.fromEntries(Object.entries(So).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, D.jsx)(hk, { mark: t })+ children: /* @__PURE__ */ (0, D.jsx)(mk, { mark: t })});}]));-function Y_e({ className: e }) {+function X_e({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, D.jsx)(hk, { mark: "database" })+ children: /* @__PURE__ */ (0, D.jsx)(mk, { mark: "database" })});}-var X_e = (e) => J_e[q_e(e)] ?? Y_e;-function Z_e({ site: e, label: t }) {+var Z_e = (e) => Y_e[J_e(e)] ?? X_e;+function Q_e({ site: e, label: t }) {let [n, r] = (0, E.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, D.jsx)(hk, { mark: "globe" }) : /* @__PURE__ */ (0, D.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, D.jsx)(mk, { mark: "globe" }) : /* @__PURE__ */ (0, D.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -37198,11 +37198,11 @@ function Z_e({ site: e, label: t }) {}), /* @__PURE__ */ (0, D.jsx)("span", { children: t })]});}-function Dk({ source: e, label: t }) {- let n = q_e(e);+function Ek({ source: e, label: t }) {+ let n = J_e(e);return /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: So[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: So[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 truncate",children: t})]@@ -37210,7 +37210,7 @@ function Dk({ source: e, label: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function Ok({ artwork: e, identity: t = e.html, relayout: n }) {+function Dk({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, E.useState)({identity: t,artwork: e@@ -37230,7 +37230,7 @@ function Ok({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/react/activity/downloads-panel.tsx-var kk = "/api/downloads", Ak = ["downloads"], Q_e = "/api/downloads/cancel", $_e = "/api/downloads/postprocess", eve = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, tve = {+var Ok = "/api/downloads", kk = ["downloads"], $_e = "/api/downloads/cancel", eve = "/api/downloads/postprocess", tve = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, nve = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -37239,21 +37239,21 @@ var kk = "/api/downloads", Ak = ["downloads"], Q_e = "/api/downloads/cancel", $_remote_done: "lime",landed: "lime",submitted: "neutral"-}, jk = (e) => {- let t = e.display_code || e.code || "", { title: n } = xO({+}, Ak = (e) => {+ let t = e.display_code || e.code || "", { title: n } = bO({is_jav: !!t,code: t,name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name});return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;-}, nve = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", rve = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function ive() {+}, rve = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", ive = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function ave() {let e = (0, E.useId)(), t = xt({- queryKey: [...Ak, "pages"],+ queryKey: [...kk, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => H(`${kk}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => H(`${Ok}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,- refetchInterval: (e) => e.state.data?.pages.some((e) => eve(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => tve(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, D.jsxs)("section", {id: "cloudDownloads",@@ -37272,7 +37272,7 @@ function ive() {r.length ? /* @__PURE__ */ (0, D.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, D.jsx)(ave, {+ children: r.map((e) => /* @__PURE__ */ (0, D.jsx)(ove, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -37280,7 +37280,7 @@ function ive() {t.hasNextPage ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: wO,+ leadingIcon: CO,className: "self-start",...Y(t.isFetchingNextPage),onClick: () => {@@ -37291,15 +37291,15 @@ function ive() {]});}-function ave({ task: e, writable: t }) {- let n = k(), r = ek(), [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(!1), c = (0, E.useId)(), l = nve(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [+function ove({ task: e, writable: t }) {+ let n = k(), r = $O(), [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(!1), c = (0, E.useId)(), l = rve(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,- Ek(e.submitted_at)+ Tk(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: Ak });+ n.invalidateQueries({ queryKey: kk });}, g = () => {- r.run("cancel", (t) => U(Q_e, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => U($_e, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -37309,16 +37309,16 @@ function ave({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => U(kk, t, "POST", e), h);+ r.run("resubmit", (e) => U(Ok, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => U($_e, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => U(eve, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, D.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: GO({+ className: WO({padding: "none",bordered: "line",className: p ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -37329,14 +37329,14 @@ function ave({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(ZT) },+ style: { "--card-ratio": String(XT) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, D.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, D.jsx)(Ok, {+ u?.has_cover ? /* @__PURE__ */ (0, D.jsx)(Dk, {artwork: {kind: "cover",html: Ma(u, "big")@@ -37346,7 +37346,7 @@ function ave({ task: e, writable: t }) {f ? /* @__PURE__ */ (0, D.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${jk(e)}`,+ "aria-label": `打开作品详情:${Ak(e)}`,className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"}) : null]@@ -37357,19 +37357,19 @@ function ave({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, D.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: jk(e),+ title: Ak(e),children: f ? /* @__PURE__ */ (0, D.jsx)("a", {"data-download-title-link": "",href: f,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: jk(e)- }) : jk(e)+ children: Ak(e)+ }) : Ak(e)}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(BO, {- color: tve[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, D.jsx)(zO, {+ color: nve[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, D.jsx)(BO, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, D.jsx)(zO, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -37379,7 +37379,7 @@ function ave({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, D.jsx)(Dk, {+ children: /* @__PURE__ */ (0, D.jsx)(Ek, {source: e.provider,label: e.provider_label})@@ -37406,7 +37406,7 @@ function ave({ task: e, writable: t }) {children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, D.jsx)($O, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, D.jsx)(QO, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -37416,7 +37416,7 @@ function ave({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: r.error }) : null,/* @__PURE__ */ (0, D.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -37470,13 +37470,13 @@ function ave({ task: e, writable: t }) {id: c,"data-download-title-full": !0,className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",- children: jk(e)+ children: Ak(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",children: /* @__PURE__ */ (0, D.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || rve(e)+ children: l || ive(e)})}) : null]@@ -37484,11 +37484,11 @@ function ave({ task: e, writable: t }) {}//#endregion//#region src/react/activity/error-excerpt.tsx-function ove({ children: e, label: t, id: n }) {- let r = KO();+function sve({ children: e, label: t, id: n }) {+ let r = GO();return /* @__PURE__ */ (0, D.jsx)("div", {"data-error-details": "",- className: GO({+ className: WO({bordered: "soft",radius: "surface",padding: "none",@@ -37505,14 +37505,14 @@ function ove({ children: e, label: t, id: n }) {})});}-function Mk({ text: e, className: t = "" }) {- let [n, r] = (0, E.useState)(!1), i = (0, E.useId)(), a = String(e || "").trim(), o = Tk(a);+function jk({ text: e, className: t = "" }) {+ let [n, r] = (0, E.useState)(!1), i = (0, E.useId)(), a = String(e || "").trim(), o = wk(a);if (!o) return null;let s = o !== a;return /* @__PURE__ */ (0, D.jsxs)("div", {"data-error-excerpt": "",className: `flex min-w-0 max-w-full flex-col items-start gap-1 ${t}`,- children: [n ? /* @__PURE__ */ (0, D.jsx)(ove, {+ children: [n ? /* @__PURE__ */ (0, D.jsx)(sve, {id: i,label: "完整错误详情",children: a@@ -37533,7 +37533,7 @@ function Mk({ text: e, className: t = "" }) {}//#endregion//#region src/react/activity/activity-page.tsx-var sve = {+var cve = {succeeded: "lime",failed: "rose",cancelled: "neutral",@@ -37541,18 +37541,18 @@ var sve = {running: "blue",pending: "neutral"};-function cve({ run: e }) {- let t = e.status === "succeeded" && xk(e);- return /* @__PURE__ */ (0, D.jsx)(BO, {- color: t ? "yellow" : sve[e.status] ?? "neutral",- children: t ? "发现问题" : w_e(e.status)+function lve({ run: e }) {+ let t = e.status === "succeeded" && bk(e);+ return /* @__PURE__ */ (0, D.jsx)(zO, {+ color: t ? "yellow" : cve[e.status] ?? "neutral",+ children: t ? "发现问题" : T_e(e.status)});}-function lve({ rows: e }) {+function uve({ rows: e }) {return /* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col",children: e.map((e) => {- let t = P_e(e);+ let t = F_e(e);return /* @__PURE__ */ (0, D.jsxs)("li", {"data-status": e.status,"data-followup-key": e.followup_key,@@ -37562,17 +37562,17 @@ function lve({ rows: e }) {className: "min-w-0 break-words text-caption-1-regular text-text-primary",children: e.task_label}),- /* @__PURE__ */ (0, D.jsx)(cve, { run: e }),+ /* @__PURE__ */ (0, D.jsx)(lve, { run: e }),t ? /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 break-words text-caption-1-regular text-text-secondary",children: t}) : null,/* @__PURE__ */ (0, D.jsx)("div", {className: "w-full min-w-0",- children: /* @__PURE__ */ (0, D.jsx)(mk, {+ children: /* @__PURE__ */ (0, D.jsx)(pk, {summary: "技术详情",contentClassName: "pb-2.5",- children: /* @__PURE__ */ (0, D.jsx)(qO, {+ children: /* @__PURE__ */ (0, D.jsx)(KO, {code: JSON.stringify(e.result_summary, null, 2),language: "json",label: `${e.task_label}技术详情`@@ -37584,13 +37584,13 @@ function lve({ rows: e }) {})});}-function uve({ run: e, meta: t, children: n, footer: r, followups: i }) {+function dve({ run: e, meta: t, children: n, footer: r, followups: i }) {return /* @__PURE__ */ (0, D.jsxs)("li", {id: `run-${e.id}`,"data-status": e.status,"data-task-key": e.task_key,"data-run-id": e.id,- className: GO({+ className: WO({padding: "none",bordered: "line",className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -37604,7 +37604,7 @@ function uve({ run: e, meta: t, children: n, footer: r, followups: i }) {children: [/* @__PURE__ */ (0, D.jsx)("strong", {className: "min-w-0 break-words text-title-1-medium text-text-primary",children: e.task_label- }), /* @__PURE__ */ (0, D.jsx)(cve, { run: e })]+ }), /* @__PURE__ */ (0, D.jsx)(lve, { run: e })]}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-caption-1-regular text-text-secondary",@@ -37615,19 +37615,19 @@ function uve({ run: e, meta: t, children: n, footer: r, followups: i }) {}),i?.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "border-t border-separator-border px-5 py-2.5",- children: /* @__PURE__ */ (0, D.jsx)(mk, {+ children: /* @__PURE__ */ (0, D.jsx)(pk, {summary: `任务明细 · ${i.length} 项`,contentClassName: "pb-2.5",- defaultOpen: i.some((e) => Sk(e)),- children: /* @__PURE__ */ (0, D.jsx)(lve, { rows: i })+ defaultOpen: i.some((e) => xk(e)),+ children: /* @__PURE__ */ (0, D.jsx)(uve, { rows: i })})}) : null,Object.keys(e.result_summary || {}).length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "border-t border-separator-border px-5 py-2.5",- children: /* @__PURE__ */ (0, D.jsx)(mk, {+ children: /* @__PURE__ */ (0, D.jsx)(pk, {summary: "技术详情",contentClassName: "pb-2.5",- children: /* @__PURE__ */ (0, D.jsx)(qO, {+ children: /* @__PURE__ */ (0, D.jsx)(KO, {code: JSON.stringify(e.result_summary, null, 2),language: "json",label: `${e.task_label}技术详情`@@ -37636,7 +37636,7 @@ function uve({ run: e, meta: t, children: n, footer: r, followups: i }) {}) : null,r ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",- children: /* @__PURE__ */ (0, D.jsx)(Mk, {+ children: /* @__PURE__ */ (0, D.jsx)(jk, {text: r,className: "text-caption-1-regular text-text-secondary"})@@ -37644,15 +37644,15 @@ function uve({ run: e, meta: t, children: n, footer: r, followups: i }) {]});}-function dve({ run: e, followups: t }) {- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Ck(e.elapsed_seconds), o = [yk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, D.jsx)(uve, {+function fve({ run: e, followups: t }) {+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Sk(e.elapsed_seconds), o = [vk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");+ return /* @__PURE__ */ (0, D.jsx)(dve, {run: e,meta: o,followups: t,children: n > 0 ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)($O, {+ children: [/* @__PURE__ */ (0, D.jsx)(QO, {label: i,value: Math.min(r, n),max: n@@ -37661,24 +37661,24 @@ function dve({ run: e, followups: t }) {children: [i," · ",- wk(r, n),+ Ck(r, n)," 项"]})]- }) : /* @__PURE__ */ (0, D.jsx)(XO, { label: i })+ }) : /* @__PURE__ */ (0, D.jsx)(YO, { label: i })});}-function Nk({ run: e, followups: t, runs: n, latest: r }) {- let i = V_e(e.result_summary).filter((t) => t !== e.error), a = D_e(e), o = k_e(e, r), s = Ck(e.elapsed_seconds), c = n && n.length > 1 ? n[n.length - 1] : void 0, l = (c ? [- yk[e.trigger] || e.trigger,+function Mk({ run: e, followups: t, runs: n, latest: r }) {+ let i = H_e(e.result_summary).filter((t) => t !== e.error), a = O_e(e), o = A_e(e, r), s = Sk(e.elapsed_seconds), c = n && n.length > 1 ? n[n.length - 1] : void 0, l = (c ? [+ vk[e.trigger] || e.trigger,`近 ${n.length} 轮`,- `${Ek(c.finished_at)} – ${Ek(e.finished_at)}`+ `${Tk(c.finished_at)} – ${Tk(e.finished_at)}`] : [- yk[e.trigger] || e.trigger,- Ek(e.finished_at),+ vk[e.trigger] || e.trigger,+ Tk(e.finished_at),s && `用时 ${s}`]).filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, D.jsxs)(uve, {+ return /* @__PURE__ */ (0, D.jsxs)(dve, {run: e,meta: l,footer: e.error,@@ -37688,10 +37688,10 @@ function Nk({ run: e, followups: t, runs: n, latest: r }) {className: "list-disc space-y-1 pl-5 text-caption-1-regular text-text-secondary wrap-anywhere",children: i.map((e, t) => /* @__PURE__ */ (0, D.jsx)("li", { children: e }, t))}) : null,- a.length ? /* @__PURE__ */ (0, D.jsx)(mk, {+ a.length ? /* @__PURE__ */ (0, D.jsx)(pk, {summary: `问题详情 · ${a.length} 项`,contentClassName: "pt-2",- children: /* @__PURE__ */ (0, D.jsx)(ove, {+ children: /* @__PURE__ */ (0, D.jsx)(sve, {label: "任务问题详情",children: /* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col gap-3",@@ -37705,28 +37705,28 @@ function Nk({ run: e, followups: t, runs: n, latest: r }) {e.provider,e.kind].filter(Boolean).join(" · ")- }), /* @__PURE__ */ (0, D.jsx)(Mk, {+ }), /* @__PURE__ */ (0, D.jsx)(jk, {text: e.error,className: "text-text-primary"})]}, `${e.source}-${t}`))})})- }) : xk(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, D.jsx)("p", {+ }) : bk(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "未取得本轮逐项详情,可到来源列表查看检查结果。"}) : null,- o ? /* @__PURE__ */ (0, D.jsx)(WO, {+ o ? /* @__PURE__ */ (0, D.jsx)(UO, {href: o.href,size: "small",- trailingIcon: TO,+ trailingIcon: wO,className: "self-start",children: o.label}) : null]});}-function Pk({ title: e, children: t }) {+function Nk({ title: e, children: t }) {let n = (0, E.useId)();return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-labelledby": n,@@ -37738,41 +37738,41 @@ function Pk({ title: e, children: t }) {}), t]});}-function Fk({ live: e = !1, children: t }) {+function Pk({ live: e = !1, children: t }) {return /* @__PURE__ */ (0, D.jsx)("ul", {"aria-live": e ? "polite" : void 0,className: "flex min-w-0 flex-col gap-3",children: t});}-function fve() {+function pve() {let e = yt({- queryKey: gk,- queryFn: ({ signal: e }) => vk(e),- refetchInterval: (e) => x_e(e.state.data)+ queryKey: hk,+ queryFn: ({ signal: e }) => _k(e),+ refetchInterval: (e) => S_e(e.state.data)}), t = e.data, n = t?.finished, [r, i] = (0, E.useState)([]), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(n);- n !== s && (c(n), r.length && s && i(_k(r, s)));+ n !== s && (c(n), r.length && s && i(gk(r, s)));let l = bt({- mutationFn: ({ oldest: e }) => v_e(e),+ mutationFn: ({ oldest: e }) => y_e(e),onSuccess: (e, { shown: t }) => {- i((n) => _k(n, t, e.finished || [])), o(!!e.finished_has_more);+ i((n) => gk(n, t, e.finished || [])), o(!!e.finished_has_more);}}), u = e.error ? V(e.error) : "";- if (!t) return /* @__PURE__ */ (0, D.jsx)(ZO, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ if (!t) return /* @__PURE__ */ (0, D.jsx)(XO, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: u || "读取任务中心失败"}) });- let d = _k(t.finished || [], r), f = [+ let d = gk(t.finished || [], r), f = [...t.running || [],...t.skipped || [],...d- ], p = j_e(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {+ ], p = M_e(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {!l.isPending && _ && l.mutate({oldest: _,shown: d});- }, b = g.filter((e) => p.get(e.id)?.some(Sk)), x = h(t.running || []), S = h(t.skipped || []), C = g.filter((e) => !b.includes(e) && !S.some((t) => t.id === e.id)), w = M_e(C, (e) => N_e(e) && !p.get(e.id)?.length), T = A_e(f), O = !x.length && !b.length && !S.length && !C.length;- return /* @__PURE__ */ (0, D.jsxs)(ZO, { children: [+ }, b = g.filter((e) => p.get(e.id)?.some(xk)), x = h(t.running || []), S = h(t.skipped || []), C = g.filter((e) => !b.includes(e) && !S.some((t) => t.id === e.id)), w = N_e(C, (e) => P_e(e) && !p.get(e.id)?.length), T = j_e(f), O = !x.length && !b.length && !S.length && !C.length;+ return /* @__PURE__ */ (0, D.jsxs)(XO, { children: [u ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: u@@ -37781,20 +37781,20 @@ function fve() {tone: "warning",children: t.message || "数据库尚未准备好任务记录表"}) : null,- /* @__PURE__ */ (0, D.jsx)(G_e, {}),- O ? /* @__PURE__ */ (0, D.jsx)(YO, {- icon: PO,+ /* @__PURE__ */ (0, D.jsx)(K_e, {}),+ O ? /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: NO,title: "还没有任务记录",children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"}) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(Pk, {+ /* @__PURE__ */ (0, D.jsx)(Nk, {title: "正在进行",- children: x.length || b.length ? /* @__PURE__ */ (0, D.jsxs)(Fk, {+ children: x.length || b.length ? /* @__PURE__ */ (0, D.jsxs)(Pk, {live: !0,- children: [x.map((e) => /* @__PURE__ */ (0, D.jsx)(dve, {+ children: [x.map((e) => /* @__PURE__ */ (0, D.jsx)(fve, {run: e,followups: p.get(e.id)- }, e.id)), b.map((e) => /* @__PURE__ */ (0, D.jsx)(Nk, {+ }, e.id)), b.map((e) => /* @__PURE__ */ (0, D.jsx)(Mk, {run: e,latest: T.has(e.id),followups: p.get(e.id)@@ -37804,18 +37804,18 @@ function fve() {children: "没有任务在跑。"})}),- S.length ? /* @__PURE__ */ (0, D.jsx)(Pk, {+ S.length ? /* @__PURE__ */ (0, D.jsx)(Nk, {title: "本次未执行",- children: /* @__PURE__ */ (0, D.jsx)(Fk, { children: S.map((e) => /* @__PURE__ */ (0, D.jsx)(Nk, {+ children: /* @__PURE__ */ (0, D.jsx)(Pk, { children: S.map((e) => /* @__PURE__ */ (0, D.jsx)(Mk, {run: e,latest: T.has(e.id),followups: p.get(e.id)}, e.id)) })}) : null,- C.length || v ? /* @__PURE__ */ (0, D.jsxs)(Pk, {+ C.length || v ? /* @__PURE__ */ (0, D.jsxs)(Nk, {title: "最近完成",children: [- C.length ? /* @__PURE__ */ (0, D.jsx)(Fk, { children: w.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, D.jsx)(Nk, {+ C.length ? /* @__PURE__ */ (0, D.jsx)(Pk, { children: w.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, D.jsx)(Mk, {run: e,runs: t,latest: T.has(e.id),@@ -37828,7 +37828,7 @@ function fve() {v ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: wO,+ leadingIcon: CO,className: "self-start",...Y(l.isPending),onClick: y,@@ -37837,12 +37837,12 @@ function fve() {]}) : null] }),- /* @__PURE__ */ (0, D.jsx)(ive, {})+ /* @__PURE__ */ (0, D.jsx)(ave, {})] });}//#endregion//#region src/react/boardui/components/base/buttons/icon-button.tsx-var Ik = gO({+var Fk = hO({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -37863,21 +37863,21 @@ var Ik = gO({small: "size-4 shrink-0"}});-function Lk({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function Ik({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, D.jsx)("button", {ref: i,type: r,- className: hO(Ik.base, Ik.size[t], n),+ className: mO(Fk.base, Fk.size[t], n),...a,children: /* @__PURE__ */ (0, D.jsx)(e, {- className: Ik.icon[t],+ className: Fk.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/components/use-stuck.ts-function pve(e) {+function mve(e) {(0, E.useEffect)(() => {let t = e.current;if (!t) return;@@ -37895,7 +37895,7 @@ function pve(e) {}//#endregion//#region src/react/components/use-horizontal-scroller.ts-function Rk(e, t = !0) {+function Lk(e, t = !0) {let [n, r] = (0, E.useState)(null), i = (0, E.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -37910,17 +37910,17 @@ function Rk(e, t = !0) {}//#endregion//#region src/react/components/filter-glass.tsx-var mve = ({ className: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var hve = ({ className: e }) => /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: Go("正在处理") }});-function zk({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, D.jsx)(Lk, {+function Rk({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsx)(Ik, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? mve : t,+ icon: n && r === "spinner" ? hve : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -37930,9 +37930,9 @@ function zk({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function hve({ title: e, children: t }) {+function gve({ title: e, children: t }) {let n = (0, E.useRef)(null);- return pve(n), /* @__PURE__ */ (0, D.jsxs)("div", {+ return mve(n), /* @__PURE__ */ (0, D.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -37945,16 +37945,16 @@ function hve({ title: e, children: t }) {}), t]});}-function Bk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {- let d = (0, E.useRef)(null), f = Rk(), p = Rk(u);- return pve(d), /* @__PURE__ */ (0, D.jsxs)("div", {+function zk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+ let d = (0, E.useRef)(null), f = Lk(), p = Lk(u);+ return mve(d), /* @__PURE__ */ (0, D.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: hO("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: mO("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, D.jsx)("div", {@@ -37962,36 +37962,36 @@ function Bk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: hO("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: mO("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),children: n}),/* @__PURE__ */ (0, D.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: hO("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: mO("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r})]});}-var gve = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";-function Vk({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var _ve = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";+function Bk({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: hO(gve, r),+ className: mO(_ve, r),onClick: n,children: e});}-var _ve = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";-function Hk({ children: e, onPress: t, busy: n = !1 }) {+var vve = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";+function Vk({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glass-pill": "",- className: _ve,+ className: vve,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -38002,13 +38002,13 @@ function Hk({ children: e, onPress: t, busy: n = !1 }) {}//#endregion//#region src/react/components/use-view-glide.ts-var vve = (e, t) => [+var yve = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function yve(e, t, n) {+function bve(e, t, n) {if (!t.contains(e)) return null;let r = 0, i = 0;for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;@@ -38032,17 +38032,17 @@ function yve(e, t, n) {h: e.offsetHeight};}-function Uk(e, t, n, r, { axis: i = "x" } = {}) {+function Hk(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, E.useRef)(null), o = (0, E.useCallback)((r, o) => {let s = e.current, c = t.current, l = s?.parentElement;if (!s) return;- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? yve(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? bve(u, l, i) : null;if (!d || !d.w || !d.h) {s.getAnimations().forEach((e) => e.cancel()), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && vve(f, d)) && Ps(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && yve(f, d)) && Ps(s, o ? f : null, d, i);}, [e,t,@@ -38063,8 +38063,8 @@ function Uk(e, t, n, r, { axis: i = "x" } = {}) {passive: !0}), addEventListener("resize", c, { passive: !0 });let l = new ResizeObserver(() => {- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? yve(o, r, i) : null, l = a.current;- (!s || !l || !vve(s, l)) && c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? bve(o, r, i) : null, l = a.current;+ (!s || !l || !yve(s, l)) && c();}), u = t.current;if (u && r) {l.observe(u);@@ -38096,12 +38096,12 @@ function Uk(e, t, n, r, { axis: i = "x" } = {}) {}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var Wk = Symbol("default");-function Gk({ values: e, children: t }) {+var Uk = Symbol("default");+function Wk({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ E.createElement(n.Provider, { value: r }, t);return t;}-function Kk(e) {+function Gk(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, E.useMemo)(() => {let e, l, u;@@ -38135,11 +38135,11 @@ function Kk(e) {c]);}-function qk(e, t) {+function Kk(e, t) {let n = (0, E.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || Wk;+ let e = t || Uk;if (!n.slots[e]) {let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";throw Error(`${r} Valid slot names are ${e}.`);@@ -38148,8 +38148,8 @@ function qk(e, t) {}return n;}-function Jk(e, t, n) {- let { ref: r, ...i } = qk(n, e.slot) || {}, a = Yv((0, E.useMemo)(() => Hv(t, r), [t, r])), o = K(i, e);+function qk(e, t, n) {+ let { ref: r, ...i } = Kk(n, e.slot) || {}, a = Yv((0, E.useMemo)(() => Hv(t, r), [t, r])), o = K(i, e);return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {let n = typeof i.style == "function" ? i.style(t) : i.style, r = {...t.defaultStyle,@@ -38167,7 +38167,7 @@ function Jk(e, t, n) {...e.style}), [o, a];}-function Yk(e = !0) {+function Jk(e = !0) {let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(!1), i = (0, E.useCallback)((e) => {r.current = !0, n(!!e);}, []);@@ -38175,12 +38175,12 @@ function Yk(e = !0) {r.current || n(!1);}, []), [i, t];}-function Xk(e) {+function Yk(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function bve(e, t, n) {+function xve(e, t, n) {let { render: r, ...i } = t, a = (0, E.useRef)(null), o = (0, E.useMemo)(() => Hv(n, a), [n, a]);iv(() => {}, [e, r]);let s = {@@ -38189,19 +38189,19 @@ function bve(e, t, n) {};return r ? r(s, void 0) : /*#__PURE__*/ E.createElement(e, s);}-var xve = {}, Zk = new Proxy({}, { get(e, t) {+var Sve = {}, Xk = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = xve[t];- return n || (n = /*#__PURE__*/ (0, E.forwardRef)(bve.bind(null, t)), xve[t] = n), n;-} }), Qk = /*#__PURE__*/ (0, E.createContext)(null), $k = /*#__PURE__*/ (0, E.createContext)(null), Sve = /*#__PURE__*/ (0, E.createContext)(null), eA = {+ let n = Sve[t];+ return n || (n = /*#__PURE__*/ (0, E.forwardRef)(xve.bind(null, t)), Sve[t] = n), n;+} }), Zk = /*#__PURE__*/ (0, E.createContext)(null), Qk = /*#__PURE__*/ (0, E.createContext)(null), Cve = /*#__PURE__*/ (0, E.createContext)(null), $k = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return Cve(e, null, t);+ return wve(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return Cve(e, t, n);+ return wve(e, t, n);}};-function Cve(e, t, n) {+function wve(e, t, n) {return V_({items: t ? e.getChildren(t.key) : e,dependencies: [n],@@ -38212,11 +38212,11 @@ function Cve(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, wve(e, t, n));+ }), r, Tve(e, t, n));}});}-function wve(e, t, n) {+function Tve(e, t, n) {let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);let o = t.nextKey == null ? null : e.getItem(t.nextKey);@@ -38235,24 +38235,24 @@ function wve(e, t, n) {}return s;}-var tA = /*#__PURE__*/ (0, E.createContext)(eA);-function Tve(e) {+var eA = /*#__PURE__*/ (0, E.createContext)($k);+function Eve(e) {return (0, E.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var nA = /*#__PURE__*/ (0, E.createContext)({}), Eve = /*#__PURE__*/ ey(function(e, t) {- [e, t] = Jk(e, t, nA);- let { elementType: n = "label", ...r } = e, i = Zk[n];+var tA = /*#__PURE__*/ (0, E.createContext)({}), Dve = /*#__PURE__*/ ey(function(e, t) {+ [e, t] = qk(e, t, tA);+ let { elementType: n = "label", ...r } = e, i = Xk[n];return /*#__PURE__*/ E.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), Dve = /*#__PURE__*/ (0, E.createContext)(null), rA = /*#__PURE__*/ (0, E.createContext)({}), iA = /*#__PURE__*/ ey(function(e, t) {- [e, t] = Jk(e, t, rA);+}), Ove = /*#__PURE__*/ (0, E.createContext)(null), nA = /*#__PURE__*/ (0, E.createContext)({}), rA = /*#__PURE__*/ ey(function(e, t) {+ [e, t] = qk(e, t, nA);let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Xoe(e, t);- i = kve(i, r);+ i = Ave(i, r);let { focusProps: o, isFocused: s, isFocusVisible: c } = OS(e), { hoverProps: l, isHovered: u } = MS({...e,isDisabled: e.isDisabled || r@@ -38263,7 +38263,7 @@ var nA = /*#__PURE__*/ (0, E.createContext)({}), Eve = /*#__PURE__*/ ey(functionisFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = Kk({+ }, f = Gk({...e,values: d,defaultClassName: "react-aria-Button"@@ -38280,7 +38280,7 @@ var nA = /*#__PURE__*/ (0, E.createContext)({}), Eve = /*#__PURE__*/ ey(functionp]);let _ = Hy(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ E.createElement(Zk.button, {+ return delete _.onClick, /*#__PURE__*/ E.createElement(Xk.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -38294,62 +38294,62 @@ var nA = /*#__PURE__*/ (0, E.createContext)({}), Eve = /*#__PURE__*/ ey(function"data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ E.createElement(Dve.Provider, { value: { id: m } }, f.children));-}), Ove = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function kve(e, t) {+ }, /*#__PURE__*/ E.createElement(Ove.Provider, { value: { id: m } }, f.children));+}), kve = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function Ave(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !Ove.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !kve.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var Ave = /*#__PURE__*/ (0, E.createContext)({}), aA = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, Ave);- let { children: n, level: r = 3, className: i, ...a } = e, o = Zk[`h${r}`];+var jve = /*#__PURE__*/ (0, E.createContext)({}), iA = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, jve);+ let { children: n, level: r = 3, className: i, ...a } = e, o = Xk[`h${r}`];return /*#__PURE__*/ E.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), oA = /*#__PURE__*/ (0, E.createContext)({}), jve = /*#__PURE__*/ ey(function(e, t) {- [e, t] = Jk(e, t, oA);- let { elementType: n = "span", ...r } = e, i = Zk[n];+}), aA = /*#__PURE__*/ (0, E.createContext)({}), Mve = /*#__PURE__*/ ey(function(e, t) {+ [e, t] = qk(e, t, aA);+ let { elementType: n = "span", ...r } = e, i = Xk[n];return /*#__PURE__*/ E.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), sA = /*#__PURE__*/ (0, E.createContext)(null), cA = /*#__PURE__*/ (0, E.createContext)(null), lA = /*#__PURE__*/ (0, E.createContext)(null), uA = /*#__PURE__*/ (0, E.createContext)(null), Mve = /*#__PURE__*/ (0, E.createContext)(null), Nve = /*#__PURE__*/ (0, E.createContext)(null);-function Pve(e, t) {- let { validationBehavior: n } = qk(cA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useContext)(Mve), a = Yv((0, E.useMemo)(() => Hv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...Xk(e),+}), oA = /*#__PURE__*/ (0, E.createContext)(null), sA = /*#__PURE__*/ (0, E.createContext)(null), cA = /*#__PURE__*/ (0, E.createContext)(null), lA = /*#__PURE__*/ (0, E.createContext)(null), Nve = /*#__PURE__*/ (0, E.createContext)(null), Pve = /*#__PURE__*/ (0, E.createContext)(null);+function Fve(e, t) {+ let { validationBehavior: n } = Kk(sA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useContext)(Nve), a = Yv((0, E.useMemo)(() => Hv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...Yk(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};return [i ? yse(o, i, a) : Xb(o, tx(e), a), a];}-var Fve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+var Ive = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = Jk(r, t, lA);- let [i, a] = Pve(e, n);- return /*#__PURE__*/ E.createElement(Nve.Provider, { value: {+ [e, t] = qk(r, t, cA);+ let [i, a] = Fve(e, n);+ return /*#__PURE__*/ E.createElement(Pve.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ E.createElement(Ive, {+ } }, /*#__PURE__*/ E.createElement(Lve, {...e,ref: t}));-}), Ive = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, E.useContext)(Nve), { isFocused: p, isFocusVisible: m, focusProps: h } = OS(), g = a || o, { hoverProps: _, isHovered: v } = MS({+}), Lve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, E.useContext)(Pve), { isFocused: p, isFocusVisible: m, focusProps: h } = OS(), g = a || o, { hoverProps: _, isHovered: v } = MS({...e,isDisabled: g- }), y = Kk({+ }), y = Gk({...e,defaultClassName: u,values: {@@ -38365,7 +38365,7 @@ var Fve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {isRequired: f || !1}}), b = Hy(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(Zk.label, {+ return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(Xk.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -38383,8 +38383,8 @@ var Fve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {...K(r, h),ref: l})), y.children);-}), Lve = /*#__PURE__*/ (0, E.createContext)({}), Rve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, Lve);+}), Rve = /*#__PURE__*/ (0, E.createContext)({}), zve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, Rve);let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";let { hoverProps: l, isHovered: u } = MS({@@ -38392,7 +38392,7 @@ var Fve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = OS({ within: !0 }), m = Kk({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = OS({ within: !0 }), m = Gk({...e,values: {isHovered: u,@@ -38403,7 +38403,7 @@ var Fve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(Xk.div, {...K(c, p, l),...m,ref: t,@@ -38416,18 +38416,18 @@ var Fve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), zve = /*#__PURE__*/ (0, E.createContext)({}), Bve = (e) => {+}), Bve = /*#__PURE__*/ (0, E.createContext)({}), Vve = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Vve = /*#__PURE__*/ ey(function(e, t) {- [e, t] = Jk(e, t, zve);+}, Hve = /*#__PURE__*/ ey(function(e, t) {+ [e, t] = qk(e, t, Bve);let { hoverProps: n, isHovered: r } = MS({...e,isDisabled: e.disabled}), { isFocused: i, isFocusVisible: a, focusProps: o } = OS({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Kk({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Gk({...e,values: {isHovered: r,@@ -38438,8 +38438,8 @@ var Fve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ E.createElement(Zk.input, {- ...K(Bve(e), o, n),+ return /*#__PURE__*/ E.createElement(Xk.input, {+ ...K(Vve(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -38448,9 +38448,9 @@ var Fve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Hve = 0, Uve = 100, Wve = 1;-function Gve(e) {- let { isDisabled: t = !1, minValue: n = Hve, maxValue: r = Uve, numberFormatter: i, step: a = Wve, orientation: o = "horizontal" } = e, s = (0, E.useMemo)(() => {+}), Uve = 0, Wve = 100, Gve = 1;+function Kve(e) {+ let { isDisabled: t = !1, minValue: n = Uve, maxValue: r = Wve, numberFormatter: i, step: a = Gve, orientation: o = "horizontal" } = e, s = (0, E.useMemo)(() => {let e = (r - n) / 10;return e = ix(e, 0, e + a, a), Math.max(e, a);}, [@@ -38461,11 +38461,11 @@ function Gve(e) {n,r,a- ]), l = (0, E.useMemo)(() => c(qve(e.value)), [e.value, c]), u = (0, E.useMemo)(() => c(qve(e.defaultValue) ?? [n]), [+ ]), l = (0, E.useMemo)(() => c(Jve(e.value)), [e.value, c]), u = (0, E.useMemo)(() => c(Jve(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = Jve(e.value, e.defaultValue, e.onChange), f = Jve(e.value, e.defaultValue, e.onChangeEnd), [p, m] = ex(l, u, d), [h] = (0, E.useState)(p), [g, _] = (0, E.useState)(Array(p.length).fill(!1)), v = (0, E.useRef)(Array(p.length).fill(!0)), [y, b] = (0, E.useState)(void 0), x = (0, E.useRef)(p), S = (0, E.useRef)(g), C = (e) => {+ ]), d = Yve(e.value, e.defaultValue, e.onChange), f = Yve(e.value, e.defaultValue, e.onChangeEnd), [p, m] = ex(l, u, d), [h] = (0, E.useState)(p), [g, _] = (0, E.useState)(Array(p.length).fill(!1)), v = (0, E.useRef)(Array(p.length).fill(!0)), [y, b] = (0, E.useState)(void 0), x = (0, E.useRef)(p), S = (0, E.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -38489,14 +38489,14 @@ function Gve(e) {if (t || !k(e)) return;let r = D(e), i = O(e);n = ix(n, r, i, a);- let o = Kve(x.current, e, n);+ let o = qve(x.current, e, n);C(o);}function M(e, n) {if (t || !k(e)) return;n && (x.current = p);let r = S.current[e];- S.current = Kve(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = qve(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let N = (0, E.useRef)(null);function P(e = p) {@@ -38554,32 +38554,32 @@ function Gve(e) {isDisabled: t};}-function Kve(e, t, n) {+function qve(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function qve(e) {+function Jve(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function Jve(e, t, n) {+function Yve(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}//#endregion//#region node_modules/react-aria-components/dist/private/Slider.mjs-var Yve = /*#__PURE__*/ (0, E.createContext)(null), dA = /*#__PURE__*/ (0, E.createContext)(null), fA = /*#__PURE__*/ (0, E.createContext)(null), Xve = /*#__PURE__*/ (0, E.createContext)(null), Zve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, Yve);- let n = (0, E.useRef)(null), r = wse(e.formatOptions), i = Gve({+var Xve = /*#__PURE__*/ (0, E.createContext)(null), uA = /*#__PURE__*/ (0, E.createContext)(null), dA = /*#__PURE__*/ (0, E.createContext)(null), Zve = /*#__PURE__*/ (0, E.createContext)(null), Qve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, Xve);+ let n = (0, E.useRef)(null), r = wse(e.formatOptions), i = Kve({...e,numberFormatter: r- }), [a, o] = Yk(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Tse({+ }), [a, o] = Jk(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Tse({...e,label: o- }, i, n), d = Kk({+ }, i, n), d = Gk({...e,values: {orientation: i.orientation,@@ -38588,31 +38588,31 @@ var Yve = /*#__PURE__*/ (0, E.createContext)(null), dA = /*#__PURE__*/ (0, E.cre},defaultClassName: "react-aria-Slider"}), f = Hy(e, { global: !0 });- return delete f.id, /*#__PURE__*/ E.createElement(Gk, { values: [- [dA, i],- [fA, {+ return delete f.id, /*#__PURE__*/ E.createElement(Wk, { values: [+ [uA, i],+ [dA, {...c,ref: n}],- [Xve, u],- [nA, {+ [Zve, u],+ [tA, {...l,ref: a}]- ] }, /*#__PURE__*/ E.createElement(Zk.div, {+ ] }, /*#__PURE__*/ E.createElement(Xk.div, {...K(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Qve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, fA);- let n = (0, E.useContext)(dA), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = MS({+}), $ve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, dA);+ let n = (0, E.useContext)(uA), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = MS({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = Kk({+ }), l = Gk({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -38622,7 +38622,7 @@ var Yve = /*#__PURE__*/ (0, E.createContext)(null), dA = /*#__PURE__*/ (0, E.crestate: n}});- return /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(Xk.div, {...K(o, s),...l,ref: t,@@ -38630,14 +38630,14 @@ var Yve = /*#__PURE__*/ (0, E.createContext)(null), dA = /*#__PURE__*/ (0, E.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), $ve = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, E.useContext)(dA), { ref: i } = qk(fA), { index: a = 0 } = e, o = (0, E.useRef)(null), s = n || o, [c, l] = Yk(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Ese({+}), eye = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, E.useContext)(uA), { ref: i } = Kk(dA), { index: a = 0 } = e, o = (0, E.useRef)(null), s = n || o, [c, l] = Jk(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Ese({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = OS(), { hoverProps: v, isHovered: y } = MS(e), b = Kk({+ }, r), { focusProps: g, isFocusVisible: _ } = OS(), { hoverProps: v, isHovered: y } = MS(e), b = Gk({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -38649,7 +38649,7 @@ var Yve = /*#__PURE__*/ (0, E.createContext)(null), dA = /*#__PURE__*/ (0, E.creisDisabled: h}}), x = Hy(e, { global: !0 });- return delete x.id, /*#__PURE__*/ E.createElement(Zk.div, {+ return delete x.id, /*#__PURE__*/ E.createElement(Xk.div, {...K(x, u, v),...b,ref: t,@@ -38665,12 +38665,12 @@ var Yve = /*#__PURE__*/ (0, E.createContext)(null), dA = /*#__PURE__*/ (0, E.cre}, /*#__PURE__*/ E.createElement(ux, null, /*#__PURE__*/ E.createElement("input", {ref: s,...K(d, g)- })), /*#__PURE__*/ E.createElement(Gk, { values: [[nA, {+ })), /*#__PURE__*/ E.createElement(Wk, { values: [[tA, {...f,ref: c}]] }, b.children));-}), eye = {};-eye = {+}), tye = {};+tye = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -38678,8 +38678,8 @@ eye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var tye = {};-tye = {+var nye = {};+nye = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -38687,8 +38687,8 @@ tye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var nye = {};-nye = {+var rye = {};+rye = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -38696,8 +38696,8 @@ nye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var rye = {};-rye = {+var iye = {};+iye = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -38705,8 +38705,8 @@ rye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var iye = {};-iye = {+var aye = {};+aye = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -38714,8 +38714,8 @@ iye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var aye = {};-aye = {+var oye = {};+oye = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -38723,8 +38723,8 @@ aye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var oye = {};-oye = {+var sye = {};+sye = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -38732,8 +38732,8 @@ oye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var sye = {};-sye = {+var cye = {};+cye = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -38741,8 +38741,8 @@ sye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var cye = {};-cye = {+var lye = {};+lye = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -38750,8 +38750,8 @@ cye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var lye = {};-lye = {+var uye = {};+uye = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -38759,8 +38759,8 @@ lye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var uye = {};-uye = {+var dye = {};+dye = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -38768,8 +38768,8 @@ uye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var dye = {};-dye = {+var fye = {};+fye = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -38777,8 +38777,8 @@ dye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var fye = {};-fye = {+var pye = {};+pye = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -38786,8 +38786,8 @@ fye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var pye = {};-pye = {+var mye = {};+mye = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -38795,8 +38795,8 @@ pye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var mye = {};-mye = {+var hye = {};+hye = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -38804,8 +38804,8 @@ mye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var hye = {};-hye = {+var gye = {};+gye = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -38813,8 +38813,8 @@ hye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var gye = {};-gye = {+var _ye = {};+_ye = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -38822,8 +38822,8 @@ gye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var _ye = {};-_ye = {+var vye = {};+vye = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -38831,8 +38831,8 @@ _ye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var vye = {};-vye = {+var yye = {};+yye = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -38840,8 +38840,8 @@ vye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var yye = {};-yye = {+var bye = {};+bye = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -38849,8 +38849,8 @@ yye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var bye = {};-bye = {+var xye = {};+xye = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -38858,8 +38858,8 @@ bye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var xye = {};-xye = {+var Sye = {};+Sye = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -38867,8 +38867,8 @@ xye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var Sye = {};-Sye = {+var Cye = {};+Cye = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -38876,8 +38876,8 @@ Sye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var Cye = {};-Cye = {+var wye = {};+wye = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -38885,8 +38885,8 @@ Cye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var wye = {};-wye = {+var Tye = {};+Tye = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -38894,8 +38894,8 @@ wye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var Tye = {};-Tye = {+var Eye = {};+Eye = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -38903,8 +38903,8 @@ Tye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var Eye = {};-Eye = {+var Dye = {};+Dye = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -38912,8 +38912,8 @@ Eye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var Dye = {};-Dye = {+var Oye = {};+Oye = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -38921,8 +38921,8 @@ Dye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var Oye = {};-Oye = {+var kye = {};+kye = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -38930,8 +38930,8 @@ Oye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var kye = {};-kye = {+var Aye = {};+Aye = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -38939,8 +38939,8 @@ kye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var Aye = {};-Aye = {+var jye = {};+jye = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -38948,8 +38948,8 @@ Aye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var jye = {};-jye = {+var Mye = {};+Mye = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -38957,8 +38957,8 @@ jye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var Mye = {};-Mye = {+var Nye = {};+Nye = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -38966,8 +38966,8 @@ Mye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var Nye = {};-Nye = {+var Pye = {};+Pye = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -38975,52 +38975,52 @@ Nye = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var pA = {};-pA = {- "ar-AE": eye,- "bg-BG": tye,- "cs-CZ": nye,- "da-DK": rye,- "de-DE": iye,- "el-GR": aye,- "en-US": oye,- "es-ES": sye,- "et-EE": cye,- "fi-FI": lye,- "fr-FR": uye,- "he-IL": dye,- "hr-HR": fye,- "hu-HU": pye,- "it-IT": mye,- "ja-JP": hye,- "ko-KR": gye,- "lt-LT": _ye,- "lv-LV": vye,- "nb-NO": yye,- "nl-NL": bye,- "pl-PL": xye,- "pt-BR": Sye,- "pt-PT": Cye,- "ro-RO": wye,- "ru-RU": Tye,- "sk-SK": Eye,- "sl-SI": Dye,- "sr-SP": Oye,- "sv-SE": kye,- "tr-TR": Aye,- "uk-UA": jye,- "zh-CN": Mye,- "zh-TW": Nye+var fA = {};+fA = {+ "ar-AE": tye,+ "bg-BG": nye,+ "cs-CZ": rye,+ "da-DK": iye,+ "de-DE": aye,+ "el-GR": oye,+ "en-US": sye,+ "es-ES": cye,+ "et-EE": lye,+ "fi-FI": uye,+ "fr-FR": dye,+ "he-IL": fye,+ "hr-HR": pye,+ "hu-HU": mye,+ "it-IT": hye,+ "ja-JP": gye,+ "ko-KR": _ye,+ "lt-LT": vye,+ "lv-LV": yye,+ "nb-NO": bye,+ "nl-NL": xye,+ "pl-PL": Sye,+ "pt-BR": Cye,+ "pt-PT": wye,+ "ro-RO": Tye,+ "ru-RU": Eye,+ "sk-SK": Dye,+ "sl-SI": Oye,+ "sr-SP": kye,+ "sv-SE": Aye,+ "tr-TR": jye,+ "uk-UA": Mye,+ "zh-CN": Nye,+ "zh-TW": Pye};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var mA = /*#__PURE__*/ (0, E.createContext)({}), hA = /*#__PURE__*/ (0, E.createContext)(null), Pye = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { render: n } = (0, E.useContext)(hA);+var pA = /*#__PURE__*/ (0, E.createContext)({}), mA = /*#__PURE__*/ (0, E.createContext)(null), Fye = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { render: n } = (0, E.useContext)(mA);return /*#__PURE__*/ E.createElement(E.Fragment, null, n(e, t));});-function gA(e, t) {+function hA(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, E.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ E.createElement(Pye, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ E.createElement(Fye, { target: e });}, [t?.target,r,@@ -39028,7 +39028,7 @@ function gA(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function _A(e, t, n) {+function gA(e, t, n) {let r = e.focusedKey, i = null;if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {let e = n.collection.getKeyAfter(i), t = null;@@ -39050,14 +39050,14 @@ function _A(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var vA = /*#__PURE__*/ (0, E.createContext)({}), Fye = /*#__PURE__*/ (0, E.createContext)(null);-function yA(e) {+var _A = /*#__PURE__*/ (0, E.createContext)({}), Iye = /*#__PURE__*/ (0, E.createContext)(null);+function vA(e) {let t = (0, E.useRef)({});- return /*#__PURE__*/ E.createElement(Fye.Provider, { value: t }, e.children);+ return /*#__PURE__*/ E.createElement(Iye.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var bA = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), xA = /*#__PURE__*/ (0, E.createContext)({}), Iye = /*#__PURE__*/ cy(class extends I_ {+var yA = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), bA = /*#__PURE__*/ (0, E.createContext)({}), Lye = /*#__PURE__*/ cy(class extends I_ {static {this.type = "separator";}@@ -39070,10 +39070,10 @@ var bA = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), xA = /*#__PURE_return null;}}, function(e, t) {- [e, t] = Jk(e, t, xA);+ [e, t] = qk(e, t, bA);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = Zk[c], { separatorProps: u } = Nce({+ let l = Xk[c], { separatorProps: u } = Nce({...s,elementType: n,orientation: r@@ -39089,13 +39089,13 @@ var bA = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), xA = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function SA(e) {+function xA(e) {let t = E.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}//#endregion//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var CA = class {+var SA = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -39139,20 +39139,20 @@ var CA = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, wA = class e extends Set {+}, CA = class e extends Set {constructor(t, n, r) {super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);}};//#endregion//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function Lye(e, t) {+function Rye(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function TA(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, E.useRef)(!1), [, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = (0, E.useRef)(null), [, u] = (0, E.useState)(null), [d, f] = ex((0, E.useMemo)(() => EA(e.selectedKeys), [e.selectedKeys]), (0, E.useMemo)(() => EA(e.defaultSelectedKeys, new wA()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, E.useState)(i);+function wA(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, E.useRef)(!1), [, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = (0, E.useRef)(null), [, u] = (0, E.useState)(null), [d, f] = ex((0, E.useMemo)(() => TA(e.selectedKeys), [e.selectedKeys]), (0, E.useMemo)(() => TA(e.defaultSelectedKeys, new CA()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, E.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, E.useRef)(i);return (0, E.useEffect)(() => {@@ -39179,18 +39179,18 @@ function TA(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !Lye(e, d)) && f(e);+ (r || !Rye(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function EA(e, t) {- return e ? e === "all" ? "all" : new wA(e) : t;+function TA(e, t) {+ return e ? e === "all" ? "all" : new CA(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var DA = class e {+var EA = class e {constructor(e, t, n) {this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;}@@ -39273,10 +39273,10 @@ var DA = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new wA([t], t, t);+ if (this.state.selectedKeys === "all") n = new CA([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new wA(e, r, t);+ n = new CA(e, r, t);for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);}@@ -39310,19 +39310,19 @@ var DA = class e {}let t = this.getKey(e);if (t == null) return;- let n = new wA(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new CA(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);}replaceSelection(e) {if (this.selectionMode === "none") return;let t = this.getKey(e);if (t == null) return;- let n = this.canSelectItem(t) ? new wA([t], t, t) : new wA();+ let n = this.canSelectItem(t) ? new CA([t], t, t) : new CA();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new wA();+ let t = new CA();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -39345,7 +39345,7 @@ var DA = class e {!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");}clearSelection() {- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new wA());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new CA());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -39386,9 +39386,9 @@ var DA = class e {fullCollection: this.fullCollection ?? this.collection});}-}, Rye = class {+}, zye = class {build(e, t) {- return this.context = t, OA(() => this.iterateCollection(e));+ return this.context = t, DA(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -39470,10 +39470,10 @@ var DA = class e {...a,key: l,index: s,- wrapper: zye(e.wrapper, a.wrapper)+ wrapper: Bye(e.wrapper, a.wrapper)}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];for (let t of u) {- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${kA(t.type)}> in <${kA(r?.type ?? "unknown parent type")}>. Only <${kA(e.type)}> is supported.`);+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${OA(t.type)}> in <${OA(r?.type ?? "unknown parent type")}>. Only <${OA(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -39495,7 +39495,7 @@ var DA = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: OA(function* () {+ childNodes: DA(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -39514,7 +39514,7 @@ var DA = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function OA(e) {+function DA(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -39522,18 +39522,18 @@ function OA(e) {for (let e of n) t.push(e), yield e;} };}-function zye(e, t) {+function Bye(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function kA(e) {+function OA(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function AA(e, t, n) {- let r = (0, E.useMemo)(() => new Rye(), []), { children: i, items: a, collection: o } = e;+function kA(e, t, n) {+ let r = (0, E.useMemo)(() => new zye(), []), { children: i, items: a, collection: o } = e;return (0, E.useMemo)(() => o || t(r.build({children: i,items: a@@ -39548,27 +39548,27 @@ function AA(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function jA(e) {- let { filter: t, layoutDelegate: n } = e, r = TA(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = AA(e, (0, E.useCallback)((e) => t ? new CA(t(e)) : new CA(e), [t]), (0, E.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, E.useMemo)(() => new DA(a, r, { layoutDelegate: n }), [+function AA(e) {+ let { filter: t, layoutDelegate: n } = e, r = wA(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = kA(e, (0, E.useCallback)((e) => t ? new SA(t(e)) : new SA(e), [t]), (0, E.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, E.useMemo)(() => new EA(a, r, { layoutDelegate: n }), [a,r,n]);- return MA(a, o), {+ return jA(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function Bye(e, t) {+function Vye(e, t) {let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return MA(n, r), {+ return jA(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function MA(e, t) {+function jA(e, t) {let n = (0, E.useRef)(null);(0, E.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -39596,7 +39596,7 @@ function MA(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function NA(e, t) {+function MA(e, t) {let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, E.useRef)(null), s = Ey((e) => {for (let t of e) t.isIntersecting && r && r();});@@ -39620,42 +39620,42 @@ function NA(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var PA = /*#__PURE__*/ (0, E.createContext)(null), FA = /*#__PURE__*/ (0, E.createContext)(null), Vye = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, PA);- let n = (0, E.useContext)(FA);- return n ? /*#__PURE__*/ E.createElement(IA, {+var NA = /*#__PURE__*/ (0, E.createContext)(null), PA = /*#__PURE__*/ (0, E.createContext)(null), Hye = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, NA);+ let n = (0, E.useContext)(PA);+ return n ? /*#__PURE__*/ E.createElement(FA, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ E.createElement(ay, { content: /*#__PURE__*/ E.createElement(fy, e) }, (n) => /*#__PURE__*/ E.createElement(Hye, {+ }) : /*#__PURE__*/ E.createElement(ay, { content: /*#__PURE__*/ E.createElement(fy, e) }, (n) => /*#__PURE__*/ E.createElement(Uye, {props: e,listBoxRef: t,collection: n}));});-function Hye({ props: e, listBoxRef: t, collection: n }) {+function Uye({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, E.useContext)(tA), i = jA({+ let { layoutDelegate: r } = (0, E.useContext)(eA), i = AA({...e,layoutDelegate: r});- return /*#__PURE__*/ E.createElement(IA, {+ return /*#__PURE__*/ E.createElement(FA, {state: i,props: e,listBoxRef: t});}-function IA({ state: e, props: t, listBoxRef: n }) {- [t, n] = Jk(t, n, Qk);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Bye(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Py(), { disabledBehavior: p, disabledKeys: m } = l, h = xS({+function FA({ state: e, props: t, listBoxRef: n }) {+ [t, n] = qk(t, n, Zk);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Vye(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Py(), { disabledBehavior: p, disabledKeys: m } = l, h = xS({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, E.useContext)(tA), b = (0, E.useMemo)(() => t.keyboardDelegate || new Cx({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, E.useContext)(eA), b = (0, E.useMemo)(() => t.keyboardDelegate || new Cx({collection: c,collator: h,ref: n,@@ -39716,7 +39716,7 @@ function IA({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, P = Kk({+ }, P = Gk({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -39727,7 +39727,7 @@ function IA({ state: e, props: t, listBoxRef: n }) {style: { display: "contents" }}, t.renderEmptyState(N)));let I = Hy(t, { global: !0 });- return /*#__PURE__*/ E.createElement(fb, null, /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(fb, null, /*#__PURE__*/ E.createElement(Xk.div, {...K(I, P, x, k, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -39738,52 +39738,52 @@ function IA({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": j || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [PA, t],- [FA, s],- [mA, {+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [NA, t],+ [PA, s],+ [pA, {dragAndDropHooks: r,dragState: S,dropState: C}],- [xA, { elementType: "div" }],- [hA, { render: Gye }],- [Sve, {+ [bA, { elementType: "div" }],+ [mA, { render: Kye }],+ [Cve, {name: "ListBoxSection",- render: Uye+ render: Wye}]- ] }, /*#__PURE__*/ E.createElement(yA, null, /*#__PURE__*/ E.createElement(y, {+ ] }, /*#__PURE__*/ E.createElement(vA, null, /*#__PURE__*/ E.createElement(y, {collection: c,scrollRef: n,- persistedKeys: _A(l, r, C),- renderDropIndicator: gA(r, C)+ persistedKeys: gA(l, r, C),+ renderDropIndicator: hA(r, C)}))), F, D));}-function Uye(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, E.useContext)(FA), { dragAndDropHooks: a, dropState: o } = (0, E.useContext)(mA), { CollectionBranch: s } = (0, E.useContext)(tA), [c, l] = Yk(), { headingProps: u, groupProps: d } = ece({+function Wye(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, E.useContext)(PA), { dragAndDropHooks: a, dropState: o } = (0, E.useContext)(pA), { CollectionBranch: s } = (0, E.useContext)(eA), [c, l] = Jk(), { headingProps: u, groupProps: d } = ece({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = Kk({+ }), f = Gk({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0}), p = Hy(e, { global: !0 });- return delete p.id, /*#__PURE__*/ E.createElement(Zk.section, {+ return delete p.id, /*#__PURE__*/ E.createElement(Xk.section, {...K(p, f, d),ref: t- }, /*#__PURE__*/ E.createElement(vA.Provider, { value: {+ }, /*#__PURE__*/ E.createElement(_A.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ E.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: gA(a, o)+ renderDropIndicator: hA(a, o)})));}-var Wye = /*#__PURE__*/ cy(Gie, function(e, t, n) {- let r = Yv(t), i = (0, E.useContext)(FA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(mA), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = tce({+var Gye = /*#__PURE__*/ cy(Gie, function(e, t, n) {+ let r = Yv(t), i = (0, E.useContext)(PA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(pA), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = tce({key: n.key,"aria-label": e?.["aria-label"]}, i, r), { hoverProps: p, isHovered: m } = MS({@@ -39802,7 +39802,7 @@ var Wye = /*#__PURE__*/ cy(Gie, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = Kk({+ let y = o && o.isDragging(n.key), b = Gk({...e,id: void 0,children: e.children,@@ -39820,7 +39820,7 @@ var Wye = /*#__PURE__*/ cy(Gie, function(e, t, n) {(0, E.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? Zk.a : Zk.div, S = Hy(e, { global: !0 });+ let x = e.href ? Xk.a : Xk.div, S = Hy(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ E.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -39834,29 +39834,29 @@ var Wye = /*#__PURE__*/ cy(Gie, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ E.createElement(Gk, { values: [[oA, { slots: {- [Wk]: u,+ }, /*#__PURE__*/ E.createElement(Wk, { values: [[aA, { slots: {+ [Uk]: u,label: u,description: d- } }], [bA, { isSelected: f.isSelected }]] }, b.children));+ } }], [yA, { isSelected: f.isSelected }]] }, b.children));});-function Gye(e, t) {+function Kye(e, t) {t = Yv(t);- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(mA), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ E.createElement(qye, {+ let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(pA), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ E.createElement(Jye, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function Kye(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Kk({+function qye(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Gk({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Xk.div, {...n,...a,role: "option",@@ -39864,10 +39864,10 @@ function Kye(e, t) {"data-drop-target": r || void 0}));}-var qye = /*#__PURE__*/ (0, E.forwardRef)(Kye);+var Jye = /*#__PURE__*/ (0, E.forwardRef)(qye);cy(R_, function(e, t, n) {- let r = (0, E.useContext)(FA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);- NA((0, E.useMemo)(() => ({+ let r = (0, E.useContext)(PA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);+ MA((0, E.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -39877,7 +39877,7 @@ cy(R_, function(e, t, n) {o,r?.collection]), c);- let l = Kk({+ let l = Gk({...s,id: void 0,children: n.rendered,@@ -39890,7 +39890,7 @@ cy(R_, function(e, t, n) {width: 0,height: 0},- inert: SA(!0)+ inert: xA(!0)}, /*#__PURE__*/ E.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -39899,7 +39899,7 @@ cy(R_, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Zk.div, {+ })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Xk.div, {...K(Hy(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",@@ -39908,10 +39908,10 @@ cy(R_, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var Jye = /*#__PURE__*/ (0, E.createContext)({ placement: "bottom" });+var Yye = /*#__PURE__*/ (0, E.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function LA(e) {+function IA(e) {let [t, n] = ex(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, E.useState)(null);return {isOpen: t,@@ -39931,15 +39931,15 @@ function LA(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function RA(e, t = !0, n) {+function LA(e, t = !0, n) {let [r, i] = (0, E.useState)(!0), a = r && t;return iv(() => {if (!t && e.current) return Iv(J_(e.current, "opacity", "0"), J_(e.current, "clip", "rect(0 0 0 0)"), J_(e.current, "clip-path", "inset(50%)"), J_(e.current, "mask-image", "linear-gradient(#0000, #0000)"));}, [e, t]), iv(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), BA(e, a, n, (0, E.useCallback)(() => i(!1), [])), a;+ }, [e, a]), zA(e, a, n, (0, E.useCallback)(() => i(!1), [])), a;}-function zA(e, t, n) {+function RA(e, t, n) {let [r, i] = (0, E.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -39949,11 +39949,11 @@ function zA(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return BA(e, a, n, (0, E.useCallback)(() => {+ return zA(e, a, n, (0, E.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function BA(e, t, n, r) {+function zA(e, t, n, r) {let i = (0, E.useRef)(null), a = Ey(n);iv(() => {if (t && e.current && i.current !== t) {@@ -39981,9 +39981,9 @@ function BA(e, t, n, r) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var VA = /*#__PURE__*/ (0, E.createContext)(null), HA = /*#__PURE__*/ (0, E.createContext)(null), UA = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, VA);- let n = (0, E.useContext)(tj), r = LA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = zA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ty(), { direction: c } = Py();+var BA = /*#__PURE__*/ (0, E.createContext)(null), VA = /*#__PURE__*/ (0, E.createContext)(null), HA = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, BA);+ let n = (0, E.useContext)(ej), r = IA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = RA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ty(), { direction: c } = Py();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -39994,7 +39994,7 @@ var VA = /*#__PURE__*/ (0, E.createContext)(null), HA = /*#__PURE__*/ (0, E.creadefaultChildren: null})), /*#__PURE__*/ E.createElement(E.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ E.createElement(Yye, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ E.createElement(Xye, {...e,triggerRef: e.triggerRef,state: i,@@ -40003,13 +40003,13 @@ var VA = /*#__PURE__*/ (0, E.createContext)(null), HA = /*#__PURE__*/ (0, E.creadir: c});});-function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useContext)(HA), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, E.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Dce({+function Xye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useContext)(VA), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, E.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Dce({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = RA(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = Kk({+ }, e), g = i.popoverRef, _ = LA(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = Gk({...i,defaultClassName: "react-aria-Popover",values: {@@ -40030,7 +40030,7 @@ function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, E.useMemo)(() => {let e = y.children;- for (let t of [VA, ...r ?? []]) e = /*#__PURE__*/ E.createElement(t.Provider, { value: null }, e);+ for (let t of [BA, ...r ?? []]) e = /*#__PURE__*/ E.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, E.useState)(null), D = (0, E.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");@@ -40046,7 +40046,7 @@ function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"--trigger-width": y.style?.["--trigger-width"] || w};iv(() => yw(() => u(!0)), []);- let k = /*#__PURE__*/ E.createElement(Zk.div, {+ let k = /*#__PURE__*/ E.createElement(Xk.div, {...K(Hy(i, { global: !0 }), d),...y,id: x ? i.id : void 0,@@ -40062,7 +40062,7 @@ function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ E.createElement(fw, { onDismiss: e.close }), /*#__PURE__*/ E.createElement(Jye.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ E.createElement(fw, { onDismiss: e.close }), /*#__PURE__*/ E.createElement(Yye.Provider, { value: {...p,placement: m,ref: a@@ -40087,15 +40087,15 @@ function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ E.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ E.createElement(HA.Provider, { value: o }, k)));+ }, /*#__PURE__*/ E.createElement(VA.Provider, { value: o }, k)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjs-var Xye = /*#__PURE__*/ (0, E.createContext)({});+var Zye = /*#__PURE__*/ (0, E.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function WA(e) {- let t = LA(e), [n, r] = (0, E.useState)(null), [i, a] = (0, E.useState)([]), o = () => {+function UA(e) {+ let t = IA(e), [n, r] = (0, E.useState)(null), [i, a] = (0, E.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -40121,7 +40121,7 @@ function WA(e) {}//#endregion//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var Zye = class {+var Qye = class {constructor(e, { expandedKeys: t } = {}) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();let n = (e) => {@@ -40165,8 +40165,8 @@ var Zye = class {};//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs-function GA(e) {- let { onExpandedChange: t } = e, [n, r] = ex(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = TA(e), a = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = AA(e, (0, E.useCallback)((e) => new Zye(e, { expandedKeys: n }), [n]), null);+function WA(e) {+ let { onExpandedChange: t } = e, [n, r] = ex(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = wA(e), a = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = kA(e, (0, E.useCallback)((e) => new Qye(e, { expandedKeys: n }), [n]), null);return (0, E.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -40174,32 +40174,32 @@ function GA(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(Qye(n, e));+ r($ye(n, e));},setExpandedKeys: r,- selectionManager: new DA(o, i)+ selectionManager: new EA(o, i)};}-function Qye(e, t) {+function $ye(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}//#endregion//#region node_modules/react-aria-components/dist/private/Menu.mjs-var KA = /*#__PURE__*/ (0, E.createContext)(null), qA = /*#__PURE__*/ (0, E.createContext)(null), JA = /*#__PURE__*/ (0, E.createContext)(null), YA = /*#__PURE__*/ (0, E.createContext)(null);-function $ye(e) {- let t = WA(e), n = (0, E.useRef)(null), { menuTriggerProps: r, menuProps: i } = sS({+var GA = /*#__PURE__*/ (0, E.createContext)(null), KA = /*#__PURE__*/ (0, E.createContext)(null), qA = /*#__PURE__*/ (0, E.createContext)(null), JA = /*#__PURE__*/ (0, E.createContext)(null);+function ebe(e) {+ let t = UA(e), n = (0, E.useRef)(null), { menuTriggerProps: r, menuProps: i } = sS({...e,type: "menu"}, t, n), a = (0, E.useRef)(null);- return ty() ? null : /*#__PURE__*/ E.createElement(Gk, { values: [- [KA, {+ return ty() ? null : /*#__PURE__*/ E.createElement(Wk, { values: [+ [GA, {...i,ref: a}],- [tj, t],- [JA, t],- [VA, {+ [ej, t],+ [qA, t],+ [BA, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -40213,7 +40213,7 @@ function $ye(e) {isPressed: t.isOpen}, e.children));}-var ebe = /*#__PURE__*/ (0, E.createContext)(null);+var tbe = /*#__PURE__*/ (0, E.createContext)(null);(class extends I_ {static {this.type = "submenutrigger";@@ -40227,24 +40227,24 @@ var ebe = /*#__PURE__*/ (0, E.createContext)(null);return null;}});-var tbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- return [e, t] = Jk(e, t, KA), /*#__PURE__*/ E.createElement(ay, { content: /*#__PURE__*/ E.createElement(fy, e) }, (n) => /*#__PURE__*/ E.createElement(nbe, {+var nbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ return [e, t] = qk(e, t, GA), /*#__PURE__*/ E.createElement(ay, { content: /*#__PURE__*/ E.createElement(fy, e) }, (n) => /*#__PURE__*/ E.createElement(rbe, {props: e,collection: n,menuRef: t}));});-function nbe({ props: e, collection: t, menuRef: n }) {- [e, n] = Jk(e, n, Qk);- let { filter: r, ...i } = e, a = (0, E.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = GA({+function rbe({ props: e, collection: t, menuRef: n }) {+ [e, n] = qk(e, n, Zk);+ let { filter: r, ...i } = e, a = (0, E.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = WA({...e,collection: a,children: void 0- }), s = (0, E.useContext)(JA), { isVirtualized: c, CollectionRoot: l } = (0, E.useContext)(tA), { menuProps: u } = nce({+ }), s = (0, E.useContext)(qA), { isVirtualized: c, CollectionRoot: l } = (0, E.useContext)(eA), { menuProps: u } = nce({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = Kk({+ }, o, n), d = Gk({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -40255,35 +40255,35 @@ function nbe({ props: e, collection: t, menuRef: n }) {style: { display: "contents" }}, e.renderEmptyState()));let p = Hy(e, { global: !0 });- return /*#__PURE__*/ E.createElement(fb, null, /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(fb, null, /*#__PURE__*/ E.createElement(Xk.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [qA, o],- [xA, { elementType: "div" }],- [Sve, {+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [KA, o],+ [bA, { elementType: "div" }],+ [Cve, {name: "MenuSection",- render: XA+ render: YA}],- [ebe, {+ [tbe, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [QA, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [ZA, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [Zk, null],[Qk, null],- [$k, null],- [YA, o.selectionManager],- [JA, s ?? WA({})]- ] }, /*#__PURE__*/ E.createElement(yA, null, /*#__PURE__*/ E.createElement(l, {+ [JA, o.selectionManager],+ [qA, s ?? UA({})]+ ] }, /*#__PURE__*/ E.createElement(vA, null, /*#__PURE__*/ E.createElement(l, {collection: o.collection,- persistedKeys: Tve(o.selectionManager.focusedKey),+ persistedKeys: Eve(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var rbe = class extends DA {+var ibe = class extends EA {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -40303,11 +40303,11 @@ var rbe = class extends DA {return this.parent.childFocusStrategy;}};-function XA(e, t, n, r = "react-aria-MenuSection") {- let i = (0, E.useContext)(qA), { CollectionBranch: a } = (0, E.useContext)(tA), [o, s] = Yk(), { headingProps: c, groupProps: l } = ice({+function YA(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, E.useContext)(KA), { CollectionBranch: a } = (0, E.useContext)(eA), [o, s] = Jk(), { headingProps: c, groupProps: l } = ice({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = Kk({+ }), u = Gk({...e,id: void 0,children: void 0,@@ -40315,31 +40315,31 @@ function XA(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, E.useContext)(YA), f = TA(e), p = e.selectionMode == null ? d : new rbe(d, f), m = qk(QA)?.shouldCloseOnSelect, h = Hy(e, { global: !0 });- return delete h.id, /*#__PURE__*/ E.createElement(Zk.section, {+ }), d = (0, E.useContext)(JA), f = wA(e), p = e.selectionMode == null ? d : new ibe(d, f), m = Kk(ZA)?.shouldCloseOnSelect, h = Hy(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ E.createElement(Xk.section, {...K(h, u, l),ref: t- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [vA, {+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [_A, {...c,ref: o}],- [YA, p],- [QA, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [JA, p],+ [ZA, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ E.createElement(a, {collection: i.collection,parent: n})));}-var ZA = /*#__PURE__*/ ly(Kie, XA), QA = /*#__PURE__*/ (0, E.createContext)(null), $A = /*#__PURE__*/ cy(Gie, function(e, t, n) {- [e, t] = Jk(e, t, QA);- let r = qk(QA)?.id, i = (0, E.useContext)(qA), a = Yv(t), o = (0, E.useContext)(YA), { isVirtualized: s } = (0, E.useContext)(tA), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = rce({+var XA = /*#__PURE__*/ ly(Kie, YA), ZA = /*#__PURE__*/ (0, E.createContext)(null), QA = /*#__PURE__*/ cy(Gie, function(e, t, n) {+ [e, t] = qk(e, t, ZA);+ let r = Kk(ZA)?.id, i = (0, E.useContext)(KA), a = Yv(t), o = (0, E.useContext)(JA), { isVirtualized: s } = (0, E.useContext)(eA), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = rce({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = MS({ isDisabled: f.isDisabled }), h = Kk({+ }, i, a), { hoverProps: p, isHovered: m } = MS({ isDisabled: f.isDisabled }), h = Gk({...e,id: void 0,children: n.rendered,@@ -40353,7 +40353,7 @@ var ZA = /*#__PURE__*/ ly(Kie, XA), QA = /*#__PURE__*/ (0, E.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? Zk.a : Zk.div, _ = Hy(e, { global: !0 });+ }), g = e.href ? Xk.a : Xk.div, _ = Hy(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ E.createElement(g, {...K(_, h, c, p),ref: a,@@ -40366,19 +40366,19 @@ var ZA = /*#__PURE__*/ ly(Kie, XA), QA = /*#__PURE__*/ (0, E.createContext)(null"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,"data-has-submenu": !!e["aria-haspopup"] || void 0,"data-open": e["aria-expanded"] === "true" || void 0- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [oA, { slots: {- [Wk]: l,+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [aA, { slots: {+ [Uk]: l,label: l,description: u} }],- [Xye, d],- [bA, { isSelected: f.isSelected }]+ [Zye, d],+ [yA, { isSelected: f.isSelected }]] }, h.children));});cy(R_, function(e, t, n) {- let r = (0, E.useContext)(qA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);- NA((0, E.useMemo)(() => ({+ let r = (0, E.useContext)(KA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);+ MA((0, E.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -40388,7 +40388,7 @@ cy(R_, function(e, t, n) {o,r?.collection]), c);- let l = Kk({+ let l = Gk({...s,id: void 0,children: n.rendered,@@ -40401,7 +40401,7 @@ cy(R_, function(e, t, n) {width: 0,height: 0},- inert: SA(!0)+ inert: xA(!0)}, /*#__PURE__*/ E.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -40410,7 +40410,7 @@ cy(R_, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Zk.div, {+ })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Xk.div, {...K(Hy(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",@@ -40419,82 +40419,82 @@ cy(R_, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var ej = /*#__PURE__*/ (0, E.createContext)(null), tj = /*#__PURE__*/ (0, E.createContext)(null), nj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+var $A = /*#__PURE__*/ (0, E.createContext)(null), ej = /*#__PURE__*/ (0, E.createContext)(null), tj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = Jk(e, t, ej);+ [e, t] = qk(e, t, $A);let { dialogProps: r, titleProps: i, contentProps: a } = Bse({...e,"aria-labelledby": n- }, t), o = (0, E.useContext)(tj);+ }, t), o = (0, E.useContext)(ej);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = Kk({+ let s = Gk({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }}), c = Hy(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Zk.section, {+ return /*#__PURE__*/ E.createElement(Xk.section, {...K(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [Ave, { slots: {- [Wk]: {},+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [jve, { slots: {+ [Uk]: {},title: {...i,level: 2}} }],- [oA, { slots: {- [Wk]: {},+ [aA, { slots: {+ [Uk]: {},description: a} }],- [rA, { slots: {- [Wk]: {},+ [nA, { slots: {+ [Uk]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), rj = typeof document < "u" && window.visualViewport;-function ibe() {+}), nj = typeof document < "u" && window.visualViewport;+function abe() {let e = vv(), t = (0, E.useRef)(null), [n, r] = (0, E.useState)(() => e ? {width: 0,height: 0- } : ij());+ } : rj());return (0, E.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- rj && rj.scale > 1 || e(ij());+ nj && nj.scale > 1 || e(rj());}, i = (n) => {- rj && rj.scale > 1 || Cy(Q_(n)) && (t.current = yw((t) => {+ nj && nj.scale > 1 || Cy(Q_(n)) && (t.current = yw((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(ij()), dv() && fv() && window.addEventListener("blur", i, !0), rj ? rj.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), dv() && fv() && window.removeEventListener("blur", i, !0), rj ? rj.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(rj()), dv() && fv() && window.addEventListener("blur", i, !0), nj ? nj.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), dv() && fv() && window.removeEventListener("blur", i, !0), nj ? nj.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function ij() {+function rj() {return {- width: rj ? Math.min(rj.width * rj.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: rj ? rj.height * rj.scale : document.documentElement.clientHeight+ width: nj ? Math.min(nj.width * nj.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: nj ? nj.height * nj.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var abe = /*#__PURE__*/ (0, E.createContext)(null), aj = /*#__PURE__*/ (0, E.createContext)(null), obe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- if ((0, E.useContext)(aj)) return /*#__PURE__*/ E.createElement(sj, {+var obe = /*#__PURE__*/ (0, E.createContext)(null), ij = /*#__PURE__*/ (0, E.createContext)(null), sbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ if ((0, E.useContext)(ij)) return /*#__PURE__*/ E.createElement(oj, {...e,modalRef: t}, e.children);let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ E.createElement(oj, {+ return /*#__PURE__*/ E.createElement(aj, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -40504,15 +40504,15 @@ var abe = /*#__PURE__*/ (0, E.createContext)(null), aj = /*#__PURE__*/ (0, E.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ E.createElement(sj, {+ }, /*#__PURE__*/ E.createElement(oj, {...f,modalRef: t}, s));});-function sbe(e, t) {- [e, t] = Jk(e, t, abe);- let n = (0, E.useContext)(tj), r = LA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Yv(t), o = (0, E.useRef)(null), s = zA(a, i.isOpen, e.onExit), c = (0, E.useRef)(null), l = zA(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = vv();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ E.createElement(cbe, {+function cbe(e, t) {+ [e, t] = qk(e, t, obe);+ let n = (0, E.useContext)(ej), r = IA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Yv(t), o = (0, E.useRef)(null), s = RA(a, i.isOpen, e.onExit), c = (0, E.useRef)(null), l = RA(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = vv();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ E.createElement(lbe, {...e,state: i,isExiting: u,@@ -40521,12 +40521,12 @@ function sbe(e, t) {onExitRef: c});}-var oj = /*#__PURE__*/ (0, E.forwardRef)(sbe);-function cbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, E.useState)(!1), s = RA(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = hce({+var aj = /*#__PURE__*/ (0, E.forwardRef)(cbe);+function lbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, E.useState)(!1), s = LA(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = hce({...n,isEntering: c- }, i, r), d = (0, E.useContext)(ej), f = t ? lbe(d, { isEntering: c }) : d, p = Kk({+ }, i, r), d = (0, E.useContext)($A), f = t ? ube(d, { isEntering: c }) : d, p = Gk({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -40534,7 +40534,7 @@ function cbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = ibe(), h, g;+ }), m = abe(), h, g;if (typeof document < "u") {let e = jb(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;h = e.scrollWidth - t, g = e.scrollHeight - n;@@ -40549,15 +40549,15 @@ function cbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nreturn iv(() => yw(() => o(!0)), []), /*#__PURE__*/ E.createElement(ES, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ E.createElement(Zk.div, {+ }, /*#__PURE__*/ E.createElement(Xk.div, {...K(Hy(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [aj, {+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [ij, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -40565,11 +40565,11 @@ function cbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [tj, i],- [ej, f]+ [ej, i],+ [$A, f]] }, p.children)));}-function lbe(e, t) {+function ube(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -40586,8 +40586,8 @@ function lbe(e, t) {...t};}-function sj(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, E.useContext)(aj), s = (0, E.useContext)(tj), c = Yv((0, E.useMemo)(() => Hv(e.modalRef, n), [e.modalRef, n])), l = RA(c, o, e.onEnter), u = Kk({+function oj(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, E.useContext)(ij), s = (0, E.useContext)(ej), c = Yv((0, E.useMemo)(() => Hv(e.modalRef, n), [e.modalRef, n])), l = LA(c, o, e.onEnter), u = Gk({...e,defaultClassName: "react-aria-Modal",values: {@@ -40598,7 +40598,7 @@ function sj(e) {});return iv(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ E.createElement(Zk.div, {+ }), /*#__PURE__*/ E.createElement(Xk.div, {...K(Hy(e, { global: !0 }), t),...u,ref: c,@@ -40608,9 +40608,9 @@ function sj(e) {}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var ube = Math.round(Math.random() * 1e10), dbe = 0;-function fbe(e) {- let t = (0, E.useMemo)(() => e.name || `radio-group-${ube}-${++dbe}`, [e.name]), [n, r] = ex(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, E.useState)(n), [a, o] = (0, E.useState)(null), s = Gb({+var dbe = Math.round(Math.random() * 1e10), fbe = 0;+function pbe(e) {+ let t = (0, E.useMemo)(() => e.name || `radio-group-${dbe}-${++fbe}`, [e.name]), [n, r] = ex(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, E.useState)(n), [a, o] = (0, E.useState)(null), s = Gb({...e,value: n}), c = (t) => {@@ -40633,16 +40633,16 @@ function fbe(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var pbe = /*#__PURE__*/ (0, E.createContext)(null), mbe = /*#__PURE__*/ (0, E.createContext)(null), cj = /*#__PURE__*/ (0, E.createContext)(null), lj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, pbe);- let { validationBehavior: n } = qk(cA) || {}, r = e.validationBehavior ?? n ?? "native", i = fbe({+var mbe = /*#__PURE__*/ (0, E.createContext)(null), hbe = /*#__PURE__*/ (0, E.createContext)(null), sj = /*#__PURE__*/ (0, E.createContext)(null), cj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, mbe);+ let { validationBehavior: n } = Kk(sA) || {}, r = e.validationBehavior ?? n ?? "native", i = pbe({...e,validationBehavior: r- }), [a, o] = Yk(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = kce({+ }), [a, o] = Jk(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = kce({...e,label: o,validationBehavior: r- }, i), f = Kk({+ }, i), f = Gk({...e,values: {orientation: e.orientation || "vertical",@@ -40654,7 +40654,7 @@ var pbe = /*#__PURE__*/ (0, E.createContext)(null), mbe = /*#__PURE__*/ (0, E.cr},defaultClassName: "react-aria-RadioGroup"}), p = Hy(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(Xk.div, {...K(p, f, s),ref: t,slot: e.slot || void 0,@@ -40663,39 +40663,39 @@ var pbe = /*#__PURE__*/ (0, E.createContext)(null), mbe = /*#__PURE__*/ (0, E.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [cj, i],- [nA, {+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [sj, i],+ [tA, {...c,ref: a,elementType: "span"}],- [oA, { slots: {+ [aA, { slots: {description: l,errorMessage: u} }],- [sA, d]- ] }, /*#__PURE__*/ E.createElement(yA, null, f.children)));-}), uj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [oA, d]+ ] }, /*#__PURE__*/ E.createElement(vA, null, f.children)));+}), lj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = Jk(r, t, mbe);- let i = E.useContext(cj), a = Yv((0, E.useMemo)(() => Hv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Oce({- ...Xk(e),+ [e, t] = qk(r, t, hbe);+ let i = E.useContext(sj), a = Yv((0, E.useMemo)(() => Hv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Oce({+ ...Yk(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ E.createElement(dj.Provider, { value: {+ return /*#__PURE__*/ E.createElement(uj.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ E.createElement(hbe, {+ } }, /*#__PURE__*/ E.createElement(gbe, {...e,ref: t}));-}), dj = /*#__PURE__*/ (0, E.createContext)(null), hbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, E.useContext)(dj), l = E.useContext(cj), { isFocused: u, isFocusVisible: d, focusProps: f } = OS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = MS({+}), uj = /*#__PURE__*/ (0, E.createContext)(null), gbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, E.useContext)(uj), l = E.useContext(sj), { isFocused: u, isFocusVisible: d, focusProps: f } = OS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = MS({...e,isDisabled: p- }), g = Kk({+ }), g = Gk({...e,defaultClassName: s,values: {@@ -40710,7 +40710,7 @@ var pbe = /*#__PURE__*/ (0, E.createContext)(null), mbe = /*#__PURE__*/ (0, E.crisRequired: l.isRequired}}), _ = Hy(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ E.createElement(Zk.label, {+ return delete _.id, delete _.onClick, /*#__PURE__*/ E.createElement(Xk.label, {...K(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -40729,8 +40729,8 @@ var pbe = /*#__PURE__*/ (0, E.createContext)(null), mbe = /*#__PURE__*/ (0, E.cr});//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function gbe(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = LA(e), [i, a] = (0, E.useState)(null), o = (0, E.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function _be(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = IA(e), [i, a] = (0, E.useState)(null), o = (0, E.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t@@ -40746,12 +40746,12 @@ function gbe(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = jA({+ }, d = AA({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, E.useMemo)(() => _be(l), [l]),+ selectedKeys: (0, E.useMemo)(() => vbe(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -40788,16 +40788,16 @@ function gbe(e) {setFocused: g};}-function _be(e) {+function vbe(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}//#endregion//#region node_modules/react-aria-components/dist/private/Select.mjs-function vbe(e) {+function ybe(e) {return e && e.__esModule ? e.default : e;}-var fj = /*#__PURE__*/ (0, E.createContext)(null), pj = /*#__PURE__*/ (0, E.createContext)(null), ybe = /*#__PURE__*/ ey(function(e, t) {- [e, t] = Jk(e, t, fj);+var dj = /*#__PURE__*/ (0, E.createContext)(null), fj = /*#__PURE__*/ (0, E.createContext)(null), bbe = /*#__PURE__*/ ey(function(e, t) {+ [e, t] = qk(e, t, dj);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, E.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -40812,24 +40812,24 @@ var fj = /*#__PURE__*/ (0, E.createContext)(null), pj = /*#__PURE__*/ (0, E.creai,a]);- return /*#__PURE__*/ E.createElement(ay, { content: o }, (n) => /*#__PURE__*/ E.createElement(xbe, {+ return /*#__PURE__*/ E.createElement(ay, { content: o }, (n) => /*#__PURE__*/ E.createElement(Sbe, {props: e,collection: n,selectRef: t}));-}), bbe = [+}), xbe = [+ tA,nA,- rA,- oA+ aA];-function xbe({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = qk(cA) || {}, i = e.validationBehavior ?? r ?? "native", a = gbe({+function Sbe({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = Kk(sA) || {}, i = e.validationBehavior ?? r ?? "native", a = _be({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = OS({ within: !0 }), c = (0, E.useRef)(null), [l, u] = Yk(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Ace({- ...Xk(e),+ }), { isFocusVisible: o, focusProps: s } = OS({ within: !0 }), c = (0, E.useRef)(null), [l, u] = Jk(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Ace({+ ...Yk(e),label: u,validationBehavior: i}, a, c), y = (0, E.useMemo)(() => ({@@ -40846,48 +40846,48 @@ function xbe({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = Kk({+ ]), b = Gk({...e,values: y,defaultClassName: "react-aria-Select"}), x = Hy(e, { global: !0 });delete x.id;let S = (0, E.useRef)(null);- return /*#__PURE__*/ E.createElement(Gk, { values: [- [fj, e],- [pj, a],- [mj, p],- [nA, {+ return /*#__PURE__*/ E.createElement(Wk, { values: [+ [dj, e],+ [fj, a],+ [pj, p],+ [tA, {...d,ref: l,elementType: "span"}],- [rA, {+ [nA, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [tj, a],- [VA, {+ [ej, a],+ [BA, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: bbe+ clearContexts: xbe}],- [PA, {+ [NA, {...m,ref: S}],- [FA, a],- [oA, { slots: {+ [PA, a],+ [aA, { slots: {description: h,errorMessage: g} }],- [sA, v]- ] }, /*#__PURE__*/ E.createElement(Zk.div, {+ [oA, v]+ ] }, /*#__PURE__*/ E.createElement(Xk.div, {...K(x, b, s),ref: t,slot: e.slot || void 0,@@ -40902,9 +40902,9 @@ function xbe({ props: e, selectRef: t, collection: n }) {autoComplete: e.autoComplete})));}-for (var mj = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ ey(function(e, t) {- [e, t] = Jk(e, t, mj);- let n = (0, E.useContext)(pj), { placeholder: r } = qk(fj), i = n.selectedItems.map((e) => {+for (var pj = /*#__PURE__*/ (0, E.createContext)(null), Cbe = /*#__PURE__*/ ey(function(e, t) {+ [e, t] = qk(e, t, pj);+ let n = (0, E.useContext)(fj), { placeholder: r } = Kk(dj), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -40931,7 +40931,7 @@ for (var mj = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ ey(fa,o,i- ]), u = By(vbe(pA), "react-aria-components"), d = Kk({+ ]), u = By(ybe(fA), "react-aria-components"), d = Gk({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -40943,32 +40943,32 @@ for (var mj = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ ey(fstate: n}}), f = Hy(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Zk.span, {+ return /*#__PURE__*/ E.createElement(Xk.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ E.createElement(oA.Provider, { value: void 0 }, d.children));-}), Cbe = /*#__PURE__*/ (0, E.createContext)(null), hj = /*#__PURE__*/ (0, E.createContext)(null), wbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ E.createElement(aA.Provider, { value: void 0 }, d.children));+}), wbe = /*#__PURE__*/ (0, E.createContext)(null), mj = /*#__PURE__*/ (0, E.createContext)(null), Tbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = Jk(r, t, Cbe);+ [e, t] = qk(r, t, wbe);let i = Yv((0, E.useMemo)(() => Hv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = tx(e), o = Pce({- ...Xk(e),+ ...Yk(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ E.createElement(Gk, { values: [[hj, a], [gj, {+ return /*#__PURE__*/ E.createElement(Wk, { values: [[mj, a], [hj, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ E.createElement(Tbe, {+ }]] }, /*#__PURE__*/ E.createElement(Ebe, {...e,ref: t}));-}), gj = /*#__PURE__*/ (0, E.createContext)(null), Tbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, E.useContext)(gj), { isFocused: f, isFocusVisible: p, focusProps: m } = OS(), h = a || o, g = (0, E.useContext)(hj), { hoverProps: _, isHovered: v } = MS({+}), hj = /*#__PURE__*/ (0, E.createContext)(null), Ebe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, E.useContext)(hj), { isFocused: f, isFocusVisible: p, focusProps: m } = OS(), h = a || o, g = (0, E.useContext)(mj), { hoverProps: _, isHovered: v } = MS({...e,isDisabled: h- }), y = Kk({+ }), y = Gk({...e,defaultClassName: u,values: {@@ -40984,7 +40984,7 @@ for (var mj = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ ey(fstate: g}}), b = Hy(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(Zk.label, {+ return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(Xk.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -41001,7 +41001,7 @@ for (var mj = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ ey(f...K(r, m),ref: l})), y.children);-}), _j = 10, vj = 5, yj = class {+}), gj = 10, _j = 5, vj = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -41011,7 +41011,7 @@ for (var mj = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ ey(f}resolveDropTarget(e, t, n, r) {let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;- if (Math.abs(a) > vj && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > _j && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > _j && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > gj && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {let t = this.state.collection.getKeyBefore(e.key);for (; t != null;) {let e = this.state.collection.getItem(t);@@ -41090,11 +41090,11 @@ for (var mj = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ ey(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > vj && i) {+ if (Math.abs(r - c.lastSwitchY) > _j && i) {let t = c.preferredTargetIndex || 0;i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;}- if (l > _j && a) {+ if (l > gj && a) {let t = c.preferredTargetIndex || 0;a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;}@@ -41109,7 +41109,7 @@ for (var mj = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ ey(fboundaryContext: null};}-}, Ebe = class {+}, Dbe = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -41179,8 +41179,8 @@ for (var mj = /*#__PURE__*/ (0, E.createContext)(null), Sbe = /*#__PURE__*/ ey(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, bj = "row-header-column-" + Math.random().toString(36).slice(2), xj = "row-header-column-" + Math.random().toString(36).slice(2); bj === xj;) xj = "row-header-column-" + Math.random().toString(36).slice(2);-function Sj(e, t) {+}, yj = "row-header-column-" + Math.random().toString(36).slice(2), bj = "row-header-column-" + Math.random().toString(36).slice(2); yj === bj;) bj = "row-header-column-" + Math.random().toString(36).slice(2);+function xj(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -41264,13 +41264,13 @@ function Sj(e, t) {textValue: ""}));}-var Dbe = class extends Ebe {+var Obe = class extends Dbe {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: bj,+ key: yj,value: null,textValue: "",level: 0,@@ -41285,7 +41285,7 @@ var Dbe = class extends Ebe {if (n?.showDragButtons) {let e = {type: "column",- key: xj,+ key: bj,value: null,textValue: "",level: 0,@@ -41312,7 +41312,7 @@ var Dbe = class extends Ebe {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = Sj(s, a);+ let l = xj(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -41373,15 +41373,15 @@ var Dbe = class extends Ebe {};//#endregion//#region node_modules/react-stately/dist/private/table/TableUtils.mjs-function Obe(e) {+function kbe(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function kbe(e) {+function Abe(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function Cj(e, t) {+function Sj(e, t) {if (typeof e == "string") {let n = e.match(/^(\d+)(?=%$)/);if (!n) throw Error("Only percentages or numbers are supported for static column widths");@@ -41389,19 +41389,19 @@ function Cj(e, t) {}return e;}-function wj(e, t) {- return e == null ? 2 ** 53 - 1 : Cj(e, t);+function Cj(e, t) {+ return e == null ? 2 ** 53 - 1 : Sj(e, t);}-function Tj(e, t) {- return e == null ? 0 : Cj(e, t);+function wj(e, t) {+ return e == null ? 0 : Sj(e, t);}-function Abe(e, t, n, r, i) {+function jbe(e, t, n, r, i) {let a = e, o = Math.floor(e), s = e - o > 0;e = o;let c = !1, l = t.map((t, a) => {let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;- Obe(o) ? (l = Cj(o, e), s = !0) : (u = kbe(o), u <= 0 && (s = !0));- let f = Tj(t.minWidth ?? i?.(a) ?? 0, e), p = wj(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ kbe(o) ? (l = Sj(o, e), s = !0) : (u = Abe(o), u <= 0 && (s = !0));+ let f = wj(t.minWidth ?? i?.(a) ?? 0, e), p = Cj(t.maxWidth, e), m = Math.max(f, Math.min(l, p));return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {frozen: s,baseSize: l,@@ -41435,14 +41435,14 @@ function Abe(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = jbe(l);+ let u = Mbe(l);if (s && u.length > 0) {let e = a.toString().split(".")[1], t = u[u.length - 1].toString();u[u.length - 1] = Number(t + "." + e);}return u;}-function jbe(e) {+function Mbe(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -41451,7 +41451,7 @@ function jbe(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Mbe = class {+var Nbe = class {constructor(e) {this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);}@@ -41480,19 +41480,19 @@ var Mbe = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Abe(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), jbe(e, t.columns.map((e) => ({...e.props,key: e.key})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {let i = t.columns[r].key, a = t.columns[r];- this.columnWidths.set(i, n), this.columnMinWidths.set(i, Tj(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, wj(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, wj(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, Cj(a.props.maxWidth, e));}), this.columnWidths;}};//#endregion//#region node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Nbe(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, E.useState)(null), s = (0, E.useMemo)(() => new Mbe({+function Pbe(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, E.useState)(null), s = (0, E.useMemo)(() => new Nbe({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, E.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, E.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, E.useState)(t.collection.columns);@@ -41544,8 +41544,8 @@ function Nbe(e, t) {}//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjs-function Pbe(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || TA(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function Fbe(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || wA(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);@@ -41556,7 +41556,7 @@ function Pbe(e) {}a(e, r);};- let o = (0, E.useMemo)(() => new DA(t, r), [t, r]), s = (0, E.useRef)(null);+ let o = (0, E.useMemo)(() => new EA(t, r), [t, r]), s = (0, E.useRef)(null);return (0, E.useEffect)(() => {if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;@@ -41595,11 +41595,11 @@ function Pbe(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/useTableState.mjs-var Fbe = {+var Ibe = {ascending: "descending",descending: "ascending"};-function Ibe(e) {+function Lbe(e) {let [t, n] = (0, E.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, E.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -41610,7 +41610,7 @@ function Ibe(e) {i,r,a- ]), c = AA(e, (0, E.useCallback)((e) => new Dbe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Pbe({+ ]), c = kA(e, (0, E.useCallback)((e) => new Obe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Fbe({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"@@ -41626,7 +41626,7 @@ function Ibe(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? Fbe[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? Ibe[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -41639,7 +41639,7 @@ function Ibe(e) {treeColumn: o};}-function Lbe(e, t) {+function Rbe(e, t) {let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -41649,10 +41649,10 @@ function Lbe(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Table.mjs-function Rbe(e) {+function zbe(e) {return e && e.__esModule ? e.default : e;}-var zbe = class extends z_ {+var Bbe = class extends z_ {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -41667,7 +41667,7 @@ var zbe = class extends z_ {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new Pj(-2);+ return new Nj(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -41693,7 +41693,7 @@ var zbe = class extends z_ {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = Sj(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");+ if (this.headerRows = xj(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");}get columnCount() {return this.columns.length;@@ -41774,9 +41774,9 @@ var zbe = class extends z_ {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new Aj(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new kj(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, Ej = /*#__PURE__*/ (0, E.createContext)(null), Bbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+}, Tj = /*#__PURE__*/ (0, E.createContext)(null), Vbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {let n = Yv(t), r = (0, E.useRef)(null), i = (0, E.useRef)(null), [a, o] = (0, E.useState)(0);iv(() => {let e = r.current;@@ -41795,7 +41795,7 @@ var zbe = class extends z_ {tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Nbe,+ useTableColumnResizeState: Pbe,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -41806,17 +41806,17 @@ var zbe = class extends z_ {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(Xk.div, {render: e.render,...Hy(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ E.createElement(Ej.Provider, { value: s }, e.children));-}), Vbe = /*#__PURE__*/ (0, E.createContext)(null), Dj = /*#__PURE__*/ (0, E.createContext)(null), Oj = /*#__PURE__*/ (0, E.createContext)(null), Hbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, Vbe);- let n = TA(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, E.useMemo)(() => ({+ }, /*#__PURE__*/ E.createElement(Tj.Provider, { value: s }, e.children));+}), Hbe = /*#__PURE__*/ (0, E.createContext)(null), Ej = /*#__PURE__*/ (0, E.createContext)(null), Dj = /*#__PURE__*/ (0, E.createContext)(null), Ube = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, Hbe);+ let n = wA(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, E.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -41826,26 +41826,26 @@ var zbe = class extends z_ {i,a,o- ]), c = /*#__PURE__*/ E.createElement(Gbe.Provider, { value: s }, /*#__PURE__*/ E.createElement(fy, e));+ ]), c = /*#__PURE__*/ E.createElement(Kbe.Provider, { value: s }, /*#__PURE__*/ E.createElement(fy, e));return /*#__PURE__*/ E.createElement(ay, {content: c,- createCollection: () => new zbe()- }, (r) => /*#__PURE__*/ E.createElement(Wbe, {+ createCollection: () => new Bbe()+ }, (r) => /*#__PURE__*/ E.createElement(Gbe, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), Ube = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(tA);- return n ? /*#__PURE__*/ E.createElement(Zk.div, {+}), Wbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(eA);+ return n ? /*#__PURE__*/ E.createElement(Xk.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(Zk.table, {+ }) : /*#__PURE__*/ E.createElement(Xk.table, {...e,ref: t});-}), kj = {+}), Oj = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41855,26 +41855,26 @@ var zbe = class extends z_ {rtl: "ArrowRight"}};-function Wbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = Jk(e, t, Qk);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, E.useContext)(Ej);+function Gbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = qk(e, t, Zk);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, E.useContext)(Tj);t = Yv((0, E.useMemo)(() => Hv(t, c?.tableRef), [t, c?.tableRef]));let [l, u] = ex(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, E.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = Ibe({+ let d = Lbe({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = Lbe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, E.useContext)(tA), { dragAndDropHooks: _ } = e, { gridProps: v } = Gce({+ }), f = Rbe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, E.useContext)(eA), { dragAndDropHooks: _ } = e, { gridProps: v } = Kce({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, E.useRef)(b), (0, E.useRef)(x), (0, E.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, D = null, O = (0, E.useRef)(null), { direction: k } = Py(), [A] = (0, E.useState)(() => new yj());+ let S, C, w, T = !1, D = null, O = (0, E.useRef)(null), { direction: k } = Py(), [A] = (0, E.useState)(() => new vj());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -41909,12 +41909,12 @@ function Wbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {let t = C?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = d.collection.getItem(t.key);- (e.key === kj.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === kj.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === Oj.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === Oj.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: N } = OS(), P = Kk({+ let { focusProps: j, isFocused: M, isFocusVisible: N } = OS(), P = Gk({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -41931,18 +41931,18 @@ function Wbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {width: "min-content"}));let L = Hy(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Gk, { values: [- [Dj, f],- [Oj, ee],- [mA, {+ return /*#__PURE__*/ E.createElement(Wk, { values: [+ [Ej, f],+ [Dj, ee],+ [pA, {dragAndDropHooks: _,dragState: S,dropState: C}],- [hA, { render: txe }],- [Qk, null],- [$k, null]- ] }, /*#__PURE__*/ E.createElement(fb, null, /*#__PURE__*/ E.createElement(Ube, {+ [mA, { render: nxe }],+ [Zk, null],+ [Qk, null]+ ] }, /*#__PURE__*/ E.createElement(fb, null, /*#__PURE__*/ E.createElement(Wbe, {...K(L, P, v, j, w?.collectionProps),style: I,ref: t,@@ -41952,45 +41952,45 @@ function Wbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": M || void 0,"data-focus-visible": N || void 0- }, /*#__PURE__*/ E.createElement(yA, null, /*#__PURE__*/ E.createElement(g, {+ }, /*#__PURE__*/ E.createElement(vA, null, /*#__PURE__*/ E.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: _A(y, _, C)+ persistedKeys: gA(y, _, C)})))), D);}-var Gbe = /*#__PURE__*/ (0, E.createContext)(null), Aj = class extends I_ {+var Kbe = /*#__PURE__*/ (0, E.createContext)(null), kj = class extends I_ {static {this.type = "tableheader";}-}, Kbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(tA);- return n ? /*#__PURE__*/ E.createElement(Zk.div, {+}, qbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(eA);+ return n ? /*#__PURE__*/ E.createElement(Xk.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(Zk.thead, {+ }) : /*#__PURE__*/ E.createElement(Xk.thead, {...e,ref: t});-}), jj = /*#__PURE__*/ ly(Aj, (e, t) => {- let n = (0, E.useContext)(Dj).collection, r = V_({+}), Aj = /*#__PURE__*/ ly(kj, (e, t) => {+ let n = (0, E.useContext)(Ej).collection, r = V_({items: n.headerRows,children: (0, E.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ E.createElement(Jbe, { item: e });+ case "headerrow": return /*#__PURE__*/ E.createElement(Ybe, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = ale(), { hoverProps: a, isHovered: o } = MS({+ }), { rowGroupProps: i } = ole(), { hoverProps: a, isHovered: o } = MS({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = Kk({+ }), s = Gk({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ E.createElement(Kbe, {+ return /*#__PURE__*/ E.createElement(qbe, {...K(Hy(e, { global: !0 }), i, a),...s,ref: t,@@ -41999,8 +41999,8 @@ var Gbe = /*#__PURE__*/ (0, E.createContext)(null), Aj = class extends I_ {}, (e) => /*#__PURE__*/ E.createElement(fy, {dependencies: e.dependencies,items: e.columns-}, e.children)), qbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(tA);+}, e.children)), Jbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(eA);return n ? /*#__PURE__*/ E.createElement("div", {...e,ref: t@@ -42009,41 +42009,41 @@ var Gbe = /*#__PURE__*/ (0, E.createContext)(null), Aj = class extends I_ {ref: t});});-function Jbe({ item: e }) {- let t = (0, E.useRef)(null), n = (0, E.useContext)(Dj), { isVirtualized: r, CollectionBranch: i } = (0, E.useContext)(tA), { rowProps: a } = Qce({+function Ybe({ item: e }) {+ let t = (0, E.useRef)(null), n = (0, E.useContext)(Ej), { isVirtualized: r, CollectionBranch: i } = (0, E.useContext)(eA), { rowProps: a } = $ce({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = cle(n);- return /*#__PURE__*/ E.createElement(qbe, {+ }, n, t), { checkboxProps: o } = lle(n);+ return /*#__PURE__*/ E.createElement(Jbe, {...a,ref: t- }, /*#__PURE__*/ E.createElement(Gk, { values: [[lA, { slots: { selection: o } }], [uA, { slots: { selection: o } }]] }, /*#__PURE__*/ E.createElement(i, {+ }, /*#__PURE__*/ E.createElement(Wk, { values: [[cA, { slots: { selection: o } }], [lA, { slots: { selection: o } }]] }, /*#__PURE__*/ E.createElement(i, {collection: n.collection,parent: e})));}-var Ybe = class extends I_ {+var Xbe = class extends I_ {static {this.type = "column";}-}, Xbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(tA);- return n ? /*#__PURE__*/ E.createElement(Zk.div, {+}, Zbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(eA);+ return n ? /*#__PURE__*/ E.createElement(Xk.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(Zk.th, {+ }) : /*#__PURE__*/ E.createElement(Xk.th, {...e,ref: t});-}), Mj = /*#__PURE__*/ cy(Ybe, (e, t, n) => {- let r = Yv(t), i = (0, E.useContext)(Dj), { isVirtualized: a } = (0, E.useContext)(tA), { columnHeaderProps: o, isPressed: s } = Yce({+}), jj = /*#__PURE__*/ cy(Xbe, (e, t, n) => {+ let r = Yv(t), i = (0, E.useContext)(Ej), { isVirtualized: a } = (0, E.useContext)(eA), { columnHeaderProps: o, isPressed: s } = Xce({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = OS(), d = (0, E.useContext)(Oj), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = OS(), d = (0, E.useContext)(Dj), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = MS({ isDisabled: !e.allowsSorting }), h = Kk({+ let { hoverProps: p, isHovered: m } = MS({ isDisabled: !e.allowsSorting }), h = Gk({...e,id: void 0,children: n.rendered,@@ -42070,7 +42070,7 @@ var Ybe = class extends I_ {width: d.getColumnWidth(n.key)});let _ = Hy(e, { global: !0 });- return delete _.id, /*#__PURE__*/ E.createElement(Xbe, {+ return delete _.id, /*#__PURE__*/ E.createElement(Zbe, {...K(_, o, u, p),...h,style: g,@@ -42082,14 +42082,14 @@ var Ybe = class extends I_ {"data-resizing": f || void 0,"data-allows-sorting": n.props.allowsSorting || void 0,"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0- }, /*#__PURE__*/ E.createElement(Gk, { values: [[Nj, {+ }, /*#__PURE__*/ E.createElement(Wk, { values: [[Mj, {column: n,triggerRef: r- }], [tA, eA]] }, h.children));-}), Nj = /*#__PURE__*/ (0, E.createContext)(null), Zbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let n = (0, E.useContext)(Oj);+ }], [eA, $k]] }, h.children));+}), Mj = /*#__PURE__*/ (0, E.createContext)(null), Qbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let n = (0, E.useContext)(Dj);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = By(Rbe(pA), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, E.useContext)(Ej), { column: s, triggerRef: c } = (0, E.useContext)(Nj), l = (0, E.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Zce({+ let r = By(zbe(fA), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, E.useContext)(Tj), { column: s, triggerRef: c } = (0, E.useContext)(Mj), l = (0, E.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Qce({column: s,"aria-label": e["aria-label"] || r.format("tableResizer"),onResizeStart: i,@@ -42104,7 +42104,7 @@ var Ybe = class extends I_ {let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let D = Kk({+ let D = Gk({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -42115,7 +42115,7 @@ var Ybe = class extends I_ {resizableDirection: S}}), O = Hy(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(Xk.div, {ref: C,role: "presentation",...K(O, D, u, _),@@ -42138,24 +42138,24 @@ var Ybe = class extends I_ {},"data-testid": "cursor-overlay"}), document.body));-}), Pj = class extends L_ {+}), Nj = class extends L_ {static {this.type = "tablebody";}-}, Qbe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(tA);- return n ? /*#__PURE__*/ E.createElement(Zk.div, {+}, $be = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(eA);+ return n ? /*#__PURE__*/ E.createElement(Xk.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(Zk.tbody, {+ }) : /*#__PURE__*/ E.createElement(Xk.tbody, {...e,ref: t});-}), Fj = /*#__PURE__*/ ly(Pj, (e, t, n) => {- let r = (0, E.useContext)(Dj), { isVirtualized: i } = (0, E.useContext)(tA), a = r.collection, { CollectionBranch: o } = (0, E.useContext)(tA), { dragAndDropHooks: s, dropState: c } = (0, E.useContext)(mA), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), Pj = /*#__PURE__*/ ly(Nj, (e, t, n) => {+ let r = (0, E.useContext)(Ej), { isVirtualized: i } = (0, E.useContext)(eA), a = r.collection, { CollectionBranch: o } = (0, E.useContext)(eA), { dragAndDropHooks: s, dropState: c } = (0, E.useContext)(pA), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = Kk({+ }, p = Gk({...e,id: void 0,children: void 0,@@ -42164,25 +42164,25 @@ var Ybe = class extends I_ {}), m, h = a.columnCount;if (d && e.renderEmptyState && r) {let t = {}, n = {}, r = {};- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ E.createElement(Lj, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ E.createElement(Ij, {role: "row",...t,style: r- }, /*#__PURE__*/ E.createElement(zj, {+ }, /*#__PURE__*/ E.createElement(Rj, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = ale(), _ = Hy(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Qbe, {+ let { rowGroupProps: g } = ole(), _ = Hy(e, { global: !0 });+ return /*#__PURE__*/ E.createElement($be, {...K(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ E.createElement(oxe, null), /*#__PURE__*/ E.createElement(o, {+ }, l && /*#__PURE__*/ E.createElement(sxe, null), /*#__PURE__*/ E.createElement(o, {collection: a,parent: n,- renderDropIndicator: gA(s, c)+ renderDropIndicator: hA(s, c)}), m);});(class extends L_ {@@ -42190,7 +42190,7 @@ var Ybe = class extends I_ {this.type = "tablefooter";}});-var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $be = class extends I_ {+var Fj = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), exe = class extends I_ {static {this.type = "item";}@@ -42202,17 +42202,17 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $b}return null;}-}, Lj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(tA);- return n ? /*#__PURE__*/ E.createElement(Zk.div, {+}, Ij = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(eA);+ return n ? /*#__PURE__*/ E.createElement(Xk.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(Zk.tr, {+ }) : /*#__PURE__*/ E.createElement(Xk.tr, {...e,ref: t});-}), Rj = /*#__PURE__*/ ly($be, (e, t, n) => {- let r = Yv(t), i = (0, E.useContext)(Dj), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(mA), { isVirtualized: c, CollectionBranch: l } = (0, E.useContext)(tA), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = nle({+}), Lj = /*#__PURE__*/ ly(exe, (e, t, n) => {+ let r = Yv(t), i = (0, E.useContext)(Ej), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(pA), { isVirtualized: c, CollectionBranch: l } = (0, E.useContext)(eA), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = rle({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c@@ -42221,7 +42221,7 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $bonHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = sle({ key: n.key }, i), S;+ }), { checkboxProps: x } = cle({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0@@ -42236,7 +42236,7 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $b(0, E.useEffect)(() => {o && D.current;}, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Kk({+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Gk({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -42258,10 +42258,10 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $blevel: n.level + 1}}), P = Hy(e, { global: !0 });- return delete P.id, delete P.onClick, /*#__PURE__*/ E.createElement(E.Fragment, null, C && !C.isHidden && /*#__PURE__*/ E.createElement(Lj, {+ return delete P.id, delete P.onClick, /*#__PURE__*/ E.createElement(E.Fragment, null, C && !C.isHidden && /*#__PURE__*/ E.createElement(Ij, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ E.createElement(zj, {+ }, /*#__PURE__*/ E.createElement(Rj, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -42270,7 +42270,7 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $b...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ E.createElement(Lj, {+ }))), /*#__PURE__*/ E.createElement(Ij, {...K(P, N, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -42286,17 +42286,17 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $b"data-expanded": M || void 0,"data-has-child-items": j || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [lA, { slots: {- [Wk]: {},+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [cA, { slots: {+ [Uk]: {},selection: x} }],- [uA, { slots: {- [Wk]: {},+ [lA, { slots: {+ [Uk]: {},selection: x} }],- [rA, { slots: {- [Wk]: {},+ [nA, { slots: {+ [Uk]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -42304,8 +42304,8 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $bstyle: { pointerEvents: "none" }}} }],- [bA, { isSelected: p.isSelected }],- [Ij, { isFocusVisibleWithinRow: _ }]+ [yA, { isSelected: p.isSelected }],+ [Fj, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ E.createElement(l, {collection: i.collection,parent: n@@ -42318,29 +42318,29 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $bitems: e.columns,idScope: e.id}, e.children);-}), exe = class extends I_ {+}), txe = class extends I_ {static {this.type = "cell";}-}, zj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(tA);- return n ? /*#__PURE__*/ E.createElement(Zk.div, {+}, Rj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(eA);+ return n ? /*#__PURE__*/ E.createElement(Xk.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(Zk.td, {+ }) : /*#__PURE__*/ E.createElement(Xk.td, {...e,ref: t});-}), Bj = /*#__PURE__*/ cy(exe, (e, t, n) => {- let r = Yv(t), i = (0, E.useContext)(Dj), { dragState: a } = (0, E.useContext)(mA), { isVirtualized: o } = (0, E.useContext)(tA);+}), zj = /*#__PURE__*/ cy(txe, (e, t, n) => {+ let r = Yv(t), i = (0, E.useContext)(Ej), { dragState: a } = (0, E.useContext)(pA), { isVirtualized: o } = (0, E.useContext)(eA);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = qce({+ let { gridCellProps: s, isPressed: c } = Jce({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = OS(), { hoverProps: f, isHovered: p } = MS({}), { isFocusVisibleWithinRow: m } = (0, E.useContext)(Ij), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = Kk({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = OS(), { hoverProps: f, isHovered: p } = MS({}), { isFocusVisibleWithinRow: m } = (0, E.useContext)(Fj), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = Gk({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -42360,7 +42360,7 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $bisTreeColumn: n.column.key === i.treeColumn}}), S = Hy(e, { global: !0 });- return delete S.id, /*#__PURE__*/ E.createElement(zj, {+ return delete S.id, /*#__PURE__*/ E.createElement(Rj, {...K(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -42374,14 +42374,14 @@ var Ij = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), $b"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ E.createElement(tA.Provider, { value: eA }, x.children));+ }, /*#__PURE__*/ E.createElement(eA.Provider, { value: $k }, x.children));});-function txe(e, t) {+function nxe(e, t) {t = Yv(t);- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(mA), i = (0, E.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(pA), i = (0, E.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ E.createElement(axe, {+ return /*#__PURE__*/ E.createElement(oxe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -42390,40 +42390,40 @@ function txe(e, t) {ref: t});}-var nxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(tA);- return n ? /*#__PURE__*/ E.createElement(Zk.div, {+var rxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(eA);+ return n ? /*#__PURE__*/ E.createElement(Xk.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(Zk.tr, {+ }) : /*#__PURE__*/ E.createElement(Xk.tr, {...e,ref: t});-}), rxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, E.useContext)(tA);- return n ? /*#__PURE__*/ E.createElement(Zk.div, {+}), ixe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, E.useContext)(eA);+ return n ? /*#__PURE__*/ E.createElement(Xk.div, {...e,ref: t- }) : /*#__PURE__*/ E.createElement(Zk.td, {+ }) : /*#__PURE__*/ E.createElement(Xk.td, {...e,ref: t});});-function ixe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, E.useContext)(Dj), { visuallyHiddenProps: c } = lx(), l = Kk({+function axe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, E.useContext)(Ej), { visuallyHiddenProps: c } = lx(), l = Gk({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ E.createElement(nxe, {+ return /*#__PURE__*/ E.createElement(rxe, {...Hy(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ E.createElement(rxe, {+ }, /*#__PURE__*/ E.createElement(ixe, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -42434,14 +42434,14 @@ function ixe(e, t) {ref: i}), l.children));}-var axe = /*#__PURE__*/ (0, E.forwardRef)(ixe);-function oxe() {- let e = (0, E.useContext)(Dj), { dragAndDropHooks: t, dropState: n } = (0, E.useContext)(mA), r = (0, E.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = lx();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ E.createElement(Lj, {+var oxe = /*#__PURE__*/ (0, E.forwardRef)(axe);+function sxe() {+ let e = (0, E.useContext)(Ej), { dragAndDropHooks: t, dropState: n } = (0, E.useContext)(pA), r = (0, E.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = lx();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ E.createElement(Ij, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ E.createElement(zj, {+ }, /*#__PURE__*/ E.createElement(Rj, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -42453,8 +42453,8 @@ function oxe() {})));}cy(R_, function(e, t, n) {- let r = (0, E.useContext)(Dj), { isVirtualized: i } = (0, E.useContext)(tA), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, E.useRef)(null);- NA((0, E.useMemo)(() => ({+ let r = (0, E.useContext)(Ej), { isVirtualized: i } = (0, E.useContext)(eA), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, E.useRef)(null);+ MA((0, E.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -42464,7 +42464,7 @@ cy(R_, function(e, t, n) {s,r?.collection]), u);- let d = Kk({+ let d = Gk({...c,id: void 0,children: n.rendered,@@ -42472,10 +42472,10 @@ cy(R_, function(e, t, n) {defaultStyle: { "--table-row-level": n.level + 1 },values: void 0}), f = {}, p = {}, m = {};- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Lj, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Ij, {style: { height: 0 },- inert: SA(!0)- }, /*#__PURE__*/ E.createElement(zj, { style: {+ inert: xA(!0)+ }, /*#__PURE__*/ E.createElement(Rj, { style: {padding: 0,border: 0} }, /*#__PURE__*/ E.createElement("div", {@@ -42486,14 +42486,14 @@ cy(R_, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ E.createElement(Lj, {+ }))), a && d.children && /*#__PURE__*/ E.createElement(Ij, {...K(Hy(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ E.createElement(zj, {+ }, /*#__PURE__*/ E.createElement(Rj, {role: "rowheader",...p,style: m@@ -42501,8 +42501,8 @@ cy(R_, function(e, t, n) {});//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function sxe(e) {- let [t, n] = ex(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, E.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = jA({+function cxe(e) {+ let [t, n] = ex(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, E.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = AA({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -42525,24 +42525,24 @@ function sxe(e) {}//#endregion//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function cxe(e) {- let t = sxe({+function lxe(e) {+ let t = cxe({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? Vj(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? Bj(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, E.useRef)(i);return (0, E.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = Vj(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = Bj(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;}), {...t,isDisabled: e.isDisabled || !1};}-function Vj(e, t) {+function Bj(e, t) {let n = null;if (e) {for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);@@ -42552,20 +42552,20 @@ function Vj(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var Hj = /*#__PURE__*/ (0, E.createContext)(null), Uj = /*#__PURE__*/ (0, E.createContext)(null), Wj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, Hj);+var Vj = /*#__PURE__*/ (0, E.createContext)(null), Hj = /*#__PURE__*/ (0, E.createContext)(null), Uj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, Vj);let { children: n, orientation: r = "horizontal" } = e;return n = (0, E.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ E.createElement(ay, { content: n }, (n) => /*#__PURE__*/ E.createElement(lxe, {+ }) : n, [n, r]), /*#__PURE__*/ E.createElement(ay, { content: n }, (n) => /*#__PURE__*/ E.createElement(uxe, {props: e,collection: n,tabsRef: t}));});-function lxe({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = cxe({+function uxe({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = lxe({...e,collection: n,children: void 0@@ -42577,12 +42577,12 @@ function lxe({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = Kk({+ ]), l = Gk({...e,defaultClassName: "react-aria-Tabs",values: c}), u = Hy(e, { global: !0 });- return /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(Xk.div, {...K(u, l, a),ref: t,slot: e.slot || void 0,@@ -42590,20 +42590,20 @@ function lxe({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ E.createElement(Gk, { values: [[Hj, e], [Uj, i]] }, l.children));+ }, /*#__PURE__*/ E.createElement(Wk, { values: [[Vj, e], [Hj, i]] }, l.children));}-var Gj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- return (0, E.useContext)(Uj) ? /*#__PURE__*/ E.createElement(uxe, {+var Wj = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ return (0, E.useContext)(Hj) ? /*#__PURE__*/ E.createElement(dxe, {props: e,forwardedRef: t}) : /*#__PURE__*/ E.createElement(fy, e);});-function uxe({ props: e, forwardedRef: t }) {- let n = (0, E.useContext)(Uj), { CollectionRoot: r } = (0, E.useContext)(tA), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = qk(Hj), o = Yv(t), { tabListProps: s } = fle({+function dxe({ props: e, forwardedRef: t }) {+ let n = (0, E.useContext)(Hj), { CollectionRoot: r } = (0, E.useContext)(eA), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Kk(Vj), o = Yv(t), { tabListProps: s } = ple({...e,orientation: i,keyboardActivation: a- }, n, o), c = Kk({+ }, n, o), c = Gk({...e,children: null,defaultClassName: "react-aria-TabList",@@ -42612,21 +42612,21 @@ function uxe({ props: e, forwardedRef: t }) {state: n}}), l = Hy(e, { global: !0 });- return delete l.id, /*#__PURE__*/ E.createElement(Zk.div, {+ return delete l.id, /*#__PURE__*/ E.createElement(Xk.div, {...K(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ E.createElement(yA, null, /*#__PURE__*/ E.createElement(r, {+ }, /*#__PURE__*/ E.createElement(vA, null, /*#__PURE__*/ E.createElement(r, {collection: n.collection,- persistedKeys: Tve(n.selectionManager.focusedKey)+ persistedKeys: Eve(n.selectionManager.focusedKey)})));}-var Kj = /*#__PURE__*/ cy(class extends I_ {+var Gj = /*#__PURE__*/ cy(class extends I_ {static {this.type = "item";}}, (e, t, n) => {- let r = (0, E.useContext)(Uj), i = Yv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = ule({+ let r = (0, E.useContext)(Hj), i = Yv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = dle({key: n.key,...e}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = OS(), { hoverProps: f, isHovered: p } = MS({@@ -42634,7 +42634,7 @@ var Kj = /*#__PURE__*/ cy(class extends I_ {onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = Kk({+ }), m = Gk({...e,id: void 0,children: n.rendered,@@ -42647,7 +42647,7 @@ var Kj = /*#__PURE__*/ cy(class extends I_ {isPressed: c,isHovered: p}- }), h = n.props.href ? Zk.a : Zk.div, g = Hy(e, { global: !0 });+ }), h = n.props.href ? Xk.a : Xk.div, g = Hy(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ E.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -42657,26 +42657,26 @@ var Kj = /*#__PURE__*/ cy(class extends I_ {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ E.createElement(bA.Provider, { value: { isSelected: o } }, m.children));-}), qj = /*#__PURE__*/ ey(function(e, t) {- let n = (0, E.useContext)(Uj), r = Yv(t), i = n.selectedKey === e.id, [a, o] = (0, E.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ E.createElement(yA.Provider, { value: { isSelected: o } }, m.children));+}), Kj = /*#__PURE__*/ ey(function(e, t) {+ let n = (0, E.useContext)(Hj), r = Yv(t), i = n.selectedKey === e.id, [a, o] = (0, E.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = zA(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ E.createElement(dxe, {+ let s = RA(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ E.createElement(fxe, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function dxe(e) {- let t = (0, E.useContext)(Uj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = ple(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = OS(), d = t.selectedKey === e.id, f = RA(r) && !i, p = Kk({+function fxe(e) {+ let t = (0, E.useContext)(Hj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = mle(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = OS(), d = t.selectedKey === e.id, f = LA(r) && !i, p = Gk({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: SA(!d),+ isInert: xA(!d),isEntering: f,isExiting: a,state: t@@ -42684,28 +42684,28 @@ function dxe(e) {}), m = Hy(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(Xk.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: SA(!d || e.inert),+ inert: xA(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ E.createElement(Gk, { values: [[Hj, null], [Uj, null]] }, /*#__PURE__*/ E.createElement(tA.Provider, { value: eA }, p.children)));+ }, /*#__PURE__*/ E.createElement(Wk, { values: [[Vj, null], [Hj, null]] }, /*#__PURE__*/ E.createElement(eA.Provider, { value: $k }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var Jj = /*#__PURE__*/ (0, E.createContext)({}), fxe = (e) => {+var qj = /*#__PURE__*/ (0, E.createContext)({}), pxe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, pxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- [e, t] = Jk(e, t, Jj);+}, mxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ [e, t] = qk(e, t, qj);let { hoverProps: n, isHovered: r } = MS(e), { isFocused: i, isFocusVisible: a, focusProps: o } = OS({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Kk({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Gk({...e,values: {isHovered: r,@@ -42716,8 +42716,8 @@ var Jj = /*#__PURE__*/ (0, E.createContext)({}), fxe = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ E.createElement(Zk.textarea, {- ...K(fxe(e), o, n),+ return /*#__PURE__*/ E.createElement(Xk.textarea, {+ ...K(pxe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -42726,18 +42726,18 @@ var Jj = /*#__PURE__*/ (0, E.createContext)({}), fxe = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), mxe = /*#__PURE__*/ (0, E.createContext)(null), hxe = /*#__PURE__*/ ey(function(e, t) {- [e, t] = Jk(e, t, mxe);- let { validationBehavior: n } = qk(cA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useRef)(null);- [e, i] = Jk(e, i, $k);- let [a, o] = Yk(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, E.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Cse({- ...Xk(e),+}), hxe = /*#__PURE__*/ (0, E.createContext)(null), gxe = /*#__PURE__*/ ey(function(e, t) {+ [e, t] = qk(e, t, hxe);+ let { validationBehavior: n } = Kk(sA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useRef)(null);+ [e, i] = qk(e, i, Qk);+ let [a, o] = Jk(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, E.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Cse({+ ...Yk(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, E.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = Kk({+ }, [i]), h = Gk({...e,values: {isDisabled: e.isDisabled || !1,@@ -42747,7 +42747,7 @@ var Jj = /*#__PURE__*/ (0, E.createContext)({}), fxe = (e) => {},defaultClassName: "react-aria-TextField"}), g = Hy(e, { global: !0 });- return delete g.id, /*#__PURE__*/ E.createElement(Zk.div, {+ return delete g.id, /*#__PURE__*/ E.createElement(Xk.div, {...g,...h,ref: t,@@ -42756,31 +42756,31 @@ var Jj = /*#__PURE__*/ (0, E.createContext)({}), fxe = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [nA, {+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [tA, {...l,ref: a}],- [zve, {+ [Bve, {...u,ref: m}],- [Jj, {+ [qj, {...u,ref: m}],- [Lve, {+ [Rve, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [oA, { slots: {+ [aA, { slots: {description: d,errorMessage: f} }],- [sA, p]+ [oA, p]] }, h.children));-}), gxe = class e extends z_ {+}), _xe = class e extends z_ {withExpandedKeys(t, n) {let r = this.clone();return r.expandedKeys = n, e.cloneAncestorSections(n, t, r), e.cloneAncestorSections(t, n, r), r.frozen = this.frozen, r;@@ -42852,16 +42852,16 @@ var Jj = /*#__PURE__*/ (0, E.createContext)({}), fxe = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, _xe = /*#__PURE__*/ (0, E.createContext)(null), Yj = /*#__PURE__*/ (0, E.createContext)(null), vxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- return [e, t] = Jk(e, t, _xe), /*#__PURE__*/ E.createElement(ay, {+}, vxe = /*#__PURE__*/ (0, E.createContext)(null), Jj = /*#__PURE__*/ (0, E.createContext)(null), yxe = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ return [e, t] = qk(e, t, vxe), /*#__PURE__*/ E.createElement(ay, {content: /*#__PURE__*/ E.createElement(fy, e),- createCollection: () => new gxe()- }, (n) => /*#__PURE__*/ E.createElement(yxe, {+ createCollection: () => new _xe()+ }, (n) => /*#__PURE__*/ E.createElement(bxe, {props: e,collection: n,treeRef: t}));-}), Xj = {+}), Yj = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -42871,7 +42871,7 @@ var Jj = /*#__PURE__*/ (0, E.createContext)({}), fxe = (e) => {rtl: "ArrowRight"}};-function yxe({ props: e, collection: t, treeRef: n }) {+function bxe({ props: e, collection: t, treeRef: n }) {let { dragAndDropHooks: r } = e, { direction: i } = Py(), a = xS({usage: "search",sensitivity: "base"@@ -42879,9 +42879,9 @@ function yxe({ props: e, collection: t, treeRef: n }) {(0, E.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, E.useContext)(tA), [y, b] = ex(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, E.useState)(t), [C, w] = (0, E.useState)(y), [T, D] = (0, E.useState)(() => t.withExpandedKeys(C, y));- (!Exe(C, y) || t !== x) && (D(t.withExpandedKeys(C, y)), S(t), w(y));- let O = GA({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, E.useContext)(eA), [y, b] = ex(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, E.useState)(t), [C, w] = (0, E.useState)(y), [T, D] = (0, E.useState)(() => t.withExpandedKeys(C, y));+ (!Dxe(C, y) || t !== x) && (D(t.withExpandedKeys(C, y)), S(t), w(y));+ let O = WA({...e,selectionMode: u,expandedKeys: y,@@ -42889,7 +42889,7 @@ function yxe({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: k } = mle({+ }), { gridProps: k } = hle({...e,isVirtualized: g,layoutDelegate: _@@ -42903,7 +42903,7 @@ function yxe({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;P = r.renderDragPreview ? /*#__PURE__*/ E.createElement(e, { ref: F }, r.renderDragPreview) : null;}- let [I] = (0, E.useState)(() => new yj());+ let [I] = (0, E.useState)(() => new vj());if (s && r) {j = r.useDroppableCollectionState({collection: O.collection,@@ -42933,7 +42933,7 @@ function yxe({ props: e, collection: t, treeRef: n }) {let t = j?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = O.collection.getItem(t.key);- (e.key === Xj.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === Xj.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);+ (e.key === Yj.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === Yj.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);}}}, j, n), N = j.isDropTarget({ type: "root" });@@ -42946,7 +42946,7 @@ function yxe({ props: e, collection: t, treeRef: n }) {selectionMode: O.selectionManager.selectionMode,allowsDragging: !!ee,state: O- }, ie = Kk({+ }, ie = Gk({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -42964,7 +42964,7 @@ function yxe({ props: e, collection: t, treeRef: n }) {}, r));}let oe = Hy(e, { global: !0 });- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(fb, null, /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(fb, null, /*#__PURE__*/ E.createElement(Xk.div, {...K(oe, ie, k, L, M?.collectionProps),ref: n,slot: e.slot || void 0,@@ -42974,39 +42974,39 @@ function yxe({ props: e, collection: t, treeRef: n }) {"data-focus-visible": ne || void 0,"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,"data-allows-dragging": !!ee || void 0- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [Yj, O],- [mA, {+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [Jj, O],+ [pA, {dragAndDropHooks: r,dragState: A,dropState: j}],- [hA, { render: Sxe }]- ] }, s && /*#__PURE__*/ E.createElement(Txe, null), /*#__PURE__*/ E.createElement(yA, null, /*#__PURE__*/ E.createElement(h, {+ [mA, { render: Cxe }]+ ] }, s && /*#__PURE__*/ E.createElement(Exe, null), /*#__PURE__*/ E.createElement(vA, null, /*#__PURE__*/ E.createElement(h, {collection: O.collection,- persistedKeys: _A(O.selectionManager, r, j),+ persistedKeys: gA(O.selectionManager, r, j),scrollRef: n,- renderDropIndicator: gA(r, j)+ renderDropIndicator: hA(r, j)}))), ae)), P);}-var bxe = /*#__PURE__*/ cy(class extends I_ {+var xxe = /*#__PURE__*/ cy(class extends I_ {static {this.type = "content";}}, function(e) {- let t = (0, E.useContext)(Zj), n = Kk({+ let t = (0, E.useContext)(Xj), n = Gk({children: e.children,values: t});- return /*#__PURE__*/ E.createElement(tA.Provider, { value: eA }, n.children);-}), Zj = /*#__PURE__*/ (0, E.createContext)(null), xxe = /*#__PURE__*/ ly(class extends I_ {+ return /*#__PURE__*/ E.createElement(eA.Provider, { value: $k }, n.children);+}), Xj = /*#__PURE__*/ (0, E.createContext)(null), Sxe = /*#__PURE__*/ ly(class extends I_ {static {this.type = "item";}}, (e, t, n) => {- let r = (0, E.useContext)(Yj);+ let r = (0, E.useContext)(Jj);t = Yv(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, E.useContext)(mA), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Zle({+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, E.useContext)(pA), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Qle({node: n,shouldSelectOnPressUp: !!a,focusMode: e.focusMode,@@ -43060,7 +43060,7 @@ var bxe = /*#__PURE__*/ cy(class extends I_ {j,N,M- ]), F = Kk({+ ]), F = Gk({...e,id: void 0,children: n.rendered,@@ -43110,7 +43110,7 @@ var bxe = /*#__PURE__*/ cy(class extends I_ {"aria-labelledby": `${L} ${c.id}`,tabIndex: -1,ref: O- }))), /*#__PURE__*/ E.createElement(Zk.div, {+ }))), /*#__PURE__*/ E.createElement(Xk.div, {...K(te, c, y, g, x, C?.dragProps),...F,ref: t,@@ -43130,17 +43130,17 @@ var bxe = /*#__PURE__*/ cy(class extends I_ {}, /*#__PURE__*/ E.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ E.createElement(Gk, { values: [- [lA, { slots: {- [Wk]: {},+ }, /*#__PURE__*/ E.createElement(Wk, { values: [+ [cA, { slots: {+ [Uk]: {},selection: S} }],- [uA, { slots: {- [Wk]: {},+ [lA, { slots: {+ [Uk]: {},selection: S} }],- [rA, { slots: {- [Wk]: {},+ [nA, { slots: {+ [Uk]: {},chevron: {...u,ref: T@@ -43151,13 +43151,13 @@ var bxe = /*#__PURE__*/ cy(class extends I_ {style: { pointerEvents: "none" }}} }],- [Zj, { ...P }],- [bA, { isSelected: f.isSelected }]+ [Xj, { ...P }],+ [yA, { isSelected: f.isSelected }]] }, ee))));});cy(R_, function(e, t, n) {- let { isVirtualized: r } = (0, E.useContext)(tA), i = (0, E.useContext)(Yj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, E.useRef)(null);- NA((0, E.useMemo)(() => ({+ let { isVirtualized: r } = (0, E.useContext)(eA), i = (0, E.useContext)(Jj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, E.useRef)(null);+ MA((0, E.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -43167,10 +43167,10 @@ cy(R_, function(e, t, n) {s,i?.collection]), l), t = Yv(t);- let { rowProps: u, gridCellProps: d } = Zle({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ let { rowProps: u, gridCellProps: d } = Qle({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = Kk({+ }, m = Gk({...c,id: void 0,children: n.rendered,@@ -43183,7 +43183,7 @@ cy(R_, function(e, t, n) {width: 0,height: 0},- inert: SA(!0)+ inert: xA(!0)}, /*#__PURE__*/ E.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -43192,7 +43192,7 @@ cy(R_, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ E.createElement(Zk.div, {+ })), a && m.children && /*#__PURE__*/ E.createElement(Xk.div, {ref: t,...K(Hy(e), p),...m,@@ -43202,12 +43202,12 @@ cy(R_, function(e, t, n) {style: h}, m.children)));});-function Sxe(e, t) {+function Cxe(e, t) {t = Yv(t);- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(mA), i = (0, E.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(pA), i = (0, E.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ E.createElement(wxe, {+ return /*#__PURE__*/ E.createElement(Txe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -43216,8 +43216,8 @@ function Sxe(e, t) {level: c});}-function Cxe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = lx(), c = Kk({+function wxe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = lx(), c = Gk({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -43226,7 +43226,7 @@ function Cxe(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ E.createElement(Zk.div, {+ return /*#__PURE__*/ E.createElement(Xk.div, {...c,role: "row","aria-level": a,@@ -43239,9 +43239,9 @@ function Cxe(e, t) {ref: i}), c.children));}-var wxe = /*#__PURE__*/ (0, E.forwardRef)(Cxe);-function Txe() {- let { dragAndDropHooks: e, dropState: t } = (0, E.useContext)(mA), n = (0, E.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = lx();+var Txe = /*#__PURE__*/ (0, E.forwardRef)(wxe);+function Exe() {+ let { dragAndDropHooks: e, dropState: t } = (0, E.useContext)(pA), n = (0, E.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = lx();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ E.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -43253,18 +43253,18 @@ function Txe() {ref: n})));}-function Exe(e, t) {+function Dxe(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}//#endregion//#region src/react/boardui/components/base/input/label.tsx-function Qj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, D.jsxs)(Eve, {+function Zj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsxs)(Dve, {"data-label": "true",...a,- className: hO("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: mO("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, D.jsx)("span", {@@ -43272,7 +43272,7 @@ function Qj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, D.jsx)(Uge, {+ n && /* @__PURE__ */ (0, D.jsx)(Wge, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -43281,33 +43281,33 @@ function Qj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function $j({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, D.jsx)(jve, {+function Qj({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, D.jsx)(Mve, {slot: e ? "errorMessage" : "description",...n,- className: hO("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: mO("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion//#region src/react/boardui/components/base/input/input.tsx-var eM = (0, E.createContext)({});-function tM({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, D.jsx)(eM.Provider, {+var $j = (0, E.createContext)({});+function eM({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsx)($j.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, D.jsx)(hxe, {+ children: /* @__PURE__ */ (0, D.jsx)(gxe, {...a,"data-input-size": e,- className: hO("group flex h-max w-full flex-col items-start gap-1", r),+ className: mO("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-tM.displayName = "TextField";-var nM = gO({+eM.displayName = "TextField";+var tM = hO({field: ["relative flex w-full items-center","rounded-2lg",@@ -43336,44 +43336,44 @@ var nM = gO({].join(" "),icon: "size-5 shrink-0"});-function rM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, E.useContext)(eM), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, D.jsx)(Rve, {+function nM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, E.useContext)($j), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, D.jsx)(zve, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => hO(nM.field, d ? nM.fieldWithAddonSize[u] : nM.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => mO(tM.field, d ? tM.fieldWithAddonSize[u] : tM.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, D.jsxs)("div", {- className: nM.content,+ className: tM.content,children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: nM.leftSection,+ className: tM.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, D.jsx)(t, {- className: nM.icon,+ className: tM.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, D.jsx)(Vve, {+ }) : null, /* @__PURE__ */ (0, D.jsx)(Hve, {ref: o,...c,- className: hO(nM.input, l.inputClassName, a)+ className: mO(tM.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, D.jsx)(n, {- className: nM.icon,+ className: tM.icon,"aria-hidden": !0}) : null]})});}-rM.displayName = "InputBase";-function iM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {- return /* @__PURE__ */ (0, D.jsx)(tM, {+nM.displayName = "InputBase";+function rM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, D.jsx)(eM, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- e && /* @__PURE__ */ (0, D.jsx)(Qj, {+ e && /* @__PURE__ */ (0, D.jsx)(Zj, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, D.jsx)(rM, {+ /* @__PURE__ */ (0, D.jsx)(nM, {ref: c,groupRef: l,placeholder: r,@@ -43382,25 +43382,25 @@ function iM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, D.jsx)($j, {+ t && /* @__PURE__ */ (0, D.jsx)(Qj, {isInvalid: d,children: t})] })});}-iM.displayName = "Input";+rM.displayName = "Input";//#endregion//#region src/react/components/modal-frame.tsx-var Dxe = {+var Oxe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl"};-function aM({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+function iM({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {let { isFocusVisible: a } = jv();- return /* @__PURE__ */ (0, D.jsx)(oj, {+ return /* @__PURE__ */ (0, D.jsx)(aj, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -43408,11 +43408,11 @@ function aM({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-kind": n,"data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, D.jsx)(obe, {+ children: /* @__PURE__ */ (0, D.jsx)(sbe, {"data-modal-surface": "","data-modal-width": n,- className: `flex max-h-full w-full ${Dxe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, D.jsx)(nj, {+ className: `flex max-h-full w-full ${Oxe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, D.jsx)(tj, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -43420,7 +43420,7 @@ function aM({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function oM({ children: e }) {+function aM({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",@@ -43429,9 +43429,9 @@ function oM({ children: e }) {}//#endregion//#region src/react/components/sprite-glyph.tsx-var sM = /* @__PURE__ */ new Map();-function cM(e) {- let t = sM.get(e);+var oM = /* @__PURE__ */ new Map();+function sM(e) {+ let t = oM.get(e);if (t) return t;let { wide: n, viewBox: r } = Ht(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,@@ -43447,11 +43447,11 @@ function cM(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, sM.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, oM.set(e, i), i;}//#endregion//#region src/react/components/settings-dialog-close.tsx-function lM({ label: e, id: t, onPress: n }) {+function cM({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",id: t,@@ -43467,54 +43467,54 @@ function lM({ label: e, id: t, onPress: n }) {}//#endregion//#region src/react/library-shortcuts/library-shortcuts.ts-var uM = ["library-shortcuts"], dM = "/api/library-shortcuts";-function fM(e = !0) {+var lM = ["library-shortcuts"], uM = "/api/library-shortcuts";+function dM(e = !0) {return yt({- queryKey: uM,- queryFn: ({ signal: e }) => H(dM, e),+ queryKey: lM,+ queryFn: ({ signal: e }) => H(uM, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function pM() {+function fM() {return bt({- mutationKey: uM,- mutationFn: (e) => U(dM, e),+ mutationKey: lM,+ mutationFn: (e) => U(uM, e),onSuccess: (e, t) => {- W.setQueryData(uM, e), t.action === "favorite" && t.scope === "online" && (W.invalidateQueries({ queryKey: ["follow", "tags"] }), W.invalidateQueries({ queryKey: ["tag-management"] }));+ W.setQueryData(lM, e), t.action === "favorite" && t.scope === "online" && (W.invalidateQueries({ queryKey: ["follow", "tags"] }), W.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function mM(e, t) {+function pM(e, t) {return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));}-function Oxe(e) {+function kxe(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Qt(e.kind, e.name, e.entity_id);}//#endregion//#region src/react/library-shortcuts/shortcut-controls.tsx-var hM = cM("star"), kxe = cM("bookmark-plus"), gM = cM("chevron-right"), _M = {+var mM = sM("star"), Axe = sM("bookmark-plus"), hM = sM("chevron-right"), gM = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, vM = {- all: cM("star"),- performer: cM("user-round"),- creator: cM("user-round"),- studio: cM("clapperboard"),- series: cM("film"),- agency: cM("briefcase"),- tag: cM("tags"),- filters: cM("list-filter")-}, yM = [+}, _M = {+ all: sM("star"),+ performer: sM("user-round"),+ creator: sM("user-round"),+ studio: sM("clapperboard"),+ series: sM("film"),+ agency: sM("briefcase"),+ tag: sM("tags"),+ filters: sM("list-filter")+}, vM = [["all", "全部"],- ...Object.entries(_M),+ ...Object.entries(gM),["filters", "保存的筛选"]];-function bM({ label: e, children: t, ...n }) {+function yM({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",...n,@@ -43524,15 +43524,15 @@ function bM({ label: e, children: t, ...n }) {children: t});}-function xM({ item: e }) {- return /* @__PURE__ */ (0, D.jsx)(Axe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function bM({ item: e }) {+ return /* @__PURE__ */ (0, D.jsx)(jxe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function Axe({ item: e }) {- let t = fM(!1), n = (0, E.useRef)(t.data), r = pM(), i = t.data && t.data !== n.current ? mM(t.data.favorites || [], e) : e.favorite ?? (t.data ? mM(t.data.favorites || [], e) : !1);+function jxe({ item: e }) {+ let t = dM(!1), n = (0, E.useRef)(t.data), r = fM(), i = t.data && t.data !== n.current ? pM(t.data.favorites || [], e) : e.favorite ?? (t.data ? pM(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, D.jsx)(bM, {+ /* @__PURE__ */ (0, D.jsx)(yM, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${e.name}`,@@ -43547,7 +43547,7 @@ function Axe({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Go("") }- }) : /* @__PURE__ */ (0, D.jsx)(hM, {})+ }) : /* @__PURE__ */ (0, D.jsx)(mM, {})}),r.isError ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -43563,37 +43563,37 @@ function Axe({ item: e }) {]});}-function SM({ currentHref: e, kind: t }) {+function xM({ currentHref: e, kind: t }) {let [n, r] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, D.jsx)(zk, {+ children: /* @__PURE__ */ (0, D.jsx)(Rk, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: hM,+ icon: mM,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, D.jsx)(aM, {+ }), /* @__PURE__ */ (0, D.jsx)(iM, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, D.jsx)(jxe, {+ children: n ? /* @__PURE__ */ (0, D.jsx)(Mxe, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function jxe({ currentHref: e, kind: t, close: n }) {- let r = fM(), i = pM(), [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(t || "all"), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), p = (0, E.useId)(), [m, h] = (0, E.useState)(() => matchMedia("(max-width: 760px)").matches);+function Mxe({ currentHref: e, kind: t, close: n }) {+ let r = dM(), i = fM(), [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(t || "all"), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), p = (0, E.useId)(), [m, h] = (0, E.useState)(() => matchMedia("(max-width: 760px)").matches);(0, E.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, E.useRef)(null), _ = (0, E.useRef)(null), v = (0, E.useRef)(s), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = (0, E.useRef)(null), S = Uk(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, E.useRef)(null), _ = (0, E.useRef)(null), v = (0, E.useRef)(s), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = (0, E.useRef)(null), S = Hk(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, E.useLayoutEffect)(() => {b.current && (x.current = Ha(b.current) || null);}, []), (0, E.useLayoutEffect)(() => {@@ -43606,7 +43606,7 @@ function jxe({ currentHref: e, kind: t, close: n }) {}, [s]), (0, E.useLayoutEffect)(() => {x.current?.();});- let C = yM.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = vM.find(([e]) => e === s)?.[1] || "全部", w = (e) => {let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);if (n < 0) return;let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;@@ -43629,7 +43629,7 @@ function jxe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, D.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, D.jsx)(lM, {+ }), /* @__PURE__ */ (0, D.jsx)(cM, {label: "关闭我的收藏",onPress: n})]@@ -43659,8 +43659,8 @@ function jxe({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- yM.map(([e, t]) => {- let n = vM[e] || hM, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ vM.map(([e, t]) => {+ let n = _M[e] || mM, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",role: "tab",@@ -43692,17 +43692,17 @@ function jxe({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, D.jsx)(hM, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, D.jsx)(mM, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, D.jsx)(gM, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, D.jsx)(hM, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, D.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, D.jsx)(kxe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, D.jsx)(Axe, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, D.jsx)(gM, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, D.jsx)(hM, { "aria-hidden": !0 })]})]})]@@ -43735,11 +43735,11 @@ function jxe({ currentHref: e, kind: t, close: n }) {children: V(i.error)}) : null,O ? s === "filters" ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- O.filters.length ? null : /* @__PURE__ */ (0, D.jsx)(YO, {+ O.filters.length ? null : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: cM("list-filter"),+ icon: sM("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/",onClick: n,@@ -43773,7 +43773,7 @@ function jxe({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "筛选名称",value: a,onChange: o,@@ -43793,16 +43793,16 @@ function jxe({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: cM("search"),+ leadingIcon: sM("search"),value: l,onChange: u}),- k.length ? null : /* @__PURE__ */ (0, D.jsx)(YO, {+ k.length ? null : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: hM,+ icon: mM,title: l ? "没有匹配的收藏" : O.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -43812,7 +43812,7 @@ function jxe({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, D.jsx)(HO, {+ }) : /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/",onClick: n,@@ -43826,18 +43826,18 @@ function jxe({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, D.jsxs)("a", {- href: Oxe(e),+ href: kxe(e),"aria-label": e.name,onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, D.jsx)(Mxe, { item: e }, e.image_url), /* @__PURE__ */ (0, D.jsxs)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(Nxe, { item: e }, e.image_url), /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "truncate",children: e.name}), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : _M[e.kind]+ children: e.scope === "online" ? "在线标签" : gM[e.kind]})]})]}), /* @__PURE__ */ (0, D.jsx)(q, {@@ -43862,8 +43862,8 @@ function jxe({ currentHref: e, kind: t, close: n }) {]});}-function Mxe({ item: e }) {- let t = vM[e.kind] || hM;+function Nxe({ item: e }) {+ let t = _M[e.kind] || mM;return /* @__PURE__ */ (0, D.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -43882,20 +43882,20 @@ function Mxe({ item: e }) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var Nxe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, CM = /^[\\/]{2}/;-function Pxe(e, t) {+var Pxe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, SM = /^[\\/]{2}/;+function Fxe(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-var wM = "popstate";-function TM(e) {+var CM = "popstate";+function wM(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function Fxe(e = {}) {+function Ixe(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return kM("", {+ return OM("", {pathname: r,search: i,hash: a@@ -43906,14 +43906,14 @@ function Fxe(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : AM(t);+ return typeof t == "string" ? t : kM(t);}- return Lxe(t, n, null, e);+ return Rxe(t, n, null, e);}-function EM(e, t) {+function TM(e, t) {if (e === !1 || e == null) throw Error(t);}-function DM(e, t) {+function EM(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -43921,10 +43921,10 @@ function DM(e, t) {} catch {}}}-function Ixe() {+function Lxe() {return Math.random().toString(36).substring(2, 10);}-function OM(e, t) {+function DM(e, t) {return {usr: e.state,key: e.key,@@ -43936,21 +43936,21 @@ function OM(e, t) {} : void 0};}-function kM(e, t, n = null, r, i) {+function OM(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? jM(t) : t,+ ...typeof t == "string" ? AM(t) : t,state: n,- key: t && t.key || r || Ixe(),+ key: t && t.key || r || Lxe(),mask: i};}-function AM({ pathname: e = "/", search: t = "", hash: n = "" }) {+function kM({ pathname: e = "/", search: t = "", hash: n = "" }) {return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;}-function jM(e) {+function AM(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -43960,7 +43960,7 @@ function jM(e) {}return t;}-function Lxe(e, t, n, r = {}) {+function Rxe(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -43980,9 +43980,9 @@ function Lxe(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = TM(e) ? e : kM(h.location, e, t);+ let r = wM(e) ? e : OM(h.location, e, t);n && n(r, e), l = u() + 1;- let d = OM(r, l), f = h.createHref(r.mask || r);+ let d = DM(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -43997,9 +43997,9 @@ function Lxe(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = TM(e) ? e : kM(h.location, e, t);+ let r = wM(e) ? e : OM(h.location, e, t);n && n(r, e), l = u();- let i = OM(r, l), d = h.createHref(r.mask || r);+ let i = DM(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -44007,7 +44007,7 @@ function Lxe(e, t, n, r = {}) {});}function m(e) {- return Rxe(i, e);+ return zxe(i, e);}let h = {get action() {@@ -44018,8 +44018,8 @@ function Lxe(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(wM, d), c = e, () => {- i.removeEventListener(wM, d), c = null;+ return i.addEventListener(CM, d), c = e, () => {+ i.removeEventListener(CM, d), c = null;};},createHref(e) {@@ -44042,29 +44042,29 @@ function Lxe(e, t, n, r = {}) {};return h;}-function Rxe(e, t, n = !1) {+function zxe(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), EM(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : AM(t);- return i = i.replace(/ $/, "%20"), !n && CM.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), TM(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : kM(t);+ return i = i.replace(/ $/, "%20"), !n && SM.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js-function zxe(e, t, n = "/") {- return Bxe(e, t, n, !1);+function Bxe(e, t, n = "/") {+ return Vxe(e, t, n, !1);}-function Bxe(e, t, n, r, i) {- let a = RM((typeof t == "string" ? jM(t) : t).pathname || "/", n);+function Vxe(e, t, n, r, i) {+ let a = LM((typeof t == "string" ? AM(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? Vxe(e), s = null, c = eSe(a);- for (let e = 0; s == null && e < o.length; ++e) s = $xe(o[e], c, r);+ let o = i ?? Hxe(e), s = null, c = tSe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = eSe(o[e], c, r);return s;}-function Vxe(e) {- let t = MM(e);- return Hxe(t), t;+function Hxe(e) {+ let t = jM(e);+ return Uxe(t), t;}-function MM(e, t = [], n = [], r = "", i = !1) {+function jM(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -44074,14 +44074,14 @@ function MM(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- EM(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);+ TM(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);}- let l = HM([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (EM(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), MM(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = VM([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (TM(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), jM(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: Zxe(l, e.index),+ score: Qxe(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = LM(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = IM(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -44092,68 +44092,68 @@ function MM(e, t = [], n = [], r = "", i = !1) {};return e.forEach((e, t) => {if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of NM(e.path)) a(e, t, !0, n);+ else for (let n of MM(e.path)) a(e, t, !0, n);}), t;}-function NM(e) {+function MM(e) {let t = e.split("/");if (t.length === 0) return [];let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");if (r.length === 0) return i ? [a, ""] : [a];- let o = NM(r.join("/")), s = [];+ let o = MM(r.join("/")), s = [];return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);}-function Hxe(e) {- e.sort((e, t) => e.score === t.score ? Qxe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function Uxe(e) {+ e.sort((e, t) => e.score === t.score ? $xe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var Uxe = /^:[\w-]+$/, Wxe = /^:[\w-]+/, Gxe = 3.5, Kxe = 3, qxe = 2, Jxe = 1, Yxe = 10, Xxe = -2, PM = (e) => e === "*";-function Zxe(e, t) {+var Wxe = /^:[\w-]+$/, Gxe = /^:[\w-]+/, Kxe = 3.5, qxe = 3, Jxe = 2, Yxe = 1, Xxe = 10, Zxe = -2, NM = (e) => e === "*";+function Qxe(e, t) {let n = e.split("/"), r = n.length;- return n.some(PM) && (r += Xxe), t && (r += qxe), n.filter((e) => !PM(e)).reduce((e, t) => e + (Uxe.test(t) ? Kxe : Wxe.test(t) ? Gxe : t === "" ? Jxe : Yxe), r);+ return n.some(NM) && (r += Zxe), t && (r += Jxe), n.filter((e) => !NM(e)).reduce((e, t) => e + (Wxe.test(t) ? qxe : Gxe.test(t) ? Kxe : t === "" ? Yxe : Xxe), r);}-function Qxe(e, t) {+function $xe(e, t) {return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;}-function $xe(e, t, n = !1) {+function eSe(e, t, n = !1) {let { routesMeta: r } = e, i = {}, a = "/", o = [];for (let e = 0; e < r.length; ++e) {let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {path: s.relativePath,caseSensitive: s.caseSensitive,end: c- }, d = s.matcher && s.compiledParams ? IM(u, l, s.matcher, s.compiledParams) : FM(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = FM({+ }, d = s.matcher && s.compiledParams ? FM(u, l, s.matcher, s.compiledParams) : PM(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = PM({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: HM([a, d.pathname]),- pathnameBase: aSe(HM([a, d.pathnameBase])),+ pathname: VM([a, d.pathname]),+ pathnameBase: oSe(VM([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = HM([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = VM([a, d.pathnameBase]));}return o;}-function FM(e, t) {+function PM(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = LM(e.path, e.caseSensitive, e.end);- return IM(e, t, n, r);+ let [n, r] = IM(e.path, e.caseSensitive, e.end);+ return FM(e, t, n, r);}-function IM(e, t, n, r) {+function FM(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = UM(a, 1), s = i.slice(1);+ let a = i[0], o = HM(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = UM(a.slice(0, a.length - e.length), 1);+ o = HM(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -44163,8 +44163,8 @@ function IM(e, t, n, r) {pattern: e};}-function LM(e, t = !1, n = !0) {- DM(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);+function IM(e, t = !1, n = !0) {+ EM(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {if (r.push({paramName: t,@@ -44177,46 +44177,46 @@ function LM(e, t = !1, n = !0) {}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];}-function eSe(e) {+function tSe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return DM(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;+ return EM(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;}}-function RM(e, t) {+function LM(e, t) {if (t === "/") return e;if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}-function tSe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? jM(e) : e, a;- return n ? (n = VM(n), a = n.startsWith("/") || n.startsWith("\\") ? zM(n.substring(1), "/") : zM(n, t)) : a = t, {+function nSe(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? AM(e) : e, a;+ return n ? (n = BM(n), a = n.startsWith("/") || n.startsWith("\\") ? RM(n.substring(1), "/") : RM(n, t)) : a = t, {pathname: a,- search: oSe(r),- hash: sSe(i)+ search: sSe(r),+ hash: cSe(i)};}-function zM(e, t) {- let n = UM(t).split("/");+function RM(e, t) {+ let n = HM(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function BM(e, t, n, r) {+function zM(e, t, n, r) {return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;}-function nSe(e) {+function rSe(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function rSe(e) {- let t = nSe(e);+function iSe(e) {+ let t = rSe(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function iSe(e, t, n, r = !1) {+function aSe(e, t, n, r = !1) {let i;- typeof e == "string" ? i = jM(e) : (i = { ...e }, EM(!i.pathname || !i.pathname.includes("?"), BM("?", "pathname", "search", i)), EM(!i.pathname || !i.pathname.includes("#"), BM("#", "pathname", "hash", i)), EM(!i.search || !i.search.includes("#"), BM("#", "search", "hash", i)));+ typeof e == "string" ? i = AM(e) : (i = { ...e }, TM(!i.pathname || !i.pathname.includes("?"), zM("?", "pathname", "search", i)), TM(!i.pathname || !i.pathname.includes("#"), zM("#", "pathname", "hash", i)), TM(!i.search || !i.search.includes("#"), zM("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -44228,16 +44228,16 @@ function iSe(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = tSe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = nSe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var VM = (e) => e.replace(/[\\/]{2,}/g, "/"), HM = (e) => VM(e.join("/"));-function UM(e, t = 0) {+var BM = (e) => e.replace(/[\\/]{2,}/g, "/"), VM = (e) => BM(e.join("/"));+function HM(e, t = 0) {let n = e.length;for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var aSe = (e) => UM(e).replace(/^\/*/, "/"), oSe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, sSe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, cSe = class {+var oSe = (e) => HM(e).replace(/^\/*/, "/"), sSe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, cSe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, lSe = class {status;statusText;data;@@ -44247,26 +44247,26 @@ var aSe = (e) => UM(e).replace(/^\/*/, "/"), oSe = (e) => !e || e === "?" ? "" :this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;}};-function lSe(e) {+function uSe(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function uSe(e) {- return HM(e.map((e) => e.route.path).filter(Boolean)) || "/";+function dSe(e) {+ return VM(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var WM = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function dSe(e, t) {+var UM = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function fSe(e, t) {let n = e;- if (typeof n != "string" || !Nxe.test(n)) return {+ if (typeof n != "string" || !Pxe.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (WM) try {- let e = new URL(window.location.href), r = CM.test(n) ? new URL(Pxe(n, e.protocol)) : new URL(n), a = RM(r.pathname, t);+ if (UM) try {+ let e = new URL(window.location.href), r = SM.test(n) ? new URL(Fxe(n, e.protocol)) : new URL(n), a = LM(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- DM(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ EM(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -44276,45 +44276,45 @@ function dSe(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var GM = new URL("http://localhost");-function KM(e) {+var WM = new URL("http://localhost");+function GM(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), GM);+ return new URL(e.createHref("/"), WM);} catch {- return GM;+ return WM;}}-function qM(e, t) {+function KM(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function fSe(e, t) {+function pSe(e, t) {if (e.startsWith("//")) return !0;let n = t.protocol.toLowerCase();return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;}-function JM(e, t, n, r) {+function qM(e, t, n, r) {let i = null;try {i = e == null ? null : new URL(e, n);} catch {}- let a = new URL(t, n), o = i != null && !qM(i, n), s = !qM(a, n);+ let a = new URL(t, n), o = i != null && !KM(i, n), s = !KM(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !fSe(e, i) || !qM(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !pSe(e, i) || !KM(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var YM = [+var JM = ["POST","PUT","PATCH","DELETE"];-new Set(YM);-var pSe = ["GET", ...YM];-new Set(pSe);-var mSe = [+new Set(JM);+var mSe = ["GET", ...JM];+new Set(mSe);+var hSe = ["about:","blob:","chrome:",@@ -44326,85 +44326,85 @@ var mSe = ["filesystem:","javascript:"];-function hSe(e) {+function gSe(e) {try {- return mSe.includes(new URL(e).protocol);+ return hSe.includes(new URL(e).protocol);} catch {return !1;}}//#endregion//#region node_modules/react-router/dist/production/lib/context.js-var XM = E.createContext(null);-XM.displayName = "DataRouter";-var gSe = E.createContext(null);-gSe.displayName = "DataRouterState";-var ZM = E.createContext(null);-ZM.displayName = "DataRouterData";+var YM = E.createContext(null);+YM.displayName = "DataRouter";var _Se = E.createContext(null);-_Se.displayName = "DataRouterNavigation";-var vSe = E.createContext(!1), ySe = E.createContext({ isTransitioning: !1 });-ySe.displayName = "ViewTransition";-var bSe = E.createContext(null);-bSe.displayName = "Fetchers";+_Se.displayName = "DataRouterState";+var XM = E.createContext(null);+XM.displayName = "DataRouterData";+var vSe = E.createContext(null);+vSe.displayName = "DataRouterNavigation";+var ySe = E.createContext(!1), bSe = E.createContext({ isTransitioning: !1 });+bSe.displayName = "ViewTransition";var xSe = E.createContext(null);-xSe.displayName = "Await";+xSe.displayName = "Fetchers";+var SSe = E.createContext(null);+SSe.displayName = "Await";+var ZM = E.createContext(null);+ZM.displayName = "Navigation";var QM = E.createContext(null);-QM.displayName = "Navigation";-var $M = E.createContext(null);-$M.displayName = "Location";-var eN = E.createContext({+QM.displayName = "Location";+var $M = E.createContext({outlet: null,matches: [],isDataRoute: !1});-eN.displayName = "Route";-var tN = E.createContext(!1);-tN.displayName = "IsDataRoute";-var nN = E.createContext(void 0);-nN.displayName = "RouteId";-var rN = E.createContext(null);-rN.displayName = "RouteError";+$M.displayName = "Route";+var eN = E.createContext(!1);+eN.displayName = "IsDataRoute";+var tN = E.createContext(void 0);+tN.displayName = "RouteId";+var nN = E.createContext(null);+nN.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var iN = "REACT_ROUTER_ERROR", SSe = "REDIRECT", CSe = "ROUTE_ERROR_RESPONSE";-function wSe(e) {- if (e.startsWith(`${iN}:${SSe}:{`)) try {+var rN = "REACT_ROUTER_ERROR", CSe = "REDIRECT", wSe = "ROUTE_ERROR_RESPONSE";+function TSe(e) {+ if (e.startsWith(`${rN}:${CSe}:{`)) try {let t = JSON.parse(e.slice(28));if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;} catch {}}-function TSe(e) {- if (e.startsWith(`${iN}:${CSe}:{`)) try {+function ESe(e) {+ if (e.startsWith(`${rN}:${wSe}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new cSe(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new lSe(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function aN() {- return E.useContext($M) != null;-}-function oN() {- return EM(aN(), "useLocation() may be used only in the context of a <Router> component."), E.useContext($M).location;+function iN() {+ return E.useContext(QM) != null;}-var sN = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function ESe() {- return E.useContext(tN) ? RSe() : DSe();+function aN() {+ return TM(iN(), "useLocation() may be used only in the context of a <Router> component."), E.useContext(QM).location;}+var oN = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";function DSe() {- EM(aN(), "useNavigate() may be used only in the context of a <Router> component.");- let e = E.useContext(XM), { basename: t, navigator: n } = E.useContext(QM), { matches: r } = E.useContext(eN), { pathname: i } = oN(), a = JSON.stringify(rSe(r)), o = E.useRef(!1);+ return E.useContext(eN) ? zSe() : OSe();+}+function OSe() {+ TM(iN(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = E.useContext(YM), { basename: t, navigator: n } = E.useContext(ZM), { matches: r } = E.useContext($M), { pathname: i } = aN(), a = JSON.stringify(iSe(r)), o = E.useRef(!1);return E.useLayoutEffect(() => {o.current = !0;}), E.useCallback((r, s = {}) => {- if (DM(o.current, sN), !o.current) return;+ if (EM(o.current, oN), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = iSe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : HM([t, c.pathname])), JM(typeof r == "string" ? r : AM(r), n.createHref(c), KM(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = aSe(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : VM([t, c.pathname])), qM(typeof r == "string" ? r : kM(r), n.createHref(c), GM(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -44414,19 +44414,19 @@ function DSe() {]);}E.createContext(null);-function OSe(e, t) {- return cN(e, t);+function kSe(e, t) {+ return sN(e, t);}-function cN(e, t, n) {- EM(aN(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = E.useContext(QM), { matches: i } = E.useContext(eN), a = i[i.length - 1], o = a ? a.params : {};+function sN(e, t, n) {+ TM(iN(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = E.useContext(ZM), { matches: i } = E.useContext($M), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = oN(), l;+ let c = aN(), l;if (t) {- let e = typeof t == "string" ? jM(t) : t;- EM(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;+ let e = typeof t == "string" ? AM(t) : t;+ TM(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;} else l = c;let u = l.pathname || "/", d = u;if (s !== "/") {@@ -44434,13 +44434,13 @@ function cN(e, t, n) {d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");}let f;- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : zxe(e, { pathname: d });- let p = PSe(f && f.map((e) => Object.assign({}, e, {+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Bxe(e, { pathname: d });+ let p = FSe(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: HM([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : HM([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: VM([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : VM([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])})), i, n);- return t && p ? /* @__PURE__ */ E.createElement($M.Provider, { value: {+ return t && p ? /* @__PURE__ */ E.createElement(QM.Provider, { value: {location: {pathname: "/",search: "",@@ -44453,14 +44453,14 @@ function cN(e, t, n) {navigationType: "POP"} }, p) : p;}-function kSe() {- let e = LSe(), t = lSe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function ASe() {+ let e = RSe(), t = uSe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ E.createElement(E.Fragment, null, /* @__PURE__ */ E.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ E.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ E.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var ASe = /* @__PURE__ */ E.createElement(kSe, null), jSe = class extends E.Component {+var jSe = /* @__PURE__ */ E.createElement(ASe, null), MSe = class extends E.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -44468,7 +44468,7 @@ var ASe = /* @__PURE__ */ E.createElement(kSe, null), jSe = class extends E.Comperror: e.error};}- static contextType = vSe;+ static contextType = ySe;static getDerivedStateFromError(e) {return { error: e };}@@ -44489,30 +44489,30 @@ var ASe = /* @__PURE__ */ E.createElement(kSe, null), jSe = class extends E.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = TSe(e.digest);+ let t = ESe(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ E.createElement(eN.Provider, { value: this.props.routeContext }, /* @__PURE__ */ E.createElement(tN.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ E.createElement(nN.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ E.createElement(rN.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ E.createElement($M.Provider, { value: this.props.routeContext }, /* @__PURE__ */ E.createElement(eN.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ E.createElement(tN.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ E.createElement(nN.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ E.createElement(MSe, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ E.createElement(NSe, { error: e }, t) : t;}-}, lN = /* @__PURE__ */ new WeakMap();-function MSe({ children: e, error: t }) {- let { basename: n, navigator: r } = E.useContext(QM);+}, cN = /* @__PURE__ */ new WeakMap();+function NSe({ children: e, error: t }) {+ let { basename: n, navigator: r } = E.useContext(ZM);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = wSe(t.digest);+ let e = TSe(t.digest);if (e) {- let i = lN.get(t);+ let i = cN.get(t);if (i) throw i;- let a = dSe(e.location, n), o = a.absoluteURL || a.to;- if (JM(e.location, o, KM(r), "allow-explicit"), hSe(o)) throw Error("Invalid redirect location");- if (WM && !lN.get(t)) {+ let a = fSe(e.location, n), o = a.absoluteURL || a.to;+ if (qM(e.location, o, GM(r), "allow-explicit"), gSe(o)) throw Error("Invalid redirect location");+ if (UM && !cN.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));- throw lN.set(t, n), n;+ throw cN.set(t, n), n;}}return /* @__PURE__ */ E.createElement("meta", {@@ -44523,11 +44523,11 @@ function MSe({ children: e, error: t }) {}return e;}-function NSe({ routeContext: e, match: t, children: n }) {- let r = E.useContext(XM);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ E.createElement(eN.Provider, { value: e }, /* @__PURE__ */ E.createElement(tN.Provider, { value: e.isDataRoute }, /* @__PURE__ */ E.createElement(nN.Provider, { value: t.route.id }, n)));+function PSe({ routeContext: e, match: t, children: n }) {+ let r = E.useContext(YM);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ E.createElement($M.Provider, { value: e }, /* @__PURE__ */ E.createElement(eN.Provider, { value: e.isDataRoute }, /* @__PURE__ */ E.createElement(tN.Provider, { value: t.route.id }, n)));}-function PSe(e, t = [], n) {+function FSe(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -44538,7 +44538,7 @@ function PSe(e, t = [], n) {let i = e, a = r?.errors;if (a != null) {let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- EM(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));+ TM(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));}let o = !1, s = -1;if (n && r) {@@ -44558,16 +44558,16 @@ function PSe(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: uSe(r.matches),+ pattern: dSe(r.matches),errorInfo: t});} : void 0;return i.reduceRight((e, n, c) => {let u, d = !1, f = null, p = null;- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || ASe, o && (s < 0 && c === 0 ? (zSe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || jSe, o && (s < 0 && c === 0 ? (BSe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));let m = t.concat(i.slice(0, c + 1)), h = () => {let t;- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ E.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ E.createElement(NSe, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ E.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ E.createElement(PSe, {match: n,routeContext: {outlet: e,@@ -44577,7 +44577,7 @@ function PSe(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ E.createElement(jSe, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ E.createElement(MSe, {location: r.location,revalidation: r.revalidation,component: f,@@ -44592,44 +44592,44 @@ function PSe(e, t = [], n) {}) : h();}, null);}-function uN(e) {+function lN(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function FSe(e) {- let t = E.useContext(XM);- return EM(t, uN(e)), t;-}function ISe(e) {- let t = E.useContext(ZM);- return EM(t, uN(e)), t;+ let t = E.useContext(YM);+ return TM(t, lN(e)), t;}-function dN(e) {- let t = E.useContext(nN);- return EM(t, `${e} can only be used on routes that contain a unique "id"`), t;+function LSe(e) {+ let t = E.useContext(XM);+ return TM(t, lN(e)), t;}-function LSe() {- let e = E.useContext(rN), t = ISe("useRouteError"), n = dN("useRouteError");- return e === void 0 ? t.errors?.[n] : e;+function uN(e) {+ let t = E.useContext(tN);+ return TM(t, `${e} can only be used on routes that contain a unique "id"`), t;}function RSe() {- let { router: e } = FSe("useNavigate"), t = dN("useNavigate"), n = E.useRef(!1);+ let e = E.useContext(nN), t = LSe("useRouteError"), n = uN("useRouteError");+ return e === void 0 ? t.errors?.[n] : e;+}+function zSe() {+ let { router: e } = ISe("useNavigate"), t = uN("useNavigate"), n = E.useRef(!1);return E.useLayoutEffect(() => {n.current = !0;}), E.useCallback(async (r, i = {}) => {- DM(n.current, sN), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ EM(n.current, oN), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var fN = {};-function zSe(e, t, n) {- !t && !fN[e] && (fN[e] = !0, DM(!1, n));+var dN = {};+function BSe(e, t, n) {+ !t && !dN[e] && (dN[e] = !0, EM(!1, n));}-E.memo(BSe);-function BSe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = E.useContext(XM);- return EM(a, "You must render this element inside a <DataRouterContext.Provider> element"), cN(e, void 0, {+E.memo(VSe);+function VSe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = E.useContext(YM);+ return TM(a, "You must render this element inside a <DataRouterContext.Provider> element"), sN(e, void 0, {router: a.router,manifest: t,state: n,@@ -44637,11 +44637,11 @@ function BSe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function pN(e) {- EM(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");+function fN(e) {+ TM(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");}-function VSe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- EM(!aN(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function HSe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ TM(!iN(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = E.useMemo(() => ({basename: s,navigator: i,@@ -44654,9 +44654,9 @@ function VSe({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = jM(n));+ typeof n == "string" && (n = AM(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = E.useMemo(() => {- let e = RM(l, s);+ let e = LM(l, s);return e == null ? null : {location: {pathname: e,@@ -44678,27 +44678,27 @@ function VSe({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return DM(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ E.createElement(QM.Provider, { value: c }, /* @__PURE__ */ E.createElement($M.Provider, {+ return EM(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ E.createElement(ZM.Provider, { value: c }, /* @__PURE__ */ E.createElement(QM.Provider, {children: t,value: h}));}-function mN({ children: e, location: t }) {- return OSe(hN(e), t);+function pN({ children: e, location: t }) {+ return kSe(mN(e), t);}E.Component;-function hN(e, t = []) {+function mN(e, t = []) {let n = [];return E.Children.forEach(e, (e, r) => {if (!E.isValidElement(e)) return;let i = [...t, r];if (e.type === E.Fragment) {- n.push.apply(n, hN(e.props.children, i));+ n.push.apply(n, mN(e.props.children, i));return;}- EM(e.type === pN, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);+ TM(e.type === fN, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a = e.props;- EM(!a.index || !a.children, "An index route cannot have child routes.");+ TM(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -44717,17 +44717,17 @@ function hN(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = hN(a.children, i)), n.push(o);+ a.children && (o.children = mN(a.children, i)), n.push(o);}), n;}//#endregion//#region src/react/components/board-navigation-link.tsx-function HSe(e) {+function USe(e) {return /* @__PURE__ */ (0, D.jsx)("a", { ...e });}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function USe(e) {+function WSe(e) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -44741,7 +44741,7 @@ function USe(e) {})});}-function WSe(e) {+function GSe(e) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -44755,7 +44755,7 @@ function WSe(e) {})});}-function gN(e) {+function hN(e) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -44769,54 +44769,54 @@ function gN(e) {}//#endregion//#region src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function GSe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function KSe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = E.Children.toArray(e).filter(E.isValidElement);return /* @__PURE__ */ (0, D.jsx)("nav", {ref: r,"aria-label": t,- className: hO("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: mO("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, D.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, D.jsx)(WSe, {+ children: i.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, D.jsx)(GSe, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function _N({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function gN({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [t && /* @__PURE__ */ (0, D.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, D.jsx)("li", {"aria-current": "page",- className: hO("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: mO("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = hO("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);+ let s = mO("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, D.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, D.jsx)(HSe, {+ children: n ? /* @__PURE__ */ (0, D.jsx)(USe, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, D.jsx)("button", {type: "button",onClick: r,- className: hO("cursor-pointer", s),+ className: mO("cursor-pointer", s),children: o})});}//#endregion//#region src/react/boardui/components/foundations/direction/direction.tsx-function vN() {+function _N() {return Py().direction;}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var yN = [+var vN = ["max-w-[calc(100vw-32px)] overflow-y-auto","rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown","transition duration-150 ease-out",@@ -44824,11 +44824,11 @@ var yN = ["data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]","data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left","data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), KSe = "w-[266px]", qSe = "flex w-full flex-col gap-1 outline-none", bN = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), xN = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), qSe = "w-[266px]", JSe = "flex w-full flex-col gap-1 outline-none", yN = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), bN = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";//#endregion//#region src/react/boardui/components/base/tree-view/tree-view.tsx-function JSe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = vN(), l = (0, E.useContext)(tA), u = l === eA && !s.dragAndDropHooks ? CN : l;+function YSe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = _N(), l = (0, E.useContext)(eA), u = l === $k && !s.dragAndDropHooks ? SN : l;return /* @__PURE__ */ (0, D.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -44845,23 +44845,23 @@ function JSe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, D.jsx)(tA.Provider, {+ children: /* @__PURE__ */ (0, D.jsx)(eA.Provider, {value: u,- children: /* @__PURE__ */ (0, D.jsx)(vxe, {+ children: /* @__PURE__ */ (0, D.jsx)(yxe, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => hO("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === CN ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)+ className: (e) => mO("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === SN ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)})})});}-function SN({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = vN();- return /* @__PURE__ */ (0, D.jsxs)(xxe, {+function xN({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = _N();+ return /* @__PURE__ */ (0, D.jsxs)(Sxe, {...u,ref: l,textValue: t,@@ -44869,11 +44869,11 @@ function SN({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNampaddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,...typeof c == "function" ? c(e) : c}),- className: (e) => hO("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, D.jsx)(bxe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? zge : MO : Fge);+ className: (e) => mO("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),+ children: [/* @__PURE__ */ (0, D.jsx)(xxe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? Bge : jO : Ige);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(XSe, {+ /* @__PURE__ */ (0, D.jsx)(ZSe, {state: l,id: u,level: c,@@ -44883,20 +44883,20 @@ function SN({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, D.jsx)(iA, {+ children: [t ? /* @__PURE__ */ (0, D.jsx)(rA, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, D.jsx)(EO, {+ children: /* @__PURE__ */ (0, D.jsx)(TO, {"aria-hidden": !0,- className: hO("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: mO("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,- className: hO("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: mO("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, D.jsx)(f, {"aria-hidden": !0,- className: hO("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: mO("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, D.jsx)("span", {@@ -44911,24 +44911,24 @@ function SN({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var CN = {- ...eA,- CollectionRoot: YSe+var SN = {+ ...$k,+ CollectionRoot: XSe};-function YSe({ collection: e, ...t }) {- let n = (0, E.useContext)(Yj);+function XSe({ collection: e, ...t }) {+ let n = (0, E.useContext)(Jj);return n ? /* @__PURE__ */ (0, D.jsx)(f_, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, D.jsx)(ZSe, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, D.jsx)(QSe, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, D.jsx)(eA.CollectionRoot, {+ }) : /* @__PURE__ */ (0, D.jsx)($k.CollectionRoot, {collection: e,...t});}-function XSe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function ZSe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {let o = e.collection.getItem(t);if (!o) return null;let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;@@ -44961,7 +44961,7 @@ function XSe({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: hO("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: mO("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, D.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -44987,7 +44987,7 @@ function XSe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function ZSe({ state: e, children: t }) {+function QSe({ state: e, children: t }) {let n = l_(), r = N_(), [i, a] = (0, E.useState)(e);return n && i !== e && a(e), /* @__PURE__ */ (0, D.jsx)(F_.div, {role: "presentation",@@ -45028,7 +45028,7 @@ function ZSe({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, D.jsx)(Yj.Provider, {+ children: /* @__PURE__ */ (0, D.jsx)(Jj.Provider, {value: n ? e : i,children: t})@@ -45036,7 +45036,7 @@ function ZSe({ state: e, children: t }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var wN = {+var CN = {md: {box: "size-4",glyph: "size-4",@@ -45050,11 +45050,11 @@ var wN = {gap: "gap-1.5"}};-function TN({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = wN[t], c = n || r, l = o && !a;+function wN({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = CN[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,- className: hO("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? hO("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : hO("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: mO("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? mO("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : mO("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -45078,30 +45078,30 @@ function TN({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function EN({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = wN[n];- return /* @__PURE__ */ (0, D.jsx)(Fve, {+function TN({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = CN[n];+ return /* @__PURE__ */ (0, D.jsx)(Ive, {ref: r,...i,- className: (t) => hO("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(TN, {+ className: (t) => mO("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(wN, {state: e,size: n}), t != null && /* @__PURE__ */ (0, D.jsx)("span", {- className: hO(a.label, "text-text-primary"),+ className: mO(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/history/settings-route.ts-var DN = {+var EN = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, ON = {+}, DN = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -45109,37 +45109,37 @@ var DN = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function kN(e) {- return ON[e.split("/")[2]] || ON.library;+function ON(e) {+ return DN[e.split("/")[2]] || DN.library;}-var AN = ["/settings", ...Object.keys(DN).map((e) => `/settings/${e}`)], jN = (e) => AN.includes(e);-function MN(e) {- return DN[e.split("/")[2]] || DN.appearance;+var kN = ["/settings", ...Object.keys(EN).map((e) => `/settings/${e}`)], AN = (e) => kN.includes(e);+function jN(e) {+ return EN[e.split("/")[2]] || EN.appearance;}-function NN(e) {+function MN(e) {return `/settings/${Object.entries({- ...DN,- ...ON+ ...EN,+ ...DN}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var PN = (e) => {+var NN = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, FN = [+}, PN = ["/assets/:id","/posts/:id","/works/:code"-], QSe = [+], $Se = ["mix","parts","editions","playlist"];-function IN(e, t = "") {+function FN(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of FN) {- let r = FM(n, e);+ for (let n of PN) {+ let r = PM(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -45156,7 +45156,7 @@ function IN(e, t = "") {let a = Number(i[0]);if (!Number.isSafeInteger(a) || a <= 0) return null;if (n === "/assets/:id") {- let e = new URLSearchParams(t), r = QSe.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = $Se.filter((t) => e.has(t));if (r.length === 1) {let t = r[0], i = e.get(t), o = Number(i);if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {@@ -45180,8 +45180,8 @@ function IN(e, t = "") {}return null;}-var LN = (e, t = "") => IN(e, t)?.target ?? null, RN = (e) => jN(e.split(/[?#]/)[0]) || FN.some((t) => FM(t, e.split(/[?#]/)[0]) !== null);-function zN(e) {+var IN = (e, t = "") => FN(e, t)?.target ?? null, LN = (e) => AN(e.split(/[?#]/)[0]) || PN.some((t) => PM(t, e.split(/[?#]/)[0]) !== null);+function RN(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -45189,35 +45189,35 @@ function zN(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var BN = null, VN = null;-function HN() {+var zN = null, BN = null;+function VN() {let { pathname: e, search: t, hash: n } = window.location;- RN(e) || (BN = {+ LN(e) || (zN = {pathname: e,search: t,...n ? { hash: n } : {}});}-function UN() {- BN = null, VN = null;+function HN() {+ zN = null, BN = null;}-function $Se(e) {- let t = zN(e);- t && (BN = t, VN = t.pathname + t.search + (t.hash || ""));+function eCe(e) {+ let t = RN(e);+ t && (zN = t, BN = t.pathname + t.search + (t.hash || ""));}-function WN() {- let e = VN;- return VN = null, e;+function UN() {+ let e = BN;+ return BN = null, e;}-function GN(e) {- return BN ? {- backgroundLocation: { ...BN },+function WN(e) {+ return zN ? {+ backgroundLocation: { ...zN },overlay: e} : void 0;}//#endregion//#region src/history/canonical-path.ts-function KN(e) {+function GN(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -45241,16 +45241,16 @@ function KN(e) {}//#endregion//#region src/history/route-meta.ts-var qN = {+var KN = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(DN).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(EN).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(ON).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(DN).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -45381,13 +45381,13 @@ var qN = {title: "播放墙"}};-function JN(e) {- if (Object.hasOwn(qN, e)) return qN[e];- let t = IN(e);- if (t) return qN[t.path];+function qN(e) {+ if (Object.hasOwn(KN, e)) return KN[e];+ let t = FN(e);+ if (t) return KN[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(qN, `/${n}`) ? qN[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(KN, `/${n}`) ? KN[`/${n}`] : null;let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? kt({performers: "performer",studios: "studio",@@ -45396,126 +45396,126 @@ function JN(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn(qN, i) ? {- ...qN[i],+ return Object.hasOwn(KN, i) ? {+ ...KN[i],title: a || "资料"} : null;}//#endregion//#region src/history/managed.ts-var YN = () => {}, XN = new Promise((e) => {- YN = e;+var JN = () => {}, YN = new Promise((e) => {+ JN = e;});-XN.catch(() => {});-var ZN = null, QN = /* @__PURE__ */ new Map(), $N = /* @__PURE__ */ new Map(), eP = 0, tP = /* @__PURE__ */ new Set();-function eCe(e) {- YN(e);+YN.catch(() => {});+var XN = null, ZN = /* @__PURE__ */ new Map(), QN = /* @__PURE__ */ new Map(), $N = 0, eP = /* @__PURE__ */ new Set();+function tCe(e) {+ JN(e);}-function nP(e) {- return QN.get(e) ?? null;+function tP(e) {+ return ZN.get(e) ?? null;}-function rP(e) {- return !!e && (QN.has(e) || $N.has(e));+function nP(e) {+ return !!e && (ZN.has(e) || QN.has(e));}-var iP = () => [...QN.values()];-function tCe(e) {- return tP.add(e), () => {- tP.delete(e);+var rP = () => [...ZN.values()];+function nCe(e) {+ return eP.add(e), () => {+ eP.delete(e);};}-function aP(e) {- let t = iP();- for (let n of [...tP]) n(t, e);+function iP(e) {+ let t = rP();+ for (let n of [...eP]) n(t, e);}-async function oP(e, t, n) {+async function aP(e, t, n) {let { container: r } = n;- if (cP(r), !n.isCurrent()) return !1;- eP += 1;+ if (sP(r), !n.isCurrent()) return !1;+ $N += 1;let i = {- revision: eP,+ revision: $N,controller: new AbortController()};- $N.set(r, i);- let a = ZN;- ZN = null, a?.();- let o = await XN;- if ($N.get(r) !== i) return !1;+ QN.set(r, i);+ let a = XN;+ XN = null, a?.();+ let o = await YN;+ if (QN.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if ($N.get(r) !== i || ($N.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : nCe(r);- return QN.set(r, {+ if (QN.get(r) !== i || (QN.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : rCe(r);+ return ZN.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), aP(!0), !0;+ }), iP(!0), !0;}-function nCe(e) {+function rCe(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function sP(e, t) {- let n = e ? QN.get(e) : void 0;- n && (QN.set(n.container, {+function oP(e, t) {+ let n = e ? ZN.get(e) : void 0;+ n && (ZN.set(n.container, {...n,props: {...n.props,...t}- }), aP(!1));+ }), iP(!1));}-function cP(e, ...t) {+function sP(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = $N.get(r);- e && (e.controller.abort(), $N.delete(r));- let t = QN.get(r);- t && (QN.delete(r), n.push(t));+ let e = QN.get(r);+ e && (e.controller.abort(), QN.delete(r));+ let t = ZN.get(r);+ t && (ZN.delete(r), n.push(t));}if (n.length) {- aP(!0);+ iP(!0);for (let e of n) e.resident || e.host.remove();}}-function rCe() {- let [e, ...t] = /* @__PURE__ */ new Set([...QN.keys(), ...$N.keys()]);- e && cP(e, ...t);+function iCe() {+ let [e, ...t] = /* @__PURE__ */ new Set([...ZN.keys(), ...QN.keys()]);+ e && sP(e, ...t);}-function iCe(e, t) {- let n = QN.get(e);- n?.revision === t && (QN.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- aP(!1);+function aCe(e, t) {+ let n = ZN.get(e);+ n?.revision === t && (ZN.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ iP(!1);}));}//#endregion//#region src/history/index.ts-var lP = Fxe({ v5Compat: !0 }), uP = 0, dP = 0, fP = {- action: lP.action,- location: lP.location,- seq: uP,- openEpoch: dP,+var cP = Ixe({ v5Compat: !0 }), lP = 0, uP = 0, dP = {+ action: cP.action,+ location: cP.location,+ seq: lP,+ openEpoch: uP,claimed: !0-}, pP = /* @__PURE__ */ new Set(), mP = !1, hP = !0;-lP.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = KN(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = lP.location), uP += 1, mP || (dP += 1), e !== "REPLACE" && (hP = !1), fP = {+}, fP = /* @__PURE__ */ new Set(), pP = !1, mP = !0;+cP.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = GN(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = cP.location), lP += 1, pP || (uP += 1), e !== "REPLACE" && (mP = !1), dP = {action: e,location: t,- seq: uP,- openEpoch: dP,- claimed: mP+ seq: lP,+ openEpoch: uP,+ claimed: pP};- for (let e of [...pP]) e(fP);+ for (let e of [...fP]) e(dP);});-function gP(e) {- if (typeof e == "string") return KN(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = KN(t.href);+function hP(e) {+ if (typeof e == "string") return GN(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = GN(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -45525,52 +45525,52 @@ function gP(e) {hash: r.hash};}-var _P = {+var gP = {get navigation() {- return fP;+ return dP;},listen(e) {- return pP.add(e), () => {- pP.delete(e);+ return fP.add(e), () => {+ fP.delete(e);};},- createHref: (e) => lP.createHref(e),- createURL: (e) => lP.createURL(e),- encodeLocation: (e) => lP.encodeLocation(e),- go: (e) => lP.go(e),- push: (e, t) => lP.push(gP(e), t),- replace: (e, t) => lP.replace(gP(e), t)+ createHref: (e) => cP.createHref(e),+ createURL: (e) => cP.createURL(e),+ encodeLocation: (e) => cP.encodeLocation(e),+ go: (e) => cP.go(e),+ push: (e, t) => cP.push(hP(e), t),+ replace: (e, t) => cP.replace(hP(e), t)};-function vP(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = KN(`${r.pathname}${r.search}${r.hash}`);- mP = !0;+function _P(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = GN(`${r.pathname}${r.search}${r.hash}`);+ pP = !0;try {- t ? lP.replace(i, n) : lP.push(i, n);+ t ? cP.replace(i, n) : cP.push(i, n);} finally {- mP = !1;+ pP = !1;}}-var yP = () => hP;-function bP() {- if (jN(fP.location.pathname)) {- let e = hP ? null : PN(fP.location.state);- return e ? zN(e.state) || e : null;+var vP = () => mP;+function yP() {+ if (AN(dP.location.pathname)) {+ let e = mP ? null : NN(dP.location.state);+ return e ? RN(e.state) || e : null;}- return hP ? null : zN(fP.location.state);+ return mP ? null : RN(dP.location.state);}//#endregion//#region src/react/providers.tsx-var xP = null;-function aCe() {- return xP?.isConnected || (xP = document.createElement("div"), xP.className = "peach-react", xP.dataset.reactOverlays = "", document.body.append(xP)), xP;+var bP = null;+function oCe() {+ return bP?.isConnected || (bP = document.createElement("div"), bP.className = "peach-react", bP.dataset.reactOverlays = "", document.body.append(bP)), bP;}-function SP({ children: e }) {+function xP({ children: e }) {return /* @__PURE__ */ (0, D.jsx)(A, {client: W,children: /* @__PURE__ */ (0, D.jsx)(Une, {reducedMotion: "user",children: /* @__PURE__ */ (0, D.jsx)(CS, {- getContainer: aCe,+ getContainer: oCe,children: e})})@@ -45578,26 +45578,26 @@ function SP({ children: e }) {}//#endregion//#region node_modules/sonner/dist/index.mjs-function oCe(e) {+function sCe(e) {if (!e || typeof document > "u") return;let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));}-var sCe = (e) => {+var cCe = (e) => {switch (e) {- case "success": return uCe;- case "info": return fCe;- case "warning": return dCe;- case "error": return pCe;+ case "success": return dCe;+ case "info": return pCe;+ case "warning": return fCe;+ case "error": return mCe;default: return null;}-}, cCe = Array(12).fill(0), lCe = ({ visible: e, className: t }) => /*#__PURE__*/ E.createElement("div", {+}, lCe = Array(12).fill(0), uCe = ({ visible: e, className: t }) => /*#__PURE__*/ E.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ E.createElement("div", { className: "sonner-spinner" }, cCe.map((e, t) => /*#__PURE__*/ E.createElement("div", {+}, /*#__PURE__*/ E.createElement("div", { className: "sonner-spinner" }, lCe.map((e, t) => /*#__PURE__*/ E.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), uCe = /*#__PURE__*/ E.createElement("svg", {+})))), dCe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -45608,7 +45608,7 @@ var sCe = (e) => {fillRule: "evenodd",d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule: "evenodd"-})), dCe = /*#__PURE__*/ E.createElement("svg", {+})), fCe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -45619,7 +45619,7 @@ var sCe = (e) => {fillRule: "evenodd",d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule: "evenodd"-})), fCe = /*#__PURE__*/ E.createElement("svg", {+})), pCe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -45630,7 +45630,7 @@ var sCe = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule: "evenodd"-})), pCe = /*#__PURE__*/ E.createElement("svg", {+})), mCe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -45641,7 +45641,7 @@ var sCe = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule: "evenodd"-})), mCe = /*#__PURE__*/ E.createElement("svg", {+})), hCe = /*#__PURE__*/ E.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -45662,7 +45662,7 @@ var sCe = (e) => {y1: "6",x2: "18",y2: "18"-})), hCe = () => {+})), gCe = () => {let [e, t] = E.useState(document.hidden);return E.useEffect(() => {let e = () => {@@ -45670,7 +45670,7 @@ var sCe = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, gCe = 1, _Ce = 100, CP = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : gCe++, wP = new class {+}, _Ce = 1, vCe = 100, SP = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : _Ce++, CP = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -45680,10 +45680,10 @@ var sCe = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - _Ce;+ let e = this.toasts.length - vCe;e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));}, this.create = (e) => {- let { message: t, ...n } = e, r = CP(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = SP(e), i = this.pendingDismissals.get(r);i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({@@ -45758,7 +45758,7 @@ var sCe = (e) => {type: "default",message: e});- else if (yCe(e) && !e.ok) {+ else if (bCe(e) && !e.ok) {i = !1;let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !E.isValidElement(r) ? r : { message: r };this.create({@@ -45802,7 +45802,7 @@ var sCe = (e) => {}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });}, this.custom = (e, t) => {- let n = CP(t);+ let n = SP(t);return this.create({...t,jsx: e(n),@@ -45811,34 +45811,34 @@ var sCe = (e) => {}), n;}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();}-}(), vCe = (e, t) => wP.message(e, t), yCe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", TP = Object.assign(vCe, {- success: wP.success,- info: wP.info,- warning: wP.warning,- error: wP.error,- custom: wP.custom,- message: wP.message,- promise: wP.promise,- dismiss: wP.dismiss,- loading: wP.loading+}(), yCe = (e, t) => CP.message(e, t), bCe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", wP = Object.assign(yCe, {+ success: CP.success,+ info: CP.info,+ warning: CP.warning,+ error: CP.error,+ custom: CP.custom,+ message: CP.message,+ promise: CP.promise,+ dismiss: CP.dismiss,+ loading: CP.loading}, {- getHistory: () => wP.toasts,- getToasts: () => wP.getActiveToasts()+ getHistory: () => CP.toasts,+ getToasts: () => CP.getActiveToasts()});-oCe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");-function EP(e) {+sCe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");+function TP(e) {return e.label !== void 0;}-var bCe = 3, xCe = "24px", SCe = "16px", DP = 4e3, CCe = 356, wCe = 14, TCe = 45, ECe = 200;-function OP(...e) {+var xCe = 3, SCe = "24px", CCe = "16px", EP = 4e3, wCe = 356, TCe = 14, ECe = 45, DCe = 200;+function DP(...e) {return e.filter(Boolean).join(" ");}-function DCe(e) {+function OCe(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var OCe = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [D, O] = E.useState(null), [k, A] = E.useState(null), [j, M] = E.useState(!1), [N, P] = E.useState(!1), [F, I] = E.useState(!1), [ee, L] = E.useState(!1), [te, ne] = E.useState(!1), [re, ie] = E.useState(0), [ae, oe] = E.useState(0), se = E.useRef(n.duration || y || DP), ce = E.useRef(null), le = E.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = E.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = E.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = E.useMemo(() => n.duration || y || DP, [n.duration, y]), be = E.useRef(0), xe = E.useRef(0), Se = E.useRef(0), Ce = E.useRef(null), [we, Te] = b.split("-"), Ee = E.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = hCe(), Oe = E.useMemo(() => e.swipeDirections ?? DCe(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";+var kCe = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [D, O] = E.useState(null), [k, A] = E.useState(null), [j, M] = E.useState(!1), [N, P] = E.useState(!1), [F, I] = E.useState(!1), [ee, L] = E.useState(!1), [te, ne] = E.useState(!1), [re, ie] = E.useState(0), [ae, oe] = E.useState(0), se = E.useRef(n.duration || y || EP), ce = E.useRef(null), le = E.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = E.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = E.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = E.useMemo(() => n.duration || y || EP, [n.duration, y]), be = E.useRef(0), xe = E.useRef(0), Se = E.useRef(0), Ce = E.useRef(null), [we, Te] = b.split("-"), Ee = E.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = gCe(), Oe = E.useMemo(() => e.swipeDirections ?? OCe(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";xe.current = E.useMemo(() => _e * x + Ee, [_e, Ee]), E.useEffect(() => {se.current = ye;}, [ye]), E.useEffect(() => {@@ -45879,7 +45879,7 @@ var OCe = (e) => {let je = E.useCallback(() => {P(!0), ie(xe.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, ECe);+ }, DCe);}, [n,d,@@ -45910,18 +45910,18 @@ var OCe = (e) => {}, [je, n.delete]);function Me() {return w?.loading ? /*#__PURE__*/ E.createElement("div", {- className: OP(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: DP(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": fe === "loading"- }, w.loading) : /*#__PURE__*/ E.createElement(lCe, {- className: OP(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ E.createElement(uCe, {+ className: DP(C?.loader, n?.classNames?.loader),visible: fe === "loading"});}- let Ne = n.icon || w?.[fe] || sCe(fe);+ let Ne = n.icon || w?.[fe] || cCe(fe);return /*#__PURE__*/ E.createElement("li", {tabIndex: 0,ref: le,- className: OP(_, he, C?.toast, n?.classNames?.toast, C?.[pe], n?.classNames?.[pe]),+ className: DP(_, he, C?.toast, n?.classNames?.toast, C?.[pe], n?.classNames?.[pe]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -45964,7 +45964,7 @@ var OCe = (e) => {if (ee || !me) return;Ce.current = null;let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / r;- if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= TCe || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);+ if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= ECe || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);else {var o, s;(o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ne(!1), I(!1), O(null);@@ -46003,46 +46003,46 @@ var OCe = (e) => {onClick: Ae || !me ? () => {} : () => {je(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: OP(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? mCe) : null, (fe || n.icon || n.promise) && n.icon !== null && (w?.[fe] !== null || n.icon) ? /*#__PURE__*/ E.createElement("div", {+ className: DP(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? hCe) : null, (fe || n.icon || n.promise) && n.icon !== null && (w?.[fe] !== null || n.icon) ? /*#__PURE__*/ E.createElement("div", {"data-icon": "",- className: OP(C?.icon, n?.classNames?.icon)+ className: DP(C?.icon, n?.classNames?.icon)}, fe === "loading" ? n.icon || Me() : n.promise ? Me() : null, fe === "loading" ? null : Ne) : null, /*#__PURE__*/ E.createElement("div", {"data-content": "",- className: OP(C?.content, n?.classNames?.content)+ className: DP(C?.content, n?.classNames?.content)}, /*#__PURE__*/ E.createElement("div", {"data-title": "",- className: OP(C?.title, n?.classNames?.title)+ className: DP(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ E.createElement("div", {"data-description": "",- className: OP(v, ge, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ E.isValidElement(n.cancel) ? n.cancel : n.cancel && EP(n.cancel) ? /*#__PURE__*/ E.createElement("button", {+ className: DP(v, ge, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ E.isValidElement(n.cancel) ? n.cancel : n.cancel && TP(n.cancel) ? /*#__PURE__*/ E.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- EP(n.cancel) && me && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());+ TP(n.cancel) && me && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());},- className: OP(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ E.isValidElement(n.action) ? n.action : n.action && EP(n.action) ? /*#__PURE__*/ E.createElement("button", {+ className: DP(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ E.isValidElement(n.action) ? n.action : n.action && TP(n.action) ? /*#__PURE__*/ E.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- EP(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && je());+ TP(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && je());},- className: OP(C?.actionButton, n?.classNames?.actionButton)+ className: DP(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function kP() {+function OP() {if (typeof window > "u" || typeof document > "u") return "ltr";let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;}-function kCe(e, t) {+function ACe(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? SCe : xCe;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? CCe : SCe;function o(e) {["top",@@ -46063,11 +46063,11 @@ function kCe(e, t) {}) : o(a);}), n;}-var AP = /*#__PURE__*/ E.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = bCe, toastOptions: g, dir: _ = kP(), gap: v = wCe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = E.useState([]), w = E.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = E.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [D, O] = E.useState([]), [k, A] = E.useState(!1), [j, M] = E.useState(!1), [N, P] = E.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = E.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = E.useRef(null), L = E.useRef(!1), te = E.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || wP.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var kP = /*#__PURE__*/ E.forwardRef(function(e, t) {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = xCe, toastOptions: g, dir: _ = OP(), gap: v = TCe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = E.useState([]), w = E.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = E.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [D, O] = E.useState([]), [k, A] = E.useState(!1), [j, M] = E.useState(!1), [N, P] = E.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = E.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = E.useRef(null), L = E.useRef(!1), te = E.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || CP.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return E.useEffect(() => wP.subscribe((e) => {+ return E.useEffect(() => CP.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -46136,7 +46136,7 @@ var AP = /*#__PURE__*/ E.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ E.createElement("ol", {key: t,- dir: _ === "auto" ? kP() : _,+ dir: _ === "auto" ? OP() : _,tabIndex: -1,ref: F,className: c,@@ -46146,10 +46146,10 @@ var AP = /*#__PURE__*/ E.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${D[0]?.height || 0}px`,- "--width": `${CCe}px`,+ "--width": `${wCe}px`,"--gap": `${v}px`,...m,- ...kCe(l, u)+ ...ACe(l, u)},onBlur: (e) => {L.current && !e.currentTarget.contains(e.relatedTarget) && (L.current = !1, ee.current &&= (ee.current.focus({ preventScroll: !0 }), null));@@ -46167,7 +46167,7 @@ var AP = /*#__PURE__*/ E.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);},onPointerUp: () => M(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ E.createElement(OCe, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ E.createElement(kCe, {key: n.id,icons: y,index: i,@@ -46197,19 +46197,19 @@ var AP = /*#__PURE__*/ E.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), jP = "/api/library-processing", MP = ["library-processing"], ACe = (e, t, n) => {+}), AP = "/api/library-processing", jP = ["library-processing"], jCe = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), H(`${jP}?${r}`, t);-}, NP = (e) => !!e && [+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), H(`${AP}?${r}`, t);+}, MP = (e) => !!e && ["running","pausing","paused"].includes(e.status);-function PP(e) {- if (!NP(e)) return "";+function NP(e) {+ if (!MP(e)) return "";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";if (e.stalled) return "等待当前文件响应,剩余时间待更新";@@ -46219,18 +46219,18 @@ function PP(e) {let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;}-var FP = (e) => H(jP, e);-async function IP(e) {+var PP = (e) => H(AP, e);+async function FP(e) {await W.fetchQuery({- queryKey: MP,- queryFn: () => FP(e)+ queryKey: jP,+ queryFn: () => PP(e)});}-var jCe = 2e3, MCe = 1e4, LP = "连接中断,正在重新读取处理进度";-function RP(e, t) {- return NP(e) ? jCe : t ? MCe : !1;+var MCe = 2e3, NCe = 1e4, IP = "连接中断,正在重新读取处理进度";+function LP(e, t) {+ return MP(e) ? MCe : t ? NCe : !1;}-var NCe = {+var PCe = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -46238,25 +46238,25 @@ var NCe = {fetching_cover: "采集缺失封面",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, zP = {+}, RP = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function PCe(e) {- let t = Object.entries(e).filter(([e, t]) => zP[e] && t > 0).map(([e, t]) => `${zP[e]} ${t.toLocaleString()} 部`);+function FCe(e) {+ let t = Object.entries(e).filter(([e, t]) => RP[e] && t > 0).map(([e, t]) => `${RP[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function FCe(e) {+function ICe(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = NCe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${Ck(e.waited_seconds)}` : "";+ let t = PCe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${Sk(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function ICe(e) {- let t = e.total ? `${wk(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return FCe(e) + (t ? ` · ${t}` : "");-}function LCe(e) {+ let t = e.total ? `${Ck(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return ICe(e) + (t ? ` · ${t}` : "");+}+function RCe(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -46270,23 +46270,23 @@ function LCe(e) {log: e.issues_log || ""} : null;}-var BP = "peach.library-processing.announced", RCe = 120;-function VP(e) {+var zP = "peach.library-processing.announced", zCe = 120;+function BP(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < RCe;+ return !!e.job_id && t >= 0 && t < zCe;}-function zCe(e, t, n) {- if (e.status === "complete" && (n || VP(e))) {+function BCe(e, t, n) {+ if (e.status === "complete" && (n || BP(e))) {try {- if (e.job_id && localStorage.getItem(BP) === e.job_id) return;- e.job_id && localStorage.setItem(BP, e.job_id);+ if (e.job_id && localStorage.getItem(zP) === e.job_id) return;+ e.job_id && localStorage.setItem(zP, e.job_id);} catch {}e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));}}//#endregion//#region src/react/components/use-moving-surface.ts-var BCe = {+var VCe = {selection: {type: Zd,duration: .16,@@ -46298,7 +46298,7 @@ var BCe = {bounce: 0}};-function HP(e) {+function VP(e) {let [t, n] = (0, E.useState)(null);return (0, E.useLayoutEffect)(() => {if (!t) return;@@ -46319,7 +46319,7 @@ function HP(e) {let E = `translate(${b}px, ${x}px) scale(1, 1)`;if (u && a && !r.matches && T && s !== h) {let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;- l = Wie(n, { transform: [r, E] }, BCe[e]);+ l = Wie(n, { transform: [r, E] }, VCe[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -46356,25 +46356,25 @@ function HP(e) {}//#endregion//#region src/react/components/menu-dialog.tsx-function UP(e) {- let t = HP("hover");- return /* @__PURE__ */ (0, D.jsx)(nj, {+function HP(e) {+ let t = VP("hover");+ return /* @__PURE__ */ (0, D.jsx)(tj, {...e,ref: t});}//#endregion//#region src/react/library-processing/processing-effort.tsx-var WP = [+var UP = ["low","standard","high"-], GP = [+], WP = ["低占用","标准","全速"-], KP = cM("snail"), qP = cM("zap");-function JP({ className: e }) {+], GP = sM("snail"), KP = sM("zap");+function qP({ className: e }) {return /* @__PURE__ */ (0, D.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -46405,12 +46405,12 @@ function JP({ className: e }) {]});}-var VCe = [+var HCe = [+ GP,KP,- qP,- JP+ qP];-function HCe({ animate: e }) {+function UCe({ animate: e }) {let [t, n] = (0, E.useState)(document.hidden);return (0, E.useEffect)(() => {let e = () => n(document.hidden);@@ -46442,8 +46442,8 @@ function HCe({ animate: e }) {} }, t))]});}-function YP({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, WP.indexOf(e)), [a, o] = (0, E.useState)(i);+function JP({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, UP.indexOf(e)), [a, o] = (0, E.useState)(i);return (0, E.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, D.jsxs)("div", {@@ -46454,7 +46454,7 @@ function YP({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), GP[a]]+ }), WP[a]]}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -46462,19 +46462,19 @@ function YP({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, D.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, D.jsx)(KP, {}), "最慢"]+ children: [/* @__PURE__ */ (0, D.jsx)(GP, {}), "最慢"]}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, D.jsx)(qP, {}), "标准"]+ children: [/* @__PURE__ */ (0, D.jsx)(KP, {}), "标准"]}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, D.jsx)(JP, {}), "最快"]+ children: [/* @__PURE__ */ (0, D.jsx)(qP, {}), "最快"]})]}),- /* @__PURE__ */ (0, D.jsxs)(Zve, {+ /* @__PURE__ */ (0, D.jsxs)(Qve, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -46483,10 +46483,10 @@ function YP({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(WP[e]);+ e !== i && n(UP[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, D.jsx)(Eve, {+ children: [/* @__PURE__ */ (0, D.jsx)(Dve, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, D.jsxs)("div", {@@ -46506,11 +46506,11 @@ function YP({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, D.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, D.jsx)(HCe, { animate: r }) : null,- /* @__PURE__ */ (0, D.jsx)(Qve, {+ a === 2 ? /* @__PURE__ */ (0, D.jsx)(UCe, { animate: r }) : null,+ /* @__PURE__ */ (0, D.jsx)($ve, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, D.jsx)($ve, {- "aria-label": GP[a],+ children: /* @__PURE__ */ (0, D.jsx)(eye, {+ "aria-label": WP[a],className: "processing-effort-thumb"})})@@ -46524,8 +46524,8 @@ function YP({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function UCe({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), s = Math.max(0, WP.indexOf(e));+function WCe({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), s = Math.max(0, UP.indexOf(e));return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -46533,28 +46533,28 @@ function UCe({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${GP[s]}`,+ "aria-label": `处理速度:${WP[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: VCe[s],- trailingIcon: wO,+ leadingIcon: HCe[s],+ trailingIcon: CO,onClick: () => {t || o(!a);},- children: GP[s]+ children: WP[s]})- }), /* @__PURE__ */ (0, D.jsx)(UA, {+ }), /* @__PURE__ */ (0, D.jsx)(HA, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: yN,- children: /* @__PURE__ */ (0, D.jsx)(UP, {+ className: vN,+ children: /* @__PURE__ */ (0, D.jsx)(HP, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, D.jsx)(YP, {+ children: /* @__PURE__ */ (0, D.jsx)(JP, {value: e,busy: t,onChange: n,@@ -46565,10 +46565,10 @@ function UCe({ value: e, busy: t, onChange: n, animate: r = !0 }) {}//#endregion//#region src/react/library-processing/processing-controls.tsx-function WCe({ state: e, disabled: t = !1 }) {- let n = ek(), r = NP(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {- t || n.busy || n.run(e.action, (t) => U(jP, e, "POST", t), (e) => {- W.setQueryData(MP, e), W.invalidateQueries({ queryKey: MP });+function GCe({ state: e, disabled: t = !1 }) {+ let n = $O(), r = MP(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {+ t || n.busy || n.run(e.action, (t) => U(AP, e, "POST", t), (e) => {+ W.setQueryData(jP, e), W.invalidateQueries({ queryKey: jP });});};return /* @__PURE__ */ (0, D.jsxs)("div", {@@ -46576,7 +46576,7 @@ function WCe({ state: e, disabled: t = !1 }) {"data-processing-controls": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(UCe, {+ children: [/* @__PURE__ */ (0, D.jsx)(WCe, {value: e.speed_mode || "standard",busy: t || !!n.busy,animate: e.status !== "paused" && e.status !== "pausing",@@ -46589,7 +46589,7 @@ function WCe({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? FO : Yge,+ leadingIcon: e.status === "paused" ? PO : Xge,"aria-label": i,title: i,disabled: t || !e.job_id || e.status === "pausing",@@ -46610,11 +46610,11 @@ function WCe({ state: e, disabled: t = !1 }) {}//#endregion//#region src/react/library-processing/use-library-processing.ts-function XP({ toast: e, mode: t, monitor: n }) {+function YP({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = yt({- queryKey: MP,- queryFn: ({ signal: e }) => FP(e),- refetchInterval: (e) => RP(e.state.data, r)+ queryKey: jP,+ queryFn: ({ signal: e }) => PP(e),+ refetchInterval: (e) => LP(e.state.data, r)}), [a, o] = (0, E.useState)(null), s = (0, E.useRef)(void 0), c = i.data;return (0, E.useEffect)(() => {if (!c) return;@@ -46624,8 +46624,8 @@ function XP({ toast: e, mode: t, monitor: n }) {"running","pausing","paused"- ].includes(n) && !NP(c);- r && o(c), (r || t === "notice") && zCe(c, e, r);+ ].includes(n) && !MP(c);+ r && o(c), (r || t === "notice") && BCe(c, e, r);}, [c,t,@@ -46638,27 +46638,27 @@ function XP({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/components/task-progress.tsx-function ZP({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function XP({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : GO({+ className: r ? "flex flex-col gap-1.5" : WO({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)($O, {+ children: n && n > 0 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(QO, {label: e,value: t,max: n}), /* @__PURE__ */ (0, D.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, D.jsx)(XO, { label: e })+ })] }) : /* @__PURE__ */ (0, D.jsx)(YO, { label: e })});}//#endregion//#region src/react/library-processing/processing-line.tsx-function QP(e) {+function ZP(e) {let [t, n] = (0, E.useState)({snapshot: e,seconds: 0@@ -46674,17 +46674,17 @@ function QP(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return ICe(a ? {+ return LCe(a ? {...e,waited_seconds: r + a} : e);}-function GCe({ state: e }) {- return QP(e);-}function KCe({ state: e }) {- let t = QP(e);- return /* @__PURE__ */ (0, D.jsx)(ZP, {+ return ZP(e);+}+function qCe({ state: e }) {+ let t = ZP(e);+ return /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -46693,7 +46693,7 @@ function KCe({ state: e }) {}//#endregion//#region src/react/components/collapse-region.tsx-function $P({ open: e, children: t, ...n }) {+function QP({ open: e, children: t, ...n }) {let r = (0, E.useRef)(null), i = (0, E.useRef)(!1);return (0, E.useLayoutEffect)(() => {let t = r.current;@@ -46704,7 +46704,7 @@ function $P({ open: e, children: t, ...n }) {children: t});}-function eF(e) {+function $P(e) {return /* @__PURE__ */ (0, D.jsx)("svg", {...e,"aria-hidden": !0,@@ -46720,13 +46720,13 @@ function eF(e) {}//#endregion//#region src/react/library-processing/processing-traffic.tsx-var tF = (e) => pn(e).replace(/\s/g, ""), nF = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : tF(e), qCe = (e, t) => {- if (e === t) return tF(t);+var eF = (e) => pn(e).replace(/\s/g, ""), tF = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : eF(e), JCe = (e, t) => {+ if (e === t) return eF(t);let [n, r] = pn(e).split(" "), [i, a] = pn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${tF(e)}-${tF(t)}`;-}, rF = (e, t, n) => e === void 0 ? qCe(t, n) : `${e > 0 ? "约 " : ""}${tF(e)}`;-function iF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = KO(), [a, o] = (0, E.useState)(!1), s = (0, E.useId)(), c = n ?? a;+ return r === a ? `${n}-${i}${a}` : `${eF(e)}-${eF(t)}`;+}, nF = (e, t, n) => e === void 0 ? JCe(t, n) : `${e > 0 ? "约 " : ""}${eF(e)}`;+function rF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = GO(), [a, o] = (0, E.useState)(!1), s = (0, E.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, D.jsxs)("div", {@@ -46763,25 +46763,25 @@ function iF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, D.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(Vge, {+ children: [/* @__PURE__ */ (0, D.jsx)(Hge, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: rF(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: nF(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, D.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- rF(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ nF(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, D.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, D.jsxs)("span", { children: [e.partial ? "约 " : "", tF(e.used_bytes)] }),+ /* @__PURE__ */ (0, D.jsxs)("span", { children: [e.partial ? "约 " : "", eF(e.used_bytes)] })," · 代理 ",- tF(e.metered_used_bytes)+ eF(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, D.jsxs)("section", {@@ -46790,25 +46790,25 @@ function iF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, D.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(o_e, {+ children: [/* @__PURE__ */ (0, D.jsx)(s_e, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, D.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", tF(e.disk.estimated_bytes)]+ children: ["约 ", eF(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, D.jsxs)("p", { children: ["抽帧临时文件约 ", nF(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, D.jsxs)("p", { children: ["抽帧临时文件约 ", tF(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : tF(e.free_bytes)+ e.free_bytes == null ? "未取得" : eF(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, D.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", tF(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", eF(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, D.jsx)("p", {@@ -46824,7 +46824,7 @@ function iF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? Sge : wO,+ trailingIcon: c ? Cge : CO,onClick: () => {o(!c), r?.(!c);},@@ -46843,12 +46843,12 @@ function iF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, D.jsx)(Dk, {+ children: [e.root ? /* @__PURE__ */ (0, D.jsx)(Ek, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, D.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46870,7 +46870,7 @@ function iF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- nF(e.workload.metadata_average_bytes || 0),+ tF(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46880,8 +46880,8 @@ function iF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- tF(e.used_bytes)- ] }), /* @__PURE__ */ (0, D.jsxs)("span", { children: ["预计 ", rF(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ eF(e.used_bytes)+ ] }), /* @__PURE__ */ (0, D.jsxs)("span", { children: ["预计 ", nF(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46893,15 +46893,15 @@ function iF({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var aF = "peach.library-processing.collapsed";-function oF(e) {+var iF = "peach.library-processing.collapsed";+function aF(e) {try {- return !e || sessionStorage.getItem(aF) !== e;+ return !e || sessionStorage.getItem(iF) !== e;} catch {return !0;}}-function JCe({ value: e, max: t }) {+function YCe({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, D.jsxs)("svg", {role: "progressbar",@@ -46931,14 +46931,14 @@ function JCe({ value: e, max: t }) {})]});}-function sF({ state: e, problem: t = "", measure: n = !1 }) {- let [r, i] = (0, E.useState)(() => oF(e?.job_id)), a = (0, E.useId)(), [o, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = e?.status === "failed", u = NP(e);+function oF({ state: e, problem: t = "", measure: n = !1 }) {+ let [r, i] = (0, E.useState)(() => aF(e?.job_id)), a = (0, E.useId)(), [o, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = e?.status === "failed", u = MP(e);(0, E.useEffect)(() => {- i(oF(e?.job_id)), s(!1);+ i(aF(e?.job_id)), s(!1);}, [e?.job_id]);let d = () => {try {- r && e?.job_id ? sessionStorage.setItem(aF, e.job_id) : sessionStorage.removeItem(aF);+ r && e?.job_id ? sessionStorage.setItem(iF, e.job_id) : sessionStorage.removeItem(iF);} catch {}r && s(!1), i(!r);};@@ -46960,20 +46960,20 @@ function sF({ state: e, problem: t = "", measure: n = !1 }) {"data-processing-tone": l ? "error" : f ? "warning" : "neutral","aria-label": "扫描任务",role: l ? "alert" : "status",- className: hO("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ className: mO("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- u && e?.total ? /* @__PURE__ */ (0, D.jsx)(JCe, {+ u && e?.total ? /* @__PURE__ */ (0, D.jsx)(YCe, {value: e.checked || 0,max: e.total- }) : l || f ? /* @__PURE__ */ (0, D.jsx)(Mge, {+ }) : l || f ? /* @__PURE__ */ (0, D.jsx)(Nge, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, D.jsx)(Wge, {+ }) : /* @__PURE__ */ (0, D.jsx)(Gge, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -46985,14 +46985,14 @@ function sF({ state: e, problem: t = "", measure: n = !1 }) {}), u ? /* @__PURE__ */ (0, D.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: PP(e)+ children: NP(e)}) : null]}),/* @__PURE__ */ (0, D.jsx)(q, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: eF,+ leadingIcon: $P,"data-processing-toggle": "","data-collapse-upward": "","aria-label": r ? "收起任务详情" : "展开任务详情",@@ -47001,20 +47001,20 @@ function sF({ state: e, problem: t = "", measure: n = !1 }) {onClick: d})]- }), /* @__PURE__ */ (0, D.jsx)(iF, {+ }), /* @__PURE__ */ (0, D.jsx)(rF, {traffic: e?.traffic,detailsOpen: o,onDetailsChange: s})]}),- /* @__PURE__ */ (0, D.jsx)($P, {+ /* @__PURE__ */ (0, D.jsx)(QP, {id: a,open: r,"data-processing-body": "",children: /* @__PURE__ */ (0, D.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, D.jsxs)("div", {- className: hO("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),+ className: mO("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, D.jsx)("ol", {"aria-label": "处理步骤",@@ -47022,14 +47022,14 @@ function sF({ state: e, problem: t = "", measure: n = !1 }) {children: e.steps.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: hO("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: mO("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [- e.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(Oge, {+ e.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(kge, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, D.jsx)(kge, {+ }) : /* @__PURE__ */ (0, D.jsx)(Age, {"aria-hidden": !0,- className: hO("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: mO("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),/* @__PURE__ */ (0, D.jsx)(ux, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, D.jsx)("s", {@@ -47044,7 +47044,7 @@ function sF({ state: e, problem: t = "", measure: n = !1 }) {}) : null,/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, D.jsx)(GCe, { state: e }))+ children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, D.jsx)(KCe, { state: e }))}),u && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, D.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -47060,13 +47060,13 @@ function sF({ state: e, problem: t = "", measure: n = !1 }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",- children: [/* @__PURE__ */ (0, D.jsx)(WO, {+ children: [/* @__PURE__ */ (0, D.jsx)(UO, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: TO,+ trailingIcon: wO,children: t || l ? "打开扫描与采集" : "任务详情"- }), u ? /* @__PURE__ */ (0, D.jsx)(WCe, {+ }), u ? /* @__PURE__ */ (0, D.jsx)(GCe, {state: e,disabled: !!t}) : null]@@ -47074,32 +47074,32 @@ function sF({ state: e, problem: t = "", measure: n = !1 }) {]});}-function YCe(e) {- let { job: t } = XP(e);- return /* @__PURE__ */ (0, D.jsx)(sF, {+function XCe(e) {+ let { job: t } = YP(e);+ return /* @__PURE__ */ (0, D.jsx)(oF, {state: t.data,- problem: t.isError ? t.data ? LP : V(t.error) : ""+ problem: t.isError ? t.data ? IP : V(t.error) : ""});}//#endregion//#region src/react/library-processing/library-processing-dock.tsx-var cF = "peach-library-processing";-function XCe({ toast: e }) {- let { job: t, settled: n } = XP({+var sF = "peach-library-processing";+function ZCe({ toast: e }) {+ let { job: t, settled: n } = YP({toast: e,mode: "notice"- }), r = (0, E.useRef)(""), i = t.data, a = t.isError ? i ? LP : V(t.error) : "";+ }), r = (0, E.useRef)(""), i = t.data, a = t.isError ? i ? IP : V(t.error) : "";return (0, E.useEffect)(() => {- let e = NP(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || VP(i));- !e && (!a && !o || r.current === t) ? TP.dismiss(cF) : TP.custom(() => /* @__PURE__ */ (0, D.jsx)("div", {+ let e = MP(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || BP(i));+ !e && (!a && !o || r.current === t) ? wP.dismiss(sF) : wP.custom(() => /* @__PURE__ */ (0, D.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, D.jsx)(sF, {+ children: /* @__PURE__ */ (0, D.jsx)(oF, {state: i,problem: a,measure: !0})}), {- id: cF,+ id: sF,toasterId: "processing",duration: Infinity,dismissible: !e,@@ -47114,20 +47114,20 @@ function XCe({ toast: e }) {a,n]), (0, E.useEffect)(() => () => {- TP.dismiss(cF);+ wP.dismiss(sF);}, []), null;}//#endregion//#region src/react/network-banner.tsx-var ZCe = ["network-status"], QCe = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function $Ce(e) {+var QCe = ["network-status"], $Ce = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function ewe(e) {return e?.state === "online" ? 12e4 : 3e4;}-function ewe() {+function twe() {let e = yt({- queryKey: ZCe,+ queryKey: QCe,queryFn: ({ signal: e }) => H("/api/network-status", e),- refetchInterval: (e) => $Ce(e.state.data),+ refetchInterval: (e) => ewe(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, St.createPortal)(/* @__PURE__ */ (0, D.jsxs)("aside", {@@ -47138,7 +47138,7 @@ function ewe() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, D.jsx)("p", { children: QCe })] }), /* @__PURE__ */ (0, D.jsx)("a", {+ }), /* @__PURE__ */ (0, D.jsx)("p", { children: $Ce })] }), /* @__PURE__ */ (0, D.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]@@ -47146,21 +47146,21 @@ function ewe() {}//#endregion//#region src/react/router/pages/settings.tsx-function twe() {- let e = (0, E.useContext)(pF), { pathname: t } = oN();+function nwe() {+ let e = (0, E.useContext)(fF), { pathname: t } = aN();return (0, E.useEffect)(() => {- e?.openSettings?.(MN(t));+ e?.openSettings?.(jN(t));}, [e, t]), (0, E.useEffect)(() => () => {queueMicrotask(() => {- jN(_P.navigation.location.pathname) || e?.closeSettings?.();+ AN(gP.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}//#endregion//#region src/react/router/pages/overlay.tsx-var lF = () => pl, nwe = () => ml;-function rwe() {- let e = (0, E.useContext)(pF), t = (0, E.useSyncExternalStore)(wl, nwe), n = (0, E.useSyncExternalStore)(wl, lF);+var cF = () => pl, rwe = () => ml;+function iwe() {+ let e = (0, E.useContext)(fF), t = (0, E.useSyncExternalStore)(wl, rwe), n = (0, E.useSyncExternalStore)(wl, cF);return (0, E.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -47175,11 +47175,11 @@ function rwe() {e]), null;}-function uF(e, t = !1) {- let n = (0, E.useSyncExternalStore)(wl, lF), r = (0, E.useRef)(void 0);+function lF(e, t = !1) {+ let n = (0, E.useSyncExternalStore)(wl, cF), r = (0, E.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = _P.navigation;- r.current = pl === 0 || yP() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = gP.navigation;+ r.current = pl === 0 || vP() ? "boot" : e && !t ? null : "history";}let i = (0, E.useRef)(e);(0, E.useEffect)(() => {@@ -47195,22 +47195,22 @@ function uF(e, t = !1) {}));}, [n]);}-function iwe() {- let e = (0, E.useContext)(pF), t = (0, E.useRef)(e);+function awe() {+ let e = (0, E.useContext)(fF), t = (0, E.useRef)(e);return (0, E.useLayoutEffect)(() => {t.current = e;- }, [e]), uF((t) => {- let n = _P.navigation.location, { pathname: r, search: i } = jN(n.pathname) && PN(n.state) || n, a = LN(r, i);- e && a && (UN(), t || $Se(_P.navigation.location.state), e.openOverlay(a));+ }, [e]), lF((t) => {+ let n = gP.navigation.location, { pathname: r, search: i } = AN(n.pathname) && NN(n.state) || n, a = IN(r, i);+ e && a && (HN(), t || eCe(gP.navigation.location.state), e.openOverlay(a));}, !0), (0, E.useEffect)(() => () => {queueMicrotask(() => {- RN(_P.navigation.location.pathname) || t.current?.closeStage();+ LN(gP.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function awe({ path: e }) {- fF();- let { location: t, seq: n, action: r } = _P.navigation, i = jN(t.pathname) ? PN(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, E.useRef)({+function owe({ path: e }) {+ dF();+ let { location: t, seq: n, action: r } = gP.navigation, i = AN(t.pathname) ? NN(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, E.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -47221,162 +47221,162 @@ function awe({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, D.jsx)(iwe, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, D.jsx)(awe, {}, `${e} ${o.current.seq}`);}-function owe() {- let e = (0, E.useContext)(pF);- return uF(() => {+function swe() {+ let e = (0, E.useContext)(fF);+ return lF(() => {e?.follow?.ground();}), null;}-function swe() {- return /* @__PURE__ */ (0, D.jsx)(owe, {}, fF());+function cwe() {+ return /* @__PURE__ */ (0, D.jsx)(swe, {}, dF());}//#endregion//#region src/react/router/router.tsx-var dF = (0, E.createContext)(0), fF = () => (0, E.useContext)(dF), pF = (0, E.createContext)(null);-function cwe({ children: e }) {- let [t, n] = (0, E.useState)(() => _P.navigation);- return (0, E.useLayoutEffect)(() => (n(_P.navigation), _P.listen((e) => {+var uF = (0, E.createContext)(0), dF = () => (0, E.useContext)(uF), fF = (0, E.createContext)(null);+function lwe({ children: e }) {+ let [t, n] = (0, E.useState)(() => gP.navigation);+ return (0, E.useLayoutEffect)(() => (n(gP.navigation), gP.listen((e) => {(0, St.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, D.jsx)(dF.Provider, {+ })), []), /* @__PURE__ */ (0, D.jsx)(uF.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, D.jsx)(VSe, {+ children: /* @__PURE__ */ (0, D.jsx)(HSe, {location: t.location,navigationType: t.action,- navigator: _P,+ navigator: gP,children: e})});}-function lwe({ target: e }) {- let t = ESe();+function uwe({ target: e }) {+ let t = DSe();return (0, E.useLayoutEffect)(() => {e.current = t;}), null;}-function uwe(e, t, n) {+function dwe(e, t, n) {let r = new URL(e, window.location.href);g5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function dwe() {- let e = (0, E.useContext)(pF), [t, n] = (0, E.useState)(iP), r = (0, E.useRef)(null);- (0, E.useLayoutEffect)(() => (n(iP()), tCe((e, t) => {+function fwe() {+ let e = (0, E.useContext)(fF), [t, n] = (0, E.useState)(rP), r = (0, E.useRef)(null);+ (0, E.useLayoutEffect)(() => (n(rP()), nCe((e, t) => {t ? (0, St.flushSync)(() => n(e)) : n(e);})), []);let i = (0, E.useMemo)(() => (t) => {- e && r.current && uwe(t, e, r.current);+ e && r.current && dwe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(lwe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, D.jsx)(fwe, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(uwe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, D.jsx)(pwe, {entry: t,- children: /* @__PURE__ */ (0, D.jsx)(pwe, {+ children: /* @__PURE__ */ (0, D.jsx)(mwe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var fwe = class extends E.Component {+var pwe = class extends E.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- iCe(this.props.entry.container, this.props.entry.revision);+ aCe(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, pwe = (0, E.memo)(function({ entry: e, actions: t, go: n }) {- return Z_t(e.path) ? (0, St.createPortal)(evt(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, mwe = (0, E.memo)(function({ entry: e, actions: t, go: n }) {+ return rvt(e.path) ? (0, St.createPortal)(ovt(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function mwe({ children: e }) {- let t = oN();- fF();- let n = bP(), r = jN(t.pathname) && !yP() ? PN(t.state) : null;+function hwe({ children: e }) {+ let t = aN();+ dF();+ let n = yP(), r = AN(t.pathname) && !vP() ? NN(t.state) : null;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsxs)(mN, {+ /* @__PURE__ */ (0, D.jsxs)(pN, {location: n ?? t,children: [- Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(pN, {+ Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,element: t.element}, e)),- Object.entries(V_t).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(pN, {+ Object.entries(q_t).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,element: t.element}, e)),- Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(pN, {+ Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,element: t.element}, e)),- Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(pN, {+ Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,element: t.element}, e)),- Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(pN, {+ Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,element: t.element}, e)),- X_t.map((e) => /* @__PURE__ */ (0, D.jsx)(pN, {+ nvt.map((e) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,element: S5["/"].element}, e)),- Object.entries(H_t).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(pN, {+ Object.entries(J_t).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,element: t.element}, e)),- FN.map((e) => /* @__PURE__ */ (0, D.jsx)(pN, {+ PN.map((e) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, D.jsx)(swe, {}) : S5["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, D.jsx)(cwe, {}) : S5["/"].element}, e)),- AN.map((e) => /* @__PURE__ */ (0, D.jsx)(pN, {+ kN.map((e) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,element: null}, e)),- /* @__PURE__ */ (0, D.jsx)(pN, {+ /* @__PURE__ */ (0, D.jsx)(fN, {path: "*",element: e})]}),- /* @__PURE__ */ (0, D.jsxs)(mN, {+ /* @__PURE__ */ (0, D.jsxs)(pN, {location: r ?? t,- children: [FN.map((e) => /* @__PURE__ */ (0, D.jsx)(pN, {+ children: [PN.map((e) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,- element: /* @__PURE__ */ (0, D.jsx)(awe, { path: e })- }, e)), /* @__PURE__ */ (0, D.jsx)(pN, {+ element: /* @__PURE__ */ (0, D.jsx)(owe, { path: e })+ }, e)), /* @__PURE__ */ (0, D.jsx)(fN, {path: "*",element: null})]}),- /* @__PURE__ */ (0, D.jsxs)(mN, { children: [AN.map((e) => /* @__PURE__ */ (0, D.jsx)(pN, {+ /* @__PURE__ */ (0, D.jsxs)(pN, { children: [kN.map((e) => /* @__PURE__ */ (0, D.jsx)(fN, {path: e,- element: /* @__PURE__ */ (0, D.jsx)(twe, {})- }, e)), /* @__PURE__ */ (0, D.jsx)(pN, {+ element: /* @__PURE__ */ (0, D.jsx)(nwe, {})+ }, e)), /* @__PURE__ */ (0, D.jsx)(fN, {path: "*",element: null})] })] });}-function hwe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, D.jsxs)(SP, { children: [n, /* @__PURE__ */ (0, D.jsx)(pF.Provider, {+function gwe({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, D.jsxs)(xP, { children: [n, /* @__PURE__ */ (0, D.jsx)(fF.Provider, {value: t,- children: /* @__PURE__ */ (0, D.jsxs)(cwe, { children: [- /* @__PURE__ */ (0, D.jsx)(dwe, {}),- /* @__PURE__ */ (0, D.jsx)(rwe, {}),- r && t ? /* @__PURE__ */ (0, D.jsx)(XCe, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, D.jsx)(ewe, {}) : null,- /* @__PURE__ */ (0, D.jsx)(mwe, { children: e })+ children: /* @__PURE__ */ (0, D.jsxs)(lwe, { children: [+ /* @__PURE__ */ (0, D.jsx)(fwe, {}),+ /* @__PURE__ */ (0, D.jsx)(iwe, {}),+ r && t ? /* @__PURE__ */ (0, D.jsx)(ZCe, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, D.jsx)(twe, {}) : null,+ /* @__PURE__ */ (0, D.jsx)(hwe, { children: e })] })})] });}-var gwe = { onCaughtError: (e) => {+var _we = { onCaughtError: (e) => {globalThis.reportError?.(e);} };//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function _we(e, t, n) {+function vwe(e, t, n) {(0, E.useEffect)(() => {if (!e) return;let r = (e) => {@@ -47390,7 +47390,7 @@ function _we(e, t, n) {n]);}-function vwe(e, t) {+function ywe(e, t) {let n = (0, E.useRef)(!1);return (0, E.useEffect)(() => {if (!e) return;@@ -47404,33 +47404,33 @@ function vwe(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var mF = (0, E.createContext)("md");-function hF({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var pF = (0, E.createContext)("md");+function mF({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, E.useRef)(null), u = (0, E.useRef)(null), [d, f] = (0, E.useState)(!1);- _we(d, () => f(!1), [l, u]);- let p = vwe(d, l);- return /* @__PURE__ */ (0, D.jsx)(ybe, {+ vwe(d, () => f(!1), [l, u]);+ let p = ywe(d, l);+ return /* @__PURE__ */ (0, D.jsx)(bbe, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: hO("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(iA, {+ className: mO("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(rA, {ref: l,- className: hO("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, D.jsx)(Sbe, {- className: hO("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: mO("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ children: [/* @__PURE__ */ (0, D.jsx)(Cbe, {+ className: mO("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, D.jsx)(USe, { className: hO("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, D.jsx)(UA, {+ }), /* @__PURE__ */ (0, D.jsx)(WSe, { className: mO("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, D.jsx)(HA, {ref: u,isNonModal: !0,offset: 4,- className: hO(KSe, yN, "p-2", n),- children: /* @__PURE__ */ (0, D.jsx)(Vye, {+ className: mO(qSe, vN, "p-2", n),+ children: /* @__PURE__ */ (0, D.jsx)(Hye, {items: a,- className: hO(qSe, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, D.jsx)(mF.Provider, {+ className: mO(JSe, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, D.jsx)(pF.Provider, {value: r,children: i})@@ -47438,24 +47438,24 @@ function hF({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function gF({ className: e, children: t, ...n }) {- let r = (0, E.useContext)(mF);- return /* @__PURE__ */ (0, D.jsx)(Wye, {+function hF({ className: e, children: t, ...n }) {+ let r = (0, E.useContext)(pF);+ return /* @__PURE__ */ (0, D.jsx)(Gye, {...n,- className: (t) => hO(bN, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),+ className: (t) => mO(yN, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/catalog-folders/catalog-folders.ts-var _F = {+var gF = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function vF(e, t = "", n = "") {+function _F(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -47467,15 +47467,15 @@ function vF(e, t = "", n = "") {queryFn: ({ signal: e }) => H(`/api/folders?${r}`, e)};}-function yF(e, t) {+function vF(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");}//#endregion//#region src/react/catalog-folders/folder-rule-dialog.tsx-function ywe({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, E.useContext)(pF), a = ek(), [o, s] = (0, E.useState)(t?.purpose || "category"), [c, l] = (0, E.useState)(t?.name || ""), [u, d] = (0, E.useState)(t?.recursive ?? !0), [f, p] = (0, E.useState)(t?.future ?? !1), [m, h] = (0, E.useState)(null), [g, _] = (0, E.useState)(!1), v = {+function bwe({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, E.useContext)(fF), a = $O(), [o, s] = (0, E.useState)(t?.purpose || "category"), [c, l] = (0, E.useState)(t?.name || ""), [u, d] = (0, E.useState)(t?.recursive ?? !0), [f, p] = (0, E.useState)(t?.future ?? !1), [m, h] = (0, E.useState)(null), [g, _] = (0, E.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -47504,7 +47504,7 @@ function ywe({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: Go(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, D.jsx)(aM, {+ return g ? null : /* @__PURE__ */ (0, D.jsx)(iM, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -47518,7 +47518,7 @@ function ywe({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, D.jsx)(aA, {+ children: [/* @__PURE__ */ (0, D.jsx)(iA, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -47526,7 +47526,7 @@ function ywe({ folder: e, rule: t, revision: n, close: r }) {className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",children: e.path})]- }), /* @__PURE__ */ (0, D.jsx)(lM, {+ }), /* @__PURE__ */ (0, D.jsx)(cM, {label: "关闭目录用途",onPress: () => {w || r();@@ -47538,20 +47538,20 @@ function ywe({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(Qj, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, D.jsx)(hF, {+ children: [/* @__PURE__ */ (0, D.jsx)(Zj, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(_F).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: Object.entries(gF).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, D.jsx)(iM, {+ o === "category" ? null : /* @__PURE__ */ (0, D.jsx)(rM, {label: "关联名称",value: c,onChange: (e) => {@@ -47562,7 +47562,7 @@ function ywe({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, D.jsx)(EN, {+ /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -47570,7 +47570,7 @@ function ywe({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, D.jsx)(EN, {+ /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -47609,7 +47609,7 @@ function ywe({ folder: e, rule: t, revision: n, close: r }) {}) : null,m.conflicts.length ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "warning",- extra: /* @__PURE__ */ (0, D.jsx)(mk, {+ extra: /* @__PURE__ */ (0, D.jsx)(pk, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, D.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -47674,7 +47674,7 @@ function ywe({ folder: e, rule: t, revision: n, close: r }) {}//#endregion//#region src/react/catalog-folders/use-folder-sticky-offset.ts-function bwe(e, t) {+function xwe(e, t) {(0, E.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -47698,35 +47698,35 @@ function bwe(e, t) {}//#endregion//#region src/react/catalog-folders/catalog-folders-page.tsx-function bF() {- return aN() ? /* @__PURE__ */ (0, D.jsx)(xwe, {}) : null;+function yF() {+ return iN() ? /* @__PURE__ */ (0, D.jsx)(Swe, {}) : null;}-function xwe() {- let e = oN(), t = (0, E.useContext)(pF);+function Swe() {+ let e = aN(), t = (0, E.useContext)(fF);if (!Yt(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, D.jsx)(Lk, {+ return /* @__PURE__ */ (0, D.jsx)(Ik, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: MO,- onClick: () => t?.navigate(yF(e, r ? {+ icon: jO,+ onClick: () => t?.navigate(vF(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function Swe({ children: e, enabled: t }) {- return aN() ? /* @__PURE__ */ (0, D.jsx)(Cwe, {+function Cwe({ children: e, enabled: t }) {+ return iN() ? /* @__PURE__ */ (0, D.jsx)(wwe, {enabled: t,children: e}) : /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: e });}-function Cwe({ children: e, enabled: t }) {- let [n, r] = (0, E.useState)(null), [i, a] = (0, E.useState)(null), o = oN(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+function wwe({ children: e, enabled: t }) {+ let [n, r] = (0, E.useState)(null), [i, a] = (0, E.useState)(null), o = aN(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, D.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -47745,7 +47745,7 @@ function Cwe({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, D.jsx)(xF, {+ n && i ? /* @__PURE__ */ (0, D.jsx)(bF, {treeTarget: n,headerTarget: i,enabled: t@@ -47753,14 +47753,14 @@ function Cwe({ children: e, enabled: t }) {]});}-function xF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = oN(), i = (0, E.useContext)(pF), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function bF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = aN(), i = (0, E.useContext)(fF), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- bwe(o, e);+ xwe(o, e);let c = a.get("folder") || "", l = yt({- ...vF(s, c),+ ..._F(s, c),enabled: o}), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, E.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -47774,11 +47774,11 @@ function xF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {d(!1), p(!1);}, [c, o]), !o || !m || !h || !i) return null;let g = (e) => {- d(!1), i.navigate(yF(r, {+ d(!1), i.navigate(vF(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, D.jsx)(Twe, {+ }, _ = l.data, v = /* @__PURE__ */ (0, D.jsx)(Ewe, {scope: s,selected: c,current: _,@@ -47795,21 +47795,21 @@ function xF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, D.jsx)(Lk, {+ children: /* @__PURE__ */ (0, D.jsx)(Ik, {"aria-label": "打开文件夹目录",- icon: Zge,+ icon: Qge,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, D.jsxs)(GSe, {+ /* @__PURE__ */ (0, D.jsxs)(KSe, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, D.jsx)(_N, {+ children: [/* @__PURE__ */ (0, D.jsx)(gN, {current: !c,onClick: () => g(""),- icon: MO,+ icon: jO,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, D.jsx)(_N, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, D.jsx)(gN, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, D.jsx)("span", {@@ -47819,9 +47819,9 @@ function xF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, D.jsx)(Lk, {+ _?.selected ? /* @__PURE__ */ (0, D.jsx)(Ik, {"aria-label": "设置目录用途",- icon: Bge,+ icon: Vge,size: "small",onClick: () => p(!0)}) : null@@ -47851,14 +47851,14 @@ function xF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, D.jsx)(EN, {+ children: [/* @__PURE__ */ (0, D.jsx)(TN, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(yF(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(vF(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${_F[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${gF[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, D.jsx)("div", {@@ -47868,13 +47868,13 @@ function xF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, D.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, D.jsx)(wwe, {+ _?.children.length ? /* @__PURE__ */ (0, D.jsx)(Twe, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, D.jsxs)(aM, {+ /* @__PURE__ */ (0, D.jsxs)(iM, {isOpen: u,onOpenChange: d,width: "form",@@ -47884,7 +47884,7 @@ function xF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, D.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, D.jsx)(lM, {+ }), /* @__PURE__ */ (0, D.jsx)(cM, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -47893,7 +47893,7 @@ function xF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, D.jsx)(ywe, {+ f && _?.selected ? /* @__PURE__ */ (0, D.jsx)(bwe, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -47901,7 +47901,7 @@ function xF({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function wwe({ nodes: e, go: t }) {+function Twe({ nodes: e, go: t }) {let [n, r] = (0, E.useState)(!1), i = (0, E.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47912,7 +47912,7 @@ function wwe({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: MO,+ leadingIcon: jO,onClick: () => t(e.id),children: /* @__PURE__ */ (0, D.jsx)("span", {className: "truncate",@@ -47929,28 +47929,28 @@ function wwe({ nodes: e, go: t }) {}) : null]});}-function Twe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = yt(vF(e)), [o, s] = (0, E.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, E.useState)(""), u = (0, E.useDeferredValue)(c), d = yt({- ...vF(e, "", u),+function Ewe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = yt(_F(e)), [o, s] = (0, E.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, E.useState)(""), u = (0, E.useDeferredValue)(c), d = yt({+ ..._F(e, "", u),enabled: !!u.trim()- }), f = KO();+ }), f = GO();(0, E.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = _t({ queries: p.map((t) => vF(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = _t({ queries: p.map((t) => _F(e, t)) }), h = /* @__PURE__ */ new Map();m.forEach((e, t) => {e.data && h.set(p[t], e.data.children);}), n?.selected && h.set(n.selected.id, n.children);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, D.jsx)(SN, {+ return /* @__PURE__ */ (0, D.jsx)(xN, {id: e.id,label: e.name,- icon: MO,- expandedIcon: zge,+ icon: jO,+ expandedIcon: Bge,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, D.jsx)(SN, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, D.jsx)(xN, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -47966,10 +47966,10 @@ function Twe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-label": "文件夹导航",className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: RO,+ leadingIcon: LO,value: c,onChange: l,size: "small"@@ -48015,14 +48015,14 @@ function Twe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: MO,+ leadingIcon: jO,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, D.jsx)(YO, {+ }, e.id)) : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: RO,+ icon: LO,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -48031,7 +48031,7 @@ function Twe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, D.jsx)(JSe, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, D.jsx)(YSe, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -48039,11 +48039,11 @@ function Twe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, D.jsx)(YO, {+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: MO,+ icon: jO,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/settings/library",children: "添加媒体"@@ -48057,54 +48057,54 @@ function Twe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}//#endregion//#region src/react/components/segmented.tsx-function SF(e) {- let t = Rk(HP("selection"));- return /* @__PURE__ */ (0, D.jsx)(Gj, {+function xF(e) {+ let t = Lk(VP("selection"));+ return /* @__PURE__ */ (0, D.jsx)(Wj, {...e,ref: t});}-function CF(e) {- let t = Rk(HP("selection"));- return /* @__PURE__ */ (0, D.jsx)(lj, {+function SF(e) {+ let t = Lk(VP("selection"));+ return /* @__PURE__ */ (0, D.jsx)(cj, {...e,ref: t});}-var wF = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", TF = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Ewe = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", EF = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", DF = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";+var CF = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", wF = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Dwe = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", TF = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", EF = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";//#endregion//#region src/react/catalog-grid/catalog-view-toggle.tsx-function OF() {- let e = ZE();- return /* @__PURE__ */ (0, D.jsxs)(lj, {+function DF() {+ let e = XE();+ return /* @__PURE__ */ (0, D.jsxs)(cj, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: Bfe,+ onChange: Vfe,"data-entity-layout": "",- className: EF,- children: [/* @__PURE__ */ (0, D.jsx)(uj, {+ className: TF,+ children: [/* @__PURE__ */ (0, D.jsx)(lj, {value: "cards","aria-label": "卡片",- className: DF,+ className: EF,"data-glass-segment": "",children: /* @__PURE__ */ (0, D.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, D.jsx)(Kge, {+ children: /* @__PURE__ */ (0, D.jsx)(qge, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, D.jsx)(uj, {+ }), /* @__PURE__ */ (0, D.jsx)(lj, {value: "list","aria-label": "列表",- className: DF,+ className: EF,"data-glass-segment": "",children: /* @__PURE__ */ (0, D.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, D.jsx)(Jge, {+ children: /* @__PURE__ */ (0, D.jsx)(Yge, {"aria-hidden": "true",className: "size-4"})@@ -48114,7 +48114,7 @@ function OF() {}//#endregion//#region src/react/components/icon-swap.tsx-function kF({ a: e, b: t, state: n, className: r }) {+function OF({ a: e, b: t, state: n, className: r }) {let { isFocusVisible: i } = jv();return /* @__PURE__ */ (0, D.jsxs)("span", {"aria-hidden": !0,@@ -48131,115 +48131,115 @@ function kF({ a: e, b: t, state: n, className: r }) {})]});}-function AF({ className: e }) {- return /* @__PURE__ */ (0, D.jsx)(kF, {- a: xge,- b: bge,+function kF({ className: e }) {+ return /* @__PURE__ */ (0, D.jsx)(OF, {+ a: Sge,+ b: xge,className: e});}//#endregion//#region src/react/follow-feed/follow-marks.ts-var jF = (e) => typeof e == "string" ? e : "", MF = (e) => e.aliases;-function NF(e, t = "") {+var AF = (e) => typeof e == "string" ? e : "", jF = (e) => e.aliases;+function MF(e, t = "") {let n = si(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function PF(e, t = "") {+function NF(e, t = "") {let n = B(br(t || e)), r = si(e);return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;}-var FF = (e) => jF(e.title).trim() || "未命名内容", IF = (e, t) => yr(e, MF(t));-function LF(e) {+var PF = (e) => AF(e.title).trim() || "未命名内容", FF = (e, t) => yr(e, jF(t));+function IF(e) {let t = e.filter((e) => e.entity_id && e.entity_name);if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";- let n = t[0], r = jF(n.entity_name);+ let n = t[0], r = AF(n.entity_name);return Ot("creator", r, n.entity_id), r;}-function RF(e, t) {+function LF(e, t) {let { src: n, fallback: r } = xr(e), i = br(t);if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;let a = r ? ` data-fallbacks="${B(r)}"` : "";return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;}-function zF(e, t, n) {- let r = MF(n), i = e.credit, a = i?.poster;+function RF(e, t, n) {+ let r = jF(n), i = e.credit, a = i?.poster;if (!a) {let n = yr(t, r);return {- author: n || jF(e.author) || jF(e.source_label) || "创作者未取得",- avatar: RF(t, n),+ author: n || AF(e.author) || AF(e.source_label) || "创作者未取得",+ avatar: LF(t, n),credited: "",- entityName: LF(t)+ entityName: IF(t)};}let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && yr(c, r) || a;return {author: l,- avatar: RF(c, l),+ avatar: LF(c, l),credited: i.credited || "",- entityName: LF(c)+ entityName: IF(c)};}-function BF(e, t = e.primary) {+function zF(e, t = e.primary) {let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));- let i = jF(e.primary.version);+ let i = AF(e.primary.version);i && n.push(r("version", B(i)));- let a = jF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = AF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function VF(e, t = e.primary) {+function BF(e, t = e.primary) {let n = new Map([e.primary,...e.variants,...e.duplicates].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));if (!n.size) return "";- let r = [...n].map(([e, t]) => NF(e, t) || `<span>${B(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => MF(e, t) || `<span>${B(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function HF(e, t) {- let n = jF(e.media_error);+function VF(e, t) {+ let n = AF(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var Dwe = 864e5, Owe = (e, t) => {+var Owe = 864e5, kwe = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > Dwe;+ return Number.isFinite(n) && n - t > Owe;};-function UF(e, t) {- let n = jF(e.published_at);+function HF(e, t) {+ let n = AF(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = zn(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: Owe(n, t) ? " · 晚于现在" : ""+ suffix: kwe(n, t) ? " · 晚于现在" : ""};}-function WF(e, t = Date.now()) {- let n = UF(e, t);+function UF(e, t = Date.now()) {+ let n = HF(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function kwe(e, t = Date.now()) {- let n = UF(e, t);+function Awe(e, t = Date.now()) {+ let n = HF(e, t);if (!n) return "时间未取得";if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);return `${n.prefix}${r}${n.suffix}`;}-var GF = /* @__PURE__ */ new Set(), KF = [], qF = null;-function JF() {- if (qF = null, !KF.length) return;- let e = KF.splice(0, 200);+var WF = /* @__PURE__ */ new Set(), GF = [], KF = null;+function qF() {+ if (KF = null, !GF.length) return;+ let e = GF.splice(0, 200);Ut("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), KF.length && (qF = setTimeout(JF, 800));+ }).catch(() => {}), GF.length && (KF = setTimeout(qF, 800));}-function Awe(e, t, n, r) {+function jwe(e, t, n, r) {let i = `${e}:${t ?? ""}`;- GF.has(i) || (GF.add(i), KF.push(t === null ? {+ WF.has(i) || (WF.add(i), GF.push(t === null ? {item: e,width: n,height: r@@ -48248,26 +48248,26 @@ function Awe(e, t, n, r) {width: n,height: r,media: t- }), qF ||= setTimeout(JF, 800));+ }), KF ||= setTimeout(qF, 800));}//#endregion//#region src/react/entity-filter/entity-filter.ts-var jwe = (e) => e === "videos", YF = () => /* @__PURE__ */ (0, D.jsx)("span", {+var Mwe = (e) => e === "videos", JF = () => /* @__PURE__ */ (0, D.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), Mwe = cM("shuffle"), Nwe = cM("arrow-up"), Pwe = cM("arrow-down");-function Fwe(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = jwe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), Nwe = sM("shuffle"), Pwe = sM("arrow-up"), Fwe = sM("arrow-down");+function Iwe(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Mwe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t- })) : i, m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = (0, E.useRef)(null), _ = (0, E.useRef)(null), v = (0, E.useRef)(null), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = Uk(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = Uk(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, E.useRef)(null), w = (0, E.useRef)(null), T = u?.mediaCounts ? u : null, O = Uk(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = (0, E.useRef)(null), _ = (0, E.useRef)(null), v = (0, E.useRef)(null), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = Hk(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = Hk(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, E.useRef)(null), w = (0, E.useRef)(null), T = u?.mediaCounts ? u : null, O = Hk(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, E.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(XF, {+ }, [c]), /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(YF, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, D.jsx)(Bk, {+ }), /* @__PURE__ */ (0, D.jsx)(zk, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -48296,19 +48296,19 @@ function Fwe(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- n ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(zwe, {+ n ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Bwe, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, D.jsx)(YF, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Lwe, {+ }), d ? /* @__PURE__ */ (0, D.jsx)(JF, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Rwe, {head: T,row: w,glide: O,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, D.jsx)(YF, {})] }) : null,+ }), /* @__PURE__ */ (0, D.jsx)(JF, {})] }) : null,/* @__PURE__ */ (0, D.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -48329,11 +48329,11 @@ function Fwe(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, D.jsx)(YF, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, D.jsx)(JF, {}) : null]}), /* @__PURE__ */ (0, D.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, D.jsxs)(Vk, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, D.jsxs)(Bk, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -48342,17 +48342,17 @@ function Fwe(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, D.jsx)(Rwe, {+ }, e.k)) : u ? /* @__PURE__ */ (0, D.jsx)(zwe, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, D.jsx)(Bwe, { ...e })+ bottom: /* @__PURE__ */ (0, D.jsx)(Vwe, { ...e })})] });}-var Iwe = [[+var Lwe = [["videos","视频","play",@@ -48363,7 +48363,7 @@ var Iwe = [["pics","image"]];-function Lwe({ head: e, row: t, glide: n, onMedia: r }) {+function Rwe({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, D.jsx)("div", {ref: t,role: "group",@@ -48371,7 +48371,7 @@ function Lwe({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: Iwe.map(([t, i, a, o]) => {+ children: Lwe.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -48389,7 +48389,7 @@ function Lwe({ head: e, row: t, glide: n, onMedia: r }) {})});}-function Rwe({ head: e, actions: t }) {+function zwe({ head: e, actions: t }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -48399,10 +48399,10 @@ function Rwe({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: NF(n) }+ dangerouslySetInnerHTML: { __html: MF(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, D.jsx)(YF, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, D.jsxs)(Vk, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, D.jsx)(JF, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, D.jsxs)(Bk, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -48415,7 +48415,7 @@ function Rwe({ head: e, actions: t }) {}, e.k))] });}-function zwe({ keys: e, view: t, row: n, glide: r, onView: i }) {+function Bwe({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -48463,7 +48463,7 @@ function zwe({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function XF({ items: e, hidden: t, actions: n }) {+function YF({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -48483,7 +48483,7 @@ function XF({ items: e, hidden: t, actions: n }) {})] }) : null});}-function Bwe(e) {+function Vwe(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, D.jsxs)("button", {@@ -48495,27 +48495,27 @@ function Bwe(e) {dangerouslySetInnerHTML: { __html: z("chevron-left") }}), /* @__PURE__ */ (0, D.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, D.jsx)(Vwe, {+ /* @__PURE__ */ (0, D.jsx)(Hwe, {text: n,busy: r}),- /* @__PURE__ */ (0, D.jsx)(SM, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, D.jsx)(Hwe, {+ /* @__PURE__ */ (0, D.jsx)(xM, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, D.jsx)(Uwe, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, D.jsx)(Wwe, {+ t === "photos" && a ? /* @__PURE__ */ (0, D.jsx)(Gwe, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, D.jsx)(Uwe, {+ t === "online" && e.online ? /* @__PURE__ */ (0, D.jsx)(Wwe, {head: e.online,actions: o}) : null] });}-function Vwe({ text: e, busy: t }) {+function Hwe({ text: e, busy: t }) {return /* @__PURE__ */ (0, D.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, D.jsx)("span", {@@ -48525,22 +48525,22 @@ function Vwe({ text: e, busy: t }) {}) : e});}-function ZF({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, D.jsx)(lj, {+function XF({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, D.jsx)(cj, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: EF,+ className: TF,children: r.map(([e, t, n]) => {- let r = cM(n);- return /* @__PURE__ */ (0, D.jsx)(uj, {+ let r = sM(n);+ return /* @__PURE__ */ (0, D.jsx)(lj, {value: e,"aria-label": t,"data-glass-segment": "",- className: DF,+ className: EF,children: /* @__PURE__ */ (0, D.jsx)("span", {title: t,className: "contents",@@ -48550,38 +48550,38 @@ function ZF({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function QF({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, D.jsx)(zk, {+function ZF({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, D.jsx)(Rk, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: Mwe,+ icon: Nwe,onPress: e});}-function Hwe({ head: e, actions: t }) {- let n = ZE();+function Uwe({ head: e, actions: t }) {+ let n = XE();return /* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, D.jsx)(QF, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, D.jsx)(ZF, {+ /* @__PURE__ */ (0, D.jsx)(ZF, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, D.jsx)(XF, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, D.jsx)(OF, {}),- /* @__PURE__ */ (0, D.jsx)(bF, {}),- /* @__PURE__ */ (0, D.jsx)($F, {+ /* @__PURE__ */ (0, D.jsx)(DF, {}),+ /* @__PURE__ */ (0, D.jsx)(yF, {}),+ /* @__PURE__ */ (0, D.jsx)(QF, {sorts: e.sorts,onSort: t.setSort})]});}-function $F({ sorts: e, onSort: t }) {+function QF({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -48589,20 +48589,20 @@ function $F({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, D.jsx)(kF, {- a: Nwe,- b: Pwe,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, D.jsx)(OF, {+ a: Pwe,+ b: Fwe,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function Uwe({ head: e, actions: t }) {+function Wwe({ head: e, actions: t }) {return /* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, D.jsx)(QF, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(ZF, {+ /* @__PURE__ */ (0, D.jsx)(ZF, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(XF, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -48622,27 +48622,27 @@ function Uwe({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: z("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, D.jsx)($F, {+ /* @__PURE__ */ (0, D.jsx)(QF, {sorts: e.sorts,onSort: t.onlineSort})]});}-function Wwe({ head: e, actions: t, helpers: n }) {+function Gwe({ head: e, actions: t, helpers: n }) {let [r, i] = (0, E.useState)(!1), a = (0, E.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, E.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, D.jsx)(QF, {+ e.shuffle ? /* @__PURE__ */ (0, D.jsx)(ZF, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, D.jsx)(ZF, {+ /* @__PURE__ */ (0, D.jsx)(XF, {label: "图片布局",value: e.layout,options: e.layouts,@@ -48658,31 +48658,31 @@ function Wwe({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var eI = "";-function Gwe(e) {- let t = !e.tiers, n = Qwe(e.comboHost);+var $F = "";+function Kwe(e) {+ let t = !e.tiers, n = $we(e.comboHost);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(XF, {+ n ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(YF, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, D.jsx)(Jwe, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, D.jsx)(Kwe, { ...e })+ /* @__PURE__ */ (0, D.jsx)(Ywe, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, D.jsx)(qwe, { ...e })]});}-function Kwe(e) {- let { actions: t, helpers: n } = e, r = (0, E.useRef)(null), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), [c, l] = (0, E.useState)(!1), u = Uk(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function qwe(e) {+ let { actions: t, helpers: n } = e, r = (0, E.useRef)(null), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), [c, l] = (0, E.useState)(!1), u = Hk(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, E.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = nI(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = tI(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, E.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -48699,7 +48699,7 @@ function Kwe(e) {e.sorts]), (0, E.useLayoutEffect)(() => {ts(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, D.jsx)(Bk, {+ }, [f]), /* @__PURE__ */ (0, D.jsx)(zk, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -48743,17 +48743,17 @@ function Kwe(e) {}), /* @__PURE__ */ (0, D.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, D.jsx)(tI, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, D.jsx)(qwe, {+ children: [e.empty || d ? /* @__PURE__ */ (0, D.jsx)(eI, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, D.jsx)(Jwe, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, D.jsx)(Xwe, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, D.jsx)(Zwe, { ...e })});}-function qwe({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, D.jsxs)(Vk, {+function Jwe({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, D.jsxs)(Bk, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -48764,12 +48764,12 @@ function qwe({ tag: e, onPress: t }) {})]});}-function Jwe(e) {+function Ywe(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = e.empty || !e.tiers, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useCallback)((e) => () => t.moreTops(e), [t]), c = nI(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = nI(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;+ }, i = e.empty || !e.tiers, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useCallback)((e) => () => t.moreTops(e), [t]), c = tI(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = tI(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;return (0, E.useEffect)(() => {n.wireDrag(a.current), n.wireDrag(o.current);}, [@@ -48782,7 +48782,7 @@ function Jwe(e) {children: [u ? /* @__PURE__ */ (0, D.jsx)("div", {ref: a,"data-catalog-tier": "performers",- children: i ? /* @__PURE__ */ (0, D.jsx)(tI, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, D.jsx)(eI, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -48799,18 +48799,18 @@ function Jwe(e) {}) : null, d ? /* @__PURE__ */ (0, D.jsx)("div", {ref: o,"data-catalog-tier": "studios",- children: i ? /* @__PURE__ */ (0, D.jsx)(tI, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, D.jsx)(eI, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, D.jsx)(Ywe, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, D.jsx)(Xwe, { studio: e }), e.name]}, e.name))}) : null]});}-function Ywe({ studio: e }) {+function Xwe({ studio: e }) {let [t, n] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsx)("span", {"data-tier-mark": "",@@ -48824,7 +48824,7 @@ function Ywe({ studio: e }) {}) : e.fallback});}-function tI({ kind: e }) {+function eI({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, D.jsx)("span", {"data-catalog-placeholder": "tag",@@ -48840,37 +48840,37 @@ function tI({ kind: e }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {}), /* @__PURE__ */ (0, D.jsx)("span", { children: "\xA0" })]}, t)) });}-function Xwe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = ZE(), [o, s] = (0, E.useState)(!1);+function Zwe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = XE(), [o, s] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, D.jsx)(Zwe, { count: e }), /* @__PURE__ */ (0, D.jsx)(SM, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, D.jsx)(Qwe, { count: e }), /* @__PURE__ */ (0, D.jsx)(xM, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, D.jsx)(QF, {+ /* @__PURE__ */ (0, D.jsx)(ZF, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, D.jsx)(ZF, {+ n && a === "cards" ? /* @__PURE__ */ (0, D.jsx)(XF, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, D.jsx)(OF, {}),- /* @__PURE__ */ (0, D.jsx)(bF, {}),- /* @__PURE__ */ (0, D.jsx)($F, {+ /* @__PURE__ */ (0, D.jsx)(DF, {}),+ /* @__PURE__ */ (0, D.jsx)(yF, {}),+ /* @__PURE__ */ (0, D.jsx)(QF, {sorts: r,onSort: i.setSort})]})] });}-function Zwe({ count: e }) {+function Qwe({ count: e }) {let t = (0, E.useRef)(null), n = (0, E.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, E.useLayoutEffect)(() => {if (e === !1) return;@@ -48879,7 +48879,7 @@ function Zwe({ count: e }) {return;}let i = t.current;- i && (eI && i.dataset.popCount === void 0 && (i.dataset.popCount = eI), eI = r, Qo(i, r));+ i && ($F && i.dataset.popCount === void 0 && (i.dataset.popCount = $F), $F = r, Qo(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, D.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, D.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48895,7 +48895,7 @@ function Zwe({ count: e }) {})}, "skeleton");}-function Qwe(e) {+function $we(e) {let [t, n] = (0, E.useState)(null);return (0, E.useLayoutEffect)(() => {if (!e) return;@@ -48905,7 +48905,7 @@ function Qwe(e) {};}, [e]), t;}-function nI(e, t, n, r, i) {+function tI(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48945,7 +48945,7 @@ function nI(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-function rI(e, t) {+function nI(e, t) {let [n, r] = (0, E.useState)(e ? "skeleton" : "none"), [i] = (0, E.useState)(() => e ? t() : ""), a = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {a.current && fs(a.current);@@ -48971,7 +48971,7 @@ function rI(e, t) {fading: n === "fade"};}-function iI({ message: e, onRetry: t }) {+function rI({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -48985,64 +48985,64 @@ function iI({ message: e, onRetry: t }) {}//#endregion//#region src/library-catalog.ts-var aI = "peach.library-colors.v1", oI = null, sI = /* @__PURE__ */ new Set();-function $we() {+var iI = "peach.library-colors.v1", aI = null, oI = /* @__PURE__ */ new Set();+function eTe() {try {- let e = JSON.parse(localStorage.getItem(aI) || "{}");+ let e = JSON.parse(localStorage.getItem(iI) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function cI(e) {- oI = e;+function sI(e) {+ aI = e;try {- localStorage.setItem(aI, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(iI, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- sI.forEach((t) => t(e));+ oI.forEach((t) => t(e));}-function lI() {- return oI;+function cI() {+ return aI;}-function eTe(e) {- return sI.add(e), () => {- sI.delete(e);+function tTe(e) {+ return oI.add(e), () => {+ oI.delete(e);};}//#endregion//#region src/react/components/library-tint.ts-var uI = /* @__PURE__ */ new Map(), dI = !1, fI = /* @__PURE__ */ new Set();-function tTe(e) {+var lI = /* @__PURE__ */ new Map(), uI = !1, dI = /* @__PURE__ */ new Set();+function nTe(e) {let t = document.createElement("span");t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();return t.remove(), n;}-function pI(e) {- uI = e;+function fI(e) {+ lI = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...uI.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${tTe(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...lI.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${nTe(e.color)}}`).join("\n");}-function mI(e) {- pI(e), fI.forEach((e) => e());+function pI(e) {+ fI(e), dI.forEach((e) => e());}-var hI = (e) => new Map(e.map((e) => [e.id, {+var mI = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: So[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), gI = !1;-function nTe() {- if (gI) return;- gI = !0, eTe((e) => mI(hI(e)));- let e = lI();+}])), hI = !1;+function rTe() {+ if (hI) return;+ hI = !0, tTe((e) => pI(mI(e)));+ let e = cI();if (e) {- pI(hI(e));+ fI(mI(e));return;}- let t = Object.entries($we()).filter(([, e]) => e);- t.length && pI(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(eTe()).filter(([, e]) => e);+ t.length && fI(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -49050,47 +49050,47 @@ function nTe() {color: t}])));}-function rTe() {- dI || lI() || (dI = !0, H("/api/libraries").then((e) => cI(e.libraries || [])).catch(() => {- dI = !1;+function iTe() {+ uI || cI() || (uI = !0, H("/api/libraries").then((e) => sI(e.libraries || [])).catch(() => {+ uI = !1;}));}-function iTe(e, t) {- let n = uI.get(e) ?? {+function aTe(e, t) {+ let n = lI.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- mI(new Map([...uI, [e, {+ pI(new Map([...lI, [e, {...n,color: t}]]));}-function aTe(e) {- return fI.add(e), () => {- fI.delete(e);+function oTe(e) {+ return dI.add(e), () => {+ dI.delete(e);};}-function _I({ names: e = !1 } = {}) {- return nTe(), e && rTe(), (0, E.useSyncExternalStore)(aTe, () => uI, () => uI);+function gI({ names: e = !1 } = {}) {+ return rTe(), e && iTe(), (0, E.useSyncExternalStore)(oTe, () => lI, () => lI);}//#endregion//#region src/react/components/overlay-host.ts-function oTe(e) {+function sTe(e) {let t = e.querySelector(":scope > [data-react-overlays]");if (t) return t;let n = e.ownerDocument.createElement("div");return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;}-function vI(e) {+function _I(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return oTe(n ?? t.body);+ return sTe(n ?? t.body);}//#endregion//#region src/react/components/row-click.ts-var sTe = [+var cTe = ["a","button","input",@@ -49103,46 +49103,46 @@ var sTe = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function yI(e, t) {+function vI(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(sTe);+ let r = n.closest(cTe);return !r || !t.contains(r) || r === t;}-function bI(e) {+function yI(e) {e.shiftKey && e.preventDefault();}//#endregion//#region src/react/components/media-card.tsx-var cTe = 9 / 16, xI = "未命名视频";-function SI({ name: e }) {+var lTe = 9 / 16, bI = "未命名视频";+function xI({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-var lTe = {+var uTe = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, uTe = {+}, dTe = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function CI({ item: e }) {+function SI({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && uTe[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && dTe[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, D.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function wI({ item: e, actions: t }) {+function CI({ item: e, actions: t }) {let [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -49161,10 +49161,10 @@ function wI({ item: e, actions: t }) {children: i}) : null] });}-function TI(e, t, n) {- return t === "short" ? cTe : iE(n);+function wI(e, t, n) {+ return t === "short" ? lTe : rE(n);}-function EI(e) {+function TI(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = za(e), s = i[0] || "", c = Ta(e);return {avatar: r ? /* @__PURE__ */ (0, D.jsx)("div", {@@ -49196,7 +49196,7 @@ function EI(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, D.jsx)(SI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, D.jsx)(xI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, D.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -49206,16 +49206,16 @@ function EI(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, D.jsx)(SI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, D.jsx)(xI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, D.jsx)(SI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, D.jsx)(xI, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]})};}-function dTe() {+function fTe() {return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-media-preview": "",@@ -49234,7 +49234,7 @@ function dTe() {})]});}-function fTe({ item: e, actions: t, on: n, onChange: r }) {+function pTe({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsx)("div", {"data-media-later": "",@@ -49249,11 +49249,11 @@ function fTe({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, D.jsx)(SI, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, D.jsx)(xI, { name: n ? "check" : "bookmark-plus" })})});}-function pTe({ reason: e }) {+function mTe({ reason: e }) {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("button", {ref: t,@@ -49268,16 +49268,16 @@ function pTe({ reason: e }) {},children: e}), /* @__PURE__ */ (0, D.jsx)(CS, {- getContainer: () => vI(t.current),- children: /* @__PURE__ */ (0, D.jsx)(UA, {+ getContainer: () => _I(t.current),+ children: /* @__PURE__ */ (0, D.jsx)(HA, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: yN,- children: /* @__PURE__ */ (0, D.jsx)(nj, {+ className: vN,+ children: /* @__PURE__ */ (0, D.jsx)(tj, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -49286,17 +49286,17 @@ function pTe({ reason: e }) {})})] });}-function DI(e, t) {+function EI(e, t) {let n = e?.querySelector("video.hv");n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));}-function mTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {- let l = (0, E.useRef)(null), [u, d] = (0, E.useState)(null), f = u?.id === e.id ? u.on : !!e.watch_later, p = _I(), m = e.library_id && p.get(e.library_id)?.color ? e.library_id : void 0, h = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), g = (0, E.useRef)(e);+function hTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {+ let l = (0, E.useRef)(null), [u, d] = (0, E.useState)(null), f = u?.id === e.id ? u.on : !!e.watch_later, p = gI(), m = e.library_id && p.get(e.library_id)?.color ? e.library_id : void 0, h = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), g = (0, E.useRef)(e);g.current = e;let _ = (0, E.useCallback)((e) => {let t = g.current;l.current && l.current !== e && Pc(l.current), l.current = e, e && (!t.medium || t.medium === "video") && Ic(e, t);- }, []), v = e.part_group || null, y = e.edition_group || null, b = !!(v || y), x = n.active && e.is_jav ? n.size : "small", S = Fa(e, x, !1, n.javImage), C = x === "small" ? S.html : Fa(e, "small", !1, n.javImage).html, w = v?.title || e.name || "", T = o.displayName(e, w).trim() || xI, O = o.titleHtml(e, w).trim() || B(xI), k = v?.total_size ?? e.size, A = v?.total_duration ?? e.duration, j = !v && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: M, who: N } = EI(e), P = (e.follow_tags || e.tags || []).slice(0, 3), F = (t) => {+ }, []), v = e.part_group || null, y = e.edition_group || null, b = !!(v || y), x = n.active && e.is_jav ? n.size : "small", S = Fa(e, x, !1, n.javImage), C = x === "small" ? S.html : Fa(e, "small", !1, n.javImage).html, w = v?.title || e.name || "", T = o.displayName(e, w).trim() || bI, O = o.titleHtml(e, w).trim() || B(bI), k = v?.total_size ?? e.size, A = v?.total_duration ?? e.duration, j = !v && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: M, who: N } = TI(e), P = (e.follow_tags || e.tags || []).slice(0, 3), F = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = l.current;@@ -49323,9 +49323,9 @@ function mTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSu && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);}, I = /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-pic": "",- style: { "--card-ratio": String(TI(e, t, n)) },+ style: { "--card-ratio": String(wI(e, t, n)) },children: [- S.html ? /* @__PURE__ */ (0, D.jsx)(Ok, {+ S.html ? /* @__PURE__ */ (0, D.jsx)(Dk, {artwork: S,identity: C,relayout: (e) => Dc(e, x)@@ -49339,11 +49339,11 @@ function mTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, D.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, D.jsx)(SI, { name: "check" })+ children: /* @__PURE__ */ (0, D.jsx)(xI, { name: "check" })}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, D.jsx)(SI, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, D.jsx)(xI, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("b", { children: "回收站" })]}),v && !y ? /* @__PURE__ */ (0, D.jsx)("span", {"data-media-group": "",@@ -49358,7 +49358,7 @@ function mTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-duration": "",children: dn(A)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)(wI, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)(CI, {item: e,actions: s}) : null,@@ -49374,22 +49374,22 @@ function mTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-scrub": "",children: /* @__PURE__ */ (0, D.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, D.jsx)(dTe, {}),+ /* @__PURE__ */ (0, D.jsx)(fTe, {}),f || h.length ? /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-status": "",children: [f ? /* @__PURE__ */ (0, D.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, D.jsx)(SI, { name: "bookmark" })+ children: /* @__PURE__ */ (0, D.jsx)(xI, { name: "bookmark" })}) : null, h.length ? /* @__PURE__ */ (0, D.jsx)("span", {"data-status": "flagged",title: `已标记:${h.join("、")}`,"aria-label": `已标记:${h.join("、")}`,- children: /* @__PURE__ */ (0, D.jsx)(SI, { name: "heart" })+ children: /* @__PURE__ */ (0, D.jsx)(xI, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, D.jsx)(fTe, {+ i ? null : /* @__PURE__ */ (0, D.jsx)(pTe, {item: e,actions: s,on: f,@@ -49404,27 +49404,27 @@ function mTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, D.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), DI(l.current, -a);+ e.stopPropagation(), EI(l.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, D.jsx)(SI, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, D.jsx)(xI, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), DI(l.current, a);+ e.stopPropagation(), EI(l.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, D.jsx)(SI, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, D.jsx)(xI, { name: "rotate-cw" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, D.jsx)(SI, { name: "expand" })+ children: /* @__PURE__ */ (0, D.jsx)(xI, { name: "expand" })})]})@@ -49443,7 +49443,7 @@ function mTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: F,- onMouseDown: bI,+ onMouseDown: yI,children: [/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -49483,15 +49483,15 @@ function mTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, D.jsx)(SI, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, D.jsx)(xI, { name: "calendar" }), e.release_date]}) : null,/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, D.jsx)(SI, { name: "hard-drive" }), Number(k) > 0 ? pn(Number(k)) : "大小未知"]+ children: [/* @__PURE__ */ (0, D.jsx)(xI, { name: "hard-drive" }), Number(k) > 0 ? pn(Number(k)) : "大小未知"]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, D.jsx)(pTe, { reason: e.why }) : null : P.length || e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, D.jsx)(mTe, { reason: e.why }) : null : P.length || e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)("div", {"data-media-tags": "",children: P.map((t) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -49501,15 +49501,15 @@ function mTe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSchildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, D.jsx)(CI, { item: e })+ /* @__PURE__ */ (0, D.jsx)(SI, { item: e })]})]})]});}-function hTe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, E.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : lTe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function gTe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, E.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : uTe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, D.jsxs)("article", {ref: o,"data-media-card": "",@@ -49521,14 +49521,14 @@ function hTe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOponClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: bI,+ onMouseDown: yI,children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, D.jsx)(SI, { name: u }), /* @__PURE__ */ (0, D.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, D.jsx)(xI, { name: u }), /* @__PURE__ */ (0, D.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, D.jsx)("span", {"data-media-art": "thumb",@@ -49540,13 +49540,13 @@ function hTe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, D.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, D.jsx)(SI, { name: "check" })+ children: /* @__PURE__ */ (0, D.jsx)(xI, { name: "check" })}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, D.jsx)(SI, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, D.jsx)(xI, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, D.jsx)(wI, {+ n ? null : /* @__PURE__ */ (0, D.jsx)(CI, {item: e,actions: i})@@ -49557,7 +49557,7 @@ function hTe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, D.jsx)(SI, { name: u })+ children: /* @__PURE__ */ (0, D.jsx)(xI, { name: u })}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-text": "",children: [@@ -49585,29 +49585,29 @@ function hTe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp]}),e.disposal === "trash" ? /* @__PURE__ */ (0, D.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, D.jsx)(CI, { item: e })+ /* @__PURE__ */ (0, D.jsx)(SI, { item: e })]})]})]});}-function gTe(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, D.jsx)(hTe, { ...e }) : /* @__PURE__ */ (0, D.jsx)(mTe, { ...e });+function _Te(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, D.jsx)(gTe, { ...e }) : /* @__PURE__ */ (0, D.jsx)(hTe, { ...e });}-var OI = (0, E.memo)(gTe), _Te = 1100, vTe = 340, yTe = 5e3;-function bTe(e, t, n) {+var DI = (0, E.memo)(_Te), vTe = 1100, yTe = 340, bTe = 5e3;+function xTe(e, t, n) {return new Promise((r) => {let i = new Image();n && (i.referrerPolicy = n);let a = !1, o = (e) => {a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));- }, s = () => o(!1), c = setTimeout(s, yTe);+ }, s = () => o(!1), c = setTimeout(s, bTe);t.cancels.add(s), i.onerror = s, i.onload = () => {i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);}, i.src = e;});}-function kI({ load: e, canFlip: t, referrerPolicy: n }) {+function OI({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, E.useState)([]), [a, o] = (0, E.useState)(0), [s, c] = (0, E.useState)(null), l = (0, E.useRef)({live: !1,generation: 0,@@ -49649,11 +49649,11 @@ function kI({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => bTe(t, e, n)));+ let s = await Promise.all(a.map((t) => xTe(t, e, n)));if (!r() || !u.current.canFlip()) return;let d = a.filter((e, t) => s[t]);d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {- p(), e.cycle = setInterval(p, _Te);+ p(), e.cycle = setInterval(p, vTe);}));};return (0, E.useEffect)(() => d, [d]), {@@ -49662,7 +49662,7 @@ function kI({ load: e, canFlip: t, referrerPolicy: n }) {leaving: s,onPointerEnter: () => {let e = l.current;- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(vTe, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(yTe, () => {e.armed = null, m();});},@@ -49673,8 +49673,8 @@ function kI({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var AI = cM("play");-function xTe({ src: e }) {+var kI = sM("play");+function STe({ src: e }) {let [t, n] = (0, E.useState)(!1);return t ? null : /* @__PURE__ */ (0, D.jsx)("img", {"data-mix-poster": "",@@ -49687,8 +49687,8 @@ function xTe({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var jI = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";-function STe({ faces: e, fallback: t, onOpenEntity: n }) {+var AI = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";+function CTe({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, D.jsx)("button", {@@ -49696,18 +49696,18 @@ function STe({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${jI} cursor-pointer outline-none`,+ className: `${AI} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: Da(e.name, e, ua(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, D.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${jI} mt-0.5`,+ className: `${AI} mt-0.5`,children: t});}-function MI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {- let b = kI({+function jI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {+ let b = OI({load: i,canFlip: a}), x = (0, E.useRef)(b.onPointerLeave);@@ -49734,11 +49734,11 @@ function MI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, D.jsx)(Ok, {+ f?.html ? /* @__PURE__ */ (0, D.jsx)(Dk, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, D.jsx)(xTe, { src: r }, r) : /* @__PURE__ */ (0, D.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, D.jsx)(STe, { src: r }, r) : /* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -49768,7 +49768,7 @@ function MI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, D.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, D.jsx)(AI, {+ children: [/* @__PURE__ */ (0, D.jsx)(kI, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -49781,8 +49781,8 @@ function MI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, D.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, D.jsx)(AI, {})- }) : /* @__PURE__ */ (0, D.jsx)(STe, {+ children: /* @__PURE__ */ (0, D.jsx)(kI, {})+ }) : /* @__PURE__ */ (0, D.jsx)(CTe, {faces: o,fallback: _n(e),onOpenEntity: s@@ -49806,7 +49806,7 @@ function MI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/video-wall/folia/blockReflows.ts-var CTe = [+var wTe = [[[{@@ -53367,7 +53367,7 @@ var CTe = [}]]-], NI = [+], MI = [[{x: 0,@@ -53664,89 +53664,89 @@ var CTe = [rows: 2}]-], PI = (e) => e.map((e) => ({+], NI = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), FI = (e) => e.map((e) => ({+})), PI = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), II = [+})), FI = [(e) => e,+ NI,PI,- FI,- (e) => PI(FI(e))-], LI = NI.flatMap((e) => II.map((t) => t(e))), wTe = CTe.flatMap((e) => II.map((t) => e.map(t)));-LI.length;-var TTe = (e, t) => {+ (e) => NI(PI(e))+], II = MI.flatMap((e) => FI.map((t) => t(e))), TTe = wTe.flatMap((e) => FI.map((t) => e.map(t)));+II.length;+var ETe = (e, t) => {let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;-}, RI = (e, t) => {- let n = NI.length;- return ((e + t * 2) % n + n) % n * II.length + TTe(e, t) % II.length;-}, ETe = (e, t) => LI[RI(e, t)], DTe = (e, t, n) => n < 0 || n >= 12 ? null : wTe[RI(e, t)][n], zI = 103.36, BI = 6.08, VI = 12 * zI, HI = 8 * zI, UI = 12, WI = (e, t) => (e % t + t) % t, OTe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;-function GI(e, t) {- let n = Math.max(1, Math.ceil(e / UI)), r = t ? 3 : Math.min(3, n);+}, LI = (e, t) => {+ let n = MI.length;+ return ((e + t * 2) % n + n) % n * FI.length + ETe(e, t) % FI.length;+}, DTe = (e, t) => II[LI(e, t)], OTe = (e, t, n) => n < 0 || n >= 12 ? null : TTe[LI(e, t)][n], RI = 103.36, zI = 6.08, BI = 12 * RI, VI = 8 * RI, HI = 12, UI = (e, t) => (e % t + t) % t, kTe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;+function WI(e, t) {+ let n = Math.max(1, Math.ceil(e / HI)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * VI,- height: Math.ceil(n / r) * HI+ width: r * BI,+ height: Math.ceil(n / r) * VI};}-function KI(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = ETe(e, t)[n];+function GI(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = DTe(e, t)[n];return {- x: e * VI + r * zI,- y: t * HI + i * zI,- width: a * zI - BI,- height: o * zI - BI+ x: e * BI + r * RI,+ y: t * VI + i * RI,+ width: a * RI - zI,+ height: o * RI - zI};}-function kTe(e) {+function ATe(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function qI(e, t, n) {+function KI(e, t, n) {if (!e) return null;let [r, i, a] = n.split(":").map(Number);if (![r,i,a- ].every(Number.isInteger) || a < 0 || a >= UI) return null;- let o = GI(e, t), s = o.height / HI;+ ].every(Number.isInteger) || a < 0 || a >= HI) return null;+ let o = WI(e, t), s = o.height / VI;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : WI(r, o.columns), l = ((t ? i : WI(i, s)) * o.columns + c) * UI + a;+ let c = t ? r : UI(r, o.columns), l = ((t ? i : UI(i, s)) * o.columns + c) * HI + a;return t && l >= e ? null : {- ...KI(r, i, a),+ ...GI(r, i, a),index: l % e,key: n};}-function ATe(e, t) {+function jTe(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / UI);- return qI(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % UI}`);+ let n = Math.floor(t / HI);+ return KI(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % HI}`);}-function JI(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = DTe(r, i, a);+function qI(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = OTe(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * VI + e.x * zI,- y: i * HI + e.y * zI,- width: e.cols * zI - BI,- height: e.rows * zI - BI+ x: r * BI + e.x * RI,+ y: i * VI + e.y * RI,+ width: e.cols * RI - zI,+ height: e.rows * RI - zI}]));}-function jTe(e) {+function MTe(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / UI), i = KI(e % 3, Math.floor(e / 3), r % UI);+ let e = Math.floor(r / HI), i = GI(e % 3, Math.floor(e / 3), r % HI);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * VI - BI : t,+ width: e >= 36 ? 3 * BI - zI : t,height: n};}-function MTe(e, t, n, r) {+function NTe(e, t, n, r) {if (!r) return e;let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));return {@@ -53755,22 +53755,22 @@ function MTe(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function NTe(e, t, n, r) {+function PTe(e, t, n, r) {if (!e || !r.width || !r.height) return [];let i = 180 / n.scale, a = {x: -n.x / n.scale - i,y: -n.y / n.scale - i,width: r.width / n.scale + i * 2,height: r.height / n.scale + i * 2- }, o = GI(e, t), s = o.height / HI, c = [];- for (let n = Math.floor(a.y / HI); n <= Math.floor((a.y + a.height) / HI); n += 1) for (let r = Math.floor(a.x / VI); r <= Math.floor((a.x + a.width) / VI); r += 1) {+ }, o = WI(e, t), s = o.height / VI, c = [];+ for (let n = Math.floor(a.y / VI); n <= Math.floor((a.y + a.height) / VI); n += 1) for (let r = Math.floor(a.x / BI); r <= Math.floor((a.x + a.width) / BI); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : WI(r, o.columns), l = t ? n : WI(n, s);- for (let s = 0; s < UI; s += 1) {- let u = (l * o.columns + i) * UI + s;+ let i = t ? r : UI(r, o.columns), l = t ? n : UI(n, s);+ for (let s = 0; s < HI; s += 1) {+ let u = (l * o.columns + i) * HI + s;if (t && u >= e) continue;- let d = KI(r, n, s);- OTe(d, a) && c.push({+ let d = GI(r, n, s);+ kTe(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -53779,7 +53779,7 @@ function NTe(e, t, n, r) {}return c;}-var PTe = class {+var FTe = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -53791,7 +53791,7 @@ var PTe = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : qI(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : KI(t, !1, e);return r ? {...r,index: n@@ -53821,7 +53821,7 @@ var PTe = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * VI,+ x: (e + 2) * BI,y: 0};}@@ -53834,10 +53834,10 @@ var PTe = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / VI)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / BI)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, YI = [+}, JI = ["q","performer","series",@@ -53852,17 +53852,17 @@ var PTe = class {"dur_max","region"];-function FTe(e = {}) {- return YI.some((t) => !!e[t]);+function ITe(e = {}) {+ return JI.some((t) => !!e[t]);}//#endregion//#region src/react/video-wall/use-wall-camera.ts-var XI = {+var YI = {x: 16,y: 16,scale: 1};-function ITe(e, t, n = XI, r = !1) {+function LTe(e, t, n = YI, r = !1) {let i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)({width: 0,height: 0@@ -53882,7 +53882,7 @@ function ITe(e, t, n = XI, r = !1) {let f = (0, E.useRef)(null), p = (0, E.useRef)(null), m = (0, E.useRef)(!1), h = (0, E.useRef)(null), g = (0, E.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, E.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = MTe(e, o.current, jTe(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = NTe(e, o.current, MTe(r), c && !f && !n);s.current = p;let m = window.devicePixelRatio || 1;a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));@@ -53982,7 +53982,7 @@ function ITe(e, t, n = XI, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...XI }, !0);+ g(), _({ ...YI }, !0);},pan: (e, t) => {g(), _({@@ -54044,17 +54044,17 @@ function ITe(e, t, n = XI, r = !1) {}//#endregion//#region src/react/video-wall/wall-motion.ts-var LTe = {+var RTe = {type: "spring",stiffness: 300,damping: 34-}, RTe = {+}, zTe = {delay: .14,duration: .24};//#endregion//#region src/react/video-wall/use-wall-playback.ts-function zTe(e, t, n) {+function BTe(e, t, n) {let [r, i] = (0, E.useState)({paused: !0,time: 0,@@ -54096,8 +54096,8 @@ function zTe(e, t, n) {}//#endregion//#region src/react/video-wall/wall-controls.tsx-function BTe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {- let b = N_(), x = zTe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function VTe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {+ let b = N_(), x = BTe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {if (!(C || a && !s)) try {t === e.id ? await x.toggle() : await f();} catch (e) {@@ -54114,7 +54114,7 @@ function BTe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : RTe,+ transition: b ? { duration: 0 } : zTe,children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-wall-control-row": "",children: [@@ -54219,7 +54219,7 @@ function BTe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou}//#endregion//#region src/react/components/mix-queue.tsx-function ZI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function XI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, E.useRef)(null), l = (0, E.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -54255,7 +54255,7 @@ function ZI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function QI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function ZI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, D.jsx)("span", {"data-mix-item-text": "",children: a@@ -54278,7 +54278,7 @@ function QI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var VTe = ({ label: e, count: t }) => /* @__PURE__ */ (0, D.jsxs)("h3", {+var HTe = ({ label: e, count: t }) => /* @__PURE__ */ (0, D.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -54288,28 +54288,28 @@ var VTe = ({ label: e, count: t }) => /* @__PURE__ */ (0, D.jsxs)("h3", {});//#endregion//#region src/react/video-wall/wall-queue.tsx-function HTe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function UTe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, D.jsx)(ZI, {+ children: /* @__PURE__ */ (0, D.jsx)(XI, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(QI, {+ children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(ZI, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? dD(e.part_label) : "",+ e.part_label ? uD(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, D.jsx)(Ok, { artwork: Fa(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, D.jsx)(Dk, { artwork: Fa(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, D.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, D.jsx)("span", { children: [e.edition_label,- e.part_label ? dD(e.part_label) : "",+ e.part_label ? uD(e.part_label) : "",dn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -54318,7 +54318,7 @@ function HTe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })}//#endregion//#region src/react/video-wall/wall-route.ts-function UTe(e = `${location.pathname}${location.search}`, t = {}) {+function WTe(e = `${location.pathname}${location.search}`, t = {}) {let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {performers: "performer",creators: "creator",@@ -54333,18 +54333,18 @@ function UTe(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function $I(e = `${location.pathname}${location.search}`) {+function QI(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of YI) t.delete(e);+ for (let e of JI) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function eL() {- let e = new URLSearchParams(_P.navigation.location.search).get("returnTo") || "/";- _P.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function $I() {+ let e = new URLSearchParams(gP.navigation.location.search).get("returnTo") || "/";+ gP.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}//#endregion//#region src/react/video-wall/video-wall.tsx-var tL = /* @__PURE__ */ new Map(), nL = (0, E.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var eL = /* @__PURE__ */ new Map(), tL = (0, E.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = Fa(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -54357,7 +54357,7 @@ var tL = /* @__PURE__ */ new Map(), nL = (0, E.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, D.jsx)(Ok, {+ children: /* @__PURE__ */ (0, D.jsx)(Dk, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && pc(e);@@ -54365,27 +54365,27 @@ var tL = /* @__PURE__ */ new Map(), nL = (0, E.memo)(function({ item: e, image:})});});-function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {+function GTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, E.useState)(() => {- let e = tL.get(f);+ let e = eL.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, E.useState)(() => m?.exploration || new PTe()), g = (0, E.useRef)(!1), [_, v] = (0, E.useState)(null), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = (0, E.useRef)(null), S = (0, E.useRef)(null), C = (0, E.useRef)(null), [w, T] = (0, E.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, E.useState)(m?.selectedKey || ""), [A, j] = (0, E.useState)(m?.sourceId || null), [M, N] = (0, E.useState)(!1), P = w?.edition_group ? {+ }), [h] = (0, E.useState)(() => m?.exploration || new FTe()), g = (0, E.useRef)(!1), [_, v] = (0, E.useState)(null), y = (0, E.useRef)(null), b = (0, E.useRef)(null), x = (0, E.useRef)(null), S = (0, E.useRef)(null), C = (0, E.useRef)(null), [w, T] = (0, E.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, E.useState)(m?.selectedKey || ""), [A, j] = (0, E.useState)(m?.sourceId || null), [M, N] = (0, E.useState)(!1), P = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, F = yt({- queryKey: rD(P || {+ queryKey: nD(P || {kind: "parts",seedId: 0}),enabled: !!P,- queryFn: ({ signal: e }) => cD(P, {+ queryFn: ({ signal: e }) => sD(P, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), I = P ? F.data : void 0, ee = I?.items.find((e) => e.id === lD(I, A || w?.id || null)) || w, L = ITe(e.length, t && !!e.length, m?.camera || {+ }), I = P ? F.data : void 0, ee = I?.items.find((e) => e.id === cD(I, A || w?.id || null)) || w, L = LTe(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1@@ -54406,7 +54406,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:(0, E.useLayoutEffect)(() => {document.body.append(xe), L.viewport.current?.focus({ preventScroll: !0 });}, [xe]), (0, E.useEffect)(() => () => xe.remove(), [xe]);- let [Se, Ce] = (0, E.useState)(() => RN(_P.navigation.location.pathname)), [we, Te] = (0, E.useState)(m?.image || d), Ee = (0, E.useRef)(null), De = (0, E.useRef)(p), Oe = (0, E.useRef)(!!e.length);+ let [Se, Ce] = (0, E.useState)(() => LN(gP.navigation.location.pathname)), [we, Te] = (0, E.useState)(m?.image || d), Ee = (0, E.useRef)(null), De = (0, E.useRef)(p), Oe = (0, E.useRef)(!!e.length);Oe.current = !!e.length;let ke = (0, E.useRef)({selectedId: w?.id || null,@@ -54423,17 +54423,17 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let Ae = () => {- Oe.current && (tL.delete(f), tL.set(f, {+ Oe.current && (eL.delete(f), eL.set(f, {...ke.current,camera: L.snapshot(),exploration: h- }), tL.size > 8 && tL.delete(tL.keys().next().value));+ }), eL.size > 8 && eL.delete(eL.keys().next().value));};(0, E.useLayoutEffect)(Ae);- let je = NTe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, L.view.camera, L.view.size), Me = i ? je.map((e) => ({+ let je = PTe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, L.view.camera, L.view.size), Me = i ? je.map((e) => ({...e,index: -1- })) : t ? je : h.assign(je, e.length, n), Ne = w && (t ? qI(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? JI(e.length, t, Ne) : /* @__PURE__ */ new Map();+ })) : t ? je : h.assign(je, e.length, n), Ne = w && (t ? KI(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? qI(e.length, t, Ne) : /* @__PURE__ */ new Map();Ne && !Me.some((e) => e.key === Ne.key) && Me.push(Ne);let Fe = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, oe(null), ue(!1);@@ -54450,8 +54450,8 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, E.useEffect)(() => _P.listen((e) => {- let t = RN(e.location.pathname);+ ]), (0, E.useEffect)(() => gP.listen((e) => {+ let t = LN(e.location.pathname);t && (C.current?.abort(), S.current?.(!0), S.current = null, oe(null), ue(!1)), Ce(t);}), []), (0, E.useEffect)(() => () => {C.current?.abort(), S.current?.(!0), Ae();@@ -54472,7 +54472,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Fe(!1), Ee.current = {key: r.key,id: n.id- }, fe(""), ce(null), T(n), k(r.key), j(null), N(!1), be(!1), L.reveal(JI(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, fe(""), ce(null), T(n), k(r.key), j(null), N(!1), be(!1), L.reveal(qI(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, Re = () => {ee && y.current && (Ae(), Fe(!0), l.wallDetails?.(ee, y.current.querySelector("[data-wall-focus]") || y.current));}, ze = async (e = ee) => {@@ -54494,7 +54494,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && ue(!1);}}, Be = () => {- let e = _pe(I || null, ae || 0);+ let e = vpe(I || null, ae || 0);e && (j(e.id), ze(e));};(0, E.useEffect)(() => {@@ -54516,7 +54516,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = L.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (L.view.size.width / 2 - r.x) / r.scale,y: (L.view.size.height / 2 - r.y) / r.scale- }, o = t ? ATe(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? jTe(e.length, i) : h.nearest(e.length, i, a);o && (Le(n, o), ce(n.id));}, We = async () => {if (!(r || g.current)) {@@ -54608,7 +54608,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, D.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, D.jsx)(nL, {+ children: /* @__PURE__ */ (0, D.jsx)(tL, {item: w,image: we,big: !0@@ -54616,7 +54616,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, D.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, D.jsx)(nL, {+ children: /* @__PURE__ */ (0, D.jsx)(tL, {item: w,image: we,big: !0@@ -54645,7 +54645,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Ye.code ? /* @__PURE__ */ (0, D.jsx)("strong", { children: Je(Ye).startsWith(Ye.code) ? Je(Ye).slice(Ye.code.length).trim() : Je(Ye) }) : null,/* @__PURE__ */ (0, D.jsx)("span", { children: Ye.performers?.join(" · ") || Ye.creator || "未归属" }),- I ? /* @__PURE__ */ (0, D.jsx)("small", { children: [Ye.edition_label, Ye.part_label ? dD(Ye.part_label) : ""].filter(Boolean).join(" · ") }) : null+ I ? /* @__PURE__ */ (0, D.jsx)("small", { children: [Ye.edition_label, Ye.part_label ? uD(Ye.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, D.jsx)("button", {@@ -54672,7 +54672,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, D.jsx)(BTe, {+ /* @__PURE__ */ (0, D.jsx)(VTe, {item: Ye,playing: ae,frame: b,@@ -54694,7 +54694,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Be,error: fe}),- M ? /* @__PURE__ */ (0, D.jsx)(HTe, {+ M ? /* @__PURE__ */ (0, D.jsx)(UTe, {items: Ve,activeId: Ye.id,kind: I?.kind || "wall",@@ -54710,7 +54710,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: Se,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Ie() : ye ? be(!1) : eL());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Ie() : ye ? be(!1) : $I());},children: [/* @__PURE__ */ (0, D.jsx)("button", {@@ -54718,7 +54718,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: eL,+ onClick: $I,children: /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -54736,7 +54736,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, D.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, D.jsx)(q, {size: "small",variant: "ghost",- onClick: () => _P.push($I()),+ onClick: () => gP.push(QI()),children: "清除筛选"})]}) : null,@@ -54748,7 +54748,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onSubmit: (e) => {e.preventDefault();let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();- n ? t.set("q", n) : t.delete("q"), Ae(), _P.push(`/wall?${t}`), be(!1);+ n ? t.set("q", n) : t.delete("q"), Ae(), gP.push(`/wall?${t}`), be(!1);},children: [/* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24",@@ -54762,18 +54762,18 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, D.jsxs)(CF, {+ /* @__PURE__ */ (0, D.jsxs)(SF, {"aria-label": "播放墙图片",value: we,onChange: Te,- className: wF,- children: [/* @__PURE__ */ (0, D.jsx)(uj, {+ className: CF,+ children: [/* @__PURE__ */ (0, D.jsx)(lj, {value: "cover",- className: TF,+ className: wF,children: "封面"- }), /* @__PURE__ */ (0, D.jsx)(uj, {+ }), /* @__PURE__ */ (0, D.jsx)(lj, {value: "thumbnail",- className: TF,+ className: wF,children: "缩略图"})]}),@@ -54865,7 +54865,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ie && !te && !r && ne ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: te ? { duration: 0 } : {- layout: LTe,+ layout: RTe,transform: a ? {type: "spring",stiffness: 360,@@ -54898,7 +54898,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Le(n, t, !1));},children: r ? Xe : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(nL, {+ /* @__PURE__ */ (0, D.jsx)(tL, {item: n,image: we,ratio: i.width / i.height@@ -54963,7 +54963,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, D.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, D.jsx)(QF, {+ children: /* @__PURE__ */ (0, D.jsx)(ZF, {busy: r,onPress: () => void Ke()})@@ -55010,7 +55010,7 @@ function WTe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}//#endregion//#region src/catalog-onboarding.ts-var rL = [+var nL = ["loc","creator","performer",@@ -55028,19 +55028,19 @@ var rL = ["jav","thumb"];-function GTe(e = typeof location > "u" ? "/" : location.href) {+function KTe(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...rL,+ ...nL,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function KTe(e, t) {+async function qTe(e, t) {let n = new URLSearchParams();- for (let t of rL) e[t] && n.set(t, e[t]);+ for (let t of nL) e[t] && n.set(t, e[t]);let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([...r.creators || [],...r.tagperformers || [],@@ -55051,9 +55051,9 @@ async function KTe(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function iL({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function rL({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return qo("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(GTe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return qo("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(KTe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -55072,17 +55072,17 @@ function iL({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:}//#endregion//#region src/react/video-wall/wall-empty.ts-function qTe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || iL() : t ? qo("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : qo("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${$I()}">清除筛选</a>` });+function JTe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || rL() : t ? qo("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : qo("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${QI()}">清除筛选</a>` });}//#endregion//#region src/react/library-processing/processing-actions.tsx-function JTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function YTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, E.useState)(t), [s, c] = (0, E.useState)(), [l, u] = (0, E.useState)("");return (0, E.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await ACe(e, t.signal, a);+ let o = await jCe(e, t.signal, a);if (!o.traffic) throw Error("服务端未提供流量预估");if (t.signal.aborted) return;c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {@@ -55100,7 +55100,7 @@ function JTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, D.jsx)(YP, {+ children: /* @__PURE__ */ (0, D.jsx)(JP, {value: a,busy: i,onChange: (e) => {@@ -55108,7 +55108,7 @@ function JTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, D.jsx)(iF, {+ s ? /* @__PURE__ */ (0, D.jsx)(rF, {traffic: s,initial: !0}) : null,@@ -55120,7 +55120,7 @@ function JTe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function aL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {+function iL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {let a = (0, E.useRef)(null), o = (0, E.useRef)(null), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(r);(0, E.useEffect)(() => () => o.current?.close(), []);let [u, d] = (0, E.useState)(!1), f = {@@ -55178,7 +55178,7 @@ function aL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- s ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(JTe, {+ s ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(YTe, {command: s.command,dialog: s.dialog,speed: r,@@ -55187,11 +55187,11 @@ function aL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standl.current = e;}}), s.host) : null,- s ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(WO, {+ s ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(UO, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: TO,+ trailingIcon: wO,disabled: e,onClick: (e) => {s.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : s.dialog.close();@@ -55209,7 +55209,7 @@ function aL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}), /* @__PURE__ */ (0, D.jsx)(q, {ref: a,iconOnly: !0,- leadingIcon: wO,+ leadingIcon: CO,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": u,@@ -55219,14 +55219,14 @@ function aL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}})]}),- /* @__PURE__ */ (0, D.jsx)(UA, {+ /* @__PURE__ */ (0, D.jsx)(HA, {triggerRef: a,isOpen: u,onOpenChange: d,placement: "bottom end",offset: 4,- className: yN,- children: /* @__PURE__ */ (0, D.jsx)(UP, {+ className: vN,+ children: /* @__PURE__ */ (0, D.jsx)(HP, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",children: p.map(({ label: e, description: t, command: r }) => {@@ -55235,7 +55235,7 @@ function aL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standtype: "button",disabled: i,title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: hO(bN, xN, "text-body-2-medium"),+ className: mO(yN, bN, "text-body-2-medium"),onClick: () => m(r),children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -55252,48 +55252,48 @@ function aL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}//#endregion//#region src/react/library-processing/library-completion.tsx-function oL(e, t) {+function aL(e, t) {return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !Fa(e, "small", !1, t).html).map((e) => e.id))];}-function sL({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, D.jsx)(YTe, {+function oL({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, D.jsx)(XTe, {assetIds: e,onComplete: t,className: n}) : null;}-function YTe({ assetIds: e, onComplete: t, className: n }) {+function XTe({ assetIds: e, onComplete: t, className: n }) {let r = yt({- queryKey: MP,- queryFn: ({ signal: e }) => FP(e),- refetchInterval: (e) => RP(e.state.data, !0)+ queryKey: jP,+ queryFn: ({ signal: e }) => PP(e),+ refetchInterval: (e) => LP(e.state.data, !0)}), [i, a] = (0, E.useState)(null), [o, s] = (0, E.useState)(""), c = (0, E.useRef)(null), l = bt({- mutationFn: (t) => U(jP, {+ mutationFn: (t) => U(AP, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), W.setQueryData(MP, e), W.invalidateQueries({ queryKey: MP });+ a(e.job_id || null), W.setQueryData(jP, e), W.invalidateQueries({ queryKey: jP });}}), u = r.data;if ((0, E.useEffect)(() => {- u && i && u.job_id === i && !NP(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), W.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !MP(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), W.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t- ]), NP(u)) return null;- let d = l.isPending || NP(u), f = l.error ? V(l.error) : r.error ? LP : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);+ ]), MP(u)) return null;+ let d = l.isPending || MP(u), f = l.error ? V(l.error) : r.error ? IP : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);return /* @__PURE__ */ (0, D.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: hO("@container", n),+ className: mO("@container", n),children: /* @__PURE__ */ (0, D.jsxs)(J, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, D.jsx)(aL, {+ children: /* @__PURE__ */ (0, D.jsx)(iL, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -55304,10 +55304,10 @@ function YTe({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, D.jsx)(WO, {+ /* @__PURE__ */ (0, D.jsx)(UO, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: TO,+ trailingIcon: wO,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -55316,32 +55316,32 @@ function YTe({ assetIds: e, onComplete: t, className: n }) {}//#endregion//#region node_modules/@tanstack/react-table/dist/FlexRender.js-function XTe(e) {- return ZTe(e) || typeof e == "function" || QTe(e);-}function ZTe(e) {+ return QTe(e) || typeof e == "function" || $Te(e);+}+function QTe(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function QTe(e) {+function $Te(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function cL(e, t) {- return e == null ? null : XTe(e) ? /* @__PURE__ */ E.createElement(e, t) : e;+function sL(e, t) {+ return e == null ? null : ZTe(e) ? /* @__PURE__ */ E.createElement(e, t) : e;}-function $Te(e) {+function eEe(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? cL(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : cL(n.cell, t.getContext());+ return r.getIsAggregated?.() ? sL(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : sL(n.cell, t.getContext());}- return "header" in e && e.header ? cL(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? cL(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? sL(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? sL(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}//#endregion//#region node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function eEe({ update: e, notify: t, unwatched: n }) {+function tEe({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -55459,7 +55459,7 @@ function eEe({ update: e, notify: t, unwatched: n }) {}//#endregion//#region node_modules/@tanstack/store/dist/atom.js-function tEe(e, t, n) {+function nEe(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -55467,38 +55467,38 @@ function tEe(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var lL = [], uL = 0, { link: dL, unlink: nEe, propagate: rEe, checkDirty: fL, shallowPropagate: pL } = /* @__PURE__ */ eEe({+var cL = [], lL = 0, { link: uL, unlink: rEe, propagate: iEe, checkDirty: dL, shallowPropagate: fL } = /* @__PURE__ */ tEe({update(e) {return e._update();},notify(e) {- lL[hL++] = e, e.flags &= -3;+ cL[mL++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, vL(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, _L(e));}-}), mL = 0, hL = 0, gL, _L = 0;-function iEe(e) {+}), pL = 0, mL = 0, hL, gL = 0;+function aEe(e) {try {- ++_L, e();+ ++gL, e();} finally {- --_L || yL();+ --gL || vL();}}-function vL(e) {+function _L(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = nEe(n, e);+ for (; n !== void 0;) n = rEe(n, e);}-function yL() {- if (!(_L > 0)) {- for (; mL < hL;) {- let e = lL[mL];- lL[mL++] = void 0, e.notify();+function vL() {+ if (!(gL > 0)) {+ for (; pL < mL;) {+ let e = cL[pL];+ cL[pL++] = void 0, e.notify();}- mL = 0, hL = 0;+ pL = 0, mL = 0;}}-function aEe(e, t) {+function oEe(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -55507,53 +55507,53 @@ function aEe(e, t) {depsTail: void 0,flags: +!n,get() {- return gL !== void 0 && dL(i, gL, uL), i._snapshot;+ return hL !== void 0 && uL(i, hL, lL), i._snapshot;},subscribe(e) {- let t = tEe(e), n = { current: !1 }, r = oEe(() => {- i.get(), n.current ? (gL = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = nEe(e), n = { current: !1 }, r = sEe(() => {+ i.get(), n.current ? (hL = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = gL, o = t?.compare ?? Object.is;- if (n) gL = i, ++uL, i.depsTail = void 0;+ let a = hL, o = t?.compare ?? Object.is;+ if (n) hL = i, ++lL, i.depsTail = void 0;else if (e === void 0) return !1;n && (i.flags = 5);try {let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;} finally {- gL = a, n && (i.flags &= -5), vL(i);+ hL = a, n && (i.flags &= -5), _L(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && fL(i.deps, i)) {+ if (e & 16 || e & 32 && dL(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && pL(e);+ e !== void 0 && fL(e);}} else e & 32 && (i.flags = e & -33);- return gL !== void 0 && dL(i, gL, uL), i._snapshot;+ return hL !== void 0 && uL(i, hL, lL), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (rEe(e), pL(e), yL());+ e !== void 0 && (iEe(e), fL(e), vL());}}, i;}-function oEe(e) {+function sEe(e) {let t = () => {- let t = gL;- gL = n, ++uL, n.depsTail = void 0, n.flags = 6;+ let t = hL;+ hL = n, ++lL, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- gL = t, n.flags &= -5, vL(n);+ hL = t, n.flags &= -5, _L(n);}}, n = {deps: void 0,@@ -55563,17 +55563,17 @@ function oEe(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && fL(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && dL(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, vL(this);+ this.flags = 0, this.depsTail = void 0, _L(this);}};return t(), n;}//#endregion//#region node_modules/@tanstack/store/dist/shallow.js-function bL(e, t) {+function yL(e, t) {if (Object.is(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;if (e instanceof Map && t instanceof Map) {@@ -55587,17 +55587,17 @@ function bL(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = xL(e);- if (n.length !== xL(t).length) return !1;+ let n = bL(e);+ if (n.length !== bL(t).length) return !1;for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;return !0;}-function xL(e) {+function bL(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var sEe = /* @__PURE__ */ o(((e) => {+var cEe = /* @__PURE__ */ o(((e) => {var t = _(), n = ny();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -55642,28 +55642,28 @@ var sEe = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), SL = (/* @__PURE__ */ o(((e, t) => {- t.exports = sEe();+})), xL = (/* @__PURE__ */ o(((e, t) => {+ t.exports = cEe();})))();-function cEe(e, t) {+function lEe(e, t) {return e === t;}-function CL(e, t = (e) => e, n) {- let r = n?.compare ?? cEe, i = (0, E.useCallback)((t) => {+function SL(e, t = (e) => e, n) {+ let r = n?.compare ?? lEe, i = (0, E.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, E.useCallback)(() => e.get(), [e]);- return (0, SL.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, xL.useSyncExternalStoreWithSelector)(i, a, a, t, r);}//#endregion//#region node_modules/@tanstack/react-table/dist/Subscribe.js-function lEe(e) {- let t = CL(e.source, e.selector, { compare: bL });+function uEe(e) {+ let t = SL(e.source, e.selector, { compare: yL });return typeof e.children == "function" ? e.children(t) : e.children;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function uEe(e) {+function dEe(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();@@ -55671,7 +55671,7 @@ function uEe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function dEe(e) {+function fEe(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -55701,7 +55701,7 @@ function dEe(e) {}};}-function fEe(e, t = Object.is) {+function pEe(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -55715,29 +55715,29 @@ function fEe(e, t = Object.is) {}//#endregion//#region node_modules/@tanstack/react-table/dist/reactivity.js-function pEe() {- return dEe({- createAtom: aEe,- batch: iEe+function mEe() {+ return fEe({+ createAtom: oEe,+ batch: aEe});}//#endregion//#region node_modules/@tanstack/table-core/dist/utils.js-function wL(e, t) {+function CL(e, t) {return typeof e == "function" ? e(t) : e;}-function TL(e) {- if (Array.isArray(e)) return e.map(TL);+function wL(e) {+ if (Array.isArray(e)) return e.map(wL);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? DL() : {}, r = Object.keys(e);+ let n = t === null ? EL() : {}, r = Object.keys(e);for (let t = 0; t < r.length; t++) {let i = r[t];Object.defineProperty(n, i, {configurable: !0,enumerable: !0,- value: TL(e[i]),+ value: wL(e[i]),writable: !0});}@@ -55745,7 +55745,7 @@ function TL(e) {}return e;}-function EL(e, t) {+function TL(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -55753,53 +55753,53 @@ function EL(e, t) {}return e;}-function DL() {+function EL() {return Object.create(null);}-function OL(e, t) {+function DL(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function kL(e, t) {+function OL(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => wL(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => CL(n, e));};}-function AL(e) {+function kL(e) {if (typeof e != "object" || !e) return !1;if (Array.isArray(e)) return !0;let t = Object.getPrototypeOf(e);return t === Object.prototype || t === null;}-function jL(e) {+function AL(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var mEe = 3;-function hEe(e, t) {- return ML(e, t, mEe);+var hEe = 3;+function gEe(e, t) {+ return jL(e, t, hEe);}-function ML(e, t, n) {+function jL(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !AL(e) || !AL(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = jL(e), i = jL(t);+ if (n <= 0 || !kL(e) || !kL(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = AL(e), i = AL(t);if (r.length !== i.length) return !1;let a = e, o = t;for (let e = 0; e < r.length; e++) {let i = r[e];- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !ML(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !jL(a[i], o[i], n - 1)) return !1;}return !0;}-function NL(e, t, n, r = hEe) {+function ML(e, t, n, r = gEe) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = wL(n, e);+ let t = CL(n, e);return r(e, t) ? e : t;});}-function gEe(e) {+function _Ee(e) {return e instanceof Function;}-function _Ee(e, t) {+function vEe(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -55809,7 +55809,7 @@ function _Ee(e, t) {};return r(e), n;}-var vEe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var yEe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -55823,23 +55823,23 @@ var vEe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCoreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function PL(e) {+function NL(e) {let t = !1;return () => {t ? e() : t = !0;};}-function FL({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function PL({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {let o = { onAfterUpdate: r ? () => {let { schedule: e, untrack: t } = i._reactivity;e(() => t(() => r()));} : void 0 };- return vEe({+ return yEe({...a,...o});}-function IL(e, t = "_") {+function FL(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -55847,10 +55847,10 @@ function IL(e, t = "_") {parentName: n};}-function LL(e, t, n) {+function IL(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = IL(r);- t[n] = a ? FL({+ let { fnKey: n, fnName: o } = FL(r);+ t[n] = a ? PL({memoDeps: a,fn: i,fnName: o,@@ -55859,15 +55859,15 @@ function LL(e, t, n) {}) : i;}}-function RL(e, t, n, r) {+function LL(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = IL(i);+ let { fnKey: r, fnName: s } = FL(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = FL({+ this[i] = PL({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -55883,18 +55883,18 @@ function RL(e, t, n, r) {};}}-function zL(e, t, n, ...r) {+function RL(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function yEe(e) {+function bEe(e) {return e.row.getValue(e.column.id);}-function bEe(e) {+function xEe(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function xEe(e) {+function SEe(e) {return {table: e.table,column: e.column,@@ -55906,19 +55906,19 @@ function xEe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var SEe = { assignCellPrototype: (e, t) => {- RL("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => yEe(e) },- cell_renderValue: { fn: (e) => bEe(e) },+var CEe = { assignCellPrototype: (e, t) => {+ LL("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => bEe(e) },+ cell_renderValue: { fn: (e) => xEe(e) },cell_getContext: {- fn: (e) => xEe(e),+ fn: (e) => SEe(e),memoDeps: (e) => [e]}});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function CEe(e) {+function wEe(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55926,7 +55926,7 @@ function CEe(e) {}return e._columnPrototype;}-function wEe(e, t, n, r) {+function TEe(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55946,7 +55946,7 @@ function wEe(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = CEe(e), u = Object.create(l);+ let l = wEe(e), u = Object.create(l);u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;let d = e._columnInstanceInitFns;for (let e = 0; e < d.length; e++) d[e](u);@@ -55954,47 +55954,47 @@ function wEe(e, t, n, r) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js-function BL(e) {+function zL(e) {return e.getIsVisible?.() ?? !0;}-function TEe(e) {+function EEe(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function VL(e, t) {+function BL(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function HL(e, t, n, r) {+function VL(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function UL(e, t) {+function HL(e, t) {return e._expandRows?.(t) ?? t;}-function EEe(e) {+function DEe(e) {e.autoResetExpanded?.();}-function WL(e) {+function UL(e) {e.autoResetPageIndex?.();}-function DEe(e) {+function OEe(e) {e.autoResetSorting?.();}-function OEe(e) {+function kEe(e) {e.autoResetCellSelection?.();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function kEe(e) {+function AEe(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function AEe(e) {+function jEe(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return VL(e.table, t);+ return BL(e.table, t);}return [e];}-function jEe(e) {+function MEe(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -56005,54 +56005,54 @@ function jEe(e) {...e.options.defaultColumn};}-function GL(e, t, n, r = 0) {+function WL(e, t, n, r = 0) {let i = Array(t.length);for (let a = 0; a < t.length; a++) {if (!(a in t)) continue;- let o = t[a], s = wEe(e, o, r, n), c = o;- s.columns = c.columns ? GL(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = TEe(e, o, r, n), c = o;+ s.columns = c.columns ? WL(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function MEe(e) {- return GL(e, e.options.columns);-}function NEe(e) {- return e.getAllColumns().flatMap((e) => e.getFlatColumns());+ return WL(e, e.options.columns);}function PEe(e) {- let t = DL(), n = e.getAllFlatColumns();+ return e.getAllColumns().flatMap((e) => e.getFlatColumns());+}+function FEe(e) {+ let t = EL(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function FEe(e) {- return VL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));-}function IEe(e) {- let t = DL(), n = e.getAllLeafColumns();+ return BL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+}+function LEe(e) {+ let t = EL(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function LEe(e, t) {+function REe(e, t) {return e.getAllFlatColumnsById()[t];}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var REe = {+var zEe = {assignColumnPrototype: (e, t) => {- RL("coreColumnsFeature", e, t, {+ LL("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => kEe(e),+ fn: (e) => AEe(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => AEe(e),+ fn: (e) => jEe(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -56063,25 +56063,25 @@ var REe = {});},constructTableAPIs: (e) => {- LL("coreColumnsFeature", e, {+ IL("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => jEe(e),+ fn: () => MEe(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => MEe(e),+ fn: () => NEe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => NEe(e),+ fn: () => PEe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => PEe(e),+ fn: () => FEe(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => FEe(e),+ fn: () => IEe(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -56090,16 +56090,16 @@ var REe = {]},table_getAllLeafColumnsById: {- fn: () => IEe(e),+ fn: () => LEe(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => LEe(e, t) }+ table_getColumn: { fn: (t) => REe(e, t) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function zEe(e) {+function BEe(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -56107,8 +56107,8 @@ function zEe(e) {}return e._headerPrototype;}-function KL(e, t, n) {- let r = zEe(e), i = Object.create(r);+function GL(e, t, n) {+ let r = BEe(e), i = Object.create(r);i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];let a = e._headerInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -56116,30 +56116,30 @@ function KL(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js-function qL(e, t = 1) {+function KL(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- BL(i) && i.columns.length && (n = Math.max(n, qL(i.columns, t + 1)));+ zL(i) && i.columns.length && (n = Math.max(n, KL(i.columns, t + 1)));}return n;}-function BEe(e, t) {+function VEe(e, t) {return e ? `${e}_${t}` : String(t);}-function VEe(e, t, n, r) {+function HEe(e, t, n, r) {let i = e ?? "";return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;}-function HEe(e, t) {+function UEe(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;}-function JL(e, t, n, r, i, a) {+function qL(e, t, n, r, i, a) {let o = {depth: t,- id: BEe(r, t),+ id: VEe(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -56147,10 +56147,10 @@ function JL(e, t, n, r, i, a) {let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);else {- let e = KL(n, u, {- id: VEe(r, t, u.id, a.id),+ let e = GL(n, u, {+ id: HEe(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(HEe(s, u)) : void 0,+ placeholderId: d ? String(UEe(s, u)) : void 0,depth: t,index: s.length});@@ -56159,18 +56159,18 @@ function JL(e, t, n, r, i, a) {o.headers.push(a), a.headerGroup = o;}for (let e = 0; e < a.length; e++) a[e](o);- i.push(o), t > 0 && JL(s, t - 1, n, r, i, a);+ i.push(o), t > 0 && qL(s, t - 1, n, r, i, a);}-function YL(e) {+function JL(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!BL(n.column)) continue;+ if (!zL(n.column)) continue;let r = 0;if (n.subHeaders.length) {- YL(n.subHeaders);+ JL(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- BL(t.column) && (r += t.colSpan);+ zL(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -56180,38 +56180,38 @@ function YL(e) {} else n.rowSpan = 1;}}-function UEe(e, t, n, r) {- let i = qL(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);- for (let e = 0; e < t.length; e++) e in t && (s[e] = KL(n, t[e], {+function WEe(e, t, n, r) {+ let i = KL(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = GL(n, t[e], {depth: i,index: e}));- return JL(s, i - 1, n, r, a, o), a.reverse(), YL(a[0]?.headers ?? []), a;+ return qL(s, i - 1, n, r, a, o), a.reverse(), JL(a[0]?.headers ?? []), a;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js-function XL(e, t) {- for (let n = 0; n < e.subHeaders.length; n++) XL(e.subHeaders[n], t);+function YL(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) YL(e.subHeaders[n], t);t.push(e);}-function WEe(e) {+function GEe(e) {let t = [];- return XL(e, t), t;+ return YL(e, t), t;}-function GEe(e) {+function KEe(e) {return {column: e.column,header: e,table: e.column.table};}-function KEe(e) {- return UEe(e.getAllColumns(), HL(e, TEe(e), (e) => e.id), e);-}function qEe(e) {- return [...e.getHeaderGroups()].reverse();+ return WEe(e.getAllColumns(), VL(e, EEe(e), (e) => e.id), e);}function JEe(e) {+ return [...e.getHeaderGroups()].reverse();+}+function YEe(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -56219,7 +56219,7 @@ function JEe(e) {}return n;}-function YEe(e) {+function XEe(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -56229,23 +56229,23 @@ function YEe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var XEe = {+var ZEe = {assignHeaderPrototype: (e, t) => {- RL("coreHeadersFeature", e, t, {+ LL("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => WEe(e),+ fn: (e) => GEe(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => GEe(e),+ fn: (e) => KEe(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- LL("coreHeadersFeature", e, {+ IL("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => KEe(e),+ fn: () => qEe(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -56256,15 +56256,15 @@ var XEe = {]},table_getFooterGroups: {- fn: () => qEe(e),+ fn: () => JEe(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => JEe(e),+ fn: () => YEe(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => YEe(e),+ fn: () => XEe(e),memoDeps: () => [e.getHeaderGroups()]}});@@ -56272,7 +56272,7 @@ var XEe = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function ZEe(e) {+function QEe(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -56280,102 +56280,102 @@ function ZEe(e) {}return e._rowPrototype;}-var QEe = (e, t, n, r, i, a, o) => {- let s = ZEe(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = DL(), c._valuesCache = DL(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var $Ee = (e, t, n, r, i, a, o) => {+ let s = QEe(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = EL(), c._valuesCache = EL(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function $Ee() {- return (e) => FL({+function eDe() {+ return (e) => PL({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => eDe(e, e.options.data),- onAfterUpdate: PL(() => {- EEe(e), WL(e), DEe(e), OEe(e);+ fn: () => tDe(e, e.options.data),+ onAfterUpdate: NL(() => {+ DEe(e), UL(e), OEe(e), kEe(e);})});}-function ZL(e, t, n, r = 0, i) {+function XL(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = QEe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);- t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = ZL(e, t, c.originalSubRows, r + 1, c)));+ let s = n[o], c = $Ee(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = XL(e, t, c.originalSubRows, r + 1, c)));}return a;}-function eDe(e, t) {+function tDe(e, t) {let n = {rows: [],flatRows: [],- rowsById: DL()+ rowsById: EL()};- return n.rows = ZL(e, n, t), n;+ return n.rows = XL(e, n, t), n;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function tDe(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? $Ee()(e)), e._rowModels.coreRowModel();-}function nDe(e) {- return e.getCoreRowModel();+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? eDe()(e)), e._rowModels.coreRowModel();}function rDe(e) {- return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();+ return e.getCoreRowModel();}function iDe(e) {- return e.getFilteredRowModel();+ return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}function aDe(e) {- return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();+ return e.getFilteredRowModel();}function oDe(e) {- return e.getGroupedRowModel();+ return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}function sDe(e) {- return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();+ return e.getGroupedRowModel();}function cDe(e) {- return e.getSortedRowModel();+ return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}function lDe(e) {- return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();+ return e.getSortedRowModel();}function uDe(e) {- return e.getExpandedRowModel();+ return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}function dDe(e) {- return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();+ return e.getExpandedRowModel();}function fDe(e) {+ return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();+}+function pDe(e) {return e.getPaginatedRowModel();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var pDe = { constructTableAPIs: (e) => {- LL("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => tDe(e) },- table_getPreFilteredRowModel: { fn: () => nDe(e) },- table_getFilteredRowModel: { fn: () => rDe(e) },- table_getPreGroupedRowModel: { fn: () => iDe(e) },- table_getGroupedRowModel: { fn: () => aDe(e) },- table_getPreSortedRowModel: { fn: () => oDe(e) },- table_getSortedRowModel: { fn: () => sDe(e) },- table_getPreExpandedRowModel: { fn: () => cDe(e) },- table_getExpandedRowModel: { fn: () => lDe(e) },- table_getPrePaginatedRowModel: { fn: () => uDe(e) },- table_getPaginatedRowModel: { fn: () => dDe(e) },- table_getRowModel: { fn: () => fDe(e) }+var mDe = { constructTableAPIs: (e) => {+ IL("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => nDe(e) },+ table_getPreFilteredRowModel: { fn: () => rDe(e) },+ table_getFilteredRowModel: { fn: () => iDe(e) },+ table_getPreGroupedRowModel: { fn: () => aDe(e) },+ table_getGroupedRowModel: { fn: () => oDe(e) },+ table_getPreSortedRowModel: { fn: () => sDe(e) },+ table_getSortedRowModel: { fn: () => cDe(e) },+ table_getPreExpandedRowModel: { fn: () => lDe(e) },+ table_getExpandedRowModel: { fn: () => uDe(e) },+ table_getPrePaginatedRowModel: { fn: () => dDe(e) },+ table_getPaginatedRowModel: { fn: () => fDe(e) },+ table_getRowModel: { fn: () => pDe(e) }});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function mDe(e) {+function hDe(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -56383,8 +56383,8 @@ function mDe(e) {}return e._cellPrototype;}-function hDe(e, t, n) {- let r = mDe(n), i = Object.create(r);+function gDe(e, t, n) {+ let r = hDe(n), i = Object.create(r);i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;let a = n._cellInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -56392,40 +56392,40 @@ function hDe(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function gDe(e) {+function _De(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function _De(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? UL(e, t).rows : t.rows;+function vDe(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? HL(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function vDe(e, t) {- if (OL(e._valuesCache, t)) return e._valuesCache[t];+function yDe(e, t) {+ if (DL(e._valuesCache, t)) return e._valuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];}-function yDe(e, t) {- if (OL(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function bDe(e, t) {+ if (DL(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);}-function bDe(e, t) {+function xDe(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function xDe(e) {- return _Ee(e.subRows, (e) => e.subRows);-}function SDe(e) {+ return vEe(e.subRows, (e) => e.subRows);+}+function CDe(e) {let t = e.getCoreRowModel().flatRows, n = 0;for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);return n;}-function CDe(e) {+function wDe(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function wDe(e) {+function TDe(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -56434,71 +56434,71 @@ function wDe(e) {}return t.reverse();}-function TDe(e) {+function EDe(e) {let t = e.table.getAllLeafColumns(), n = e._cellsCache;n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();let r = Array(t.length);for (let i = 0; i < t.length; i++) {let a = t[i], o = n.get(a);- o || (o = hDe(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = gDe(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function EDe(e) {- let t = DL(), n = e.getAllCells();+function DDe(e) {+ let t = EL(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function DDe(e, t, n, r) {+function ODe(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function ODe(e, t, n) {+function kDe(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var kDe = {+var ADe = {assignRowPrototype: (e, t) => {- RL("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => gDe(e) },+ LL("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => _De(e) },row_getAllCellsByColumnId: {- fn: (e) => EDe(e),+ fn: (e) => DDe(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => TDe(e),+ fn: (e) => EDe(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => xDe(e),+ fn: (e) => SDe(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => CDe(e) },- row_getParentRows: { fn: (e) => wDe(e) },- row_getUniqueValues: { fn: (e, t) => yDe(e, t) },- row_getValue: { fn: (e, t) => vDe(e, t) },- row_renderValue: { fn: (e, t) => bDe(e, t) }+ row_getParentRow: { fn: (e) => wDe(e) },+ row_getParentRows: { fn: (e) => TDe(e) },+ row_getUniqueValues: { fn: (e, t) => bDe(e, t) },+ row_getValue: { fn: (e, t) => yDe(e, t) },+ row_renderValue: { fn: (e, t) => xDe(e, t) }});},constructTableAPIs: (e) => {- LL("coreRowsFeature", e, {+ IL("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => _De(e),+ fn: () => vDe(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => DDe(t, e, n, r) },- table_getRow: { fn: (t, n) => ODe(e, t, n) },+ table_getRowId: { fn: (t, n, r) => ODe(t, e, n, r) },+ table_getRow: { fn: (t, n) => kDe(e, t, n) },table_getMaxSubRowDepth: {- fn: () => SDe(e),+ fn: () => CDe(e),memoDeps: () => [e.getCoreRowModel()]}});@@ -56506,7 +56506,7 @@ var kDe = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js-function QL(e, t, n = (e, t) => e === t) {+function ZL(e, t, n = (e, t) => e === t) {let r = t === void 0 ? e.options.state : t;e._reactivity.batch(() => {if (r) for (let t in r) {@@ -56517,13 +56517,13 @@ function QL(e, t, n = (e, t) => e === t) {}});}-function $L(e, t, n = (e, t) => e === t) {+function QL(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- QL(e, t, n), e._reactivity.commit?.();+ ZL(e, t, n), e._reactivity.commit?.();});}-function ADe(e) {- let t = TL(e.initialState);+function jDe(e) {+ let t = wL(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -56534,7 +56534,7 @@ function ADe(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function jDe(e, t) {+function MDe(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -56566,28 +56566,28 @@ function jDe(e, t) {}});}-function eR(e, t, n) {- let r = jDe(e, wL(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && $L(e, r.state ?? null);+function $L(e, t, n) {+ let r = MDe(e, CL(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && QL(e, r.state ?? null);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var MDe = {- coreCellsFeature: SEe,- coreColumnsFeature: REe,- coreHeadersFeature: XEe,- coreRowModelsFeature: pDe,- coreRowsFeature: kDe,+var NDe = {+ coreCellsFeature: CEe,+ coreColumnsFeature: zEe,+ coreHeadersFeature: ZEe,+ coreRowModelsFeature: mDe,+ coreRowsFeature: ADe,coreTablesFeature: { constructTableAPIs: (e) => {- LL("coreTablesFeature", e, {- table_reset: { fn: () => ADe(e) },- table_setOptions: { fn: (t) => eR(e, t) }+ IL("coreTablesFeature", e, {+ table_reset: { fn: () => jDe(e) },+ table_setOptions: { fn: (t) => $L(e, t) }});} }};//#endregion//#region node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function tR() {+function eR() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -56603,22 +56603,22 @@ function tR() {}//#endregion//#region node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function nR(e) {+function tR(e) {return e;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function NDe(e, t = {}) {+function PDe(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), TL(t);+ }), wL(t);}-function PDe(e) {+function FDe(e) {let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {_cellInstanceInitFns: [],_columnInstanceInitFns: [],_features: {- ...MDe,+ ...NDe,..._},_headerGroupInstanceInitFns: [],@@ -56656,7 +56656,7 @@ function PDe(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = NDe(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = PDe(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -56664,14 +56664,14 @@ function PDe(e) {let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();if (t) return r;let i = e.state;- if (i && OL(i, n)) {+ if (i && DL(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- QL(v), v.store = uEe(t.createReadonlyAtom(() => {+ ZL(v), v.store = dEe(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -56679,7 +56679,7 @@ function PDe(e) {}return e;}, {- compare: bL,+ compare: yL,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -56690,108 +56690,108 @@ function PDe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function FDe() {- return DL();+function IDe() {+ return EL();}-function rR(e, t) {- aR(e) && sR(e.table, (n) => {- let r = Object.assign(DL(), n), i = t ?? !zL(e, "getIsVisible", iR), a = e.getLeafColumns();+function nR(e, t) {+ iR(e) && oR(e.table, (n) => {+ let r = Object.assign(EL(), n), i = t ?? !RL(e, "getIsVisible", rR), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- aR(t) && (r[t.id] = i);+ iR(t) && (r[t.id] = i);}return r;});}-function iR(e) {+function rR(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => zL(e, "getIsVisible", iR)) : (OL(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => RL(e, "getIsVisible", rR)) : (DL(t, e.id) ? t[e.id] : void 0) ?? !0;}-function aR(e) {+function iR(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function IDe(e) {+function LDe(e) {return (t) => {- rR(e, t.target.checked);+ nR(e, t.target.checked);};}-function LDe(e) {+function RDe(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- zL(r.column, "getIsVisible", iR) && n.push(r);+ RL(r.column, "getIsVisible", rR) && n.push(r);}- return HL(e.table, n, (e) => e.column.id, () => zL(e, "getVisibleCellsByColumnId", oR));+ return VL(e.table, n, (e) => e.column.id, () => RL(e, "getVisibleCellsByColumnId", aR));}-function oR(e) {- let t = DL(), n = e.getAllCells();+function aR(e) {+ let t = EL(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- zL(r.column, "getIsVisible", iR) && (t[r.column.id] = r);+ RL(r.column, "getIsVisible", rR) && (t[r.column.id] = r);}return t;}-function RDe(e) {- return e.getAllFlatColumns().filter((e) => zL(e, "getIsVisible", iR));-}function zDe(e) {- return e.getAllLeafColumns().filter((e) => zL(e, "getIsVisible", iR));+ return e.getAllFlatColumns().filter((e) => RL(e, "getIsVisible", rR));}-function sR(e, t) {- NL(e, "columnVisibility", t);+function BDe(e) {+ return e.getAllLeafColumns().filter((e) => RL(e, "getIsVisible", rR));+}+function oR(e, t) {+ ML(e, "columnVisibility", t);}-function BDe(e, t) {- sR(e, t ? DL() : Object.assign(DL(), TL(e.initialState.columnVisibility ?? {})));+function VDe(e, t) {+ oR(e, t ? EL() : Object.assign(EL(), wL(e.initialState.columnVisibility ?? {})));}-function cR(e, t) {- t ??= !lR(e);- let n = DL(), r = e.getAllLeafColumns();+function sR(e, t) {+ t ??= !cR(e);+ let n = EL(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];- n[i.id] = t || !aR(i);+ n[i.id] = t || !iR(i);}- sR(e, n);-}-function lR(e) {- return !e.getAllLeafColumns().some((e) => !zL(e, "getIsVisible", iR));+ oR(e, n);}-function VDe(e) {- return e.getAllLeafColumns().some((e) => zL(e, "getIsVisible", iR));+function cR(e) {+ return !e.getAllLeafColumns().some((e) => !RL(e, "getIsVisible", rR));}function HDe(e) {+ return e.getAllLeafColumns().some((e) => RL(e, "getIsVisible", rR));+}+function UDe(e) {return (t) => {- cR(e, t.target.checked);+ sR(e, t.target.checked);};}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var uR = {+var lR = {getInitialState: (e) => ({- columnVisibility: FDe(),+ columnVisibility: IDe(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: kL("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: OL("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- RL("columnVisibilityFeature", e, t, {+ LL("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => iR(e),+ fn: (e) => rR(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => aR(e) },- column_getToggleVisibilityHandler: { fn: (e) => IDe(e) },- column_toggleVisibility: { fn: (e, t) => rR(e, t) }+ column_getCanHide: { fn: (e) => iR(e) },+ column_getToggleVisibilityHandler: { fn: (e) => LDe(e) },+ column_toggleVisibility: { fn: (e, t) => nR(e, t) }});},assignRowPrototype: (e, t) => {- RL("columnVisibilityFeature", e, t, {+ LL("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => LDe(e),+ fn: (e) => RDe(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -56799,15 +56799,15 @@ var uR = {]},row_getVisibleCellsByColumnId: {- fn: (e) => oR(e),+ fn: (e) => aR(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- LL("columnVisibilityFeature", e, {+ IL("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => RDe(e),+ fn: () => zDe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56817,7 +56817,7 @@ var uR = {]},table_getVisibleLeafColumns: {- fn: () => zDe(e),+ fn: () => BDe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56826,51 +56826,51 @@ var uR = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => sR(e, t) },- table_resetColumnVisibility: { fn: (t) => BDe(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => cR(e, t) },- table_getIsAllColumnsVisible: { fn: () => lR(e) },- table_getIsSomeColumnsVisible: { fn: () => VDe(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => HDe(e) }+ table_setColumnVisibility: { fn: (t) => oR(e, t) },+ table_resetColumnVisibility: { fn: (t) => VDe(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => sR(e, t) },+ table_getIsAllColumnsVisible: { fn: () => cR(e) },+ table_getIsSomeColumnsVisible: { fn: () => HDe(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => UDe(e) }});}-}, dR = 0, fR = 10;-function pR() {+}, uR = 0, dR = 10;+function fR() {return {- pageIndex: dR,- pageSize: fR+ pageIndex: uR,+ pageSize: dR};}-function UDe(e) {+function WDe(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if ((e.atoms.pagination?.get()?.pageIndex ?? dR) === dR) return;- gR(e, !0);+ if ((e.atoms.pagination?.get()?.pageIndex ?? uR) === uR) return;+ hR(e, !0);}}-function mR(e, t) {- NL(e, "pagination", t);+function pR(e, t) {+ ML(e, "pagination", t);}-function WDe(e, t) {- mR(e, t ? pR() : TL(e.initialState.pagination ?? pR()));+function GDe(e, t) {+ pR(e, t ? fR() : wL(e.initialState.pagination ?? fR()));}-function hR(e, t) {- mR(e, (n) => {- let r = wL(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+function mR(e, t) {+ pR(e, (n) => {+ let r = CL(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;return r = Math.max(0, Math.min(r, i)), {...n,pageIndex: r};});}-function gR(e, t) {- hR(e, t ? dR : e.initialState.pagination?.pageIndex ?? dR);+function hR(e, t) {+ mR(e, t ? uR : e.initialState.pagination?.pageIndex ?? uR);}-function GDe(e, t) {- _R(e, t ? fR : e.initialState.pagination?.pageSize ?? fR);+function KDe(e, t) {+ gR(e, t ? dR : e.initialState.pagination?.pageSize ?? dR);}-function _R(e, t) {- mR(e, (e) => {- let n = Math.max(1, wL(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+function gR(e, t) {+ pR(e, (e) => {+ let n = Math.max(1, CL(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56878,233 +56878,233 @@ function _R(e, t) {};});}-function KDe(e) {- let t = vR(e), n = [];- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;-}function qDe(e) {- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;+ let t = _R(e), n = [];+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}function JDe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? dR, n = vR(e);- return n === -1 || n !== 0 && t < n - 1;+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}function YDe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? dR, n = vR(e);- return Number.isFinite(n) && n > 0 && t < n - 1;+ let t = e.atoms.pagination?.get()?.pageIndex ?? uR, n = _R(e);+ return n === -1 || n !== 0 && t < n - 1;}function XDe(e) {- return hR(e, (e) => e - 1);+ let t = e.atoms.pagination?.get()?.pageIndex ?? uR, n = _R(e);+ return Number.isFinite(n) && n > 0 && t < n - 1;}function ZDe(e) {- return hR(e, (e) => e + 1);+ return mR(e, (e) => e - 1);}function QDe(e) {- return hR(e, 0);+ return mR(e, (e) => e + 1);}function $De(e) {- let t = vR(e);- if (!(!Number.isFinite(t) || t <= 0)) return hR(e, t - 1);+ return mR(e, 0);}-function vR(e) {+function eOe(e) {+ let t = _R(e);+ if (!(!Number.isFinite(t) || t <= 0)) return mR(e, t - 1);+}+function _R(e) {let t = e.options.pageCount;if (t != null) return t;- let n = yR(e), r = e.atoms.pagination?.get()?.pageSize ?? fR;+ let n = vR(e), r = e.atoms.pagination?.get()?.pageSize ?? dR;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function yR(e) {+function vR(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var bR = {+var yR = {getInitialState: (e) => ({...e,pagination: {- ...pR(),+ ...fR(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: kL("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: OL("pagination", e) }),constructTableAPIs: (e) => {- LL("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => UDe(e) },- table_setPagination: { fn: (t) => mR(e, t) },- table_resetPagination: { fn: (t) => WDe(e, t) },- table_setPageIndex: { fn: (t) => hR(e, t) },- table_resetPageIndex: { fn: (t) => gR(e, t) },- table_setPageSize: { fn: (t) => _R(e, t) },- table_getPageCount: { fn: () => vR(e) },- table_resetPageSize: { fn: (t) => GDe(e, t) },- table_getPageOptions: { fn: () => KDe(e) },- table_getCanPreviousPage: { fn: () => qDe(e) },- table_getCanNextPage: { fn: () => JDe(e) },- table_getCanLastPage: { fn: () => YDe(e) },- table_previousPage: { fn: () => XDe(e) },- table_nextPage: { fn: () => ZDe(e) },- table_firstPage: { fn: () => QDe(e) },- table_lastPage: { fn: () => $De(e) },- table_getRowCount: { fn: () => yR(e) }+ IL("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => WDe(e) },+ table_setPagination: { fn: (t) => pR(e, t) },+ table_resetPagination: { fn: (t) => GDe(e, t) },+ table_setPageIndex: { fn: (t) => mR(e, t) },+ table_resetPageIndex: { fn: (t) => hR(e, t) },+ table_setPageSize: { fn: (t) => gR(e, t) },+ table_getPageCount: { fn: () => _R(e) },+ table_resetPageSize: { fn: (t) => KDe(e, t) },+ table_getPageOptions: { fn: () => qDe(e) },+ table_getCanPreviousPage: { fn: () => JDe(e) },+ table_getCanNextPage: { fn: () => YDe(e) },+ table_getCanLastPage: { fn: () => XDe(e) },+ table_previousPage: { fn: () => ZDe(e) },+ table_nextPage: { fn: () => QDe(e) },+ table_firstPage: { fn: () => $De(e) },+ table_lastPage: { fn: () => eOe(e) },+ table_getRowCount: { fn: () => vR(e) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function eOe() {- return DL();+function tOe() {+ return EL();}-function xR(e, t) {+function bR(e, t) {e.options.onRowSelectionChange?.(t);}-function tOe(e, t) {- e._lastSelectedRowId = null, xR(e, t ? DL() : Object.assign(DL(), TL(e.initialState.rowSelection ?? {})));+function nOe(e, t) {+ e._lastSelectedRowId = null, bR(e, t ? EL() : Object.assign(EL(), wL(e.initialState.rowSelection ?? {})));}-function SR(e, t, n) {- e._lastSelectedRowId = null, xR(e, (r) => {- if (t = t === void 0 ? !zL(e, "getIsAllRowsSelected", TR) : t, n?.deselectAll && !t) return DL();- let i = Object.assign(DL(), r), a = e.getPreGroupedRowModel().flatRows;+function xR(e, t, n) {+ e._lastSelectedRowId = null, bR(e, (r) => {+ if (t = t === void 0 ? !RL(e, "getIsAllRowsSelected", wR) : t, n?.deselectAll && !t) return EL();+ let i = Object.assign(EL(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- FR(t, e) && (i[t.id] = !0);+ PR(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- jR(e) && delete i[e.id];+ AR(e) && delete i[e.id];});return i;});}-function CR(e, t, n) {- e._lastSelectedRowId = null, xR(e, (r) => {- let i = t === void 0 ? !zL(e, "getIsAllPageRowsSelected", ER) : t;- if (n?.deselectAll && !i) return DL();- let a = Object.assign(DL(), r);+function SR(e, t, n) {+ e._lastSelectedRowId = null, bR(e, (r) => {+ let i = t === void 0 ? !RL(e, "getIsAllPageRowsSelected", TR) : t;+ if (n?.deselectAll && !i) return EL();+ let a = Object.assign(EL(), r);return e.getRowModel().rows.forEach((t) => {- PR(a, t.id, i, !0, e, !0);+ NR(a, t.id, i, !0, e, !0);}), a;});}-function nOe(e) {+function rOe(e) {return e.getCoreRowModel();}-function rOe(e) {+function iOe(e) {let t = e.getCoreRowModel();- return zL(e, "getIsSomeRowsSelected", DR) ? RR(t, e) : {+ return RL(e, "getIsSomeRowsSelected", ER) ? LR(t, e) : {rows: [],flatRows: [],- rowsById: DL()+ rowsById: EL()};}-function iOe(e) {+function aOe(e) {let t = e.getFilteredRowModel();- return zL(e, "getIsSomeRowsSelected", DR) ? RR(t, e) : {+ return RL(e, "getIsSomeRowsSelected", ER) ? LR(t, e) : {rows: [],flatRows: [],- rowsById: DL()+ rowsById: EL()};}-function aOe(e) {+function oOe(e) {let t = e.getSortedRowModel();- return zL(e, "getIsSomeRowsSelected", DR) ? RR(t, e) : {+ return RL(e, "getIsSomeRowsSelected", ER) ? LR(t, e) : {rows: [],flatRows: [],- rowsById: DL()+ rowsById: EL()};}-function wR(e) {+function CR(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function TR(e) {+function wR(e) {let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);if (r) {let e = /* @__PURE__ */ new Map();- t.some((t) => !zR(t, n) && FR(t, e)) && (r = !1);+ t.some((t) => !RR(t, n) && PR(t, e)) && (r = !1);}return r;}-function ER(e) {+function TR(e) {let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;for (let e = 0; e < t.length; e++) {let a = t[e];- if (zR(a, n)) !i && FR(a, r) && (i = !0);- else if (FR(a, r)) return !1;+ if (RR(a, n)) !i && PR(a, r) && (i = !0);+ else if (PR(a, r)) return !1;}return i;}-function DR(e) {- return zL(e, "getSelectedRowIds", wR).length > 0;-}-function oOe(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => jR(e)).some((e) => kR(e) || zL(e, "getIsSomeSelected", AR));+function ER(e) {+ return RL(e, "getSelectedRowIds", CR).length > 0;}function sOe(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => AR(e)).some((e) => OR(e) || RL(e, "getIsSomeSelected", kR));+}+function cOe(e) {return (t) => {- SR(e, t.target.checked);+ xR(e, t.target.checked);};}-function cOe(e) {+function lOe(e) {return (t) => {- CR(e, t.target.checked);+ SR(e, t.target.checked);};}-function OR(e, t, n) {- let r = kR(e);- xR(e.table, (i) => {+function DR(e, t, n) {+ let r = OR(e);+ bR(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(DL(), i);- return PR(a, e.id, t, (n?.selectChildren ?? !0) && NR(e), e.table), !t && n?.deselectParents && IR(a, e), a;+ let a = Object.assign(EL(), i);+ return NR(a, e.id, t, (n?.selectChildren ?? !0) && MR(e), e.table), !t && n?.deselectParents && FR(a, e), a;});}-function kR(e) {- return zR(e, e.table.atoms.rowSelection?.get() ?? {});+function OR(e) {+ return RR(e, e.table.atoms.rowSelection?.get() ?? {});}-function AR(e) {- return BR(e) === "some";+function kR(e) {+ return zR(e) === "some";}-function lOe(e) {- return BR(e) === "all";+function uOe(e) {+ return zR(e) === "all";}-function jR(e) {+function AR(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function MR(e) {+function jR(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function NR(e) {+function MR(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function uOe(e, t) {- let n = jR(e);+function dOe(e, t) {+ let n = AR(e);return (r) => {if (!n) return;let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;- (!(a.options.enableRowRangeSelection !== !1 && s !== null && NR(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !dOe(e, s, o, t)) && OR(e, o, t), a._lastSelectedRowId = e.id;+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && MR(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !fOe(e, s, o, t)) && DR(e, o, t), a._lastSelectedRowId = e.id;};}-function dOe(e, t, n, r) {+function fOe(e, t, n, r) {let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];if (!s) return !1;let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];- if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !NR(s) || !NR(e)) return !1;+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !MR(s) || !MR(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);- return xR(a, (e) => {- let t = Object.assign(DL(), e);+ return bR(a, (e) => {+ let t = Object.assign(EL(), e);for (let e = f; e <= p; e++) {let s = o[e];- jR(s) && NR(s) && (PR(t, s.id, n, i, a), !n && r?.deselectParents && IR(t, s));+ AR(s) && MR(s) && (NR(t, s.id, n, i, a), !n && r?.deselectParents && FR(t, s));}return t;}), !0;}-function PR(e, t, n, r, i, a) {+function NR(e, t, n, r, i, a) {let o = i.getRow(t, !0);- n ? (NR(o) || Object.keys(e).forEach((t) => delete e[t]), jR(o) && (e[t] = !0)) : (!a || jR(o)) && delete e[t], r && o.subRows.length && MR(o) && o.subRows.forEach((t) => PR(e, t.id, n, r, i, a));+ n ? (MR(o) || Object.keys(e).forEach((t) => delete e[t]), AR(o) && (e[t] = !0)) : (!a || AR(o)) && delete e[t], r && o.subRows.length && jR(o) && o.subRows.forEach((t) => NR(e, t.id, n, r, i, a));}-function FR(e, t) {- if (!jR(e)) return !1;+function PR(e, t) {+ if (!AR(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -57120,7 +57120,7 @@ function FR(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!MR(r)) {+ if (!jR(r)) {s = !1;break;}@@ -57128,43 +57128,43 @@ function FR(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function IR(e, t) {+function FR(e, t) {let n = t.table.getCoreRowModel().rowsById, r = t.parentId;for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;}-function LR(e, t, n, r) {+function IR(e, t, n, r) {let i = [];for (let a = 0; a < e.length; a++) {- let o = e[a], s = zR(o, t);+ let o = e[a], s = RR(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = LR(o.subRows, t, n, r);+ let e = IR(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- EL(t, o), t.subRows = e, i.push(t);+ TL(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}-function RR(e, t) {- let n = [], r = DL(), i = t.atoms.rowSelection?.get() ?? {};+function LR(e, t) {+ let n = [], r = EL(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: LR(e.rows, i, n, r),+ rows: IR(e.rows, i, n, r),flatRows: n,rowsById: r};}-function zR(e, t) {- return !!(OL(t, e.id) && t[e.id]);+function RR(e, t) {+ return !!(DL(t, e.id) && t[e.id]);}-function BR(e) {+function zR(e) {if (!e.subRows.length) return !1;let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;for (let a = 0; a < e.subRows.length; a++) {let o = e.subRows[a];if (n && !r) break;- if (jR(o) && (i = !0, zR(o, t) ? n = !0 : r = !1), o.subRows.length) {- let e = BR(o);+ if (AR(o) && (i = !0, RR(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = zR(o);e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;}}@@ -57172,7 +57172,7 @@ function BR(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js-var VR = {+var BR = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -57180,11 +57180,11 @@ var VR = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: eOe(),+ rowSelection: tOe(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: kL("rowSelection", e),+ onRowSelectionChange: OL("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -57195,11 +57195,11 @@ var VR = {}}),assignRowPrototype: (e, t) => {- RL("rowSelectionFeature", e, t, {- row_toggleSelected: { fn: (e, t, n) => OR(e, t, n) },- row_getIsSelected: { fn: (e) => kR(e) },+ LL("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => DR(e, t, n) },+ row_getIsSelected: { fn: (e) => OR(e) },row_getIsSomeSelected: {- fn: (e) => AR(e),+ fn: (e) => kR(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -57207,44 +57207,44 @@ var VR = {]},row_getIsAllSubRowsSelected: {- fn: (e) => lOe(e),+ fn: (e) => uOe(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),e.table.options.enableRowSelection]},- row_getCanSelect: { fn: (e) => jR(e) },- row_getCanSelectSubRows: { fn: (e) => MR(e) },- row_getCanMultiSelect: { fn: (e) => NR(e) },- row_getToggleSelectedHandler: { fn: (e, t) => uOe(e, t) }+ row_getCanSelect: { fn: (e) => AR(e) },+ row_getCanSelectSubRows: { fn: (e) => jR(e) },+ row_getCanMultiSelect: { fn: (e) => MR(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => dOe(e, t) }});},constructTableAPIs: (e) => {- LL("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => xR(e, t) },- table_resetRowSelection: { fn: (t) => tOe(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => SR(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => CR(e, t, n) },- table_getPreSelectedRowModel: { fn: () => nOe(e) },+ IL("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => bR(e, t) },+ table_resetRowSelection: { fn: (t) => nOe(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => xR(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => SR(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => rOe(e) },table_getSelectedRowModel: {- fn: () => rOe(e),+ fn: () => iOe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => iOe(e),+ fn: () => aOe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => aOe(e),+ fn: () => oOe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => wR(e),+ fn: () => CR(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => TR(e),+ fn: () => wR(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -57253,7 +57253,7 @@ var VR = {]},table_getIsAllPageRowsSelected: {- fn: () => ER(e),+ fn: () => TR(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -57262,49 +57262,49 @@ var VR = {]},table_getIsSomeRowsSelected: {- fn: () => DR(e),+ fn: () => ER(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => oOe(e),+ fn: () => sOe(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => sOe(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => cOe(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => cOe(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => lOe(e) }});}-}, fOe = /([0-9]+)/gm;+}, pOe = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function pOe(e) {+function mOe(e) {let t = Object.assign((e, n, r) => {let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);}, e);return t;}-var HR = /* @__PURE__ */ pOe({ sort: (e, t) => mOe(e, t) });-function mOe(e, t) {+var VR = /* @__PURE__ */ mOe({ sort: (e, t) => hOe(e, t) });+function hOe(e, t) {return e === t ? 0 : e > t ? 1 : -1;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function hOe() {+function gOe() {return [];}-function UR(e, t) {- NL(e, "sorting", t);+function HR(e, t) {+ ML(e, "sorting", t);}-function WR(e, t) {- UR(e, t ? [] : TL(e.initialState.sorting ?? []));+function UR(e, t) {+ HR(e, t ? [] : wL(e.initialState.sorting ?? []));}-function gOe(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && WR(e);+function _Oe(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && UR(e);}-function GR(e) {+function WR(e) {let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;for (let t = 0; t < n.length; t++) {let a = n[t].getValue(e.id);@@ -57312,7 +57312,7 @@ function GR(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(fOe).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(pOe).length > 1)) {r = "alphanumeric";break;}@@ -57321,9 +57321,9 @@ function GR(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return HR;+ return VR;}-function KR(e) {+function GR(e) {let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);for (let n = 0; n < t.length; n++) {let r = t[n].getValue(e.id);@@ -57331,14 +57331,14 @@ function KR(e) {}return "desc";}-function qR(e) {+function KR(e) {let t = e.table._rowModelFns.sortFns;- return gEe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? GR(e) : t?.[e.columnDef.sortFn] ?? HR;+ return _Ee(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? WR(e) : t?.[e.columnDef.sortFn] ?? VR;}-function JR(e, t, n) {- let r = XR(e, n && QR(e)), i = t !== void 0;- UR(e.table, (a) => {- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && QR(e) && n);+function qR(e, t, n) {+ let r = YR(e, n && ZR(e)), i = t !== void 0;+ HR(e.table, (a) => {+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && ZR(e) && n);return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {id: e.id,desc: u@@ -57354,41 +57354,41 @@ function JR(e, t, n) {}], c;});}-function YR(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? KR(e) === "desc" ? "desc" : "asc";+function JR(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? GR(e) === "desc" ? "desc" : "asc";}-function XR(e, t) {- let n = YR(e), r = $R(e);+function YR(e, t) {+ let n = JR(e), r = QR(e);return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;}-function ZR(e) {+function XR(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function QR(e) {+function ZR(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function $R(e) {+function QR(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function _Oe(e) {- return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;-}function vOe(e) {- UR(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+ return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}function yOe(e) {- let t = ZR(e);+ HR(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+}+function bOe(e) {+ let t = XR(e);return (n) => {- t && JR(e, void 0, QR(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && qR(e, void 0, ZR(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var ez = {+var $R = {getInitialState(e) {return {- sorting: hOe(),+ sorting: gOe(),...e};},@@ -57401,40 +57401,40 @@ var ez = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: kL("sorting", e),+ onSortingChange: OL("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- RL("rowSortingFeature", e, t, {- column_getAutoSortFn: { fn: (e) => GR(e) },- column_getAutoSortDir: { fn: (e) => KR(e) },- column_getSortFn: { fn: (e) => qR(e) },- column_toggleSorting: { fn: (e, t, n) => JR(e, t, n) },- column_getFirstSortDir: { fn: (e) => YR(e) },- column_getNextSortingOrder: { fn: (e, t) => XR(e, t) },- column_getCanSort: { fn: (e) => ZR(e) },- column_getCanMultiSort: { fn: (e) => QR(e) },- column_getIsSorted: { fn: (e) => $R(e) },- column_getSortIndex: { fn: (e) => _Oe(e) },- column_clearSorting: { fn: (e) => vOe(e) },- column_getToggleSortingHandler: { fn: (e) => yOe(e) }+ LL("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => WR(e) },+ column_getAutoSortDir: { fn: (e) => GR(e) },+ column_getSortFn: { fn: (e) => KR(e) },+ column_toggleSorting: { fn: (e, t, n) => qR(e, t, n) },+ column_getFirstSortDir: { fn: (e) => JR(e) },+ column_getNextSortingOrder: { fn: (e, t) => YR(e, t) },+ column_getCanSort: { fn: (e) => XR(e) },+ column_getCanMultiSort: { fn: (e) => ZR(e) },+ column_getIsSorted: { fn: (e) => QR(e) },+ column_getSortIndex: { fn: (e) => vOe(e) },+ column_clearSorting: { fn: (e) => yOe(e) },+ column_getToggleSortingHandler: { fn: (e) => bOe(e) }});},constructTableAPIs(e) {- LL("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => gOe(e) },- table_setSorting: { fn: (t) => UR(e, t) },- table_resetSorting: { fn: (t) => WR(e, t) }+ IL("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => _Oe(e) },+ table_setSorting: { fn: (t) => HR(e, t) },+ table_resetSorting: { fn: (t) => UR(e, t) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-pagination/createPaginatedRowModel.js-function tz() {+function ez() {return (e) => {let t = e;- return FL({+ return PL({feature: "rowPaginationFeature",table: t,fnName: "table.getPaginatedRowModel",@@ -57443,14 +57443,14 @@ function tz() {t.atoms.pagination?.get(),t.options.paginateExpandedRows ? void 0 : t.atoms.expanded?.get()],- fn: () => bOe(t)+ fn: () => xOe(t)});};}-function bOe(e) {+function xOe(e) {let t = e.getPrePaginatedRowModel(), n = e.atoms.pagination?.get();if (!t.rows.length) return t;- let { pageSize: r, pageIndex: i } = n ?? pR(), { rows: a, flatRows: o, rowsById: s } = t, c = a;+ let { pageSize: r, pageIndex: i } = n ?? fR(), { rows: a, flatRows: o, rowsById: s } = t, c = a;if (r !== Infinity || i !== 0) {let e = r * i, t = e + r;c = a.slice(e, t);@@ -57460,7 +57460,7 @@ function bOe(e) {rows: c,flatRows: o,rowsById: s- } : UL(e, {+ } : HL(e, {rows: c,flatRows: o,rowsById: s@@ -57472,25 +57472,25 @@ function bOe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/createSortedRowModel.js-function nz() {+function tz() {return (e) => {let t = e;- return FL({+ return PL({feature: "rowSortingFeature",table: t,fnName: "table.getSortedRowModel",memoDeps: () => [t.atoms.sorting?.get(), t.getPreSortedRowModel()],- fn: () => xOe(t),- onAfterUpdate: PL(() => WL(t))+ fn: () => SOe(t),+ onAfterUpdate: NL(() => UL(t))});};}-function xOe(e) {+function SOe(e) {let t = e.getPreSortedRowModel(), n = e.atoms.sorting?.get();if (!t.rows.length || !n?.length) return t;let r = [], i = n.filter((t) => {let n = e.getColumn(t.id);- return n ? ZR(n) : !1;+ return n ? XR(n) : !1;});if (!i.length) return t;let a = [];@@ -57501,7 +57501,7 @@ function xOe(e) {desc: n.desc,sortUndefined: r.columnDef.sortUndefined,invertSorting: r.columnDef.invertSorting,- sortFn: qR(r)+ sortFn: KR(r)});}let o = (e, t) => {@@ -57531,7 +57531,7 @@ function xOe(e) {let e = s(a.subRows);if (e.changed) {let s = Object.create(Object.getPrototypeOf(a));- EL(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;+ TL(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;}}}@@ -57548,31 +57548,31 @@ function xOe(e) {}//#endregion//#region node_modules/@tanstack/react-table/dist/useTable.js-var SOe = typeof window > "u" ? E.useEffect : E.useLayoutEffect;-function rz(e, t) {+var COe = typeof window > "u" ? E.useEffect : E.useLayoutEffect;+function nz(e, t) {let [{ table: n, rootSource: r }] = (0, E.useState)(() => {- let t = PDe({+ let t = FDe({...e,features: {- coreReactivityFeature: pEe(),+ coreReactivityFeature: mEe(),...e.features}});- return t.Subscribe = ((e) => lEe({+ return t.Subscribe = ((e) => uEe({...e,source: e.source ?? t.store- })), t.FlexRender = $Te, {+ })), t.FlexRender = eEe, {table: t,- rootSource: fEe(t.store, bL)+ rootSource: pEe(t.store, yL)};}), i = n;- eR(i, (t) => ({+ $L(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = CL(r, t, { compare: bL });- return SOe(() => {- r.markCommitted(o), $L(i, a ?? null, bL);+ let a = i.options.state, o = r.get(), s = SL(r, t, { compare: yL });+ return COe(() => {+ r.markCommitted(o), QL(i, a ?? null, yL);}), (0, E.useMemo)(() => ({...n,options: e,@@ -57585,19 +57585,19 @@ function rz(e, t) {}//#endregion//#region src/react/boardui/components/base/table/table.tsx-function iz({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function rz({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, D.jsx)("div", {- className: hO("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, D.jsx)(Hbe, {+ className: mO("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, D.jsx)(Ube, {ref: r,...i,- className: hO("bui-table", e === "sm" && "bui-table-sm", t)+ className: mO("bui-table", e === "sm" && "bui-table-sm", t)})});}//#endregion//#region src/react/catalog-grid/catalog-table-columns.ts-var az = "peach.catalog-column-widths.v1", oz = "peach.catalog-column-visibility.v1", COe = {+var iz = "peach.catalog-column-widths.v1", az = "peach.catalog-column-visibility.v1", wOe = {select: {width: 48,min: 48,@@ -57663,13 +57663,13 @@ var az = "peach.catalog-column-widths.v1", oz = "peach.catalog-column-visibilitymin: 144,max: 560}-}, wOe = {+}, TOe = {code: !1,o: !1,new: !1,played: !1,release: !1-}, TOe = {+}, EOe = {select: "选择",name: "作品",dur: "时长",@@ -57683,7 +57683,7 @@ var az = "peach.catalog-column-widths.v1", oz = "peach.catalog-column-visibilityrelease: "发行时间",code: "番号",tags: "标签"-}, sz = [+}, oz = ["select","name","tags",@@ -57699,13 +57699,13 @@ var az = "peach.catalog-column-widths.v1", oz = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: TOe[e],- ...COe[e],+ label: EOe[e],+ ...wOe[e],flex: e === "name",required: e === "select" || e === "name",- visible: wOe[e] !== !1+ visible: TOe[e] !== !1}));-function cz(e) {+function sz(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -57713,9 +57713,9 @@ function cz(e) {return {};}}-function EOe() {- let e = cz(az), t = cz(oz);- return sz.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {+function DOe() {+ let e = sz(iz), t = sz(az);+ return oz.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);return {id: t.id,@@ -57727,31 +57727,31 @@ function EOe() {}//#endregion//#region src/react/library-processing/completion-row.ts-var lz = "peach.catalog.completion-row";-function uz() {+var cz = "peach.catalog.completion-row";+function lz() {try {- return localStorage.getItem(lz) === "1";+ return localStorage.getItem(cz) === "1";} catch {return !1;}}-function DOe(e) {+function OOe(e) {try {- e ? localStorage.setItem(lz, "1") : localStorage.removeItem(lz);+ e ? localStorage.setItem(cz, "1") : localStorage.removeItem(cz);} catch {}}-var OOe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var kOe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";//#endregion//#region src/catalog-content-skeleton.ts-function dz(e) {+function uz(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function kOe(e) {- let t = EOe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${dz(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (uz() ? OOe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;+function AOe(e) {+ let t = DOe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${uz(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (lz() ? kOe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;}-function fz(e, t) {- return XE() === "list" ? kOe(e) : is(e, {+function dz(e, t) {+ return YE() === "list" ? AOe(e) : is(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t@@ -57759,7 +57759,7 @@ function fz(e, t) {}//#endregion//#region src/react/components/data-table-frame.tsx-function pz({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function fz({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, E.useRef)(null);return (0, E.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;@@ -57773,9 +57773,9 @@ function pz({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let t = e.target;if (!(t instanceof Element)) return;let r = t.closest("[role=\"row\"][data-key]");- r && yI(e, r) && n(r.dataset.key);+ r && vI(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, D.jsx)(Bbe, {+ children: r ? /* @__PURE__ */ (0, D.jsx)(Vbe, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -57785,8 +57785,8 @@ function pz({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {}//#endregion//#region src/react/components/select.tsx-function mz({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, D.jsx)(hF, {+function pz({ prefix: e, renderValue: t, size: n, ...r }) {+ if (e == null) return /* @__PURE__ */ (0, D.jsx)(mF, {...r,size: n,renderValue: t@@ -57796,7 +57796,7 @@ function mz({ prefix: e, renderValue: t, size: n, ...r }) {className: `shrink-0 text-text-tertiary ${i}`,children: e}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });- return /* @__PURE__ */ (0, D.jsx)(hF, {+ return /* @__PURE__ */ (0, D.jsx)(mF, {...r,size: n,renderValue: a@@ -57804,7 +57804,7 @@ function mz({ prefix: e, renderValue: t, size: n, ...r }) {}//#endregion//#region src/react/components/table-pagination.tsx-function hz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function mz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",@@ -57844,11 +57844,11 @@ function hz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {}//#endregion//#region src/react/components/table-controls.tsx-function gz({ label: e, options: t, sorting: n, onChange: r }) {+function hz({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsxs)(mz, {+ children: [/* @__PURE__ */ (0, D.jsxs)(pz, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -57858,10 +57858,10 @@ function gz({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, D.jsx)(gF, {+ children: [/* @__PURE__ */ (0, D.jsx)(hF, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e.id,children: e.label}, e.id))]@@ -57869,7 +57869,7 @@ function gz({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: AF,+ leadingIcon: kF,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -57881,7 +57881,7 @@ function gz({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function _z({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {+function gz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {let o = Math.max(1, Math.ceil(t / n.pageSize)), s = Math.min(n.pageIndex, o - 1), c = t ? s * n.pageSize + 1 : 0, l = Math.min((s + 1) * n.pageSize, t);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-table-pagination": !0,@@ -57891,7 +57891,7 @@ function _z({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${c.toLocaleString()}–${l.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, D.jsx)(mz, {+ children: [/* @__PURE__ */ (0, D.jsx)(pz, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -57906,11 +57906,11 @@ function _z({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记20,50,100- ].map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ ].map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, D.jsx)(hz, {+ }), /* @__PURE__ */ (0, D.jsx)(mz, {label: `${e}分页`,page: s + 1,pages: o,@@ -57924,7 +57924,7 @@ function _z({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记}//#endregion//#region src/react/components/table-column-preferences.ts-function vz(e) {+function _z(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -57932,17 +57932,17 @@ function vz(e) {return {};}}-function yz(e, t) {+function vz(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function AOe(e, t) {+function jOe(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];})), [r, i] = (0, E.useState)(() => {- let r = vz(e);+ let r = _z(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -57959,7 +57959,7 @@ function AOe(e, t) {...r,...Object.fromEntries(t)});- i(a), yz(e, a);+ i(a), vz(e, a);},reset: () => {i(n({}));@@ -57969,26 +57969,26 @@ function AOe(e, t) {}};}-function jOe(e, t, n, r = {}) {+function MOe(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))- }), [a, o] = (0, E.useState)(() => i(vz(e)));+ }), [a, o] = (0, E.useState)(() => i(_z(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), yz(e, n);+ o(n), vz(e, n);}};}-function bz(e, t, n) {+function yz(e, t, n) {let r = (0, E.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {width: e.width ?? 180,min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = AOe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = jOe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");+ }])), [t]), i = jOe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = MOe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");return {...i,...a,@@ -58008,16 +58008,16 @@ function bz(e, t, n) {}//#endregion//#region src/react/catalog-grid/catalog-column-widths.ts-function MOe() {- return bz("catalog", sz, {- widths: az,- visibility: oz+function NOe() {+ return yz("catalog", oz, {+ widths: iz,+ visibility: az});}//#endregion//#region src/react/components/rating-stars.tsx-var xz = cM("star");-function Sz({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var bz = sM("star");+function xz({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, D.jsx)("span", {"data-rating-stars": "",@@ -58040,16 +58040,16 @@ function Sz({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: Go("正在保存评分") } }) : /* @__PURE__ */ (0, D.jsx)(xz, {})+ children: n === e ? /* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: Go("正在保存评分") } }) : /* @__PURE__ */ (0, D.jsx)(bz, {})}, e) : /* @__PURE__ */ (0, D.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, D.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, D.jsx)(xz, {}), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(bz, {}), /* @__PURE__ */ (0, D.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, D.jsx)(xz, {})+ children: /* @__PURE__ */ (0, D.jsx)(bz, {})})]})}, e))@@ -58057,9 +58057,9 @@ function Sz({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {}//#endregion//#region src/react/catalog-grid/catalog-table-controls.tsx-function NOe({ item: e, actions: t }) {- let { rating: n } = e, r = ek(), i = (0, E.useRef)(0), a = tD(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- eD(e.id, { rating: t }), W.setQueryData(["item", e.id], (e) => e && {+function POe({ item: e, actions: t }) {+ let { rating: n } = e, r = $O(), i = (0, E.useRef)(0), a = eD(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ $E(e.id, { rating: t }), W.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -58071,7 +58071,7 @@ function NOe({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, D.jsx)(Sz, {+ children: [/* @__PURE__ */ (0, D.jsx)(xz, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0@@ -58088,7 +58088,7 @@ function NOe({ item: e, actions: t }) {}) : null]});}-function Cz(e) {+function Sz(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -58104,7 +58104,7 @@ function Cz(e) {}//#endregion//#region src/react/components/table-column-controls.tsx-function wz({ preferences: e, label: t = "表格" }) {+function Cz({ preferences: e, label: t = "表格" }) {let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1), a = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, D.jsxs)("div", {role: "group",@@ -58120,18 +58120,18 @@ function wz({ preferences: e, label: t = "表格" }) {onClick: () => i(!0),children: "显示列"}),- /* @__PURE__ */ (0, D.jsx)(UA, {+ /* @__PURE__ */ (0, D.jsx)(HA, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: `${yN} overscroll-contain`,- children: /* @__PURE__ */ (0, D.jsxs)(UP, {+ className: `${vN} overscroll-contain`,+ children: /* @__PURE__ */ (0, D.jsxs)(HP, {"aria-label": `${t}显示列`,className: "flex w-48 flex-col gap-2 outline-none",children: [- a.map((t) => /* @__PURE__ */ (0, D.jsx)(EN, {+ a.map((t) => /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: e.visibility[t.id] !== !1,onChange: (n) => e.change((e) => ({...e,@@ -58163,41 +58163,41 @@ function wz({ preferences: e, label: t = "表格" }) {]});}-function Tz({ preferences: e, id: t }) {+function wz({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, D.jsx)(Zbe, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, D.jsx)(Qbe, { "aria-label": `调整${n.label}列宽` }) : null;}//#endregion//#region src/react/components/table-selection-header.tsx-function Ez(e, t) {+function Tz(e, t) {let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;return {all: n.length > 0 && r === n.length,some: r > 0 && r < n.length};}-function Dz({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = Ez(e, n);- return /* @__PURE__ */ (0, D.jsx)(EN, {+function Ez({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = Tz(e, n);+ return /* @__PURE__ */ (0, D.jsx)(TN, {slot: null,"aria-label": t,isDisabled: r,isSelected: i,isIndeterminate: a,onChange: () => {- let t = !Ez(e, n).all;+ let t = !Tz(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}//#endregion//#region src/react/catalog-grid/catalog-list-page.tsx-var POe = nR({- rowSortingFeature: ez,- rowSelectionFeature: VR,- rowPaginationFeature: bR,- columnVisibilityFeature: uR-}), FOe = [+var FOe = tR({+ rowSortingFeature: $R,+ rowSelectionFeature: BR,+ rowPaginationFeature: yR,+ columnVisibilityFeature: lR+}), IOe = [{id: "name",label: "名称"@@ -58234,12 +58234,12 @@ var POe = nR({id: "played",label: "观看时间"}-], Oz = /* @__PURE__ */ new Map();-function IOe(e) {- let t = MOe(), n = _I(), r = QE(e.filters || {}, !1), [i] = (0, E.useState)(() => {+], Dz = /* @__PURE__ */ new Map();+function LOe(e) {+ let t = NOe(), n = gI(), r = ZE(e.filters || {}, !1), [i] = (0, E.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;- }), [a, o] = (0, E.useState)(() => Oz.get(i) || {+ }), [a, o] = (0, E.useState)(() => Dz.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -58247,7 +58247,7 @@ function IOe(e) {}}), { sorting: s, pagination: c } = a;(0, E.useEffect)(() => {- Oz.set(i, a);+ Dz.set(i, a);}, [i, a]);let l = c.pageIndex * c.pageSize, u = s[0], d = yt({queryKey: [@@ -58273,9 +58273,9 @@ function IOe(e) {let i = new URLSearchParams(r);return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), H(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : oL(f, e.layout.javImage), [h] = (0, E.useState)(uz);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : aL(f, e.layout.javImage), [h] = (0, E.useState)(lz);(0, E.useEffect)(() => {- d.data && !d.isPlaceholderData && DOe(m.length > 0);+ d.data && !d.isPlaceholderData && OOe(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -58307,19 +58307,19 @@ function IOe(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = rz({- features: POe,+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = nz({+ features: FOe,columns: (0, E.useMemo)(() => {- let t = tR();+ let t = eR();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, D.jsx)(Dz, {+ header: ({ table: e }) => /* @__PURE__ */ (0, D.jsx)(Ez, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(EN, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(TN, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -58331,7 +58331,7 @@ function IOe(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(LOe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(ROe, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -58388,7 +58388,7 @@ function IOe(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(NOe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, D.jsx)(POe, {item: t.original,actions: e.actions})@@ -58409,13 +58409,13 @@ function IOe(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => Cz(e.original.last_played)+ cell: ({ row: e }) => Sz(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => Cz(e.original.first_seen)+ cell: ({ row: e }) => Sz(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -58475,9 +58475,9 @@ function IOe(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, D.jsx)(wz, { preferences: t }), /* @__PURE__ */ (0, D.jsx)(gz, {+ children: [/* @__PURE__ */ (0, D.jsx)(Cz, { preferences: t }), /* @__PURE__ */ (0, D.jsx)(hz, {label: "作品列表",- options: FOe,+ options: IOe,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -58487,21 +58487,21 @@ function IOe(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, D.jsx)(sL, {+ }) : null : /* @__PURE__ */ (0, D.jsx)(oL, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, D.jsx)(iI, {+ d.isError ? /* @__PURE__ */ (0, D.jsx)(rI, {message: Bt(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, D.jsx)(pz, {+ /* @__PURE__ */ (0, D.jsx)(fz, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, D.jsxs)(iz, {+ children: /* @__PURE__ */ (0, D.jsxs)(rz, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -58512,47 +58512,47 @@ function IOe(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, D.jsxs)(jj, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(Mj, {+ children: [/* @__PURE__ */ (0, D.jsxs)(Aj, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(jj, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",- children: [cL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [sL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, D.jsx)(gN, {})+ children: /* @__PURE__ */ (0, D.jsx)(hN, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Tz, {+ }), /* @__PURE__ */ (0, D.jsx)(wz, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, D.jsx)(Mj, {+ }, e.id)), /* @__PURE__ */ (0, D.jsx)(jj, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(Fj, {+ })] }), /* @__PURE__ */ (0, D.jsx)(Pj, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, D.jsxs)(Rj, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, D.jsxs)(Lj, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(Bj, { children: /* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: dz(e.id) } }) }, e.id)), /* @__PURE__ */ (0, D.jsx)(Bj, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Rj, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(zj, { children: /* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: uz(e.id) } }) }, e.id)), /* @__PURE__ */ (0, D.jsx)(zj, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Lj, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(Bj, { children: cL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(Bj, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(zj, { children: sL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(zj, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, D.jsx)(_z, {+ d.data ? /* @__PURE__ */ (0, D.jsx)(gz, {label: "作品列表",total: p,pagination: c,@@ -58563,8 +58563,8 @@ function IOe(e) {]});}-function LOe({ item: e, props: t, disabled: n }) {- let r = Fa(e, "small", !1, t.layout.javImage), i = e.part_group || null, a = e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = EI(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = _I({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, D.jsx)("svg", {+function ROe({ item: e, props: t, disabled: n }) {+ let r = Fa(e, "small", !1, t.layout.javImage), i = e.part_group || null, a = e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = TI(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = gI({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })@@ -58589,7 +58589,7 @@ function LOe({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, D.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, D.jsx)(Ok, {+ r.html ? /* @__PURE__ */ (0, D.jsx)(Dk, {artwork: r,relayout: (e) => Dc(e, "small")}) : /* @__PURE__ */ (0, D.jsx)("span", { children: "无预览" }),@@ -58644,7 +58644,7 @@ function LOe({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: p.icon }), p.name]}) : null, u]})]})@@ -58653,20 +58653,20 @@ function LOe({ item: e, props: t, disabled: n }) {}//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsx-function kz(e) {- let t = ZE();- if (e.mode === "items") return /* @__PURE__ */ (0, D.jsx)(zOe, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${QE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, D.jsx)(IOe, { ...e }, n) : /* @__PURE__ */ (0, D.jsx)(BOe, { ...e }, n);+function Oz(e) {+ let t = XE();+ if (e.mode === "items") return /* @__PURE__ */ (0, D.jsx)(BOe, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${ZE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, D.jsx)(LOe, { ...e }, n) : /* @__PURE__ */ (0, D.jsx)(VOe, { ...e }, n);}-function ROe({ name: e }) {+function zOe({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-function Az({ children: e, selectMode: t }) {+function kz({ children: e, selectMode: t }) {let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1);return (0, E.useLayoutEffect)(() => {let e = n.current;@@ -58682,8 +58682,8 @@ function Az({ children: e, selectMode: t }) {children: e});}-function zOe(e) {- let { actions: t } = e, n = (0, E.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, D.jsx)(OI, {+function BOe(e) {+ let { actions: t } = e, n = (0, E.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, D.jsx)(DI, {item: i,variant: r,layout: e.layout,@@ -58697,13 +58697,13 @@ function zOe(e) {return r === "next" ? /* @__PURE__ */ (0, D.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, D.jsx)(Az, {+ }) : /* @__PURE__ */ (0, D.jsx)(kz, {selectMode: e.selectMode,children: i});}-function BOe(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Jfe(e) : qfe(e), [s] = (0, E.useState)(() => e.wall ? Xfe(o.queryKey) : void 0), c = s || (i && e.initial ? {+function VOe(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Yfe(e) : Jfe(e), [s] = (0, E.useState)(() => e.wall ? Zfe(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -58724,7 +58724,7 @@ function BOe(e) {(0, E.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, E.useMemo)(() => $fe(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, E.useMemo)(() => epe(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -58734,7 +58734,7 @@ function BOe(e) {e.mix,a,r.javImage- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || FTe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && kTe(e.item) ? [e.item] : []), v = a ? [] : oL(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = rI(l.isPending, e.skeletonHtml), b = (0, E.useRef)(null), x = VOe(e, l.data, d, f, b);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || ITe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && ATe(e.item) ? [e.item] : []), v = a ? [] : aL(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = nI(l.isPending, e.skeletonHtml), b = (0, E.useRef)(null), x = HOe(e, l.data, d, f, b);(0, E.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -58761,12 +58761,12 @@ function BOe(e) {let C = (0, E.useCallback)((e, t) => n.open(e, t), [n]), w = (0, E.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, E.useCallback)((e) => n.openShort(e), [n]), O = (0, E.useCallback)(async () => {let e = await l.fetchNextPage({ cancelRefetch: !1 });if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, D.jsx)(UOe, {+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, D.jsx)(WOe, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, D.jsx)(OI, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, D.jsx)(DI, {item: i.item,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",layout: r,@@ -58783,10 +58783,10 @@ function BOe(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, D.jsx)(sL, { assetIds: v }),+ /* @__PURE__ */ (0, D.jsx)(oL, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, D.jsx)(WTe, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${QE(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, D.jsx)(GTe, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${ZE(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -58794,7 +58794,7 @@ function BOe(e) {loading: l.isPending || !l.data && l.isFetching,error: !l.data && !l.isPending ? Bt(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? qTe({+ emptyHtml: l.data && !_.length ? JTe({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -58809,7 +58809,7 @@ function BOe(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, D.jsx)(iI, {+ if (!l.data) return /* @__PURE__ */ (0, D.jsx)(rI, {message: Bt(l.error),onRetry: () => void l.refetch()});@@ -58826,12 +58826,12 @@ function BOe(e) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: npe(d, x).map((t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Az, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, D.jsx)(HOe, {+ children: rpe(d, x).map((t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(kz, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, D.jsx)(UOe, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), l.hasNextPage ? /* @__PURE__ */ (0, D.jsx)(jz, {+ }), l.hasNextPage ? /* @__PURE__ */ (0, D.jsx)(Az, {entity: i,load: O,enabled: () => e.canLoadMore?.() !== !1@@ -58840,7 +58840,7 @@ function BOe(e) {]});}-function jz({ entity: e, load: t, enabled: n, children: r }) {+function Az({ entity: e, load: t, enabled: n, children: r }) {let i = (0, E.useRef)(null), a = (0, E.useRef)(!1), o = (0, E.useRef)(!1), [s, c] = (0, E.useState)({busy: !1,error: ""@@ -58902,12 +58902,12 @@ function jz({ entity: e, load: t, enabled: n, children: r }) {hidden: !!s.error,onClick: () => void u(!0),dangerouslySetInnerHTML: { __html: Ko("继续载入中…") }- }), s.error ? /* @__PURE__ */ (0, D.jsx)(iI, {+ }), s.error ? /* @__PURE__ */ (0, D.jsx)(rI, {message: s.error,onRetry: () => void u(!0)}) : null] });}-function VOe(e, t, n, r, i) {+function HOe(e, t, n, r, i) {let [a, o] = (0, E.useState)([]), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(0), u = (0, E.useRef)(0), d = (0, E.useRef)([]);return (0, E.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, E.useEffect)(() => {let n = t?.pages.length || 0;@@ -58916,7 +58916,7 @@ function VOe(e, t, n, r, i) {let r = new AbortController();d.current.push(r);let i = n - 1;- H(`/api/items?${tpe(e.filters || {}, l.current)}`, r.signal).then((e) => {+ H(`/api/items?${npe(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -58928,7 +58928,7 @@ function VOe(e, t, n, r, i) {}, [t]), (0, E.useLayoutEffect)(() => {if (!s) return;c(null);- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = epe(n.length - e, f, d);+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = tpe(n.length - e, f, d);if (!p.length) return;let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {@@ -58938,7 +58938,7 @@ function VOe(e, t, n, r, i) {}]);}, [s]), a;}-function HOe({ cut: e, props: t, onOpen: n }) {+function UOe({ cut: e, props: t, onOpen: n }) {let r = (0, E.useRef)(null), { wireDrag: i } = t;return (0, E.useEffect)(() => {r.current && i(r.current);@@ -58954,12 +58954,12 @@ function HOe({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, D.jsx)(ROe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, D.jsx)(zOe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, D.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, D.jsx)(OI, {+ children: e.items.map((e) => /* @__PURE__ */ (0, D.jsx)(DI, {item: e,variant: "short",layout: t.layout,@@ -58973,17 +58973,17 @@ function HOe({ cut: e, props: t, onOpen: n }) {})]});}-function Mz(e, t, n) {+function jz(e, t, n) {return Ia(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function UOe({ seed: e, layout: t, helpers: n, actions: r }) {+function WOe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, E.useRef)(/* @__PURE__ */ new Map()), a = (0, E.useRef)(t);a.current = t;let o = Va(e, n.tagLabel), s = (0, E.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => $E(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), Mz(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = Mz(e, t, !1);- return /* @__PURE__ */ (0, D.jsx)(MI, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => QE(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), jz(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = jz(e, t, !1);+ return /* @__PURE__ */ (0, D.jsx)(jI, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58993,12 +58993,12 @@ function UOe({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : Mz(e, {+ artworkIdentity: c === "small" ? l.html : jz(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => Dc(e, c),- ratio: TI(e, "grid", t),+ ratio: wI(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -59010,37 +59010,37 @@ function UOe({ seed: e, layout: t, helpers: n, actions: r }) {}//#endregion//#region src/react/media-sources.ts-async function Nz(e) {+async function Mz(e) {await W.fetchQuery({queryKey: Fn,queryFn: () => In(e)});}-var WOe = (e) => (e?.sources ?? []).filter((e) => Lt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), GOe = "/api/duplicates?limit=120", Pz = ["duplicates"], Fz = "/api/batch", Iz = (e) => H(GOe, e), KOe = /[\s\-_.()[\]【】/\\]/;-function qOe(e) {+var GOe = (e) => (e?.sources ?? []).filter((e) => Lt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), KOe = "/api/duplicates?limit=120", Nz = ["duplicates"], Pz = "/api/batch", Fz = (e) => H(KOe, e), qOe = /[\s\-_.()[\]【】/\\]/;+function JOe(e) {if (e.length < 2) return "";let t = 0, n = e[0];for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));let r = t;- for (; r > 0 && !KOe.test(n[r - 1]);) --r;+ for (; r > 0 && !qOe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var JOe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function YOe(e) {+var YOe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function XOe(e) {await Promise.all([W.fetchQuery({- queryKey: Pz,- queryFn: () => Iz(e)- }), Nz(e)]);+ queryKey: Nz,+ queryFn: () => Fz(e)+ }), Mz(e)]);}-var Lz = {+var Iz = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, XOe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), Rz = (e, t) => XOe(e, t).filter((t) => e.some((e) => e.location !== t)), ZOe = (e, t) => t.filter((t) => e.some((e) => Rz(e.files, [t]).length));-function QOe(e, t) {+}, ZOe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), Lz = (e, t) => ZOe(e, t).filter((t) => e.some((e) => e.location !== t)), QOe = (e, t) => t.filter((t) => e.some((e) => Lz(e.files, [t]).length));+function $Oe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -59059,12 +59059,12 @@ function QOe(e, t) {}return n;}-function $Oe(e, t) {+function eke(e, t) {let n = new Set(t);return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);}-async function zz(e, t) {- for (let n = 0; n < e.length; n += 200) await U(Fz, {+async function Rz(e, t) {+ for (let n = 0; n < e.length; n += 200) await U(Pz, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}@@ -59072,7 +59072,7 @@ async function zz(e, t) {}//#endregion//#region src/react/media-repair/media-repair.ts-var Bz = "/api/media-repair", Vz = ["media-repair"], Hz = ["media-repair", "libraries"], Uz = {+var zz = "/api/media-repair", Bz = ["media-repair"], Vz = ["media-repair", "libraries"], Hz = {status: "idle",library: "",stage: "",@@ -59084,41 +59084,41 @@ var Bz = "/api/media-repair", Vz = ["media-repair"], Hz = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, Wz = (e) => H(Bz, e), Gz = async (e) => (await H("/api/libraries", e)).libraries || [];-async function eke(e) {+}, Uz = (e) => H(zz, e), Wz = async (e) => (await H("/api/libraries", e)).libraries || [];+async function tke(e) {await Promise.all([W.fetchQuery({+ queryKey: Bz,+ queryFn: () => Uz(e)+ }), W.fetchQuery({queryKey: Vz,queryFn: () => Wz(e)- }), W.fetchQuery({- queryKey: Hz,- queryFn: () => Gz(e)})]);}-var Kz = (e) => Number(e).toLocaleString();-function tke(e) {+var Gz = (e) => Number(e).toLocaleString();+function nke(e) {if (e.status === "running") {- let t = e.total ? `${Kz(Math.min(e.checked || 0, e.total))} / ${Kz(e.total)}` : "准备中";+ let t = e.total ? `${Gz(Math.min(e.checked || 0, e.total))} / ${Gz(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${Kz(e.repaired)} 部,${Kz(e.failed)} 部修不了` : `修好 ${Kz(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${Gz(e.repaired)} 部,${Gz(e.failed)} 部修不了` : `修好 ${Gz(e.repaired)} 部` : "";}-var nke = (e) => `${Kz(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, rke = "/api/quality-goals?limit=200", qz = ["quality-goals"], Jz = (e) => H(rke, e);-async function ike(e) {+var rke = (e) => `${Gz(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, ike = "/api/quality-goals?limit=200", Kz = ["quality-goals"], qz = (e) => H(ike, e);+async function ake(e) {await W.fetchQuery({- queryKey: qz,- queryFn: () => Jz(e)+ queryKey: Kz,+ queryFn: () => qz(e)});}-var Yz = (e) => e.has_cover ? xa(e) : `/poster?id=${e.id}&c=4`;+var Jz = (e) => e.has_cover ? xa(e) : `/poster?id=${e.id}&c=4`;//#endregion//#region src/selection.ts-function Xz(e, t, n, r, i, a = i || !e.has(r)) {+function Yz(e, t, n, r, i, a = i || !e.has(r)) {let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;}//#endregion//#region src/react/review/review.ts-var ake = "/api/review", oke = "/api/review/decision", ske = "/api/review/genre", Zz = ["review"], Qz = {+var oke = "/api/review", ske = "/api/review/decision", cke = "/api/review/genre", Xz = ["review"], Zz = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -59128,15 +59128,15 @@ var ake = "/api/review", oke = "/api/review/decision", ske = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, $z = Object.keys(Qz), cke = "metadata_fields", eB = (e) => typeof e == "string" && Object.hasOwn(Qz, e), lke = {+}, Qz = Object.keys(Zz), lke = "metadata_fields", $z = (e) => typeof e == "string" && Object.hasOwn(Zz, e), uke = {creator_tags: "creator",western_identity: "creator"};-function uke(e, t) {+function dke(e, t) {let n = [["candidates", t ? "按来源数量" : "全部待复核"]];return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;}-function tB(e, t) {+function eB(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -59153,10 +59153,10 @@ function tB(e, t) {}return [...n.values()];}-function dke(e, t, n) {- return n && tB(e, t).find((e) => e.key === n)?.rows || e;+function fke(e, t, n) {+ return n && eB(e, t).find((e) => e.key === n)?.rows || e;}-function fke(e, t) {+function pke(e, t) {let n = Mn(e.length, 20), r = Nn(t, n);return {page: r,@@ -59164,32 +59164,32 @@ function fke(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function pke(e) {+function mke(e) {return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];}-function mke(e, t, n, r, i, a) {- return Xz(e, t, n, r, i, a);+function hke(e, t, n, r, i, a) {+ return Yz(e, t, n, r, i, a);}-function nB(e, t) {+function tB(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function rB(e, t) {+function nB(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var iB = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function hke(e, t) {- let n = rB(e, t), r = iB(e, t);+var rB = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function gke(e, t) {+ let n = nB(e, t), r = rB(e, t);return r ? `${n} · ${r}` : n;}-var gke = (e) => e.reason || e.evidence || e.note || e.decision_note || "", _ke = (e) => String(e.tags || "").split("|").filter(Boolean), vke = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function yke(e) {+var _ke = (e) => e.reason || e.evidence || e.note || e.decision_note || "", vke = (e) => String(e.tags || "").split("|").filter(Boolean), yke = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function bke(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function aB(e, t, n, r) {+function iB(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -59205,12 +59205,12 @@ function aB(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var bke = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", oB = (e) => H(ake, e);-async function sB(e) {- let t = await U(oke, e);+var xke = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", aB = (e) => H(oke, e);+async function oB(e) {+ let t = await U(ske, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- W.setQueryData(Zz, (t) => t && {+ W.setQueryData(Xz, (t) => t && {...t,sections: {...t.sections,@@ -59226,22 +59226,22 @@ async function sB(e) {}return t;}-function cB(e, t) {- return W.getQueryData(Zz)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;+function sB(e, t) {+ return W.getQueryData(Xz)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;}-var xke = (e, t) => U(ske, {+var Ske = (e, t) => U(cke, {genre: e,tag: t});-async function Ske(e) {+async function Cke(e) {await W.fetchQuery({- queryKey: Zz,- queryFn: () => oB(e)+ queryKey: Xz,+ queryFn: () => aB(e)});}-function lB(e, t) {+function cB(e, t) {let n = new Set(t);- n.size && W.setQueryData(Zz, (t) => {+ n.size && W.setQueryData(Xz, (t) => {if (!t) return t;let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));return i.length === r.length ? t : {@@ -59257,228 +59257,228 @@ function lB(e, t) {};});}-var Cke = () => W.invalidateQueries({- queryKey: Zz,+var wke = () => W.invalidateQueries({+ queryKey: Xz,exact: !0});-function wke(e, t) {+function Tke(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${zn(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts-var Tke = "/api/links", uB = "/api/links/check", dB = "/api/links/prune", fB = ["links"], pB = ["links", "check"], mB = ["links", "prune"], hB = {+var Eke = "/api/links", lB = "/api/links/check", uB = "/api/links/prune", dB = ["links"], fB = ["links", "check"], pB = ["links", "prune"], mB = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function gB(e) {+async function hB(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var _B = (e) => H(Tke, e), vB = (e) => U(uB, { status_only: !0 }, "POST", e), Eke = ({ retry: e, checkId: t }) => gB(U(uB, e ? {+var gB = (e) => H(Eke, e), _B = (e) => U(lB, { status_only: !0 }, "POST", e), Dke = ({ retry: e, checkId: t }) => hB(U(lB, e ? {retry: e,check_id: t-} : { restart: !0 })), yB = (e) => H(dB, e), Dke = ({ checkId: e, ids: t }) => gB(U(dB, {+} : { restart: !0 })), vB = (e) => H(uB, e), Oke = ({ checkId: e, ids: t }) => hB(U(uB, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), bB = (e) => Number(e || 0).toLocaleString(), xB = (e) => `已删除 ${bB(e.removed)} 条;${e.marked ? `已隐退女优的 ${bB(e.marked)} 条留作不可点的记录;` : ""}保留 ${bB(e.recovered)} 条未确认失效的链接。`;-function Oke(e) {+})), yB = (e) => Number(e || 0).toLocaleString(), bB = (e) => `已删除 ${yB(e.removed)} 条;${e.marked ? `已隐退女优的 ${yB(e.marked)} 条留作不可点的记录;` : ""}保留 ${yB(e.recovered)} 条未确认失效的链接。`;+function kke(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${bB(e.checked)} / ${bB(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${yB(e.checked)} / ${yB(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/configuration-endpoints.ts-var SB = "/api/configuration", CB = "/api/pick-folder", wB = "/api/settings", TB = "/api/follow/schedule", EB = "/api/feeds/schedule", DB = "/api/thumbnail-jobs", OB = ["settings"], kB = ["follow-schedule"], AB = ["feed-schedule"], jB = ["thumbnail-jobs"], MB = (e) => H(wB, e), kke = (e) => H(TB, e), Ake = (e) => H(EB, e), jke = (e) => H(DB, e);-function Mke(e = W) {+var xB = "/api/configuration", SB = "/api/pick-folder", CB = "/api/settings", wB = "/api/follow/schedule", TB = "/api/feeds/schedule", EB = "/api/thumbnail-jobs", DB = ["settings"], OB = ["follow-schedule"], kB = ["feed-schedule"], AB = ["thumbnail-jobs"], jB = (e) => H(CB, e), Ake = (e) => H(wB, e), jke = (e) => H(TB, e), Mke = (e) => H(EB, e);+function Nke(e = W) {return e.fetchQuery({- queryKey: OB,- queryFn: ({ signal: e }) => MB(e),+ queryKey: DB,+ queryFn: ({ signal: e }) => jB(e),staleTime: 0}).catch(() => null);}-function NB() {+function MB() {return bt({- mutationFn: (e) => U(wB, e),- onSuccess: (e) => W.setQueryData(OB, e)+ mutationFn: (e) => U(CB, e),+ onSuccess: (e) => W.setQueryData(DB, e)});}-function Nke() {+function Pke() {return bt({- mutationFn: (e) => U(TB, {+ mutationFn: (e) => U(wB, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => W.setQueryData(kB, e)+ onSuccess: (e) => W.setQueryData(OB, e)});}-var Pke = {+var Fke = {follow: {- url: `${TB}/run`,- key: kB+ url: `${wB}/run`,+ key: OB},feed: {- url: `${EB}/run`,- key: AB+ url: `${TB}/run`,+ key: kB}};-function Fke(e) {- let { url: t, key: n } = Pke[e];+function Ike(e) {+ let { url: t, key: n } = Fke[e];return bt({mutationFn: () => U(t, {}),onSuccess: (e) => W.setQueryData(n, e)});}-var PB = (e) => e?.running ? 3e3 : !1;-function Ike() {+var NB = (e) => e?.running ? 3e3 : !1;+function Lke() {return bt({- mutationFn: (e) => U(DB, { mode: e }),- onSuccess: (e) => W.setQueryData(jB, e)+ mutationFn: (e) => U(EB, { mode: e }),+ onSuccess: (e) => W.setQueryData(AB, e)});}//#endregion//#region src/react/data-cleanup/organize.ts-var Lke = "/api/organize", Rke = "/api/organize/preview", zke = "/api/organize/apply", Bke = "/api/organize/rollback", FB = ["organize"], Vke = "/api/organize/example", Hke = (e, t, n) => H(`${Vke}?${new URLSearchParams({+var Rke = "/api/organize", zke = "/api/organize/preview", Bke = "/api/organize/apply", Vke = "/api/organize/rollback", PB = ["organize"], Hke = "/api/organize/example", Uke = (e, t, n) => H(`${Hke}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), IB = (e) => H(Lke, e);-async function Uke(e) {+})}`, n), FB = (e) => H(Rke, e);+async function Wke(e) {await W.fetchQuery({- queryKey: FB,- queryFn: () => IB(e)+ queryKey: PB,+ queryFn: () => FB(e)});}-var Wke = (e) => U(Rke, e), Gke = (e) => U(CB, { initial: e }), Kke = (e) => e.kind === "apply" ? U(zke, {+var Gke = (e) => U(zke, e), Kke = (e) => U(SB, { initial: e }), qke = (e) => e.kind === "apply" ? U(Bke, {...e.request,confirm: !0-}) : U(Bke, { confirm: !0 });-async function qke(e) {- W.setQueryData(FB, (t) => t && {+}) : U(Vke, { confirm: !0 });+async function Jke(e) {+ W.setQueryData(PB, (t) => t && {...t,templates: e});try {- await U(wB, { organizeTemplates: e });+ await U(CB, { organizeTemplates: e });} catch {}}-var Jke = (e, t) => e && {+var Yke = (e, t) => e && {...e,...t-}, Yke = /目录模板|分隔符|盘符|`\.`/;-function LB(e) {+}, Xke = /目录模板|分隔符|盘符|`\.`/;+function IB(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var RB = (e) => Number(e || 0).toLocaleString();-function Xke(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${RB(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${RB(e.counts.change)} 个文件会改名或移动,${RB(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+var LB = (e) => Number(e || 0).toLocaleString();+function Zke(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${LB(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${LB(e.counts.change)} 个文件会改名或移动,${LB(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function zB(e) {+function RB(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${RB(r)} 个文件${n ? `,${RB(n)} 行未能退回` : ""}。` : `已整理 ${RB(r)} 个文件${n ? `,${RB(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${LB(r)} 个文件${n ? `,${LB(n)} 行未能退回` : ""}。` : `已整理 ${LB(r)} 个文件${n ? `,${LB(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var Zke = "/api/orphan-records", Qke = "/api/orphan-records/attach", BB = ["orphan-records"], $ke = [+var Qke = "/api/orphan-records", $ke = "/api/orphan-records/attach", zB = ["orphan-records"], eAe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], VB = (e) => H(Zke, e), eAe = (e, t) => U(Qke, {+], BB = (e) => H(Qke, e), tAe = (e, t) => U($ke, {id: e,target: t-}), HB = (e) => U(Fz, {+}), VB = (e) => U(Pz, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), tAe = (e) => [+}), nAe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], UB = (e) => [...$ke.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...tAe(e)].filter(Boolean).join(" · "), nAe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", WB = (e) => [e.name, nAe(e.duration)].filter(Boolean).join(" · "), GB = "/api/resource-sync/scan", KB = "/api/resource-sync/apply", qB = ["resource-sync", "scan"], JB = ["resource-sync", "apply"], YB = (e) => U(GB, {+], HB = (e) => [...eAe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...nAe(e)].filter(Boolean).join(" · "), rAe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", UB = (e) => [e.name, rAe(e.duration)].filter(Boolean).join(" · "), WB = "/api/resource-sync/scan", GB = "/api/resource-sync/apply", KB = ["resource-sync", "scan"], qB = ["resource-sync", "apply"], JB = (e) => U(WB, {background: !0,status_only: !0-}, "POST", e), rAe = () => U(GB, {+}, "POST", e), iAe = () => U(WB, {background: !0,restart: !0-}), XB = (e) => H(KB, e), iAe = (e) => U(KB, {+}), YB = (e) => H(GB, e), aAe = (e) => U(GB, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), ZB = (e) => (e?.sources ?? []).some((e) => It.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function aAe(e) {- ZB(W.getQueryData(Fn)) && await Promise.all([W.fetchQuery({+}), XB = (e) => (e?.sources ?? []).some((e) => It.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function oAe(e) {+ XB(W.getQueryData(Fn)) && await Promise.all([W.fetchQuery({+ queryKey: KB,+ queryFn: () => JB(e)+ }), W.fetchQuery({queryKey: qB,queryFn: () => YB(e)- }), W.fetchQuery({- queryKey: JB,- queryFn: () => XB(e)})]);}-var oAe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), QB = (e) => Number(e || 0).toLocaleString(), sAe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", $B = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), eV = (e) => e.vanish ? `${QB(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", tV = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", cAe = (e) => `将永久删除文件已不在盘上的 ${QB($B(e))} 条记录和 ${QB(e.empty)} 个空文件夹,并清理 ${QB(e.cache?.files)} 个闲置缓存。${tV(e)}${eV(e)}`, lAe = (e) => `将永久删除文件已不在盘上的 ${QB($B(e))} 条记录(含回收站里的)、${QB(e.empty)} 个空文件夹,并清理 ${QB(e.cache?.files)} 个闲置缓存。来源根目录保留。${tV(e)}${eV(e)}`, nV = (e) => e.online ? [- `找不到文件 · 共 ${QB(e.total)} 项`,- e.vanish ? `${QB(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${QB(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${QB(e.total)} 项`;-function rV(e) {+var sAe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), ZB = (e) => Number(e || 0).toLocaleString(), cAe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", QB = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), $B = (e) => e.vanish ? `${ZB(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", eV = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", lAe = (e) => `将永久删除文件已不在盘上的 ${ZB(QB(e))} 条记录和 ${ZB(e.empty)} 个空文件夹,并清理 ${ZB(e.cache?.files)} 个闲置缓存。${eV(e)}${$B(e)}`, uAe = (e) => `将永久删除文件已不在盘上的 ${ZB(QB(e))} 条记录(含回收站里的)、${ZB(e.empty)} 个空文件夹,并清理 ${ZB(e.cache?.files)} 个闲置缓存。来源根目录保留。${eV(e)}${$B(e)}`, tV = (e) => e.online ? [+ `找不到文件 · 共 ${ZB(e.total)} 项`,+ e.vanish ? `${ZB(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${ZB(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${ZB(e.total)} 项`;+function nV(e) {let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");return {done: i,left: a,rest: [- t.length ? `${QB(t.length)} 条记录没有删除(${o})` : "",- n ? `${QB(n)} 个文件夹没有删除` : "",- r.length ? `${QB(r.length)} 个缓存没有清理` : ""+ t.length ? `${ZB(t.length)} 条记录没有删除(${o})` : "",+ n ? `${ZB(n)} 个文件夹没有删除` : "",+ r.length ? `${ZB(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var uAe = (e, t) => {- let { rest: n } = rV(e), r = `已永久删除 ${QB(e.purged)} 条失效记录和 ${QB(e.dirs_removed)} 个空文件夹,清理 ${QB(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${QB(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${QB(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var dAe = (e, t) => {+ let { rest: n } = nV(e), r = `已永久删除 ${ZB(e.purged)} 条失效记录和 ${ZB(e.dirs_removed)} 个空文件夹,清理 ${ZB(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${ZB(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${ZB(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, dAe = "/api/review?counts=1", iV = ["review", "counts"], fAe = "/api/ads?limit=1", aV = ["junk-summary"], oV = "/api/items?state=trash&limit=1", sV = ["trash-summary"], pAe = [+}, fAe = "/api/review?counts=1", rV = ["review", "counts"], pAe = "/api/ads?limit=1", iV = ["junk-summary"], aV = "/api/items?state=trash&limit=1", oV = ["trash-summary"], mAe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], cV = (e) => H(dAe, e), lV = (e) => H(fAe, e), uV = (e) => {+], sV = (e) => H(fAe, e), cV = (e) => H(pAe, e), lV = (e) => {let t = sessionStorage.getItem("peach.library");- return H(t ? `${oV}&library=${encodeURIComponent(t)}` : oV, e);-}, dV = (e) => Number(e || 0).toLocaleString();-function mAe(e) {- let t = Qz, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);+ return H(t ? `${aV}&library=${encodeURIComponent(t)}` : aV, e);+}, uV = (e) => Number(e || 0).toLocaleString();+function hAe(e) {+ let t = Zz, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);return a && i.push(`其余 ${a.toLocaleString()}`), {figure: `${r.toLocaleString()} 条待复核`,meta: i.join(" · ")};}-function hAe(e) {+function gAe(e) {if (!e) return "";- let t = pAe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${dV(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${dV(e.dismissed_total)}`), t.join(" · ");-}-var gAe = [- [iV, ({ signal: e }) => cV(e)],- [qz, ({ signal: e }) => Jz(e)],- [sV, ({ signal: e }) => uV(e)],+ let t = mAe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${uV(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${uV(e.dismissed_total)}`), t.join(" · ");+}+var _Ae = [+ [rV, ({ signal: e }) => sV(e)],+ [Kz, ({ signal: e }) => qz(e)],+ [oV, ({ signal: e }) => lV(e)],+ [dB, ({ signal: e }) => gB(e)],[fB, ({ signal: e }) => _B(e)],[pB, ({ signal: e }) => vB(e)],- [mB, ({ signal: e }) => yB(e)],- [BB, ({ signal: e }) => VB(e)]+ [zB, ({ signal: e }) => BB(e)]];-async function _Ae(e) {- let t = !!location.hash, n = gAe.map(([n, r]) => {+async function vAe(e) {+ let t = !!location.hash, n = _Ae.map(([n, r]) => {if (t) return W.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -59491,49 +59491,49 @@ async function _Ae(e) {await Promise.all([...n,W.fetchQuery({- queryKey: aV,- queryFn: () => lV(e)+ queryKey: iV,+ queryFn: () => cV(e)}),W.fetchQuery({- queryKey: Pz,- queryFn: () => Iz(e)+ queryKey: Nz,+ queryFn: () => Fz(e)}),- Nz(e).then(() => aAe(e)),- IP(e),- eke(e),- Uke(e)+ Mz(e).then(() => oAe(e)),+ FP(e),+ tke(e),+ Wke(e)]);}//#endregion//#region src/react/components/stat-card.tsx-var vAe = [+var yAe = ["text-chart-6","text-chart-5","text-chart-7","text-chart-8"-], yAe = [+], bAe = ["bg-chart-6/10","bg-chart-5/10","bg-chart-7/10","bg-chart-8/10"];-function fV(e = {}) {- return `${GO({+function dV(e = {}) {+ return `${WO({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var pV = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", bAe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";-function mV({ interactive: e = !1 } = {}) {- return GO({+var fV = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", xAe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";+function pV({ interactive: e = !1 } = {}) {+ return WO({padding: "none",radius: "plain",interactive: e,className: "flex min-h-33 flex-col gap-2 p-4 text-left"});}-var xAe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";-function hV({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {+var SAe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";+function mV({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",@@ -59566,13 +59566,13 @@ function hV({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta})] });}-function gV({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+function hV({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",children: [t ? /* @__PURE__ */ (0, D.jsx)("i", {"aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${vAe[n % 4]} ${yAe[n % 4]}`,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${yAe[n % 4]} ${bAe[n % 4]}`,children: /* @__PURE__ */ (0, D.jsx)(t, {"aria-hidden": !0,className: "size-4"@@ -59594,69 +59594,69 @@ function gV({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {}//#endregion//#region src/react/components/fieldset-layout.ts-var _V = GO({+var gV = WO({padding: "none",bordered: "line",className: "overflow-hidden"-}), vV = {+}), _V = {split: "min-w-0 p-6",stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"-}, yV = {+}, vV = {split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"};-function bV(e) {- return `${_V} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function yV(e) {+ return `${gV} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}//#endregion//#region src/management.ts-var xV = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", SV = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", CV = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", wV = "disabled data-skeleton-action", SAe = "aria-disabled=\"true\"", TV = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, EV = (e, t, n) => `<div class="${vV[n]}"><div class="flex flex-col gap-2">+var bV = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", xV = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", SV = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", CV = "disabled data-skeleton-action", CAe = "aria-disabled=\"true\"", wV = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, TV = (e, t, n) => `<div class="${_V[n]}"><div class="flex flex-col gap-2"><h3 class="text-title-2-medium text-text-primary">${e}</h3><p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;-function CAe() {- return TV(`<section aria-label="扫描与采集" class="${bV("stack")}" data-cleanup-task data-cleanup-processing>- ${EV("扫描与采集", xV, "stack")}- <footer class="${yV.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Ao("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${No({+function wAe() {+ return wV(`<section aria-label="扫描与采集" class="${yV("stack")}" data-cleanup-task data-cleanup-processing>+ ${TV("扫描与采集", bV, "stack")}+ <footer class="${vV.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Ao("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${No({label: "同步媒体库",- attrs: wV+ attrs: CV})}${No({glyph: "chevron-down",- attrs: `${wV} aria-label="更多同步方式"`+ attrs: `${CV} aria-label="更多同步方式"`})}</span></footer></section>`);}-function wAe() {- return TV(`<section aria-label="媒体修复" class="${bV("split")}" data-cleanup-task data-cleanup-processing>- ${EV("媒体修复", SV, "split")}- <footer class="${yV.split}">${Fo(CV, {+function TAe() {+ return wV(`<section aria-label="媒体修复" class="${yV("split")}" data-cleanup-task data-cleanup-processing>+ ${TV("媒体修复", xV, "split")}+ <footer class="${vV.split}">${Fo(SV, {className: "w-48",- attrs: SAe+ attrs: CAe})}${No({label: "开始修复",- attrs: wV+ attrs: CV})}</footer></section>`);}-function DV() {+function EV() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = _V, n = vV.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${yV.stack}">${No({+ ], t = gV, n = _V.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${vV.stack}">${No({label: e,- attrs: wV+ attrs: CV})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Ao(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${CV}</strong><span class="text-caption-1-regular">${CV}</span></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Ao(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${SV}</strong><span class="text-caption-1-regular">${SV}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${CAe()}</div><div id="mediaRepair">${wAe()}</div>+ <div id="libraryProcessing">${wAe()}</div><div id="mediaRepair">${TAe()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Fo(CV)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => No({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Fo(SV)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => No({variant: "secondary",- label: CV,- attrs: wV+ label: SV,+ attrs: CV})).join("")}</div></div></div>${i("预览")}</section></div><section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[@@ -59664,60 +59664,60 @@ function DV() {"官网/事务所","社交账号","作品资料站"- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${CV}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${CV}</div></div>${i("检查死链")}</div></section>+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${SV}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${SV}</div></div>${i("检查死链")}</div></section></div></div>`;}//#endregion//#region src/react/components/fieldset.tsx-var TAe = GO({+var EAe = WO({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), OV = "border-t border-border-button-default p-4 first:border-t-0";-function kV({ id: e, gap: t = "none", children: n }) {+}), DV = "border-t border-border-button-default p-4 first:border-t-0";+function OV({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, D.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function AV({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function kV({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, D.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: bV(e),+ className: yV(e),children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: vV[e],+ className: _V[e],children: a}), i ? /* @__PURE__ */ (0, D.jsx)("footer", {- className: yV[e],+ className: vV[e],children: i}) : null]});}//#endregion//#region src/react/components/status-label.tsx-var EAe = {+var DAe = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function jV({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, D.jsx)(BO, {+function AV({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, D.jsx)(zO, {"data-status-tone": e,variant: "caption",- color: EAe[e],+ color: DAe[e],...t});}//#endregion//#region src/react/components/path-line.tsx-function DAe({ className: e }) {+function OAe({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -59730,8 +59730,8 @@ function DAe({ className: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-open" })});}-var OAe = "打开文件管理器失败,请重试";-function MV({ path: e, prefix: t, className: n, onRevealed: r }) {+var kAe = "打开文件管理器失败,请重试";+function jV({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(""), c = (0, E.useRef)(!0);(0, E.useEffect)(() => () => {c.current = !1;@@ -59742,7 +59742,7 @@ function MV({ path: e, prefix: t, className: n, onRevealed: r }) {try {await U("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof wn ? e.message : OAe);+ c.current && s(e instanceof wn ? e.message : kAe);} finally {c.current && a(!1);}@@ -59753,10 +59753,10 @@ function MV({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, D.jsxs)("p", {- className: hO("min-w-0 break-all", n),+ className: mO("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, D.jsx)(Lk, {- icon: DAe,+ }), /* @__PURE__ */ (0, D.jsx)(Ik, {+ icon: OAe,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",@@ -59771,14 +59771,14 @@ function MV({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var kAe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", AAe = (e) => {+var AAe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", jAe = (e) => {let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;if (!t && !n && !r && !i) return "";let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];return r && a.push(`${r} 项同名人物资料需要确认是否为同一人`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;-}, jAe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + AAe(e);-function MAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = LCe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = PCe(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = KO();+}, MAe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + jAe(e);+function NAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = RCe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = FCe(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = GO();return /* @__PURE__ */ (0, D.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",@@ -59786,7 +59786,7 @@ function MAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {e.status === "running" && e.stalled ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "warning",title: "处理较慢",- children: kAe+ children: AAe}) : null,c ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -59800,7 +59800,7 @@ function MAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, D.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3",- children: /* @__PURE__ */ (0, D.jsxs)(mk, {+ children: /* @__PURE__ */ (0, D.jsxs)(pk, {summary: a.label,contentClassName: "gap-0",children: [/* @__PURE__ */ (0, D.jsx)("div", {@@ -59832,7 +59832,7 @@ function MAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, D.jsx)("div", {className: "mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, D.jsx)(MV, {+ children: /* @__PURE__ */ (0, D.jsx)(jV, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -59846,14 +59846,14 @@ function MAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {n?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "success",title: "处理完成",- children: jAe(n)+ children: MAe(n)}) : null,- !NP(e) && s ? /* @__PURE__ */ (0, D.jsx)(J, {+ !MP(e) && s ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",className: "gap-0 p-3",extra: e.issues_log && !l ? /* @__PURE__ */ (0, D.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, D.jsx)(MV, {+ children: /* @__PURE__ */ (0, D.jsx)(jV, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -59865,38 +59865,38 @@ function MAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function NV(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = XP(e), o = bt({- mutationFn: (e) => U(jP, e),+function MV(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = YP(e), o = bt({+ mutationFn: (e) => U(AP, e),onSuccess: (e) => {- a(), W.setQueryData(MP, e), W.invalidateQueries({ queryKey: MP });+ a(), W.setQueryData(jP, e), W.invalidateQueries({ queryKey: jP });}});(0, E.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? LP : V(r.error) : "", l = o.isPending || NP(s), u = async (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? IP : V(r.error) : "", l = o.isPending || MP(s), u = async (e) => {l || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsx)(AV, {+ children: [/* @__PURE__ */ (0, D.jsx)(kV, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(WO, {+ /* @__PURE__ */ (0, D.jsx)(UO, {href: "/sources",size: "small",- trailingIcon: TO,+ trailingIcon: wO,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, D.jsx)(WO, {+ s.candidates ? /* @__PURE__ */ (0, D.jsx)(UO, {href: "/review",size: "small",- trailingIcon: TO,+ trailingIcon: wO,children: "复核资料"}) : null,- /* @__PURE__ */ (0, D.jsx)(aL, {+ /* @__PURE__ */ (0, D.jsx)(iL, {scan: !0,busy: l,metadataOnly: s?.metadata_only,@@ -59907,24 +59907,24 @@ function NV(e) {children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(kV, { children: "扫描与采集" }),+ /* @__PURE__ */ (0, D.jsx)(OV, { children: "扫描与采集" }),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: xV+ children: bV}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(jV, { children: "已暂停" })- }) : NP(s) ? /* @__PURE__ */ (0, D.jsx)(KCe, { state: s }) : null,- NP(s) ? /* @__PURE__ */ (0, D.jsx)("p", {+ children: /* @__PURE__ */ (0, D.jsx)(AV, { children: "已暂停" })+ }) : MP(s) ? /* @__PURE__ */ (0, D.jsx)(qCe, { state: s }) : null,+ MP(s) ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: PP(s)+ children: NP(s)}) : null,- NP(s) ? /* @__PURE__ */ (0, D.jsx)(iF, { traffic: s.traffic }) : null+ MP(s) ? /* @__PURE__ */ (0, D.jsx)(rF, { traffic: s.traffic }) : null]})- }), /* @__PURE__ */ (0, D.jsx)(MAe, {+ }), /* @__PURE__ */ (0, D.jsx)(NAe, {state: s,problem: c,settled: i,@@ -59940,9 +59940,9 @@ function NV(e) {}//#endregion//#region src/react/background-job.ts-var NAe = 2e3, PAe = (e) => e, FAe = (e, t) => t;-function PV(e) {- let { queryKey: t, jobOf: n = PAe, withJob: r = FAe, idlePollMs: i } = e, [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(e);+var PAe = 2e3, FAe = (e) => e, IAe = (e, t) => t;+function NV(e) {+ let { queryKey: t, jobOf: n = FAe, withJob: r = IAe, idlePollMs: i } = e, [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(e);(0, E.useEffect)(() => {l.current = e;});@@ -59951,7 +59951,7 @@ function PV(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? NAe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? PAe : i ?? !1;}}), d = bt({mutationFn: (e) => l.current.start(e),@@ -59976,12 +59976,12 @@ function PV(e) {}//#endregion//#region src/react/media-repair/media-repair-card.tsx-var IAe = (e) => So[e] || e, LAe = (e) => W.setQueryData(Vz, e);-function RAe({ toast: e = () => {} }) {- let t = PV({- queryKey: Vz,- queryFn: ({ signal: e }) => Wz(e),- start: (e) => U(Bz, {+var LAe = (e) => So[e] || e, RAe = (e) => W.setQueryData(Bz, e);+function zAe({ toast: e = () => {} }) {+ let t = NV({+ queryKey: Bz,+ queryFn: ({ signal: e }) => Uz(e),+ start: (e) => U(zz, {library: e,restart: !0}),@@ -59989,9 +59989,9 @@ function RAe({ toast: e = () => {} }) {t.status === "complete" && !t.failed && !t.missing_tool && e(t.repaired ? `已修复 ${t.repaired.toLocaleString()} 部视频` : "已检查媒体库,没有需要修复的视频");}}), n = yt({- queryKey: Hz,- queryFn: ({ signal: e }) => Gz(e)- }), [r, i] = (0, E.useState)(""), a = ek(), o = t.job ?? Uz, s = n.data ?? [], c = o.status === "running", l = s.find((e) => e.id === (c ? o.library : r)) ?? s.find((e) => e.id === o.library) ?? s[0], u = () => {+ queryKey: Vz,+ queryFn: ({ signal: e }) => Wz(e)+ }), [r, i] = (0, E.useState)(""), a = $O(), o = t.job ?? Hz, s = n.data ?? [], c = o.status === "running", l = s.find((e) => e.id === (c ? o.library : r)) ?? s.find((e) => e.id === o.library) ?? s[0], u = () => {l && Ys({title: `修复媒体库「${l.name}」`,body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (l.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),@@ -60000,13 +60000,13 @@ function RAe({ toast: e = () => {} }) {await t.start.mutateAsync(l.id);}});- }, d = () => void a.run("stop", (e) => U(Bz, { stop: !0 }, "POST", e), LAe), f = t.outcome, p = tke(c ? o : f ?? Uz), m = a.error || f?.error || (t.query.error ? "读不到媒体修复的状态" : "");+ }, d = () => void a.run("stop", (e) => U(zz, { stop: !0 }, "POST", e), RAe), f = t.outcome, p = nke(c ? o : f ?? Hz), m = a.error || f?.error || (t.query.error ? "读不到媒体修复的状态" : "");return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsx)(AV, {+ children: [/* @__PURE__ */ (0, D.jsx)(kV, {layout: "split",label: "媒体修复",- footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(mz, {+ footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(pz, {"aria-label": "媒体库",prefix: "媒体库",className: "w-48",@@ -60015,10 +60015,10 @@ function RAe({ toast: e = () => {} }) {onSelectionChange: (e) => {e !== null && i(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, D.jsxs)(gF, {+ children: s.map((e) => /* @__PURE__ */ (0, D.jsxs)(hF, {id: e.id,textValue: e.name,- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: IAe(e.icon) }), e.name]+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: LAe(e.icon) }), e.name]}, e.id))}), c ? /* @__PURE__ */ (0, D.jsx)(q, {onClick: d,@@ -60032,12 +60032,12 @@ function RAe({ toast: e = () => {} }) {children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(kV, { children: "媒体修复" }),+ /* @__PURE__ */ (0, D.jsx)(OV, { children: "媒体修复" }),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: SV+ children: xV}),- c && o.total ? /* @__PURE__ */ (0, D.jsx)($O, {+ c && o.total ? /* @__PURE__ */ (0, D.jsx)(QO, {label: "修复进度",value: o.checked,max: o.total@@ -60061,7 +60061,7 @@ function RAe({ toast: e = () => {} }) {onClick: t.dismiss,children: "关闭提示"}),- children: nke(f)+ children: rke(f)}) : null, m ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: m@@ -60071,26 +60071,26 @@ function RAe({ toast: e = () => {} }) {}//#endregion//#region src/react/components/use-table-selection.ts-var FV = /* @__PURE__ */ new Map();-function IV(e) {+var PV = /* @__PURE__ */ new Map();+function FV(e) {let t = (0, E.useId)(), n = (0, E.useRef)(e);- return n.current = e, (0, E.useEffect)(() => (FV.set(t, () => n.current()), () => {- FV.delete(t);+ return n.current = e, (0, E.useEffect)(() => (PV.set(t, () => n.current()), () => {+ PV.delete(t);}), [t]), (0, E.useCallback)(() => {- for (let [e, n] of FV) e !== t && n();+ for (let [e, n] of PV) e !== t && n();}, [t]);}//#endregion//#region src/react/components/data-table.tsx-var zAe = nR({- rowSortingFeature: ez,- rowSelectionFeature: VR,- rowPaginationFeature: bR,- columnVisibilityFeature: uR,- sortedRowModel: nz(),- paginatedRowModel: tz()+var BAe = tR({+ rowSortingFeature: $R,+ rowSelectionFeature: BR,+ rowPaginationFeature: yR,+ columnVisibilityFeature: lR,+ sortedRowModel: tz(),+ paginatedRowModel: ez()});-function LV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {+function IV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {let [m, h] = (0, E.useState)([]), g = (0, E.useMemo)(() => [{id: "select",label: "选择",@@ -60104,21 +60104,21 @@ function LV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: amin: e.min ?? (t === 0 ? 320 : 96),flex: e.flex ?? t === 0,required: t === 0- }))], [n]), _ = bz(`data:${e}`, g), [v, y] = (0, E.useState)({+ }))], [n]), _ = yz(`data:${e}`, g), [v, y] = (0, E.useState)({pageIndex: 0,pageSize: 20- }), b = IV(() => o([])), x = Math.max(1, Math.ceil(t.length / v.pageSize)), S = Math.min(v.pageIndex, x - 1), C = Object.fromEntries(a.map((e) => [e, !0])), w = rz({- features: zAe,+ }), b = FV(() => o([])), x = Math.max(1, Math.ceil(t.length / v.pageSize)), S = Math.min(v.pageIndex, x - 1), C = Object.fromEntries(a.map((e) => [e, !0])), w = nz({+ features: BAe,data: t,columns: (0, E.useMemo)(() => {- let t = tR();+ let t = eR();return t.columns([t.display({id: "select",- header: ({ table: t }) => /* @__PURE__ */ (0, D.jsx)(Dz, {+ header: ({ table: t }) => /* @__PURE__ */ (0, D.jsx)(Ez, {table: t,label: `全选${e}`}),- cell: ({ row: e }) => /* @__PURE__ */ (0, D.jsx)(EN, {+ cell: ({ row: e }) => /* @__PURE__ */ (0, D.jsx)(TN, {slot: null,"aria-label": `选择 ${i(e.original)}`,isSelected: e.getIsSelected(),@@ -60165,7 +60165,7 @@ function LV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a}), T = w.getSelectedRowModel().rows.map((e) => e.original);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-data-table-panel": f || void 0,- className: f ? GO({+ className: f ? WO({padding: "none",bordered: "line",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"@@ -60187,10 +60187,10 @@ function LV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a})]}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, D.jsx)(wz, {+ children: [/* @__PURE__ */ (0, D.jsx)(Cz, {preferences: _,label: e- }), /* @__PURE__ */ (0, D.jsx)(gz, {+ }), /* @__PURE__ */ (0, D.jsx)(hz, {label: e,options: n.filter((e) => e.value).map((e) => ({id: e.id,@@ -60210,7 +60210,7 @@ function LV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: aclassName: "text-body-2-regular text-text-secondary",children: u}) : null,- /* @__PURE__ */ (0, D.jsxs)(OT, {+ /* @__PURE__ */ (0, D.jsxs)(DT, {label: `${e}批量操作`,visible: T.length > 0,count: `已选 ${T.length.toLocaleString()} ${p}`,@@ -60221,11 +60221,11 @@ function LV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: achildren: "取消选择"})]}),- /* @__PURE__ */ (0, D.jsx)(pz, {+ /* @__PURE__ */ (0, D.jsx)(fz, {follow: !0,preferences: _,onRowClick: (e) => w.getRow(e)?.toggleSelected(),- children: /* @__PURE__ */ (0, D.jsxs)(iz, {+ children: /* @__PURE__ */ (0, D.jsxs)(rz, {"aria-label": e,size: "sm",sortDescriptor: m[0] ? {@@ -60233,39 +60233,39 @@ function LV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: adirection: m[0].desc ? "descending" : "ascending"} : void 0,onSortChange: (e) => w.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),- children: [/* @__PURE__ */ (0, D.jsxs)(jj, { children: [w.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(Mj, {+ children: [/* @__PURE__ */ (0, D.jsxs)(Aj, { children: [w.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(jj, {id: e.id,isRowHeader: e.id === n[0].id,allowsSorting: e.column.getCanSort(),..._.columnProps(e.id),children: ({ sortDirection: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",- children: [cL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [sL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": t || void 0,- children: /* @__PURE__ */ (0, D.jsx)(gN, {})+ children: /* @__PURE__ */ (0, D.jsx)(hN, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Tz, {+ }), /* @__PURE__ */ (0, D.jsx)(wz, {preferences: _,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, D.jsx)(Mj, {+ }, e.id)), /* @__PURE__ */ (0, D.jsx)(jj, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: _.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(Fj, {+ })] }), /* @__PURE__ */ (0, D.jsx)(Pj, {renderEmptyState: () => "没有记录",- children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Rj, {+ children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Lj, {id: e.id,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(Bj, { children: cL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(Bj, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(zj, { children: sL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(zj, { "data-table-space": "" })]}, e.id))})]})}),- /* @__PURE__ */ (0, D.jsx)(_z, {+ /* @__PURE__ */ (0, D.jsx)(gz, {label: e,total: t.length,pagination: {@@ -60284,12 +60284,12 @@ function LV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a}//#endregion//#region src/react/components/site-mark.tsx-var RV = "size-(--icon-inline) shrink-0";-function zV({ src: e }) {+var LV = "size-(--icon-inline) shrink-0";+function RV({ src: e }) {let [t, n] = (0, E.useState)("");- return !e || t === e ? /* @__PURE__ */ (0, D.jsx)(Vge, {+ return !e || t === e ? /* @__PURE__ */ (0, D.jsx)(Hge, {"aria-hidden": !0,- className: RV+ className: LV}) : /* @__PURE__ */ (0, D.jsx)("img", {src: e,alt: "",@@ -60297,15 +60297,15 @@ function zV({ src: e }) {height: 16,loading: "lazy",onError: () => n(e),- className: `${RV} rounded-none object-contain`+ className: `${LV} rounded-none object-contain`});}-function BV({ source: e, linkId: t }) {- if (e === "makers") return /* @__PURE__ */ (0, D.jsx)(wge, {+function zV({ source: e, linkId: t }) {+ if (e === "makers") return /* @__PURE__ */ (0, D.jsx)(Tge, {"aria-hidden": !0,- className: RV+ className: LV});- if (t === void 0 && !e) return /* @__PURE__ */ (0, D.jsx)(zV, { src: "" });+ if (t === void 0 && !e) return /* @__PURE__ */ (0, D.jsx)(RV, { src: "" });let n = e && ["javten","fc2ppvdb",@@ -60313,14 +60313,14 @@ function BV({ source: e, linkId: t }) {"minnano-av","github"].includes(e);- return /* @__PURE__ */ (0, D.jsx)(zV, { src: t === void 0 ? n ? `/site-icon/${e}.png` : rn({ source: e }) : `/link-mark?id=${t}` });+ return /* @__PURE__ */ (0, D.jsx)(RV, { src: t === void 0 ? n ? `/site-icon/${e}.png` : rn({ source: e }) : `/link-mark?id=${t}` });}//#endregion//#region src/react/components/legacy-avatar.ts-var VV = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover";+var BV = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover";//#endregion//#region src/react/data-cleanup/link-check-icon.tsx-function BAe({ className: e }) {+function VAe({ className: e }) {return /* @__PURE__ */ (0, D.jsxs)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -60348,8 +60348,8 @@ function BAe({ className: e }) {}//#endregion//#region src/react/data-cleanup/link-manager.tsx-var HV = cM("rotate-cw"), VAe = "站点返回 404 或 410,确认这个地址不存在。", HAe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", UAe = "删除前会逐条重验一次;此操作不可撤销。", WAe = "暂时无法读取进度,正在重新连接…", UV = (e) => Number(e || 0).toLocaleString();-function WV({ label: e, value: t, note: n }) {+var VV = sM("rotate-cw"), HAe = "站点返回 404 或 410,确认这个地址不存在。", UAe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", WAe = "删除前会逐条重验一次;此操作不可撤销。", GAe = "暂时无法读取进度,正在重新连接…", HV = (e) => Number(e || 0).toLocaleString();+function UV({ label: e, value: t, note: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-0.5",children: [@@ -60368,11 +60368,11 @@ function WV({ label: e, value: t, note: n }) {]});}-function GV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o, confirmed: s = !1 }) {+function WV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o, confirmed: s = !1 }) {return t.length ? /* @__PURE__ */ (0, D.jsx)("div", {- className: OV,+ className: DV,"data-link-results": s ? "gone" : "unclear",- children: /* @__PURE__ */ (0, D.jsx)(LV, {+ children: /* @__PURE__ */ (0, D.jsx)(IV, {label: e,items: t,columns: [@@ -60388,7 +60388,7 @@ function GV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo"data-link-identity": "",children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-link-avatar": "",- className: `relative flex size-6 shrink-0 items-center justify-center overflow-hidden rounded-full bg-background-quaternary-default text-caption-1-medium text-text-primary ${VV}`,+ className: `relative flex size-6 shrink-0 items-center justify-center overflow-hidden rounded-full bg-background-quaternary-default text-caption-1-medium text-text-primary ${BV}`,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: `<span>${B(_n(e.entity))}</span>` + Ea({kind: e.entity_kind,@@ -60409,8 +60409,8 @@ function GV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, foid: "kind",label: "类型",width: 128,- value: (e) => hB[e.link_kind] || e.link_kind,- render: (e) => hB[e.link_kind] || e.link_kind+ value: (e) => mB[e.link_kind] || e.link_kind,+ render: (e) => mB[e.link_kind] || e.link_kind},{id: "label",@@ -60435,16 +60435,16 @@ function GV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, forender: (e) => /* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 w-full","data-link-result": s ? "gone" : "unclear",- children: /^(?:HTTP\s+)?[1-5]\d{2}$/.test(e.note.trim()) ? /* @__PURE__ */ (0, D.jsx)(jV, {+ children: /^(?:HTTP\s+)?[1-5]\d{2}$/.test(e.note.trim()) ? /* @__PURE__ */ (0, D.jsx)(AV, {tone: s || /^(?:HTTP\s+)?5\d{2}$/.test(e.note.trim()) ? "error" : "warning","data-link-code": "",children: e.note.trim()}) : /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col items-start gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(jV, {+ children: [/* @__PURE__ */ (0, D.jsx)(AV, {tone: s ? "error" : "warning",children: s ? "地址已失效" : "未取得结论"- }), /* @__PURE__ */ (0, D.jsx)(Mk, {+ }), /* @__PURE__ */ (0, D.jsx)(jk, {text: e.note,className: "tabular-nums text-text-secondary"})]@@ -60465,13 +60465,13 @@ function GV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo"data-link-address": "",className: "flex min-w-0 items-center gap-1 text-text-secondary hover:text-text-primary",children: [- /* @__PURE__ */ (0, D.jsx)(BV, { linkId: e.id }),+ /* @__PURE__ */ (0, D.jsx)(zV, { linkId: e.id }),/* @__PURE__ */ (0, D.jsx)("span", {"data-middle-truncate": !0,className: "min-w-0 truncate",children: e.url}),- /* @__PURE__ */ (0, D.jsx)(jO, {+ /* @__PURE__ */ (0, D.jsx)(AO, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"})@@ -60491,27 +60491,27 @@ function GV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo})}) : null;}-function GAe() {+function KAe() {let e = yt({- queryKey: fB,- queryFn: ({ signal: e }) => _B(e)- }), [t, n] = (0, E.useState)([]), [r, i] = (0, E.useState)([]), a = PV({- queryKey: mB,- queryFn: ({ signal: e }) => yB(e),- start: Dke,+ queryKey: dB,+ queryFn: ({ signal: e }) => gB(e)+ }), [t, n] = (0, E.useState)([]), [r, i] = (0, E.useState)([]), a = NV({+ queryKey: pB,+ queryFn: ({ signal: e }) => vB(e),+ start: Oke,onFinish: () => {W.invalidateQueries({- queryKey: fB,+ queryKey: dB,exact: !0}), W.invalidateQueries({- queryKey: pB,+ queryKey: fB,exact: !0});}- }), o = PV({- queryKey: pB,- queryFn: ({ signal: e }) => vB(e),- start: Eke,+ }), o = NV({+ queryKey: fB,+ queryFn: ({ signal: e }) => _B(e),+ start: Dke,onStarted: () => {a.dismiss(), n([]), i([]);}@@ -60544,7 +60544,7 @@ function GAe() {else if (x && !f.length && !p.length) w = /* @__PURE__ */ (0, D.jsx)(J, {tone: "success",title: "完成",- children: xB(x)+ children: bB(x)});else if (S) w = /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -60554,7 +60554,7 @@ function GAe() {else if (o.query.isError && s) w = /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",title: "任务状态",- children: WAe+ children: GAe});else if (s?.status === "failed") w = /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -60562,12 +60562,12 @@ function GAe() {children: s.error || "检查失败"});else if (s && s.status !== "idle") {- C = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, D.jsx)(ZP, {+ C = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,- label: Oke(s),+ label: kke(s),value: Math.min(s.checked || 0, s.total || 0),total: s.total- }) : null, u ? /* @__PURE__ */ (0, D.jsx)(ZP, {+ }) : null, u ? /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,label: a.job?.message || "正在重验并删除失效链接…",value: Math.min(a.job?.checked || 0, a.job?.total || 0),@@ -60575,23 +60575,23 @@ function GAe() {}) : null] });let e = `立即重试所选(${g.length})`;w = d || f.length || p.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: TAe,+ className: EAe,children: [x?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "success",title: "完成",- children: xB(x)+ children: bB(x)}) : null,- /* @__PURE__ */ (0, D.jsx)(GV, {+ /* @__PURE__ */ (0, D.jsx)(WV, {title: "地址已失效",items: f,- hint: VAe,+ hint: HAe,picked: r,onPick: i,confirmed: !0,footer: d && f.length ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "mr-auto min-w-0 text-caption-1-regular text-text-secondary",- children: UAe+ children: WAe}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "danger",...Y(u),@@ -60607,22 +60607,22 @@ function GAe() {children: `删除所选(${h.length})`})}),- /* @__PURE__ */ (0, D.jsx)(GV, {+ /* @__PURE__ */ (0, D.jsx)(WV, {title: "本次未访问成功",items: p,- hint: HAe,+ hint: UAe,picked: t,onPick: n,footer: m.length ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "primary",- leadingIcon: HV,+ leadingIcon: VV,...Y(l),onClick: () => y(m.map((e) => e.id)),children: `立即重试全部(${m.length})`}) : null,children: m.length ? /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",- leadingIcon: HV,+ leadingIcon: VV,disabled: !g.length,...Y(l),onClick: () => y(g),@@ -60630,7 +60630,7 @@ function GAe() {}) }) : null}),d && !f.length && !p.length ? /* @__PURE__ */ (0, D.jsx)("p", {- className: `${OV} text-body-regular text-notification-success-foreground`,+ className: `${DV} text-body-regular text-notification-success-foreground`,children: "全部链接均可访问。"}) : null]@@ -60640,18 +60640,18 @@ function GAe() {id: "link-manager","aria-labelledby": "link-manager-title",className: "flex scroll-mt-20 flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsxs)(AV, {+ children: [/* @__PURE__ */ (0, D.jsxs)(kV, {layout: "stack",labelledBy: "link-manager-title",footer: /* @__PURE__ */ (0, D.jsx)(q, {"data-link-check": "",- leadingIcon: BAe,+ leadingIcon: VAe,...Y(l),onClick: () => y(),children: l ? "检查中" : d ? "重新检查" : "检查死链"}),children: [- /* @__PURE__ */ (0, D.jsx)(kV, {+ /* @__PURE__ */ (0, D.jsx)(OV, {id: "link-manager-title",gap: "small",children: "链接管理"@@ -60662,13 +60662,13 @@ function GAe() {children: V(e.error)}) : _ ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "link-stat-grid mt-4 gap-x-8 gap-y-3",- children: [/* @__PURE__ */ (0, D.jsx)(WV, {+ children: [/* @__PURE__ */ (0, D.jsx)(UV, {label: "链接总数",- value: UV(_.total),- note: `分布在 ${UV(_.entities)} 个女优、厂牌与系列`- }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(WV, {- label: hB[e] || e,- value: UV(t)+ value: HV(_.total),+ note: `分布在 ${HV(_.entities)} 个女优、厂牌与系列`+ }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(UV, {+ label: mB[e] || e,+ value: HV(t)}, e))]}), v.length ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "mt-4 flex min-w-0 flex-col gap-0.5",@@ -60686,22 +60686,22 @@ function GAe() {rel: "noopener noreferrer",className: "inline-flex min-w-0 items-center gap-1.5 text-body-2-medium text-text-primary",children: [- /* @__PURE__ */ (0, D.jsx)(BV, { linkId: _.top_host_link_ids?.[e] }),+ /* @__PURE__ */ (0, D.jsx)(zV, { linkId: _.top_host_link_ids?.[e] }),/* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 wrap-anywhere",children: e}),- /* @__PURE__ */ (0, D.jsx)(jO, {+ /* @__PURE__ */ (0, D.jsx)(AO, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"})]- }), /* @__PURE__ */ (0, D.jsx)(BO, {+ }), /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "neutral",children: /* @__PURE__ */ (0, D.jsx)("span", {className: "tabular-nums",- children: UV(t)+ children: HV(t)})})]}, e))@@ -60722,7 +60722,7 @@ function GAe() {}//#endregion//#region src/react/settings/folder-rows.tsx-function KV({ className: e }) {+function GV({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -60735,34 +60735,34 @@ function KV({ className: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-search" })});}-var qV = Ft, JV = (e) => So[e] || "database", YV = (e) => Lt.includes(e);-function XV({ label: e, className: t, children: n }) {+var KV = Ft, qV = (e) => So[e] || "database", JV = (e) => Lt.includes(e);+function YV({ label: e, className: t, children: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: hO("flex min-w-0 flex-col gap-1", t),- children: [/* @__PURE__ */ (0, D.jsx)(Qj, {+ className: mO("flex min-w-0 flex-col gap-1", t),+ children: [/* @__PURE__ */ (0, D.jsx)(Zj, {elementType: "span","aria-hidden": !0,children: e}), n]});}-function KAe({ children: e }) {+function qAe({ children: e }) {return /* @__PURE__ */ (0, D.jsx)("div", {className: "flex w-full flex-wrap items-start gap-2",children: e});}-function qAe({ index: e, cost: t, error: n, onChange: r }) {+function JAe({ index: e, cost: t, error: n, onChange: r }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-read-policy": e,className: "flex w-full flex-col gap-1 @lg:w-32",children: [- /* @__PURE__ */ (0, D.jsx)(Qj, {+ /* @__PURE__ */ (0, D.jsx)(Zj, {elementType: "span","aria-hidden": !0,children: "读取策略"}),- /* @__PURE__ */ (0, D.jsxs)(hF, {+ /* @__PURE__ */ (0, D.jsxs)(mF, {"aria-label": `媒体读取策略 ${e + 1}`,placeholder: "选择读取策略",isRequired: !0,@@ -60772,22 +60772,22 @@ function qAe({ index: e, cost: t, error: n, onChange: r }) {onSelectionChange: (e) => {(e === "free" || e === "metered") && r(e);},- children: [/* @__PURE__ */ (0, D.jsx)(gF, {+ children: [/* @__PURE__ */ (0, D.jsx)(hF, {id: "free",children: "正常读取"- }), /* @__PURE__ */ (0, D.jsx)(gF, {+ }), /* @__PURE__ */ (0, D.jsx)(hF, {id: "metered",children: "代理保护"})]}),- n ? /* @__PURE__ */ (0, D.jsx)(lk, { children: n }) : null+ n ? /* @__PURE__ */ (0, D.jsx)(ck, { children: n }) : null]});}-function JAe() {- return /* @__PURE__ */ (0, D.jsx)(ck, { children: "读取策略选「代理保护」时,会限制自动读取视频。" });+function YAe() {+ return /* @__PURE__ */ (0, D.jsx)(sk, { children: "读取策略选「代理保护」时,会限制自动读取视频。" });}-function YAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {+function XAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)([]), [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(null), p = (0, E.useRef)(!1), m = (0, E.useRef)([]);(0, E.useLayoutEffect)(() => {l !== null && (m.current[l]?.focus(), u(null));@@ -60830,7 +60830,7 @@ function YAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:}};}-function XAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {+function ZAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {let u = (0, E.useRef)(null), d = () => {let e = u.current;e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);@@ -60843,7 +60843,7 @@ function XAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {className: "min-w-0 flex-1","aria-label": e,placeholder: "媒体目录路径",@@ -60861,8 +60861,8 @@ function XAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,className: "flex h-9 shrink-0 items-center",children: c}) : null,- /* @__PURE__ */ (0, D.jsx)(Lk, {- icon: KV,+ /* @__PURE__ */ (0, D.jsx)(Ik, {+ icon: GV,"aria-label": "选择文件夹",onClick: o,...Y(a)@@ -60870,7 +60870,7 @@ function XAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,s ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "danger",iconOnly: !0,- leadingIcon: AO,+ leadingIcon: kO,"aria-label": "移除这个文件夹",onClick: s}) : null@@ -60881,39 +60881,39 @@ function XAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,})]});}-function ZAe({ index: e, value: t, onChange: n, options: r = qV }) {- return /* @__PURE__ */ (0, D.jsx)(XV, {+function QAe({ index: e, value: t, onChange: n, options: r = KV }) {+ return /* @__PURE__ */ (0, D.jsx)(YV, {label: "来源",className: "w-full @lg:w-60",- children: /* @__PURE__ */ (0, D.jsx)(hF, {+ children: /* @__PURE__ */ (0, D.jsx)(mF, {className: "w-full","aria-label": `媒体来源 ${e + 1}`,selectedKey: t,onSelectionChange: (e) => {e !== null && n(String(e));},- children: r.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(gF, {+ children: r.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(hF, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: JV(e) }), t]+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: qV(e) }), t]}, e))})});}//#endregion//#region src/react/data-cleanup/organize-card.tsx-var QAe = (e, t) => `将整理「${e}」${t ? `的「${t}」及其子目录` : "上的文件名与目录"},清理特殊符号与乱码,并按已填模板改名或移动。目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, $Ae = "将把上一批整理动过的文件退回整理前的名字与位置,数据库路径跟着退回。退回后这一批不再出现在这里。", ZV = 8;-function eje({ plan: e }) {+var $Ae = (e, t) => `将整理「${e}」${t ? `的「${t}」及其子目录` : "上的文件名与目录"},清理特殊符号与乱码,并按已填模板改名或移动。目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, eje = "将把上一批整理动过的文件退回整理前的名字与位置,数据库路径跟着退回。退回后这一批不再出现在这里。", XV = 8;+function tje({ plan: e }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("ol", {className: "mt-2 flex min-w-0 flex-col gap-1",- children: e.rows.slice(0, ZV).map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {+ children: e.rows.slice(0, XV).map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-middle-truncate": !0,title: e.current_path,className: "min-w-0 truncate",- children: LB(e.current_path)+ children: IB(e.current_path)}),/* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,@@ -60923,19 +60923,19 @@ function eje({ plan: e }) {"data-middle-truncate": !0,title: e.target_path,className: "min-w-0 truncate text-text-primary",- children: LB(e.target_path)+ children: IB(e.target_path)})]}, e.current_path))- }), e.truncated || e.rows.length > ZV ? /* @__PURE__ */ (0, D.jsx)("p", {+ }), e.truncated || e.rows.length > XV ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: "只列出前 8 行,完整计划在计划 CSV 里。"}) : null] });}-function tje({ toast: e, failure: t }) {+function nje({ toast: e, failure: t }) {let n = yt({- queryKey: FB,- queryFn: ({ signal: e }) => IB(e)+ queryKey: PB,+ queryFn: ({ signal: e }) => FB(e)}), r = n.data, i = r?.locations ?? [], [a, o] = (0, E.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, E.useState)(null), d = l?.location === s ? l : {location: s,file: c?.file ?? "",@@ -60962,7 +60962,7 @@ function tje({ toast: e, failure: t }) {d.file,d.dir],- queryFn: ({ signal: e }) => Hke(d.file, d.dir, e),+ queryFn: ({ signal: e }) => Uke(d.file, d.dir, e),enabled: !!r}), [C, w] = (0, E.useState)("file"), T = (0, E.useRef)(!1), O = (0, E.useRef)(null);(0, E.useLayoutEffect)(() => {@@ -60978,32 +60978,32 @@ function tje({ toast: e, failure: t }) {file_template: d.file.trim(),dir_template: d.dir.trim()}), A = bt({- mutationFn: Wke,+ mutationFn: Gke,onError: (e) => {- let t = /整理路径/.test(V(e)) ? "path" : Yke.test(V(e)) ? "dir" : "file";+ let t = /整理路径/.test(V(e)) ? "path" : Xke.test(V(e)) ? "dir" : "file";v(t), (t === "path" ? x : t === "dir" ? b : y).current?.focus();}}), j = bt({- mutationFn: ({ initial: e }) => Gke(e),+ mutationFn: ({ initial: e }) => Kke(e),onSuccess: (e, t) => {e.path && t.location === g.current.location && t.path === g.current.path && (m({location: t.location,path: e.path}), v(null), A.reset(), x.current?.focus());}- }), M = PV({- queryKey: FB,- queryFn: ({ signal: e }) => IB(e),- start: Kke,+ }), M = NV({+ queryKey: PB,+ queryFn: ({ signal: e }) => FB(e),+ start: qke,jobOf: (e) => e,- withJob: Jke,+ withJob: Yke,onStarted: () => A.reset(),onFinish: (n) => {if (W.invalidateQueries({- queryKey: FB,+ queryKey: PB,exact: !0}), n.status !== "complete") return;- let { text: r, failed: i } = zB(n);+ let { text: r, failed: i } = RB(n);i ? t("整理文件", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));}}), N = M.running || M.start.isPending, P = JSON.stringify(A.variables) === JSON.stringify(k()), F = P ? A.data : void 0, I = Number(F?.counts?.change || 0), ee = yn[s] || s, L = (e) => {@@ -61020,13 +61020,13 @@ function tje({ toast: e, failure: t }) {let e = A.variables;e && F && I && Ys({title: "整理文件",- body: QAe(ee, e.path),+ body: $Ae(ee, e.path),confirmLabel: "整理文件",onConfirm: async () => {await M.start.mutateAsync({kind: "apply",request: e- }), qke({+ }), Jke({...r?.templates ?? {},[e.location]: {file: e.file_template,@@ -61037,13 +61037,13 @@ function tje({ toast: e, failure: t }) {});}, ie = () => void Ys({title: "回滚上一批整理",- body: $Ae,+ body: eje,confirmLabel: "回滚整理",onConfirm: () => M.start.mutateAsync({ kind: "rollback" })}), ae = null, oe = !!I && !N && !M.outcome, se = M.job, ce = M.outcome;if (se?.status === "running") {let e = se.message || se.stage || "正在整理文件…";- ae = /* @__PURE__ */ (0, D.jsx)(ZP, {+ ae = /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,label: e,value: Math.min(se.checked || 0, se.total || 0),@@ -61055,7 +61055,7 @@ function tje({ toast: e, failure: t }) {children: ce.error || "请查看任务记录,核对已处理的文件。"});else if (ce) {- let { text: e, failed: t } = zB(ce);+ let { text: e, failed: t } = RB(ce);ae = /* @__PURE__ */ (0, D.jsx)(J, {tone: t ? "warning" : "success",title: t ? "部分完成" : "整理结果",@@ -61065,7 +61065,7 @@ function tje({ toast: e, failure: t }) {tone: "error",title: "整理失败",children: V(M.start.error)- }) : A.isPending ? ae = /* @__PURE__ */ (0, D.jsx)(ZP, {+ }) : A.isPending ? ae = /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,label: "正在核对整理计划…"}) : A.isError && P ? ae = /* @__PURE__ */ (0, D.jsx)(J, {@@ -61075,9 +61075,9 @@ function tje({ toast: e, failure: t }) {}) : F && (ae = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",title: "预览结果",- children: Xke(F)- }), I ? /* @__PURE__ */ (0, D.jsx)(eje, { plan: F }) : null] }));- return /* @__PURE__ */ (0, D.jsxs)(AV, {+ children: Zke(F)+ }), I ? /* @__PURE__ */ (0, D.jsx)(tje, { plan: F }) : null] }));+ return /* @__PURE__ */ (0, D.jsxs)(kV, {layout: "stack",id: "organize",labelledBy: "cleanup-organize-title",@@ -61103,7 +61103,7 @@ function tje({ toast: e, failure: t }) {}) : null] }),children: [- /* @__PURE__ */ (0, D.jsx)(kV, {+ /* @__PURE__ */ (0, D.jsx)(OV, {id: "cleanup-organize-title",gap: "medium",children: "整理"@@ -61126,7 +61126,7 @@ function tje({ toast: e, failure: t }) {/* @__PURE__ */ (0, D.jsxs)("div", {"data-organize-scope": !0,className: "flex min-w-0 flex-wrap items-start gap-2",- children: [i.length ? /* @__PURE__ */ (0, D.jsx)(mz, {+ children: [i.length ? /* @__PURE__ */ (0, D.jsx)(pz, {"aria-label": "整理哪个来源",prefix: "来源",className: "w-fit min-w-25",@@ -61137,14 +61137,14 @@ function tje({ toast: e, failure: t }) {path: ""}), v(null), A.reset(), j.reset(), T.current = !1);},- children: i.map((e) => /* @__PURE__ */ (0, D.jsxs)(gF, {+ children: i.map((e) => /* @__PURE__ */ (0, D.jsxs)(hF, {id: e.location,textValue: yn[e.location] || e.location,- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: So[e.location] || "database" }), yn[e.location] || e.location]+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: So[e.location] || "database" }), yn[e.location] || e.location]}, e.location))}) : null, /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 basis-64 flex-1 items-start gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(iM, {+ children: [/* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "整理路径",className: "min-w-0 flex-1",placeholder: "留空整理整个来源",@@ -61160,8 +61160,8 @@ function tje({ toast: e, failure: t }) {path: e}), v(null), A.reset(), j.reset();}- }), /* @__PURE__ */ (0, D.jsx)(Lk, {- icon: KV,+ }), /* @__PURE__ */ (0, D.jsx)(Ik, {+ icon: GV,"aria-label": "选择整理路径",...Y(j.isPending),onClick: () => j.mutate({@@ -61181,7 +61181,7 @@ function tje({ toast: e, failure: t }) {title: "目录选择失败",children: [V(j.error), ";也可直接输入路径。"]}) : null,- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "文件名模板",placeholder: "{code}[ {title}]",value: d.file,@@ -61193,7 +61193,7 @@ function tje({ toast: e, failure: t }) {},onChange: (e) => L({ file: e })}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "目录模板",placeholder: "留空表示原地改名",value: d.dir,@@ -61291,27 +61291,27 @@ function tje({ toast: e, failure: t }) {}//#endregion//#region src/react/data-cleanup/orphan-records-card.tsx-var nje = cM("play"), QV = () => W.invalidateQueries({- queryKey: BB,+var rje = sM("play"), ZV = () => W.invalidateQueries({+ queryKey: zB,exact: !0});-function rje({ item: e, toast: t }) {+function ije({ item: e, toast: t }) {let [n, r] = (0, E.useState)(e.candidates[0]?.id ?? null), i = bt({- mutationFn: () => eAe(e.id, Number(n)),+ mutationFn: () => tAe(e.id, Number(n)),onSuccess: () => {let r = e.candidates.find((e) => e.id === n);- t(`已将「${e.name}」的个人记录转移到「${r?.name ?? "所选文件"}」`), QV();+ t(`已将「${e.name}」的个人记录转移到「${r?.name ?? "所选文件"}」`), ZV();},onError: (e) => t(V(e))}), a = bt({- mutationFn: () => HB(e.id),+ mutationFn: () => VB(e.id),onSuccess: (n) => {- t(n.blocked.length ? `「${e.name}」的文件已恢复,记录未删除;下次扫描后恢复为在库状态` : `已删除「${e.name}」的作品记录及个人记录`), QV();+ t(n.blocked.length ? `「${e.name}」的文件已恢复,记录未删除;下次扫描后恢复为在库状态` : `已删除「${e.name}」的作品记录及个人记录`), ZV();}}), o = () => {Ys({title: "删除记录",- body: `将删除「${e.name}」的作品记录${UB(e.records) ? `及其个人记录(${UB(e.records)})` : ""}。此操作不可撤销。`,+ body: `将删除「${e.name}」的作品记录${HB(e.records) ? `及其个人记录(${HB(e.records)})` : ""}。此操作不可撤销。`,confirmLabel: "删除记录",danger: !0,onConfirm: () => a.mutateAsync()@@ -61327,7 +61327,7 @@ function rje({ item: e, toast: t }) {onClick: o,children: "删除记录"}),- e.candidates.length ? /* @__PURE__ */ (0, D.jsx)(mz, {+ e.candidates.length ? /* @__PURE__ */ (0, D.jsx)(pz, {"aria-label": `选择接收 ${e.name} 个人记录的文件`,prefix: "接收",className: "w-52",@@ -61335,10 +61335,10 @@ function rje({ item: e, toast: t }) {onSelectionChange: (e) => {e !== null && r(Number(e));},- children: e.candidates.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: e.candidates.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e.id,- textValue: WB(e),- children: WB(e)+ textValue: UB(e),+ children: UB(e)}, e.id))}) : null,e.candidates.length ? /* @__PURE__ */ (0, D.jsx)(q, {@@ -61352,12 +61352,12 @@ function rje({ item: e, toast: t }) {]});}-function ije({ item: e }) {+function aje({ item: e }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",- children: [/* @__PURE__ */ (0, D.jsx)(nje, {+ children: [/* @__PURE__ */ (0, D.jsx)(rje, {"aria-hidden": !0,className: "size-5"}), e.has_thumb ? /* @__PURE__ */ (0, D.jsx)("img", {@@ -61380,14 +61380,14 @@ function ije({ item: e }) {})]});}-function aje({ toast: e }) {+function oje({ toast: e }) {let [t, n] = (0, E.useState)([]), r = yt({- queryKey: BB,- queryFn: ({ signal: e }) => VB(e)+ queryKey: zB,+ queryFn: ({ signal: e }) => BB(e)}), i = r.data?.items ?? [], a = bt({- mutationFn: (e) => HB(e),+ mutationFn: (e) => VB(e),onSuccess: (t) => {- e(`已删除 ${t.purged} 条作品记录及其个人记录${t.blocked.length ? `;${t.blocked.length} 条文件已恢复,记录未删除` : ""}`), n([]), QV();+ e(`已删除 ${t.purged} 条作品记录及其个人记录${t.blocked.length ? `;${t.blocked.length} 条文件已恢复,记录未删除` : ""}`), n([]), ZV();}}), o = (e) => void Ys({title: "删除所选记录",@@ -61403,17 +61403,17 @@ function aje({ toast: e }) {width: 480,min: 320,value: (e) => e.name,- render: (e) => /* @__PURE__ */ (0, D.jsx)(ije, { item: e })+ render: (e) => /* @__PURE__ */ (0, D.jsx)(aje, { item: e })},{id: "records",label: "个人记录",width: 176,min: 144,- value: (e) => UB(e.records),+ value: (e) => HB(e.records),render: (e) => /* @__PURE__ */ (0, D.jsx)("span", {className: "block min-w-0 whitespace-normal wrap-anywhere",- children: UB(e.records) || "无"+ children: HB(e.records) || "无"})},{@@ -61422,7 +61422,7 @@ function aje({ toast: e }) {width: i.some((e) => e.candidates.length) ? 360 : 128,min: 128,value: (e) => e.candidates.length,- render: (t) => /* @__PURE__ */ (0, D.jsx)(rje, {+ render: (t) => /* @__PURE__ */ (0, D.jsx)(ije, {item: t,toast: e})@@ -61432,10 +61432,10 @@ function aje({ toast: e }) {id: "orphan-records","aria-labelledby": "orphan-records-title",className: "flex scroll-mt-20 flex-col gap-4",- children: r.isError ? /* @__PURE__ */ (0, D.jsxs)(AV, {+ children: r.isError ? /* @__PURE__ */ (0, D.jsxs)(kV, {layout: "stack",labelledBy: "orphan-records-title",- children: [/* @__PURE__ */ (0, D.jsx)(kV, {+ children: [/* @__PURE__ */ (0, D.jsx)(OV, {id: "orphan-records-title",children: "文件已丢失的记录"}), /* @__PURE__ */ (0, D.jsx)(J, {@@ -61443,7 +61443,7 @@ function aje({ toast: e }) {title: "读取文件已丢失的记录失败",children: V(r.error)})]- }) : /* @__PURE__ */ (0, D.jsx)(LV, {+ }) : /* @__PURE__ */ (0, D.jsx)(IV, {label: "文件已消失的作品",items: i,columns: s,@@ -61468,7 +61468,7 @@ function aje({ toast: e }) {}//#endregion//#region src/react/boardui/components/base/badges/status-dot.tsx-var $V = gO({+var QV = hO({base: "inline-flex size-3 shrink-0 items-center justify-center rounded-full",halo: {green: "bg-status-dot-green-halo",@@ -61481,134 +61481,134 @@ var $V = gO({indigo: "bg-indigo-500"}});-function oje({ color: e = "green", className: t, ref: n, ...r }) {+function sje({ color: e = "green", className: t, ref: n, ...r }) {return /* @__PURE__ */ (0, D.jsx)("span", {ref: n,"aria-hidden": !0,- className: hO($V.base, $V.halo[e], t),+ className: mO(QV.base, QV.halo[e], t),...r,- children: /* @__PURE__ */ (0, D.jsx)("span", { className: hO("size-1.5 rounded-full", $V.dot[e]) })+ children: /* @__PURE__ */ (0, D.jsx)("span", { className: mO("size-1.5 rounded-full", QV.dot[e]) })});}//#endregion//#region src/react/components/connection-status.tsx-var sje = {+var cje = {success: "text-green-700 dark:text-green-400",warning: "text-status-yellow-text",progress: "text-notification-information-foreground",neutral: "text-text-secondary",error: "text-text-error-primary"};-function eH({ online: e, tone: t, children: n }) {+function $V({ online: e, tone: t, children: n }) {let r = t ?? (e === !0 ? "success" : e === !1 ? "warning" : "neutral");return /* @__PURE__ */ (0, D.jsxs)("span", {"data-mount": e === !0 ? "online" : e === !1 ? "offline" : "unknown","data-connection-tone": r,- className: hO("inline-flex items-center gap-1.5 whitespace-nowrap text-body-2-medium", sje[r]),- children: [/* @__PURE__ */ (0, D.jsx)(oje, { color: r === "success" ? "green" : r === "warning" ? "yellow" : "indigo" }), n ?? (e === !0 ? "在线" : e === !1 ? "离线" : "未检测")]+ className: mO("inline-flex items-center gap-1.5 whitespace-nowrap text-body-2-medium", cje[r]),+ children: [/* @__PURE__ */ (0, D.jsx)(sje, { color: r === "success" ? "green" : r === "warning" ? "yellow" : "indigo" }), n ?? (e === !0 ? "在线" : e === !1 ? "离线" : "未检测")]});}//#endregion//#region src/react/data-cleanup/resource-sync-card.tsx-var cje = cM("git-compare"), lje = cM("rotate-cw"), uje = "暂时无法读取进度,正在重新连接…", tH = "清理失效条目", nH = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", rH = (e) => Number(e || 0).toLocaleString();-function iH({ scan: e, partial: t = !1 }) {+var lje = sM("git-compare"), uje = sM("rotate-cw"), dje = "暂时无法读取进度,正在重新连接…", eH = "清理失效条目", tH = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", nH = (e) => Number(e || 0).toLocaleString();+function rH({ scan: e, partial: t = !1 }) {let n = e.cache ?? {files: 0,bytes: 0};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", {- className: nH,+ className: tH,children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, D.jsxs)("article", {- className: mV(),- children: [/* @__PURE__ */ (0, D.jsx)(hV, {+ className: pV(),+ children: [/* @__PURE__ */ (0, D.jsx)(mV, {label: Rt[e.location] || "媒体来源",- mark: /* @__PURE__ */ (0, D.jsx)(hk, { mark: So[e.location] ?? "database" }),- aside: /* @__PURE__ */ (0, D.jsx)(eH, {+ mark: /* @__PURE__ */ (0, D.jsx)(mk, { mark: So[e.location] ?? "database" }),+ aside: /* @__PURE__ */ (0, D.jsx)($V, {online: e.online,children: e.online ? "可访问" : "离线"}),- figure: e.online ? `${rH(e.missing)} 项` : "—",- meta: e.online ? nV(e) : `${nV(e)} · 本次已跳过`,+ figure: e.online ? `${nH(e.missing)} 项` : "—",+ meta: e.online ? tV(e) : `${tV(e)} · 本次已跳过`,wrapMeta: !0}), e.online && e.unreadable > 0 ? /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsxs)(jV, {+ children: /* @__PURE__ */ (0, D.jsxs)(AV, {tone: "warning",- children: [rH(e.unreadable), " 个目录未读取"]+ children: [nH(e.unreadable), " 个目录未读取"]})}) : null]}, e.location))}), !t && /* @__PURE__ */ (0, D.jsxs)("div", {- className: nH,+ className: tH,children: [/* @__PURE__ */ (0, D.jsx)("article", {- className: mV(),- children: /* @__PURE__ */ (0, D.jsx)(hV, {+ className: pV(),+ children: /* @__PURE__ */ (0, D.jsx)(mV, {label: "待永久删除",- figure: `${rH($B(e))} 项`,+ figure: `${nH(QB(e))} 项`,meta: "文件已不在盘上,含回收站"})}),/* @__PURE__ */ (0, D.jsx)("article", {- className: mV(),- children: /* @__PURE__ */ (0, D.jsx)(hV, {+ className: pV(),+ children: /* @__PURE__ */ (0, D.jsx)(mV, {label: "将标为已消失",- figure: `${rH(e.vanish)} 项`,+ figure: `${nH(e.vanish)} 项`,meta: "带个人记录,记录留着"})}),/* @__PURE__ */ (0, D.jsx)("article", {- className: mV(),- children: /* @__PURE__ */ (0, D.jsx)(hV, {+ className: pV(),+ children: /* @__PURE__ */ (0, D.jsx)(mV, {label: "空文件夹",- figure: `${rH(e.empty)} 个`,+ figure: `${nH(e.empty)} 个`,meta: "保留来源根目录"})}),/* @__PURE__ */ (0, D.jsx)("article", {- className: mV(),- children: /* @__PURE__ */ (0, D.jsx)(hV, {+ className: pV(),+ children: /* @__PURE__ */ (0, D.jsx)(mV, {label: "可清理的缓存",- figure: `${rH(n.files)} 个`,+ figure: `${nH(n.files)} 个`,meta: n.files ? pn(n.bytes) : ""})})]})] });}-function dje({ toast: e }) {- let t = PV({- queryKey: JB,- queryFn: ({ signal: e }) => XB(e),- start: iAe,+function fje({ toast: e }) {+ let t = NV({+ queryKey: qB,+ queryFn: ({ signal: e }) => YB(e),+ start: aAe,onFinish: (t) => {if (W.invalidateQueries({- queryKey: sV,+ queryKey: oV,exact: !0}), W.invalidateQueries({- queryKey: qB,+ queryKey: KB,exact: !0}), t.status !== "complete") return;- let { done: n, left: r } = rV(t);- r ? e(`已完成 ${rH(n)} 项,${rH(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");+ let { done: n, left: r } = nV(t);+ r ? e(`已完成 ${nH(n)} 项,${nH(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");}- }), n = PV({- queryKey: qB,- queryFn: ({ signal: e }) => YB(e),- start: rAe,+ }), n = NV({+ queryKey: KB,+ queryFn: ({ signal: e }) => JB(e),+ start: iAe,onStarted: () => t.dismiss()}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void Ys({- title: tH,- body: lAe(e),- confirmLabel: tH,+ title: eH,+ body: uAe(e),+ confirmLabel: eH,danger: !0,onConfirm: () => t.start.mutateAsync(e.scan_id || "")}), l = t.outcome, u = (e) => {- let t = rV(e).left > 0;+ let t = nV(e).left > 0;return /* @__PURE__ */ (0, D.jsx)(J, {tone: t ? "warning" : "success",title: t ? "部分完成" : "清理结果",- children: uAe(e, pn)+ children: dAe(e, pn)});}, d = null, f = null;if (l?.status === "failed") f = /* @__PURE__ */ (0, D.jsx)(J, {@@ -61617,7 +61617,7 @@ function dje({ toast: e }) {children: l.error || "请查看任务记录,核对已处理的文件。"});else if (l) f = u(l);- else if (t.running) d = /* @__PURE__ */ (0, D.jsx)(ZP, {+ else if (t.running) d = /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,label: t.job?.message || "正在复核并清理失效条目…"});@@ -61629,20 +61629,20 @@ function dje({ toast: e }) {else if (n.query.isError && r) f = /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",title: "任务状态",- children: uje+ children: dje});else if (r?.status === "running") {- let e = sAe(r);- d = /* @__PURE__ */ (0, D.jsx)(ZP, {+ let e = cAe(r);+ d = /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,label: e,value: r.completed_sources,total: r.total_sources- }), r.sources?.length && (f = /* @__PURE__ */ (0, D.jsx)(iH, {+ }), r.sources?.length && (f = /* @__PURE__ */ (0, D.jsx)(rH, {scan: r,partial: !0}));- } else if (r?.status === "failed") f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r.sources?.length ? /* @__PURE__ */ (0, D.jsx)(iH, {+ } else if (r?.status === "failed") f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r.sources?.length ? /* @__PURE__ */ (0, D.jsx)(rH, {scan: r,partial: !0}) : null, /* @__PURE__ */ (0, D.jsx)(J, {@@ -61656,17 +61656,17 @@ function dje({ toast: e }) {children: "这次检查的结果已经清理,重新扫描可再核对。"});else if (r?.status === "complete") {- let e = oAe(r);- f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(iH, { scan: r }), e ? /* @__PURE__ */ (0, D.jsx)(J, {+ let e = sAe(r);+ f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(rH, { scan: r }), e ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",title: "清理内容",action: /* @__PURE__ */ (0, D.jsx)(q, {variant: "danger",...Y(a),onClick: () => c(r),- children: a ? "正在复核并清理…" : tH+ children: a ? "正在复核并清理…" : eH}),- children: cAe(r)+ children: lAe(r)}) : /* @__PURE__ */ (0, D.jsx)("p", {className: "mr-auto text-body-regular text-notification-success-foreground",children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"@@ -61680,12 +61680,12 @@ function dje({ toast: e }) {id: "resource-sync","aria-labelledby": "resource-sync-title",className: "flex scroll-mt-20 flex-col gap-4",- children: [/* @__PURE__ */ (0, D.jsxs)(AV, {+ children: [/* @__PURE__ */ (0, D.jsxs)(kV, {layout: "split",labelledBy: "resource-sync-title",footer: /* @__PURE__ */ (0, D.jsx)(q, {"data-resource-scan": !0,- leadingIcon: o && !i ? lje : cje,+ leadingIcon: o && !i ? uje : lje,...Y(i),onClick: () => {i || n.start.mutate();@@ -61693,7 +61693,7 @@ function dje({ toast: e }) {children: s}),children: [- /* @__PURE__ */ (0, D.jsx)(kV, {+ /* @__PURE__ */ (0, D.jsx)(OV, {id: "resource-sync-title",gap: "small",children: "资源同步"@@ -61717,16 +61717,16 @@ function dje({ toast: e }) {}//#endregion//#region src/react/data-cleanup/data-cleanup-page.tsx-function aH(e, t) {+function iH(e, t) {return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);}-function oH({ section: e, label: t, icon: n, value: r, open: i }) {+function aH({ section: e, label: t, icon: n, value: r, open: i }) {return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",- className: mV({ interactive: !0 }),+ className: pV({ interactive: !0 }),"data-cleanup-go": e,onClick: () => i(e),- children: /* @__PURE__ */ (0, D.jsx)(hV, {+ children: /* @__PURE__ */ (0, D.jsx)(mV, {label: t,icon: n,figure: r.figure,@@ -61734,80 +61734,80 @@ function oH({ section: e, label: t, icon: n, value: r, open: i }) {})});}-var fje = cM("square-check-big"), pje = cM("sparkles"), mje = cM("file-stack"), hje = cM("file-archive"), gje = cM("trash"), _je = [- iV,- qz,- Pz-], vje = () => {- for (let e of _je) W.invalidateQueries({+var pje = sM("square-check-big"), mje = sM("sparkles"), hje = sM("file-stack"), gje = sM("file-archive"), _je = sM("trash"), vje = [+ rV,+ Kz,+ Nz+], yje = () => {+ for (let e of vje) W.invalidateQueries({queryKey: e,exact: !0});};-function yje({ toast: e, failure: t, open: n }) {+function bje({ toast: e, failure: t, open: n }) {let r = yt({- queryKey: iV,- queryFn: ({ signal: e }) => cV(e)+ queryKey: rV,+ queryFn: ({ signal: e }) => sV(e)}), i = yt({- queryKey: qz,- queryFn: ({ signal: e }) => Jz(e)+ queryKey: Kz,+ queryFn: ({ signal: e }) => qz(e)}), a = yt({- queryKey: Pz,- queryFn: ({ signal: e }) => Iz(e)+ queryKey: Nz,+ queryFn: ({ signal: e }) => Fz(e)}), o = yt({- queryKey: aV,- queryFn: ({ signal: e }) => lV(e)+ queryKey: iV,+ queryFn: ({ signal: e }) => cV(e)}), s = yt({- queryKey: sV,- queryFn: ({ signal: e }) => uV(e)+ queryKey: oV,+ queryFn: ({ signal: e }) => lV(e)}), c = yt({queryKey: Fn,queryFn: ({ signal: e }) => In(e)}), l = (t) => e(t);- return /* @__PURE__ */ (0, D.jsxs)(ZO, { children: [+ return /* @__PURE__ */ (0, D.jsxs)(XO, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: xAe,+ className: SAe,children: [- /* @__PURE__ */ (0, D.jsx)(oH, {+ /* @__PURE__ */ (0, D.jsx)(aH, {section: "review",label: "人工复核",- icon: fje,+ icon: pje,open: n,- value: aH(r, mAe)+ value: iH(r, hAe)}),- /* @__PURE__ */ (0, D.jsx)(oH, {+ /* @__PURE__ */ (0, D.jsx)(aH, {section: "quality",label: "高清版",- icon: pje,+ icon: mje,open: n,- value: aH(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))+ value: iH(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))}),- /* @__PURE__ */ (0, D.jsx)(oH, {+ /* @__PURE__ */ (0, D.jsx)(aH, {section: "duplicates",label: "重复文件",- icon: mje,+ icon: hje,open: n,- value: aH(a, (e) => Number(e.total || 0) ? {+ value: iH(a, (e) => Number(e.total || 0) ? {figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,meta: `可回收 ${pn(e.reclaimable || 0)}`} : { figure: "没有重复内容" })}),- /* @__PURE__ */ (0, D.jsx)(oH, {+ /* @__PURE__ */ (0, D.jsx)(aH, {section: "ads",label: "垃圾文件",- icon: hje,+ icon: gje,open: n,- value: aH(o, (e) => ({+ value: iH(o, (e) => ({figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,- meta: hAe(e)+ meta: gAe(e)}))}),- /* @__PURE__ */ (0, D.jsx)(oH, {+ /* @__PURE__ */ (0, D.jsx)(aH, {section: "trash",label: "回收站",- icon: gje,+ icon: _je,open: n,- value: aH(s, (e) => ({+ value: iH(s, (e) => ({figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,meta: e.total ? `占用 ${pn(e.bytes || 0)}` : ""}))@@ -61820,31 +61820,31 @@ function yje({ toast: e, failure: t, open: n }) {/* @__PURE__ */ (0, D.jsx)("div", {id: "libraryProcessing",className: "scroll-mt-20",- children: /* @__PURE__ */ (0, D.jsx)(NV, {+ children: /* @__PURE__ */ (0, D.jsx)(MV, {toast: l,monitor: !0,- onComplete: vje+ onComplete: yje})}),/* @__PURE__ */ (0, D.jsx)("div", {id: "mediaRepair",- children: /* @__PURE__ */ (0, D.jsx)(RAe, { toast: l })+ children: /* @__PURE__ */ (0, D.jsx)(zAe, { toast: l })}),- /* @__PURE__ */ (0, D.jsx)(tje, {+ /* @__PURE__ */ (0, D.jsx)(nje, {toast: l,failure: t})]}),- /* @__PURE__ */ (0, D.jsx)(GAe, {}),- /* @__PURE__ */ (0, D.jsx)(aje, { toast: l }),- ZB(c.data) ? /* @__PURE__ */ (0, D.jsx)(dje, { toast: e }) : null+ /* @__PURE__ */ (0, D.jsx)(KAe, {}),+ /* @__PURE__ */ (0, D.jsx)(oje, { toast: l }),+ XB(c.data) ? /* @__PURE__ */ (0, D.jsx)(fje, { toast: e }) : null] });}//#endregion//#region src/react/feed-new/feed-new.ts-var sH = (e) => ["feed-new", e ?? "home"], bje = 8, xje = 1500;-function Sje(e, t, n) {+var oH = (e) => ["feed-new", e ?? "home"], xje = 8, Sje = 1500;+function Cje(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -61855,34 +61855,34 @@ function Sje(e, t, n) {setTimeout(e, n);})]);}-async function Cje(e, t, n) {+async function wje(e, t, n) {let r = new URLSearchParams({ limit: "12" });e && r.set("entity", String(e));let i = await Ut(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await Sje(s, bje, xje), {+ return n && o.length && await Cje(s, xje, Sje), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var cH = (e, t, n = !1) => ({- queryKey: sH(e),- queryFn: () => Cje(e, t, n),+var sH = (e, t, n = !1) => ({+ queryKey: oH(e),+ queryFn: () => wje(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), lH = (e, t) => Ut("/api/feeds/discovery", {+}), cH = (e, t) => Ut("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function wje(e) {- W.removeQueries({ queryKey: sH(null) }), await W.fetchQuery(cH(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function Tje(e) {+ W.removeQueries({ queryKey: oH(null) }), await W.fetchQuery(sH(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion//#region src/react/entity-page/entity-page.ts-var uH = [+var lH = ["loc","creator","tag",@@ -61895,52 +61895,52 @@ var uH = ["browse","folder","folder_recursive"-], dH = {+], uH = {media: "videos",set: 0-}, fH = (e, t) => [+}, dH = (e, t) => ["entity",e,t-], Tje = (e, t, n, r) => [+], Eje = (e, t, n, r) => ["entity-items",e,t,n,r-], pH = (e, t, n, r) => [+], fH = (e, t, n, r) => ["entity-photos",e,t,n,r-], mH = (e) => String(e || "").split(",").filter(Boolean), Eje = (e, t) => mH(e).includes(t);-function hH(e, t, n, r, i = 0) {+], pH = (e) => String(e || "").split(",").filter(Boolean), Dje = (e, t) => pH(e).includes(t);+function mH(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...mH(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");- for (let t of uH) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...pH(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");+ for (let t of lH) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function gH(e, t, n, r, i, a, o) {- let s = hH(e, t, n, r, i);+async function hH(e, t, n, r, i, a, o) {+ let s = mH(e, t, n, r, i);return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await Ut(`/api/items?${s}`, a ? { signal: a } : {});}-var _H = (e) => {+var gH = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = hH(e.kind, e.name, e.filters, t).toString();+ }, n = mH(e.kind, e.name, e.filters, t).toString();return {- queryKey: Tje(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => gH(e.kind, e.name, e.filters, t, 0, n),+ queryKey: Eje(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => hH(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, vH = (e, t) => ({- queryKey: fH(e, t),+}, _H = (e, t) => ({+ queryKey: dH(e, t),queryFn: ({ signal: n }) => Ut(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function Dje(e, t, n, r, i, a) {+function Oje(e, t, n, r, i, a) {let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;if (i) {let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;@@ -61949,10 +61949,10 @@ function Dje(e, t, n, r, i, a) {let s = r ? `&seed=${encodeURIComponent(r)}` : "";return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;}-var yH = (e, t, n, r) => ({- queryKey: pH(e, t, n, r),+var vH = (e, t, n, r) => ({+ queryKey: fH(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await Ut(Dje(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await Ut(Oje(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -61965,8 +61965,8 @@ var yH = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), bH = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function Oje(e) {+}), yH = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function kje(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -61977,26 +61977,26 @@ async function Oje(e) {t,n] });- e.resolvedEntity?.id && W.setQueryData(fH(t, n), e.resolvedEntity), await Promise.all([- W.fetchQuery(vH(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: sH(Number(t.id)) }), W.fetchQuery(cH(Number(t.id), e.helpers.feedRowHtml, !0)))),- W.fetchQuery(_H(e)),- W.fetchInfiniteQuery(yH(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(yH(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && W.setQueryData(dH(t, n), e.resolvedEntity), await Promise.all([+ W.fetchQuery(_H(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: oH(Number(t.id)) }), W.fetchQuery(sH(Number(t.id), e.helpers.feedRowHtml, !0)))),+ W.fetchQuery(gH(e)),+ W.fetchInfiniteQuery(vH(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(vH(t, n, e.media.set, "")) : null]);}//#endregion//#region src/identity-filter.ts-var xH = [+var bH = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], SH = "mb-4 flex flex-wrap gap-2";-function kje(e) {- let t = xH.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${SH}">${xH.map(([e, n]) => No({+], xH = "mb-4 flex flex-wrap gap-2";+function Aje(e) {+ let t = bH.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${xH}">${bH.map(([e, n]) => No({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -62005,43 +62005,43 @@ function kje(e) {}//#endregion//#region src/react/follow/online-vocab.ts-var Aje = "/api/follow/authors", jje = "/api/follow/tags", Mje = (e) => [+var jje = "/api/follow/authors", Mje = "/api/follow/tags", Nje = (e) => ["follow","authors",e-], Nje = (e, t) => [+], Pje = (e, t) => ["follow","tags",e,t];-function Pje(e, t, n) {+function Fje(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${Aje}?${r}`;+ return e && r.set("q", e), `${jje}?${r}`;}-function Fje(e, t, n, r) {+function Ije(e, t, n, r) {let i = new URLSearchParams({types: "all",limit: String(n),offset: String(r)});- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${jje}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Mje}?${i}`;}-var Ije = (e, t, n, r) => H(Pje(e, t, n), r), Lje = (e, t, n, r, i) => H(Fje(e, t, n, r), i), Rje = "/api/index", CH = {+var Lje = (e, t, n, r) => H(Fje(e, t, n), r), Rje = (e, t, n, r, i) => H(Ije(e, t, n, r), i), zje = "/api/index", SH = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, zje = {+}, Bje = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency"-}, wH = [+}, CH = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -62051,31 +62051,31 @@ var Ije = (e, t, n, r) => H(Pje(e, t, n), r), Lje = (e, t, n, r, i) => H(Fje(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], TH = [+], wH = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], EH = {+], TH = {people: 120,tags: 180-}, DH = (e) => e !== "tags", OH = (e) => e === "studios" || e === "agencies";-function kH(e) {- if (e.kind === "creators" && e.category === "animation") return kH({+}, EH = (e) => e !== "tags", DH = (e) => e === "studios" || e === "agencies";+function OH(e) {+ if (e.kind === "creators" && e.category === "animation") return OH({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? TH : wH : e.kind === "performers" && t === "local" ? xH : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? wH : CH : e.kind === "performers" && t === "local" ? bH : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function AH(e) {+function kH(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -62095,50 +62095,50 @@ function AH(e) {...i && i !== "all" ? { category: i } : {}};}-var jH = (e, t, n = "all") => [+var AH = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function MH(e, t, n, r, i) {+function jH(e, t, n, r, i) {let a = new URLSearchParams({kind: e,limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Rje}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${zje}?${a}`;}-function NH(e) {- let t = e.what === "people" || e.what === "online-authors" ? EH.people : EH.tags, n = {+function MH(e) {+ let t = e.what === "people" || e.what === "online-authors" ? TH.people : TH.tags, n = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...n,- queryKey: jH(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: n, signal: r }) => H(MH(e.kind, e.q, e.category || "all", t, n), r)+ queryKey: AH(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: n, signal: r }) => H(jH(e.kind, e.q, e.category || "all", t, n), r)};case "tags": return {...n,- queryKey: jH("tags", e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => H(MH("tags", e.q, e.category, t, n), r)+ queryKey: AH("tags", e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => H(jH("tags", e.q, e.category, t, n), r)};case "online-authors": return {...n,- queryKey: Mje(e.q),- queryFn: ({ pageParam: n, signal: r }) => Ije(e.q, t, n, r)+ queryKey: Nje(e.q),+ queryFn: ({ pageParam: n, signal: r }) => Lje(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: Nje(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => Lje(e.q, e.category, t, n, r)+ queryKey: Pje(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => Rje(e.q, e.category, t, n, r)};}}-async function Bje(e, t) {- let n = NH(AH(kH(e)));+async function Vje(e, t) {+ let n = MH(kH(OH(e)));W.removeQueries({queryKey: n.queryKey,exact: !0@@ -62152,13 +62152,13 @@ async function Bje(e, t) {getNextPageParam: n.getNextPageParam});}-var Vje = (e) => e ? e.pages.flatMap((e) => e.items) : [], Hje = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, PH = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Uje = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Wje = {+var Hje = (e) => e ? e.pages.flatMap((e) => e.items) : [], Uje = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, NH = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Wje = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Gje = {numeric: !0,sensitivity: "base"};-function FH(e, t) {+function PH(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Wje))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Gje))) {let e = _n(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}@@ -62166,7 +62166,7 @@ function FH(e, t) {}//#endregion//#region src/react/index/index-people.tsx-function IH({ html: e, face: t, company: n, big: r }) {+function FH({ html: e, face: t, company: n, big: r }) {let i = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -62178,18 +62178,18 @@ function IH({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var Gje = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Kje = cM("rss");-function LH({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var Kje = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", qje = sM("rss");+function IH({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: GO({+ className: WO({radius: "plain",padding: "none",interactive: !0,- className: `${Gje} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${Kje} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -62198,10 +62198,10 @@ function LH({ name: e, readout: t, big: n, children: r, following: i, onPress: arole: "img","aria-label": "已订阅新作",className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",- children: /* @__PURE__ */ (0, D.jsx)(BO, {+ children: /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, D.jsx)(Kje, {})+ children: /* @__PURE__ */ (0, D.jsx)(qje, {})})}) : null,/* @__PURE__ */ (0, D.jsx)("span", {@@ -62217,24 +62217,24 @@ function LH({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function RH({ kind: e, items: t, layout: n, props: r }) {- let i = OH(e), a = n === "big";+function LH({ kind: e, items: t, layout: n, props: r }) {+ let i = DH(e), a = n === "big";return /* @__PURE__ */ (0, D.jsx)("div", {"data-index-grid": "","data-layout": n,"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || zje[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, D.jsx)(LH, {+ let n = t.entity_kind || Bje[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, D.jsx)(IH, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${Uje(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${Wje(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, D.jsx)(IH, {+ children: /* @__PURE__ */ (0, D.jsx)(FH, {html: o.html,face: o.face,company: i,@@ -62244,14 +62244,14 @@ function RH({ kind: e, items: t, layout: n, props: r }) {})});}-function qje({ items: e, layout: t, props: n }) {+function Jje({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, D.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(LH, {+ children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(IH, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -62260,7 +62260,7 @@ function qje({ items: e, layout: t, props: n }) {onPress: () => {e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);},- children: /* @__PURE__ */ (0, D.jsx)(IH, {+ children: /* @__PURE__ */ (0, D.jsx)(FH, {html: n.authorAvatar(e),company: !1,big: r@@ -62270,8 +62270,8 @@ function qje({ items: e, layout: t, props: n }) {}//#endregion//#region src/board-tooltip.ts-var zH = (e) => e.replace(/\s+/g, " ").trim();-function BH(e) {+var RH = (e) => e.replace(/\s+/g, " ").trim();+function zH(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -62279,12 +62279,12 @@ function BH(e) {let t = document.createRange();t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);}- return zH(n);+ return RH(n);}-function VH(e) {+function BH(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && BH(e) && !HH(e)) {+ if (e.matches("a") && zH(e) && !VH(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -62297,7 +62297,7 @@ function VH(e) {let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);}-function HH(e) {+function VH(e) {if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;let t = document.createRange();t.selectNodeContents(e);@@ -62308,19 +62308,19 @@ function HH(e) {}return !1;}-function Jje() {+function Yje() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a = (t) => {- let n = VH(t), r = e.getBoundingClientRect();+ let n = BH(t), r = e.getBoundingClientRect();n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);}, o = () => {clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;}, s = (s, c) => {if (!(s instanceof Element)) return;let l = s.closest("[title]");- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (BH(l) !== zH(n) || HH(l)) && (i = setTimeout(() => {- t === l && l.isConnected && VH(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (zH(l) !== RH(n) || VH(l)) && (i = setTimeout(() => {+ t === l && l.isConnected && BH(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));}, c)));};document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {@@ -62329,33 +62329,33 @@ function Jje() {e.key === "Escape" && o();}), document.addEventListener("scroll", (n) => {if (!t || !go(n, t)) return;- let r = VH(t);+ let r = BH(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();}, !0), window.addEventListener("resize", o);}//#endregion//#region src/board-controls.ts-function UH(e) {+function HH(e) {let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;e.style.setProperty("--board-range-value", `${i}%`);}-var WH = /* @__PURE__ */ new WeakSet();-function Yje() {- if (WH.has(document)) return;- WH.add(document);+var UH = /* @__PURE__ */ new WeakSet();+function Xje() {+ if (UH.has(document)) return;+ UH.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(UH), Zje(e), Xje(e);+ e.querySelectorAll("input[type=range]").forEach(HH), Qje(e), Zje(e);};e(document), new MutationObserver((t) => {- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && UH(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && HH(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && UH(e.target);- }), Jje();+ e.target instanceof HTMLInputElement && e.target.type === "range" && HH(e.target);+ }), Yje();}-function Xje(e) {+function Zje(e) {let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -62379,15 +62379,15 @@ function Xje(e) {r.observe(e);});}-var GH = /* @__PURE__ */ new Map();-function Zje(e) {+var WH = /* @__PURE__ */ new Map();+function Qje(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;e.dataset.boardSegments = "true";let t = document.createElement("span");t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = GH.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = WH.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -62396,7 +62396,7 @@ function Zje(e) {w: i.offsetWidth,h: i.offsetHeight};- Ps(t, r, a, "x"), r = a, GH.set(n, a);+ Ps(t, r, a, "x"), r = a, WH.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -62413,8 +62413,8 @@ function Zje(e) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var KH = "/vendor/swiper/14.3.0/", qH = null, Qje = () => qH ??= Promise.all([new Promise((e, t) => {- let n = `${KH}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var GH = "/vendor/swiper/14.3.0/", KH = null, $je = () => KH ??= Promise.all([new Promise((e, t) => {+ let n = `${GH}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -62428,11 +62428,11 @@ var KH = "/vendor/swiper/14.3.0/", qH = null, Qje = () => qH ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${KH}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${GH}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);})]).then(([, e]) => e).catch((e) => {- throw qH = null, e;+ throw KH = null, e;});-function $je(e, t, n) {+function eMe(e, t, n) {let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {let e = i();return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);@@ -62453,47 +62453,47 @@ function $je(e, t, n) {}};}-var JH = (e) => {+var qH = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : pn(t)).replace(" ", "\xA0") : "大小未知";-}, eMe = (e) => e.asset?.name || e.name || "未命名图片";-function tMe(e, t) {+}, tMe = (e) => e.asset?.name || e.name || "未命名图片";+function nMe(e, t) {let n = e.asset;- if (n) return [yn[n.location ?? ""] || n.location || "来源未知", JH(n.size)].join(" · ");+ if (n) return [yn[n.location ?? ""] || n.location || "来源未知", qH(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? JH(e.size) : ""+ e.size ? qH(e.size) : ""].filter(Boolean).join(" · ");}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var YH = null, XH = null, nMe = 0;-function rMe() {- return (!XH || !YH?.isConnected) && (XH?.unmount(), YH = document.createElement("div"), YH.className = "peach-react", YH.dataset.photoLightboxHost = "", document.body.append(YH), XH = (0, Ct.createRoot)(YH)), XH;+var JH = null, YH = null, rMe = 0;+function iMe() {+ return (!YH || !JH?.isConnected) && (YH?.unmount(), JH = document.createElement("div"), JH.className = "peach-react", JH.dataset.photoLightboxHost = "", document.body.append(JH), YH = (0, Ct.createRoot)(JH)), YH;}-async function ZH(e, t, n) {+async function XH(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await Qje();+ r = await $je();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = rMe();- (0, St.flushSync)(() => i.render(/* @__PURE__ */ (0, D.jsx)(iMe, {+ let i = iMe();+ (0, St.flushSync)(() => i.render(/* @__PURE__ */ (0, D.jsx)(aMe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++nMe)));+ }, ++rMe)));}-function QH() {- XH && (0, St.flushSync)(() => XH.render(null));+function ZH() {+ YH && (0, St.flushSync)(() => YH.render(null));}-function iMe({ slides: e, index: t, Swiper: n, host: r }) {+function aMe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, E.useId)(), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = (0, E.useRef)(null), d = (0, E.useRef)(null), f = (0, E.useRef)(null), p = (0, E.useRef)(null), m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = (0, E.useRef)(null), [_, v] = (0, E.useState)(t), [y, b] = (0, E.useState)(100), [x, S] = (0, E.useState)({}), [C, w] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [T, O] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, E.useState)(!1), [j, M] = (0, E.useState)({at: t,text: ""@@ -62536,7 +62536,7 @@ function iMe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = $je(e, a, b);+ i(t, 0), h.current = eMe(e, a, b);let m = Gs(e, f.current, p.current), _ = (e = !1) => {m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();};@@ -62553,13 +62553,13 @@ function iMe({ slides: e, index: t, Swiper: n, host: r }) {});y.observe(e);let x = (e) => {- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : QH());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : ZH());};return document.addEventListener("keydown", x, !0), () => {document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, E.useLayoutEffect)(() => {- m.current && UH(m.current);+ m.current && HH(m.current);}, [y]);let N = e[_], P = N.asset ?? null, F = async (e) => {if (!P || !r || e.getAttribute("aria-busy") === "true") return;@@ -62590,18 +62590,18 @@ function iMe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), QH();+ e.preventDefault(), ZH();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && QH();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && ZH();},children: [/* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: QH,+ onClick: ZH,dangerouslySetInnerHTML: { __html: z("x") }}),/* @__PURE__ */ (0, D.jsxs)("div", {@@ -62737,10 +62737,10 @@ function iMe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: eMe(N)+ children: tMe(N)}, _), /* @__PURE__ */ (0, D.jsx)("span", {"data-photo-detail-meta": "",- children: tMe(N, x[_])+ children: nMe(N, x[_])})]}),/* @__PURE__ */ (0, D.jsx)("button", {@@ -62779,40 +62779,40 @@ function iMe({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function aMe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, D.jsx)(oMe, {+function oMe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, D.jsx)(sMe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, D.jsx)(sMe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, D.jsx)(uMe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, D.jsx)(cMe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, D.jsx)(dMe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var $H = EH.people;-function oMe({ roster: e, props: t }) {+var QH = TH.people;+function sMe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, E.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, E.useState)($H), s = (0, E.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, E.useCallback)(async () => {- o((e) => e + $H);+ }), [n, r]), [a, o] = (0, E.useState)(QH), s = (0, E.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, E.useCallback)(async () => {+ o((e) => e + QH);}, []);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(RH, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(LH, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, D.jsx)(jz, {+ }), a < e.people.length ? /* @__PURE__ */ (0, D.jsx)(Az, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function sMe(e) {- let t = rI(!e.items, e.skeletonHtml);+function cMe(e) {+ let t = nI(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,- children: [t.layer, e.items ? /* @__PURE__ */ (0, D.jsx)(kz, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, D.jsx)(Oz, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -62832,33 +62832,33 @@ function sMe(e) {}) : null]});}-var cMe = (e) => Array.from({ length: e.n }, (t, n) => ({+var lMe = (e) => Array.from({ length: e.n }, (t, n) => ({sample: !0,code: e.code,position: n + 1,total: e.n,name: `${e.code} 样张 ${n + 1}`,source: e.site_label || "官方样张"-})), eU = (e) => e.sample === !0, tU = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, nU = (e) => eU(e) ? `/sample-thumb?${tU(e)}` : `/photo-thumb?id=${e.id}`, lMe = (e) => eU(e) ? {- src: `/sample-image?${tU(e)}`,- thumb: nU(e),+})), $H = (e) => e.sample === !0, eU = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, tU = (e) => $H(e) ? `/sample-thumb?${eU(e)}` : `/photo-thumb?id=${e.id}`, uMe = (e) => $H(e) ? {+ src: `/sample-image?${eU(e)}`,+ thumb: tU(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: nU(e),+ thumb: tU(e),name: e.name || "",asset: e};-function uMe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, E.useMemo)(() => [...e.codeSets.flatMap(cMe), ...e.items], [e]), [s, c] = (0, E.useState)(() => /* @__PURE__ */ new Set()), l = (0, E.useCallback)((e) => c((t) => {+function dMe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, E.useMemo)(() => [...e.codeSets.flatMap(lMe), ...e.items], [e]), [s, c] = (0, E.useState)(() => /* @__PURE__ */ new Set()), l = (0, E.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, E.useCallback)((e) => {- ZH(e, o.map(lMe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, D.jsx)(dMe, {+ XH(e, o.map(uMe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, D.jsx)(fMe, {item: e,index: t,lost: s.has(t),@@ -62876,7 +62876,7 @@ function uMe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(rU, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(nU, {label: e.code,title: e.name,meta: [@@ -62888,7 +62888,7 @@ function uMe({ photos: e, props: t }) {...f,children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))})] }, e.code)),- m.length && e.total ? /* @__PURE__ */ (0, D.jsx)(rU, {+ m.length && e.total ? /* @__PURE__ */ (0, D.jsx)(nU, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -62897,14 +62897,14 @@ function uMe({ photos: e, props: t }) {"data-local-wall": "",children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))}),- e.hasMore ? /* @__PURE__ */ (0, D.jsx)(jz, {+ e.hasMore ? /* @__PURE__ */ (0, D.jsx)(Az, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function rU({ label: e, title: t, meta: n }) {+function nU({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-photo-group": "",children: [@@ -62921,7 +62921,7 @@ function rU({ label: e, title: t, meta: n }) {]});}-function dMe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function fMe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -62930,7 +62930,7 @@ function dMe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, D.jsx)("img", {- src: nU(e),+ src: tU(e),alt: a,loading: "lazy",decoding: "async",@@ -62941,14 +62941,14 @@ function dMe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}//#endregion//#region src/react/follow-feed/follow-check.ts-var iU = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function fMe(e, t) {- return t ? iU(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+var rU = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function pMe(e, t) {+ return t ? rU(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}//#endregion//#region src/react/follow-feed/follow-check-button.tsx-function pMe({ sources: e, report: t }) {- let n = iU(e), [r, i] = (0, E.useState)(""), { running: a, start: o } = PV({+function mMe({ sources: e, report: t }) {+ let n = rU(e), [r, i] = (0, E.useState)(""), { running: a, start: o } = NV({queryKey: Qn,queryFn: ({ signal: e }) => jr(e),start: (e) => Pr(e),@@ -62975,8 +62975,8 @@ function pMe({ sources: e, report: t }) {}//#endregion//#region src/react/follow-feed/follow-card.tsx-var mMe = (e) => Number(e) > 0;-function aU({ name: e, actions: t, children: n, ...r }) {+var hMe = (e) => Number(e) > 0;+function iU({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, D.jsx)("a", {...r,href: Qt("creator", e),@@ -62986,15 +62986,15 @@ function aU({ name: e, actions: t, children: n, ...r }) {children: n});}-var oU = ({ provider: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var aU = ({ provider: e }) => /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: PF(e) }+ dangerouslySetInnerHTML: { __html: NF(e) }});-function hMe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function gMe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, E.useState)(!1), [l, u] = (0, E.useState)(!1), [d, f] = (0, E.useState)(null);return (0, E.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, D.jsx)(oU, { provider: i }) : /* @__PURE__ */ (0, D.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, D.jsx)(aU, { provider: i }) : /* @__PURE__ */ (0, D.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -63013,8 +63013,8 @@ function hMe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function gMe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ki(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => Awe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ji(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Ni({+function _Me(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ki(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => jwe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ji(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Ni({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -63022,7 +63022,7 @@ function gMe(e) {limit: 9}), S = (0, E.useRef)(x.faces);S.current = x.faces;- let C = kI({+ let C = OI({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -63030,7 +63030,7 @@ function gMe(e) {w.current = C.onPointerLeave;let T = (0, E.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), O = zF(u, n, i), k = FF(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = HF(u, i), N = VF(t, u), P = u.status === "saved", F = (e) => {+ }, []), O = RF(u, n, i), k = PF(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = VF(u, i), N = BF(t, u), P = u.status === "saved", F = (e) => {e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));}, I = (e, t) => {e.stopPropagation(), t();@@ -63045,7 +63045,7 @@ function gMe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: F,- onMouseDown: bI,+ onMouseDown: yI,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -63059,7 +63059,7 @@ function gMe(e) {}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, D.jsx)(hMe, {+ p ? /* @__PURE__ */ (0, D.jsx)(gMe, {src: p,fallback: m,width: _?.width,@@ -63067,7 +63067,7 @@ function gMe(e) {provider: A,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, D.jsx)(oU, { provider: A }),+ }, p) : /* @__PURE__ */ (0, D.jsx)(aU, { provider: A }),x.faces.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -63087,7 +63087,7 @@ function gMe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: PF(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: NF(u.provider, u.provider_label) }}), N ? /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: N }@@ -63100,7 +63100,7 @@ function gMe(e) {},dangerouslySetInnerHTML: { __html: z("check") }}) : null,- mMe(u.duration) ? /* @__PURE__ */ (0, D.jsx)("span", {+ hMe(u.duration) ? /* @__PURE__ */ (0, D.jsx)("span", {"data-media-duration": "",children: dn(u.duration)}) : null,@@ -63172,7 +63172,7 @@ function gMe(e) {/* @__PURE__ */ (0, D.jsxs)("div", {"data-media-meta": "",children: [- O.entityName ? /* @__PURE__ */ (0, D.jsx)(aU, {+ O.entityName ? /* @__PURE__ */ (0, D.jsx)(iU, {name: O.entityName,actions: l,"data-media-avatar": "",@@ -63191,12 +63191,12 @@ function gMe(e) {/* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: BF(t, u) + B(k) }+ dangerouslySetInnerHTML: { __html: zF(t, u) + B(k) }}),/* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-byline": "",children: [- O.entityName ? /* @__PURE__ */ (0, D.jsx)(aU, {+ O.entityName ? /* @__PURE__ */ (0, D.jsx)(iU, {name: O.entityName,actions: l,"data-follow-author": "",@@ -63209,8 +63209,8 @@ function gMe(e) {}),/* @__PURE__ */ (0, D.jsx)("time", {dateTime: u.published_at || "",- title: WF(u),- children: kwe(u)+ title: UF(u),+ children: Awe(u)}),O.credited ? /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-credit": "",@@ -63245,10 +63245,10 @@ function gMe(e) {]});}-var sU = (0, E.memo)(gMe);+var oU = (0, E.memo)(_Me);//#endregion//#region src/react/components/use-masonry-grid.ts-function _Me(e, t) {+function vMe(e, t) {let n = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {let t = n.current;@@ -63284,27 +63284,27 @@ function _Me(e, t) {}//#endregion//#region src/react/follow-manage/manage-route.ts-var vMe = [+var yMe = ["list","add","feeds"];-function cU(e) {+function sU(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: vMe.find((e) => e === n) || "list",+ tab: yMe.find((e) => e === n) || "list",page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),sort: t.get("sort") || "",dir: t.get("dir") || ""};}-function lU(e) {+function cU(e) {let t = new URLSearchParams();return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");}-function uU(e, t) {- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : lU({- tab: t || cU(e).tab,+function lU(e, t) {+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : cU({+ tab: t || sU(e).tab,page: 1,sort: "",dir: ""@@ -63312,10 +63312,10 @@ function uU(e, t) {}//#endregion//#region src/react/follow-feed/follow-feed-page.tsx-var dU = () => /* @__PURE__ */ (0, D.jsx)("span", {+var uU = () => /* @__PURE__ */ (0, D.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), yMe = cM("settings"), fU = cM("chevron-down"), bMe = cM("history"), xMe = cM("arrow-up"), SMe = cM("arrow-down"), CMe = [[+}), bMe = sM("settings"), dU = sM("chevron-down"), xMe = sM("history"), SMe = sM("arrow-up"), CMe = sM("arrow-down"), wMe = [["fixed","固定比例","layout-grid"@@ -63324,7 +63324,7 @@ var dU = () => /* @__PURE__ */ (0, D.jsx)("span", {"瀑布流","columns-2"]];-function wMe(e, t, n) {+function TMe(e, t, n) {return (0, E.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {@@ -63372,7 +63372,7 @@ function wMe(e, t, n) {n]);}-function TMe(e) {+function EMe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = gi(t, r), o = xt(a), s = yt({queryKey: _i,queryFn: ({ signal: e }) => vi(e)@@ -63380,7 +63380,7 @@ function TMe(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = wMe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, E.useMemo)(() => ({+ }), [c, l]), d = TMe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, E.useMemo)(() => ({tags: Kc(d.visible.flatMap(Si).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -63406,10 +63406,10 @@ function TMe(e) {m,i]);- let h = DMe(e, !!c);+ let h = OMe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, D.jsx)(pU, {}), /* @__PURE__ */ (0, D.jsx)(iI, {+ children: [/* @__PURE__ */ (0, D.jsx)(fU, {}), /* @__PURE__ */ (0, D.jsx)(rI, {message: Bt(o.error),onRetry: () => void o.refetch()})]@@ -63422,7 +63422,7 @@ function TMe(e) {author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, IF(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, FF(t, u)])),providers: d.providers,works: d.workNames}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);@@ -63440,7 +63440,7 @@ function TMe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, D.jsx)(pU, { children: d.sources.length ? /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsx)(fU, { children: d.sources.length ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -63451,20 +63451,20 @@ function TMe(e) {dangerouslySetInnerHTML: { __html: Go("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, D.jsx)(OMe, {+ /* @__PURE__ */ (0, D.jsx)(kMe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, D.jsx)(kMe, {+ /* @__PURE__ */ (0, D.jsx)(AMe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, D.jsx)(AMe, {+ /* @__PURE__ */ (0, D.jsx)(jMe, {facets: d,view: t,total: v,@@ -63472,7 +63472,7 @@ function TMe(e) {props: e,route: g}),- /* @__PURE__ */ (0, D.jsx)(jMe, {+ /* @__PURE__ */ (0, D.jsx)(MMe, {conditions: _,onDrop: (e) => i.route(zi(t, e)),onClear: () => g({@@ -63484,8 +63484,8 @@ function TMe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, D.jsx)(MMe, { count: d.broken.length }) : null,- /* @__PURE__ */ (0, D.jsx)(NMe, {+ d.broken.length ? /* @__PURE__ */ (0, D.jsx)(NMe, { count: d.broken.length }) : null,+ /* @__PURE__ */ (0, D.jsx)(PMe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -63508,14 +63508,14 @@ function TMe(e) {"data-follow-pagination": "",children: [c.has_more ? /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-page-action": "",- children: c.groups.length < 500 ? /* @__PURE__ */ (0, D.jsxs)(jz, {+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, D.jsxs)(Az, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, D.jsx)(fU, { className: "size-(--icon-inline)" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, D.jsx)(EMe, {+ children: [/* @__PURE__ */ (0, D.jsx)(dU, { className: "size-(--icon-inline)" }), "加载更多"]+ }, o.data?.pages.length) : /* @__PURE__ */ (0, D.jsx)(DMe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? Bt(o.error) : "",load: () => {@@ -63526,7 +63526,7 @@ function TMe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : bMe,+ leadingIcon: h.olderBusy ? void 0 : xMe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -63544,7 +63544,7 @@ function TMe(e) {})] });}-function pU({ children: e }) {+function fU({ children: e }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, D.jsx)("h2", {@@ -63552,30 +63552,30 @@ function pU({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, D.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, D.jsx)(HO, {+ children: [/* @__PURE__ */ (0, D.jsx)(VO, {variant: "secondary",- leadingIcon: yMe,+ leadingIcon: bMe,"data-follow-manage": "",- href: mU(),+ href: pU(),children: "管理关注"}), e]})]});}-function EMe({ busy: e, error: t, load: n }) {+function DMe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, D.jsx)(fU, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, D.jsx)(iI, {+ children: [/* @__PURE__ */ (0, D.jsx)(dU, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, D.jsx)(rI, {message: t,onRetry: n}) : null] });}-function DMe(e, t) {+function OMe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, E.useState)(0), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(!1), m = (0, E.useRef)(!1), h = (0, E.useRef)(null), g = (0, E.useRef)({helpers: n,actions: r@@ -63637,12 +63637,12 @@ function DMe(e, t) {olderBusy: c === "older" || f && o};}-function OMe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function kMe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, E.useRef)(null);(0, E.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => IF(e.authorSources.get(t) || [], n);+ let o = (t) => FF(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, D.jsx)("div", {@@ -63650,14 +63650,14 @@ function OMe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {"data-follow-authors": "","aria-label": "创作者",children: e.authorOrder.map((n) => {- let a = e.authorSources.get(n) || [], s = LF(a), c = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = IF(a), c = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: RF(a, o(n)) }+ dangerouslySetInnerHTML: { __html: LF(a, o(n)) }}), /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, D.jsx)(aU, {+ return s ? /* @__PURE__ */ (0, D.jsx)(iU, {name: s,actions: r.actions,"data-follow-author": n,@@ -63674,7 +63674,7 @@ function OMe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function kMe({ rows: e, pressed: t, props: n, onPick: r }) {+function AMe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, E.useRef)(null);return (0, E.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -63695,13 +63695,13 @@ function kMe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function AMe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = (0, E.useRef)(null), d = (0, E.useRef)(null), f = (0, E.useRef)(null), p = (0, E.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = Uk(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = Uk(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function jMe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = (0, E.useRef)(null), d = (0, E.useRef)(null), f = (0, E.useRef)(null), p = (0, E.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = Hk(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = Hk(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, E.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);}, [o]);let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";- return /* @__PURE__ */ (0, D.jsx)(Bk, {+ return /* @__PURE__ */ (0, D.jsx)(zk, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -63753,7 +63753,7 @@ function AMe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: z(i) }}, e);})- }), /* @__PURE__ */ (0, D.jsx)(dU, {})] }) : null, /* @__PURE__ */ (0, D.jsxs)("div", {+ }), /* @__PURE__ */ (0, D.jsx)(uU, {})] }) : null, /* @__PURE__ */ (0, D.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -63773,7 +63773,7 @@ function AMe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, D.jsx)(dU, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, D.jsx)(uU, {}) : null]}), /* @__PURE__ */ (0, D.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -63786,10 +63786,10 @@ function AMe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {title: n,"aria-label": `来源:${n}`,onClick: () => a({ provider: e.provider === t ? "" : t }),- dangerouslySetInnerHTML: { __html: PF(t, n) }+ dangerouslySetInnerHTML: { __html: NF(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, D.jsx)(dU, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, D.jsxs)(Vk, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, D.jsx)(uU, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, D.jsxs)(Bk, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Bi(e.groups, n)}`,@@ -63809,18 +63809,18 @@ function AMe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-readout": "",children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`}),- /* @__PURE__ */ (0, D.jsx)(SM, {+ /* @__PURE__ */ (0, D.jsx)(xM, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, D.jsx)(QF, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(ZF, {+ /* @__PURE__ */ (0, D.jsx)(ZF, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(XF, {label: "图片布局",value: i.photoLayout,- options: CMe,+ options: wMe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",@@ -63850,9 +63850,9 @@ function AMe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = Fi(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, D.jsx)(kF, {- a: xMe,- b: SMe,+ children: [n, r ? /* @__PURE__ */ (0, D.jsx)(OF, {+ a: SMe,+ b: CMe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -63863,7 +63863,7 @@ function AMe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function jMe({ conditions: e, onDrop: t, onClear: n }) {+function MMe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -63888,19 +63888,19 @@ function jMe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function MMe({ count: e }) {+function NMe({ count: e }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-broken": "",- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${z("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${B(mU())}" data-follow-manage>管理关注</a>看原因。</span></div>` }+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${z("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${B(pU())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var mU = () => uU(window.location.search);-function NMe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {- let { view: s, helpers: c } = i, l = s.media === "images", u = rI(e, () => c.listSkeletonHtml(s.media));+var pU = () => lU(window.location.search);+function PMe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+ let { view: s, helpers: c } = i, l = s.media === "images", u = nI(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, D.jsx)(PMe, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, D.jsx)(FMe, {facets: t,data: n,context: r,@@ -63911,29 +63911,29 @@ function NMe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function PMe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = gU(r), u = i ? {+function FMe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = hU(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = _Me(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = vMe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;- return /* @__PURE__ */ (0, D.jsx)(sU, {+ return /* @__PURE__ */ (0, D.jsx)(oU, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(hU(t, s)),+ selected: r.selected.has(mU(t, s)),selectMode: r.selectMode,- busy: l.busy.get(hU(t, s)) || "",- failure: l.failures.get(hU(t, s)) || "",+ busy: l.busy.get(mU(t, s)) || "",+ failure: l.failures.get(mU(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, D.jsx)(FMe, {+ }) : /* @__PURE__ */ (0, D.jsx)(IMe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -63956,22 +63956,22 @@ function PMe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function hU(e, t) {+function mU(e, t) {return ki(e, t.media).id;}-function FMe({ data: e, filtered: t, clear: n, checkAction: r }) {+function IMe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, D.jsx)(YO, {- icon: cM(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: sM(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, D.jsx)(HO, {+ }) : a ? r : /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -63980,12 +63980,12 @@ function FMe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var IMe = {+var LMe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function gU(e) {+function hU(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, E.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, E.useState)(() => /* @__PURE__ */ new Map()), c = gi(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -64008,7 +64008,7 @@ function gU(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(IMe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(LMe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await U(Jn, {item: t,to: i@@ -64054,9 +64054,9 @@ function gU(e) {}//#endregion//#region src/react/entity-body/entity-online.tsx-function LMe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = rI(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, D.jsx)(iI, {+function RMe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = nI(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, D.jsx)(rI, {message: Bt(t.error),onRetry: () => {t.refetch();@@ -64067,11 +64067,11 @@ function LMe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, D.jsx)(RMe, {+ a || !n ? null : /* @__PURE__ */ (0, D.jsx)(zMe, {...e,data: n}),- !a && n?.has_more ? /* @__PURE__ */ (0, D.jsx)(jz, {+ !a && n?.has_more ? /* @__PURE__ */ (0, D.jsx)(Az, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -64081,8 +64081,8 @@ function LMe(e) {]});}-function RMe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = gU({+function zMe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = hU({view: e,revision: 0,actions: c@@ -64100,7 +64100,7 @@ function RMe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,"data-images-only": String(s)} : {}, m = r.length ? r.map((e) => {let n = ki(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, D.jsx)(sU, {+ return /* @__PURE__ */ (0, D.jsx)(oU, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -64113,11 +64113,11 @@ function RMe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, D.jsx)(zMe, {+ }) : /* @__PURE__ */ (0, D.jsx)(BMe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: fMe(n.sources || [], e.author)+ sources: pMe(n.sources || [], e.author)});return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-list": "",@@ -64126,21 +64126,21 @@ function RMe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function zMe({ searched: e, clear: t, actions: n, sources: r }) {+function BMe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, D.jsx)(YO, {- icon: cM(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: sM(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, D.jsx)(pMe, {+ }) : r.length ? /* @__PURE__ */ (0, D.jsx)(mMe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, D.jsx)(HO, {+ }) : /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -64149,7 +64149,7 @@ function zMe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function _U(e) {+function gU(e) {return {x0: 0,y0: 0,@@ -64157,7 +64157,7 @@ function _U(e) {y1: e.height};}-function vU(e) {+function _U(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -64165,40 +64165,40 @@ function vU(e) {y1: Math.round(e.y1)};}-function yU(e) {+function vU(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function bU(e, t) {- if (!yU(e)) return {+function yU(e, t) {+ if (!vU(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return _U(e);+ if (t == null || !(t > 0)) return gU(e);let n = e.width, r = n / t;r > e.height && (r = e.height, n = r * t);let i = (e.width - n) / 2, a = (e.height - r) / 2;- return vU({+ return _U({x0: i,y0: a,x1: i + n,y1: a + r});}-function BMe(e, t) {- if (!yU(e) || !(t > 0)) return _U(e);+function VMe(e, t) {+ if (!vU(e) || !(t > 0)) return gU(e);let n = Math.min(e.width, e.height * t);- return vU({+ return _U({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function VMe(e, t, n) {- if (!yU(t) || !(n > 0)) return _U(t);- let r = xU(e, t), i = bU({+function HMe(e, t, n) {+ if (!vU(t) || !(n > 0)) return gU(t);+ let r = bU(e, t), i = yU({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -64209,8 +64209,8 @@ function VMe(e, t, n) {y1: r.y0 + i.y1};}-function xU(e, t, n = null, r = "width") {- if (!yU(t)) return {+function bU(e, t, n = null, r = "width") {+ if (!vU(t)) return {x0: 0,y0: 0,x1: 0,@@ -64219,43 +64219,43 @@ function xU(e, t, n = null, r = "width") {let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));- return vU({+ return _U({x0: s,y0: c,x1: s + a,y1: c + o});}-function SU(e, t, n, r) {+function xU(e, t, n, r) {let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));- return vU({+ return _U({x0: o,y0: s,x1: o + i,y1: s + a});}-function CU(e, t, n, r = null) {- if (!yU(n) || !(t > 0)) return e;+function SU(e, t, n, r = null) {+ if (!vU(n) || !(t > 0)) return e;let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;- return xU({+ return bU({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function HMe(e, t, n, r, i = null) {+function UMe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,x1: Math.max(e.x0 + 1, t),y1: Math.max(e.y0 + 1, n)};- return xU(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return bU(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function UMe(e, t) {- return yU(t) ? {+function WMe(e, t) {+ return vU(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -64267,8 +64267,8 @@ function UMe(e, t) {height: 0};}-function WMe(e, t) {- if (!yU(t)) return {+function GMe(e, t) {+ if (!vU(t)) return {size: "cover",position: "50% 50%"};@@ -64278,7 +64278,7 @@ function WMe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function GMe(e, t) {+function KMe(e, t) {let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);return {left: `${-e.x0 / n * 100}%`,@@ -64287,16 +64287,16 @@ function GMe(e, t) {height: `${t.height / r * 100}%`};}-function wU(e, t, n) {+function CU(e, t, n) {return t > 0 ? e * n / t : 0;}-function KMe(e, t) {+function qMe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}//#endregion//#region src/react/crop/crop-frame.tsx-var qMe = .02, TU = 1.08;-function EU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var JMe = .02, wU = 1.08;+function TU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, E.useRef)(null), c = (0, E.useRef)(null), [l, u] = (0, E.useState)(!1), [d, f] = (0, E.useState)(null);(0, E.useEffect)(() => {u(!1);@@ -64315,8 +64315,8 @@ function EU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: wU(e, n.clientWidth, r.width),- dy: wU(t, n.clientHeight, r.height)+ dx: CU(e, n.clientWidth, r.width),+ dy: CU(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -64333,22 +64333,22 @@ function EU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: olet n = c.current, a = s.current;if (!n || !a || !r) return;let o = p(e.clientX - n.x, e.clientY - n.y);- n.mode === "move" ? i(SU(n.box, o.dx, o.dy, r)) : i(HMe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));+ n.mode === "move" ? i(xU(n.box, o.dx, o.dy, r)) : i(UMe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));}function g(e) {c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));}function _(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * qMe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * JMe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(SU(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(CU(n, e.key === "-" ? 1 / TU : TU, r, t)));+ o[e.key] ? (e.preventDefault(), i(xU(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(SU(n, e.key === "-" ? 1 / wU : wU, r, t)));}- let v = n && r ? UMe(xU(n, r, t), r) : null, y = v ? KMe(v, d) : !1, b = v ? {+ let v = n && r ? WMe(bU(n, r, t), r) : null, y = v ? qMe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -64367,7 +64367,7 @@ function EU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- yU({+ vU({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -64406,7 +64406,7 @@ function EU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(CU(n, e.deltaY > 0 ? TU : 1 / TU, r, t));+ n && r && i(SU(n, e.deltaY > 0 ? wU : 1 / wU, r, t));},className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",children: /* @__PURE__ */ (0, D.jsx)("span", {@@ -64429,13 +64429,13 @@ function EU({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var JMe = "/api/avatar-choices", DU = "/api/avatar-pick", YMe = "/api/avatar-code-cover", OU = "/api/avatar-frame", XMe = "/avatar-choice", kU = (e, t) => [+var YMe = "/api/avatar-choices", EU = "/api/avatar-pick", XMe = "/api/avatar-code-cover", DU = "/api/avatar-frame", ZMe = "/avatar-choice", OU = (e, t) => ["avatar-choices",e,t-], AU = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, jU = (e, t, n, r = "") => `${XMe}${AU(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), MU = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", ZMe = (e, t, n) => H(JMe + AU(e, t), n), QMe = (e) => U(YMe, { code: e });-async function $Me(e, t, n) {- let r = await U(OU, {+], kU = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, AU = (e, t, n, r = "") => `${ZMe}${kU(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), jU = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", QMe = (e, t, n) => H(YMe + kU(e, t), n), $Me = (e) => U(XMe, { code: e });+async function eNe(e, t, n) {+ let r = await U(DU, {kind: e,id: t,ref: n.ref@@ -64448,12 +64448,12 @@ async function $Me(e, t, n) {bases: r.bases};}-var eNe = (e, t, n) => U(OU, {+var tNe = (e, t, n) => U(DU, {kind: e,id: t,url: n-}), tNe = (e, t, n) => NU(`${OU}${AU(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function NU(e, t) {+}), nNe = (e, t, n) => MU(`${DU}${kU(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function MU(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -64462,17 +64462,17 @@ async function NU(e, t) {if (n.ok) return r;throw new wn(r?.error || `请求失败(${n.status})`, n.status, r);}-function PU(e, t, n) {+function NU(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? VMe(e.focus, t, n) : bU(t, n);+ return e.focus && r ? HMe(e.focus, t, n) : yU(t, n);}-var nNe = (e) => e.crop && yU({+var rNe = (e) => e.crop && vU({width: e.width,height: e.height});-async function rNe(e, t, n) {+async function iNe(e, t, n) {if (!("file" in n)) {- await U(DU, {+ await U(EU, {kind: e,id: t,...n@@ -64485,19 +64485,19 @@ async function rNe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await NU(`${DU}${AU(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await MU(`${EU}${kU(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var FU = 2;-function iNe(e, t) {+var PU = 2;+function aNe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, FU).join("」「")}」`}${n.length > FU ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, PU).join("」「")}」`}${n.length > PU ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var aNe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function oNe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${aNe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var oNe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function sNe(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${oNe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var IU = (e) => e.cast > 1, sNe = (e) => IU(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, cNe = {+var FU = (e) => e.cast > 1, cNe = (e) => FU(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, lNe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -64507,7 +64507,7 @@ var IU = (e) => e.cast > 1, sNe = (e) => IU(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function lNe(e) {+function uNe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -64518,19 +64518,19 @@ function lNe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var uNe = (e) => `${cNe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (IU(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), dNe = 8, fNe = 3 / 4;-async function pNe(e, t, n) {+var dNe = (e) => `${lNe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (FU(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), fNe = 8, pNe = 3 / 4;+async function mNe(e, t, n) {switch (n.via) {- case "choice": return { choice: await $Me(e, t, n.choice) };- case "code": return { choice: await QMe(n.code) };- case "url": return { choice: await eNe(e, t, n.url) };+ case "choice": return { choice: await eNe(e, t, n.choice) };+ case "code": return { choice: await $Me(n.code) };+ case "url": return { choice: await tNe(e, t, n.url) };case "file": return {- choice: await tNe(e, t, n.file),+ choice: await nNe(e, t, n.file),file: n.file};}}-function mNe({ kind: e, entityId: t, name: n, onPicked: r }) {+function hNe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -64540,17 +64540,17 @@ function mNe({ kind: e, entityId: t, name: n, onPicked: r }) {"aria-label": `更换${n}的头像`,onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",- children: /* @__PURE__ */ (0, D.jsx)(yge, {+ children: /* @__PURE__ */ (0, D.jsx)(bge, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, D.jsx)(aM, {+ }), /* @__PURE__ */ (0, D.jsx)(iM, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, D.jsx)(hNe, {+ children: /* @__PURE__ */ (0, D.jsx)(gNe, {kind: e,entityId: t,name: n,@@ -64559,22 +64559,22 @@ function mNe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, E.useRef)(null), o = KO(), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(null), p = kU(e, t), m = (0, E.useRef)(!1), h = yt({+function gNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, E.useRef)(null), o = GO(), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(null), p = OU(e, t), m = (0, E.useRef)(!1), h = yt({queryKey: p,- queryFn: ({ signal: n }) => ZMe(e, t, n),+ queryFn: ({ signal: n }) => QMe(e, t, n),retryOnMount: !0});(0, E.useEffect)(() => () => {- m.current && W.removeQueries({ queryKey: kU(e, t) });+ m.current && W.removeQueries({ queryKey: OU(e, t) });}, [e, t]);let g = bt({- mutationFn: (n) => rNe(e, t, n),+ mutationFn: (n) => iNe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = bt({- mutationFn: (n) => pNe(e, t, n),+ mutationFn: (n) => mNe(e, t, n),onMutate: () => {g.reset();},@@ -64595,28 +64595,28 @@ function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let x = h.data, S = x?.choices ?? [], C = (g.error ? V(g.error) : "") || (!d && _.error ? V(_.error) : "") || (h.error ? V(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : oNe(x), O = !!C && !!h.error && C === V(h.error), k = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? V(g.error) : "") || (!d && _.error ? V(_.error) : "") || (h.error ? V(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : sNe(x), O = !!C && !!h.error && C === V(h.error), k = h.isPending || S.length > 0;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, D.jsx)(oM, { children: /* @__PURE__ */ (0, D.jsx)(r_e, { className: "size-6" }) }),+ /* @__PURE__ */ (0, D.jsx)(aM, { children: /* @__PURE__ */ (0, D.jsx)(i_e, { className: "size-6" }) }),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(aA, {+ children: [/* @__PURE__ */ (0, D.jsx)(iA, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, D.jsxs)(BO, {+ }), !d && S.length ? /* @__PURE__ */ (0, D.jsxs)(zO, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? sNe(d.choice) : iNe(n, x)+ children: d ? cNe(d.choice) : aNe(n, x)}),T ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",@@ -64637,14 +64637,14 @@ function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, D.jsx)(Lk, {- icon: DO,+ /* @__PURE__ */ (0, D.jsx)(Ik, {+ icon: EO,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, D.jsx)(_Ne, {+ }), d ? /* @__PURE__ */ (0, D.jsx)(vNe, {kind: e,entityId: t,choice: d.choice,@@ -64664,7 +64664,7 @@ function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"aria-busy": h.isPending || void 0,"data-skeleton": h.isPending ? "avatar-choices" : void 0,className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: h.isPending ? Array.from({ length: dNe }, (e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {+ children: h.isPending ? Array.from({ length: fNe }, (e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -64677,7 +64677,7 @@ function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: uNe(n),+ title: dNe(n),...Y(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({@@ -64687,8 +64687,8 @@ function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, D.jsx)(gNe, {- src: jU(e, t, n.ref, MU(n, n.ref)),+ /* @__PURE__ */ (0, D.jsx)(_Ne, {+ src: AU(e, t, n.ref, jU(n, n.ref)),choice: n}),/* @__PURE__ */ (0, D.jsx)("span", {@@ -64697,15 +64697,15 @@ function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, D.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, D.jsx)(BO, {+ children: /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "gray",children: "在用"})}) : null,- IU(n) ? /* @__PURE__ */ (0, D.jsx)("span", {+ FU(n) ? /* @__PURE__ */ (0, D.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, D.jsxs)(BO, {+ children: /* @__PURE__ */ (0, D.jsxs)(zO, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -64727,7 +64727,7 @@ function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(iM, {+ children: /* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -64766,7 +64766,7 @@ function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(iM, {+ children: /* @__PURE__ */ (0, D.jsx)(rM, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -64790,7 +64790,7 @@ function hNe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function gNe({ src: e, choice: t }) {+function _Ne({ src: e, choice: t }) {let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1), [a, o] = (0, E.useState)(!1);(0, E.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -64798,7 +64798,7 @@ function gNe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = nNe(t) ? GMe(PU(t, s, fNe), s) : null, l = r || a ? !0 : void 0;+ }, c = rNe(t) ? KMe(NU(t, s, pNe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, D.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -64824,23 +64824,23 @@ function gNe({ src: e, choice: t }) {})]});}-function _Ne({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, E.useState)(o[0]), [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(null), p = MU(n, s), m = jU(e, t, s, p), h = KO();+function vNe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, E.useState)(o[0]), [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(null), p = jU(n, s), m = AU(e, t, s, p), h = GO();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? WMe(d, l) : null;+ let _ = d && l ? GMe(d, l) : null;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [m ? /* @__PURE__ */ (0, D.jsx)(EU, {+ children: [m ? /* @__PURE__ */ (0, D.jsx)(TU, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), yU(e) && f(s === n.ref ? PU(n, e, 1) : bU(e, 1));+ u(e), vU(e) && f(s === n.ref ? NU(n, e, 1) : yU(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {@@ -64854,7 +64854,7 @@ function _Ne({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })"data-crop-base": !0,onClick: () => g(e),className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",- children: lNe(e)+ children: uNe(e)}, e))}) : null]}), /* @__PURE__ */ (0, D.jsxs)("div", {@@ -64903,7 +64903,7 @@ function _Ne({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}//#endregion//#region src/react/components/source-avatar.tsx-function LU({ code: e, person: t, detail: n = !1 }) {+function IU({ code: e, person: t, detail: n = !1 }) {let r = (0, E.useRef)(null), [i, a] = (0, E.useState)(n || typeof IntersectionObserver > "u");(0, E.useEffect)(() => {if (!r.current || i) return;@@ -64937,8 +64937,8 @@ function LU({ code: e, person: t, detail: n = !1 }) {}//#endregion//#region src/react/feed-new/feed-new-row.tsx-function RU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, E.useContext)(pF), o = (0, E.useRef)(null), [s, c] = (0, E.useState)([]), l = e?.items.length ? e.html : "";+function LU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, E.useContext)(fF), o = (0, E.useRef)(null), [s, c] = (0, E.useState)([]), l = e?.items.length ? e.html : "";(0, E.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -64970,7 +64970,7 @@ function RU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(LU, {+ }), s.map((e, t) => (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(IU, {code: e.dataset.code,person: {name: e.dataset.name,@@ -64980,7 +64980,7 @@ function RU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}//#endregion//#region src/react/entity-hero/glyph.tsx-function zU({ name: e }) {+function RU({ name: e }) {let { wide: t, viewBox: n } = Ht(e);return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: n,@@ -64991,20 +64991,20 @@ function zU({ name: e }) {}//#endregion//#region src/react/entity-hero/hero-pop.tsx-function BU(e, t) {+function zU(e, t) {t.style.removeProperty("max-height");let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}-var VU = (e) => !!e?.isConnected && e.matches(":popover-open");-function HU(e, t, n, r) {+var BU = (e) => !!e?.isConnected && e.matches(":popover-open");+function VU(e, t, n, r) {let i = (0, E.useRef)(r);i.current = r, (0, E.useEffect)(() => {if (!e) return;let r = () => {- t.current && VU(n.current) ? BU(t.current, n.current) : i.current();+ t.current && BU(n.current) ? zU(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -65018,17 +65018,17 @@ function HU(e, t, n, r) {n]);}-function UU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function HU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, E.useRef)(null), s = (0, E.useRef)(null), [c, l] = (0, E.useState)(!1), u = (0, E.useRef)(!1), d = (0, E.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, VU(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, BU(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !VU(s.current) && (s.current.showPopover(), BU(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !BU(s.current) && (s.current.showPopover(), zU(o.current, s.current), l(!0));}, m = () => {clearTimeout(d.current), d.current = window.setTimeout(() => {!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();}, 150);};- return HU(c, o, s, f), (0, E.useEffect)(() => {+ return VU(c, o, s, f), (0, E.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -65054,7 +65054,7 @@ function UU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && VU(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && BU(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, D.jsxs)("div", {@@ -65072,16 +65072,16 @@ function UU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function vNe({ following: e, busy: t, onToggle: n, tip: r }) {+function yNe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), [s, c] = (0, E.useState)(!1), l = (0, E.useRef)(!1), u = () => {- VU(o.current) && o.current.hidePopover(), c(!1);+ BU(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !VU(o.current) && (o.current.showPopover(), BU(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !BU(o.current) && (o.current.showPopover(), zU(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return HU(s, i, o, () => c(!1)), (0, E.useEffect)(() => {- i.current && VU(o.current) && BU(i.current, o.current);+ return VU(s, i, o, () => c(!1)), (0, E.useEffect)(() => {+ i.current && BU(o.current) && zU(i.current, o.current);}, [r]), /* @__PURE__ */ (0, D.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -65090,7 +65090,7 @@ function vNe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, D.jsx)(zU, { name: "rss" }),+ /* @__PURE__ */ (0, D.jsx)(RU, { name: "rss" }),/* @__PURE__ */ (0, D.jsx)("input", {ref: a,type: "checkbox",@@ -65125,29 +65125,29 @@ function vNe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function yNe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function bNe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, E.useState)(!1), o = (0, E.useRef)(null);return (0, E.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, D.jsxs)($ye, {+ }, []), /* @__PURE__ */ (0, D.jsxs)(ebe, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, D.jsx)(iA, {+ children: [/* @__PURE__ */ (0, D.jsx)(rA, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, D.jsx)(zU, { name: "chevron-down" })- }), /* @__PURE__ */ (0, D.jsx)(UA, {+ children: /* @__PURE__ */ (0, D.jsx)(RU, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, D.jsx)(HA, {placement: "bottom start",offset: 8,containerPadding: 8,- className: yN,+ className: vN,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, D.jsxs)(tbe, {+ children: /* @__PURE__ */ (0, D.jsxs)(nbe, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, D.jsx)(ZA, {+ /* @__PURE__ */ (0, D.jsx)(XA, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -65155,31 +65155,31 @@ function yNe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, D.jsxs)($A, {+ children: t.map((e) => /* @__PURE__ */ (0, D.jsxs)(QA, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: "check" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: "check" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, D.jsx)(Iye, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, D.jsx)(ZA, { children: /* @__PURE__ */ (0, D.jsxs)($A, {+ /* @__PURE__ */ (0, D.jsx)(Lye, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, D.jsx)(XA, { children: /* @__PURE__ */ (0, D.jsxs)(QA, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: "plus" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: "plus" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var bNe = (e) => e === "studio" || e === "agency", WU = (e) => e === "performer" || e === "creator", xNe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function SNe(e) {+var xNe = (e) => e === "studio" || e === "agency", UU = (e) => e === "performer" || e === "creator", SNe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function CNe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function GU(e) {+function WU(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -65191,13 +65191,13 @@ function GU(e) {linked: !1} : null;}-function KU(e, t) {+function GU(e, t) {let n = ln(e, "performer"), r = sn(t);return r && [e.label, n].map(sn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var qU = (e) => ({ site: nn(e) });-function CNe(e, t) {- let n = GU(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var KU = (e) => ({ site: nn(e) });+function wNe(e, t) {+ let n = WU(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -65207,7 +65207,7 @@ function CNe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${KU(e, n)} · ${t}`+ title: `${GU(e, n)} · ${t}`};}let r = e.url || "";@@ -65215,11 +65215,11 @@ function CNe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (WU(t) && e.link_kind !== "social") return {+ if (UU(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: KU(e, n),- mark: qU(e)+ title: GU(e, n),+ mark: KU(e)};if (e.link_kind === "social") {let t = on(r);@@ -65227,7 +65227,7 @@ function CNe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : qU(e)+ mark: t ? { brand: t } : KU(e)};}return {@@ -65235,12 +65235,12 @@ function CNe(e, t) {url: r,title: e.label || "",text: ln(e, t, i),- mark: qU(e)+ mark: KU(e)};});- return [...r, ...wNe(a)];+ return [...r, ...TNe(a)];}-function wNe(e) {+function TNe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -65248,8 +65248,8 @@ function wNe(e) {sources: t.map((e) => e.label)}];}-var JU = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function TNe(e) {+var qU = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function ENe(e) {return [["legal_name",@@ -65305,7 +65305,7 @@ function TNe(e) {}]}] : []);}-function ENe(e) {+function DNe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -65362,14 +65362,14 @@ function ENe(e) {tags: e.tags}), t;}-function YU(e, t = 4) {+function JU(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function DNe(e) {+function ONe(e) {if (!e) return null;let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;return n.length || r > 0 ? {@@ -65380,7 +65380,7 @@ function DNe(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function ONe(e) {+function kNe(e) {return Ea({id: e.id,hasImage: e.has_image,@@ -65391,8 +65391,8 @@ function ONe(e) {standIn: e.avatar_stand_in});}-function kNe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = WU(e), c = bNe(e), l = s ? ENe(n.profile) : c ? TNe(n.company_profile) : [], u = CNe(n, e), d = JU(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, E.useRef)(null), m = (0, E.useRef)(null);+function ANe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = UU(e), c = xNe(e), l = s ? DNe(n.profile) : c ? ENe(n.company_profile) : [], u = wNe(n, e), d = qU(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, E.useRef)(null), m = (0, E.useRef)(null);return (0, E.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, E.useEffect)(() => {@@ -65405,7 +65405,7 @@ function kNe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, D.jsx)(ANe, {+ children: [/* @__PURE__ */ (0, D.jsx)(jNe, {kind: e,name: t,helpers: o,@@ -65413,7 +65413,7 @@ function kNe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, D.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, D.jsx)(mNe, {+ children: /* @__PURE__ */ (0, D.jsx)(hNe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -65428,13 +65428,13 @@ function kNe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, D.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, D.jsx)(yNe, {+ e === "tag" ? null : /* @__PURE__ */ (0, D.jsx)(bNe, {current: n.canonical_name,- choices: SNe(n),+ choices: CNe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, D.jsx)(xM, { item: {+ n.id ? /* @__PURE__ */ (0, D.jsx)(bM, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -65442,7 +65442,7 @@ function kNe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, D.jsx)(jNe, {+ /* @__PURE__ */ (0, D.jsx)(MNe, {kind: e,entity: n,actions: a@@ -65463,14 +65463,14 @@ function kNe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, D.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, D.jsx)(LNe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, D.jsx)(RNe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, D.jsx)(RNe, {+ d.length || n.feed ? /* @__PURE__ */ (0, D.jsx)(zNe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, D.jsx)(PNe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, D.jsx)(FNe, {follow: n.follow,entity: n,actions: a@@ -65479,11 +65479,11 @@ function kNe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, D.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(FNe, {+ children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(INe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, D.jsx)(INe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, D.jsx)(LNe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -65502,7 +65502,7 @@ function kNe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${B(_n(e.k))}</span>${ONe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${B(_n(e.k))}</span>${kNe(e)}` }}), /* @__PURE__ */ (0, D.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -65510,14 +65510,14 @@ function kNe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(RU, {+ }), i ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(LU, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function ANe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function jNe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, E.useState)(() => `${n.portraitImg()}<span>${B(_n(t))}</span>`);return /* @__PURE__ */ (0, D.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -65526,8 +65526,8 @@ function ANe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function jNe({ kind: e, entity: t, actions: n }) {- let r = GU(t), i = (e, t) => (r) => {+function MNe({ kind: e, entity: t, actions: n }) {+ let r = WU(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, D.jsx)("a", {href: Qt("agency", r.name, r.id),@@ -65536,41 +65536,41 @@ function jNe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = DNe(t.name_groups);+ let e = ONe(t.name_groups);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, D.jsx)(XU, { entity: t }),+ /* @__PURE__ */ (0, D.jsx)(YU, { entity: t }),/* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: "film" }), /* @__PURE__ */ (0, D.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: "film" }), /* @__PURE__ */ (0, D.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, D.jsx)(NNe, {+ t.follow?.key ? /* @__PURE__ */ (0, D.jsx)(PNe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: "briefcase" }), /* @__PURE__ */ (0, D.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: "briefcase" }), /* @__PURE__ */ (0, D.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, D.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, D.jsx)(zU, { name: "id-card" }),+ /* @__PURE__ */ (0, D.jsx)(RU, { name: "id-card" }),/* @__PURE__ */ (0, D.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, D.jsx)("span", { children: e }, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, D.jsx)(UU, {+ e.rest > 0 ? /* @__PURE__ */ (0, D.jsx)(HU, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, D.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, D.jsx)(ZU, {+ children: /* @__PURE__ */ (0, D.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, D.jsx)(XU, {label: e.label,names: e.names}, t)) })@@ -65592,61 +65592,61 @@ function jNe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, D.jsx)(XU, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, D.jsx)(YU, { entity: t }) : null,/* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: "film" }), /* @__PURE__ */ (0, D.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: "film" }), /* @__PURE__ */ (0, D.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: "briefcase" }), /* @__PURE__ */ (0, D.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: "briefcase" }), /* @__PURE__ */ (0, D.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: "clapperboard" }), /* @__PURE__ */ (0, D.jsx)("a", {+ children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: "clapperboard" }), /* @__PURE__ */ (0, D.jsx)("a", {href: Qt("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, D.jsx)(MNe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, D.jsx)(NNe, { aliases: s }) : null]});}-function MNe({ aliases: e }) {- let { shown: t, rest: n } = YU(e, 3);+function NNe({ aliases: e }) {+ let { shown: t, rest: n } = JU(e, 3);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, D.jsx)(zU, { name: "id-card" }),+ /* @__PURE__ */ (0, D.jsx)(RU, { name: "id-card" }),/* @__PURE__ */ (0, D.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, D.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, D.jsx)(UU, {+ n ? /* @__PURE__ */ (0, D.jsx)(HU, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, D.jsx)("dl", { children: /* @__PURE__ */ (0, D.jsx)(ZU, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, D.jsx)("dl", { children: /* @__PURE__ */ (0, D.jsx)(XU, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function NNe({ follow: e, actions: t }) {+function PNe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: "rss" }), /* @__PURE__ */ (0, D.jsxs)("a", {+ children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: "rss" }), /* @__PURE__ */ (0, D.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -65655,7 +65655,7 @@ function NNe({ follow: e, actions: t }) {})]});}-function PNe({ follow: e, entity: t, actions: n }) {+function FNe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, E.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -65689,14 +65689,14 @@ function PNe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function XU({ entity: e }) {+function YU({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: "user-round" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function ZU({ label: e, names: t }) {+function XU({ label: e, names: t }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [e ? /* @__PURE__ */ (0, D.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, D.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {@@ -65705,20 +65705,20 @@ function ZU({ label: e, names: t }) {}, t))})] });}-function FNe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("dt", { children: [/* @__PURE__ */ (0, D.jsx)(zU, { name: e }), t] }), /* @__PURE__ */ (0, D.jsx)("dd", {+function INe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("dt", { children: [/* @__PURE__ */ (0, D.jsx)(RU, { name: e }), t] }), /* @__PURE__ */ (0, D.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function INe({ tags: e }) {- let { shown: t, rest: n } = YU(e);+function LNe({ tags: e }) {+ let { shown: t, rest: n } = JU(e);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, D.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, D.jsx)(UU, {+ }, e)), n ? /* @__PURE__ */ (0, D.jsx)(HU, {id: "entityTagPop",hook: "fact",rest: n,@@ -65734,10 +65734,10 @@ function INe({ tags: e }) {})}) : null] });}-function QU({ mark: e }) {+function ZU({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, D.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, D.jsx)(zU, { name: e.brand })+ children: /* @__PURE__ */ (0, D.jsx)(RU, { name: e.brand })});let t = z("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, D.jsx)("span", {@@ -65745,7 +65745,7 @@ function QU({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function LNe({ link: e }) {+function RNe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, D.jsx)("a", {"data-link": "icon",@@ -65754,19 +65754,19 @@ function LNe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, D.jsx)(QU, { mark: e.mark })+ children: /* @__PURE__ */ (0, D.jsx)(ZU, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, D.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, D.jsx)(QU, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, D.jsx)(ZU, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, D.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, D.jsx)(QU, { mark: { globe: !0 } }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(ZU, { mark: { globe: !0 } }), /* @__PURE__ */ (0, D.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -65778,7 +65778,7 @@ function LNe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, D.jsx)(QU, { mark: e.mark }),+ /* @__PURE__ */ (0, D.jsx)(ZU, { mark: e.mark }),/* @__PURE__ */ (0, D.jsx)("span", {"data-link-label": "",children: e.text@@ -65793,7 +65793,7 @@ function LNe({ link: e }) {});}}-function RNe({ entity: e, actions: t, helpers: n }) {+function zNe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, E.useState)(!!e.feed?.following), [a, o] = (0, E.useState)(!1), s = (0, E.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -65811,34 +65811,34 @@ function RNe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, D.jsxs)("div", {"data-entry-marks": "",- children: [JU(e).map((e, t) => /* @__PURE__ */ (0, D.jsxs)("a", {+ children: [qU(e).map((e, t) => /* @__PURE__ */ (0, D.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, D.jsx)(zU, { name: e.mark }) : /* @__PURE__ */ (0, D.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, D.jsx)(RU, { name: e.mark }) : /* @__PURE__ */ (0, D.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, D.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, D.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, D.jsx)(vNe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, D.jsx)(yNe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: xNe(r)+ tip: SNe(r)}) : null]});}//#endregion//#region src/react/entity-page/use-entity-online.ts-var zNe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function BNe(e, t, n) {+var BNe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function VNe(e, t, n) {let [r, i] = (0, E.useState)(() => Ai(e));r.author !== e && i(Ai(e));let [a, o] = (0, E.useState)({@@ -65917,7 +65917,7 @@ function BNe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: pi,- seed: zNe()+ seed: BNe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -65948,8 +65948,8 @@ function BNe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function VNe(e) {- let { kind: t, name: n } = e, r = yt(vH(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function HNe(e) {+ let { kind: t, name: n } = e, r = yt(_H(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a} : void 0), { actions: s } = e;@@ -65967,17 +65967,17 @@ function VNe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, D.jsx)(iI, {+ ]), r.isError ? /* @__PURE__ */ (0, D.jsx)(rI, {message: V(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, D.jsx)(WNe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, D.jsx)(GNe, {...e,entity: r.data});}-function $U(e) {+function QU(e) {let [t, n] = (0, E.useState)({key: e,n: 1@@ -65989,22 +65989,22 @@ function $U(e) {};return n(r), r.n;}-var HNe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function UNe(e, t) {+var UNe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function WNe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function WNe(e) {- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = xt(yH(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || bH(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function GNe(e) {+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = xt(vH(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || yH(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {media: "online",set: 0- } : dH, [y, b] = (0, E.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, E.useState)(x);+ } : uH, [y, b] = (0, E.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, E.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = BNe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = VNe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), O = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, E.useState)(0), j = _H(e), M = yt(j), N = $U(JSON.stringify([j.queryKey, k])), [P] = (0, E.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));+ }), O = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, E.useState)(0), j = gH(e), M = yt(j), N = QU(JSON.stringify([j.queryKey, k])), [P] = (0, E.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));(0, E.useLayoutEffect)(() => {s.javContext(P);}, [s, P]);@@ -66014,26 +66014,26 @@ function WNe(e) {}, [e.layout, P]), I = {jav: e.jav,seed: e.seed- }, ee = (0, E.useCallback)((e, r, a) => gH(t, n, i, I, e, r, a), [N]), [L, te] = (0, E.useState)({}), ne = v.set, re = L[ne] || "", ie = xt({- ...yH(t, n, ne, re),+ }, ee = (0, E.useCallback)((e, r, a) => hH(t, n, i, I, e, r, a), [N]), [L, te] = (0, E.useState)({}), ne = v.set, re = L[ne] || "", ie = xt({+ ...vH(t, n, ne, re),enabled: w === "photos"- }), ae = ie.data?.pages[0], oe = $U(JSON.stringify(pH(t, n, ne, re))), se = (0, E.useMemo)(() => {+ }), ae = ie.data?.pages[0], oe = QU(JSON.stringify(fH(t, n, ne, re))), se = (0, E.useMemo)(() => {let e = ie.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: oe,- codeSets: t.id ? [] : bH(t),+ codeSets: t.id ? [] : yH(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};}, [ie.data, oe]), ce = ie.refetch, le = ie.fetchNextPage, ue = yt({- ...cH(d, o.feedRowHtml),+ ...sH(d, o.feedRowHtml),enabled: !!d}), de = (0, E.useRef)(e.feedRevision);(0, E.useEffect)(() => {- de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: sH(d) }));+ de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: oH(d) }));}, [d, e.feedRevision]);let fe = !!M.data;(0, E.useEffect)(() => {@@ -66052,7 +66052,7 @@ function WNe(e) {pe.current = !1;}, []);let me = (0, E.useCallback)(async () => {- await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: fH(t, n) }), await W.invalidateQueries({ queryKey: [+ await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: dH(t, n) }), await W.invalidateQueries({ queryKey: ["entity-items",t,n@@ -66086,7 +66086,7 @@ function WNe(e) {enabled: e})}),- onSuccess: (e, r) => W.setQueryData(fH(t, n), (e) => e && {+ onSuccess: (e, r) => W.setQueryData(dH(t, n), (e) => e && {...e,feed: {...e.feed,@@ -66140,10 +66140,10 @@ function WNe(e) {let e = await Ut("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- pe.current && await W.invalidateQueries({ queryKey: sH(d) });+ pe.current && await W.invalidateQueries({ queryKey: oH(d) });})();},- feedAction: lH,+ feedAction: cH,avatarPicked: () => {s.avatarChanged(), me().then(() => {pe.current && A((e) => e + 1);@@ -66191,19 +66191,19 @@ function WNe(e) {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : dH));+ } : uH));},setState: (e) => s.route({...i,state: e- }, dH),+ }, uH),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = _H({+ let r = s.reshuffleVideos(), a = gH({kind: t,name: n,filters: {@@ -66217,7 +66217,7 @@ function WNe(e) {await W.fetchQuery(a).catch(() => null);return;}- let r = HNe(), a = await W.fetchInfiniteQuery(yH(t, n, ne, r)).catch(() => null);+ let r = UNe(), a = await W.fetchInfiniteQuery(vH(t, n, ne, r)).catch(() => null);pe.current && a?.pages[0] && !a.pages[0].error && te((e) => ({...e,[ne]: r@@ -66252,7 +66252,7 @@ function WNe(e) {k: e.k,label: Lc(e.k),n: e.n,- selected: Eje(i.tag, e.k)+ selected: Dje(i.tag, e.k)})), we = [u.length,!_,@@ -66287,14 +66287,14 @@ function WNe(e) {creator: "",studio: "",owner: ""- }, dH), Me = "", Ne = !1;+ }, uH), Me = "", Ne = !1;if (w === "people") Me = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;else if (w === "online") Ne = T.busy, Me = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (w === "videos") {Ne = !M.data;- let e = mH(i.tag).length;+ let e = pH(i.tag).length;Me = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : UNe(ae, bH(ae).length) : Ne = ie.isPending;+ } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : WNe(ae, yH(ae).length) : Ne = ie.isPending;let Pe = (0, E.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -66311,7 +66311,7 @@ function WNe(e) {u]);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(kNe, {+ /* @__PURE__ */ (0, D.jsx)(ANe, {kind: t,name: n,entity: r,@@ -66321,7 +66321,7 @@ function WNe(e) {actions: ye,helpers: be}, k),- (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(Fwe, {+ (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(Iwe, {kind: t,name: n,view: w,@@ -66338,9 +66338,9 @@ function WNe(e) {actions: xe,helpers: Se}), c.filter),- (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(Swe, {+ (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(Cwe, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, D.jsx)(LMe, {+ children: w === "online" ? /* @__PURE__ */ (0, D.jsx)(RMe, {view: T.view,media: T.media,result: T.result,@@ -66354,16 +66354,16 @@ function WNe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, D.jsx)(iI, {+ }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, D.jsx)(rI, {message: V(M.error),onRetry: () => {M.refetch();}- }) : Ae ? /* @__PURE__ */ (0, D.jsx)(GNe, {+ }) : Ae ? /* @__PURE__ */ (0, D.jsx)(KNe, {filtered: ke,onShowAll: je,onOnline: g ? () => xe.setView("online") : void 0- }) : /* @__PURE__ */ (0, D.jsx)(aMe, {+ }) : /* @__PURE__ */ (0, D.jsx)(oMe, {kind: t,name: n,view: w,@@ -66395,9 +66395,9 @@ function WNe(e) {}), c.body)] });}-function GNe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, D.jsx)(YO, {- icon: cM("search"),+function KNe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: sM("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -66405,14 +66405,14 @@ function GNe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: cM("film"),+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: sM("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, D.jsx)(HO, {+ }) : /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/",children: "浏览馆藏"@@ -66422,7 +66422,7 @@ function GNe({ filtered: e, onShowAll: t, onOnline: n }) {}//#endregion//#region src/react/components/collection-summary.tsx-function eW({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function $U({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -66449,29 +66449,29 @@ function eW({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/duplicates/duplicates-page.tsx-var KNe = cM("play"), qNe = cM("file-stack"), JNe = GO({+var qNe = sM("play"), JNe = sM("file-stack"), YNe = WO({padding: "none",radius: "surface",className: "mb-6 overflow-hidden dark:bg-background-primary-default"-}), tW = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", nW = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", rW = "font-mono text-caption-1-regular leading-5 text-text-secondary", iW = () => {+}), eW = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", tW = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", nW = "font-mono text-caption-1-regular leading-5 text-text-secondary", rW = () => {W.invalidateQueries({- queryKey: Pz,+ queryKey: Nz,exact: !0}), W.invalidateQueries({- queryKey: sV,+ queryKey: oV,exact: !0});};-function YNe(e) {+function XNe(e) {return e.identical ? /* @__PURE__ */ (0, D.jsx)("span", {- className: `${nW} text-(--keep)`,+ className: `${tW} text-(--keep)`,children: "sha1 一致"}) : /* @__PURE__ */ (0, D.jsx)("span", {- className: `${nW} text-text-secondary`,+ className: `${tW} text-text-secondary`,children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"});}-function XNe({ file: e, prefix: t, openItem: n }) {+function ZNe({ file: e, prefix: t, openItem: n }) {let r = () => n(e.id), i = yn[e.location] || e.location || e.drive;return /* @__PURE__ */ (0, D.jsxs)("div", {className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",@@ -66481,7 +66481,7 @@ function XNe({ file: e, prefix: t, openItem: n }) {onClick: r,"aria-label": `预览 ${e.name}`,className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",- children: [/* @__PURE__ */ (0, D.jsx)(KNe, {+ children: [/* @__PURE__ */ (0, D.jsx)(qNe, {"aria-hidden": !0,className: "size-6"}), /* @__PURE__ */ (0, D.jsx)("img", {@@ -66501,58 +66501,58 @@ function XNe({ file: e, prefix: t, openItem: n }) {"data-middle-truncate": !0,"data-middle-truncate-within": !0,className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",- children: JOe(e.name, t)+ children: YOe(e.name, t)}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex flex-none gap-1",children: [e.is_largest ? /* @__PURE__ */ (0, D.jsx)("i", {- className: `${tW} not-italic bg-background-primary-hover text-text-secondary`,+ className: `${eW} not-italic bg-background-primary-hover text-text-secondary`,children: "最大"}) : null, e.is_longest ? /* @__PURE__ */ (0, D.jsx)("i", {- className: `${tW} not-italic bg-(--keep)/22 text-(--keep)`,+ className: `${eW} not-italic bg-(--keep)/22 text-(--keep)`,children: "最长"}) : null]}) : null]}),/* @__PURE__ */ (0, D.jsxs)("span", {- className: `${rW} flex min-w-0 items-center gap-1.5`,- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: So[e.location] || "database" }), /* @__PURE__ */ (0, D.jsx)("span", {+ className: `${nW} flex min-w-0 items-center gap-1.5`,+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: So[e.location] || "database" }), /* @__PURE__ */ (0, D.jsx)("span", {title: i,className: "min-w-0 truncate",children: i})]}),/* @__PURE__ */ (0, D.jsx)("span", {- className: rW,+ className: nW,children: pn(e.size || 0)}),/* @__PURE__ */ (0, D.jsx)("span", {- className: rW,+ className: nW,children: dn(e.duration)}),/* @__PURE__ */ (0, D.jsx)("span", {- className: `${rW} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,+ className: `${nW} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,children: e.path ?? ""})]});}-function ZNe({ openItem: e, toast: t, failure: n }) {+function QNe({ openItem: e, toast: t, failure: n }) {let r = yt({- queryKey: Pz,- queryFn: ({ signal: e }) => Iz(e)+ queryKey: Nz,+ queryFn: ({ signal: e }) => Fz(e)}), i = yt({queryKey: Fn,queryFn: ({ signal: e }) => In(e)}), [a, o] = (0, E.useState)(""), s = bt({- mutationFn: (e) => zz(e, "dispose"),+ mutationFn: (e) => Rz(e, "dispose"),onSuccess: (e, r) => {- iW(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {+ rW(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {try {- await zz(r, "restore");+ await Rz(r, "restore");} catch (e) {n("撤销移入回收站", e);} finally {- iW();+ rW();}} });},@@ -66566,12 +66566,12 @@ function ZNe({ openItem: e, toast: t, failure: n }) {children: r.error ? V(r.error) : "未取得重复文件列表,请刷新页面重试。"})});- let l = c.groups ?? [], u = WOe(i.data), d = ({ groups: e, keep: t, key: n }) => {+ let l = c.groups ?? [], u = GOe(i.data), d = ({ groups: e, keep: t, key: n }) => {if (s.isPending) return;- let r = QOe(e, t);+ let r = $Oe(e, t);r.length && Ys({title: "移入回收站",- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${Lz[t] ?? Lz.largest}。文件共 ${pn($Oe(e, r))},记录可从回收站还原。`,+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${Iz[t] ?? Iz.largest}。文件共 ${pn(eke(e, r))},记录可从回收站还原。`,confirmLabel: "移入回收站",onConfirm: () => (o(n), s.mutateAsync(r))});@@ -66579,15 +66579,15 @@ function ZNe({ openItem: e, toast: t, failure: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "mx-auto w-full max-w-board pb-10.5",children: [- /* @__PURE__ */ (0, D.jsx)(eW, {+ /* @__PURE__ */ (0, D.jsx)($U, {label: "重复内容",figure: `${Number(c.total || 0).toLocaleString()} 组`,detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${pn(c.reclaimable)}`}),- l.length ? /* @__PURE__ */ (0, D.jsxs)(hve, {+ l.length ? /* @__PURE__ */ (0, D.jsxs)(gve, {title: "批量保留",children: [- /* @__PURE__ */ (0, D.jsx)(Hk, {+ /* @__PURE__ */ (0, D.jsx)(Vk, {busy: a === "all:largest",onPress: () => d({groups: l,@@ -66596,7 +66596,7 @@ function ZNe({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最大"}),- /* @__PURE__ */ (0, D.jsx)(Hk, {+ /* @__PURE__ */ (0, D.jsx)(Vk, {busy: a === "all:longest",onPress: () => d({groups: l,@@ -66605,14 +66605,14 @@ function ZNe({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最长"}),- ZOe(l, u).map((e) => /* @__PURE__ */ (0, D.jsx)(Hk, {+ QOe(l, u).map((e) => /* @__PURE__ */ (0, D.jsx)(Vk, {busy: a === `all:${e}`,onPress: () => d({groups: l,keep: e,key: `all:${e}`}),- children: /* @__PURE__ */ (0, D.jsx)(Dk, {+ children: /* @__PURE__ */ (0, D.jsx)(Ek, {source: e,label: `全部优先 ${yn[e] || e}`})@@ -66628,10 +66628,10 @@ function ZNe({ openItem: e, toast: t, failure: n }) {})}) : null,l.length ? l.map((t, n) => {- let r = [t], i = qOe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;+ let r = [t], i = JOe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": t.code,- className: JNe,+ className: YNe,children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",children: [@@ -66643,9 +66643,9 @@ function ZNe({ openItem: e, toast: t, failure: n }) {className: "font-mono text-caption-1-regular leading-5 text-text-primary",children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${pn(t.reclaimable)}`}),- YNe(t),+ XNe(t),t.cross_drive ? /* @__PURE__ */ (0, D.jsx)("span", {- className: `${nW} text-text-secondary`,+ className: `${tW} text-text-secondary`,children: `跨盘 ${t.drives.join(" ")}`}) : null,/* @__PURE__ */ (0, D.jsxs)("span", {@@ -66673,7 +66673,7 @@ function ZNe({ openItem: e, toast: t, failure: n }) {}),children: "留最长"}),- Rz(t.files, u).map((e) => /* @__PURE__ */ (0, D.jsx)(q, {+ Lz(t.files, u).map((e) => /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",...f(a(e)),@@ -66682,7 +66682,7 @@ function ZNe({ openItem: e, toast: t, failure: n }) {keep: e,key: a(e)}),- children: /* @__PURE__ */ (0, D.jsx)(Dk, {+ children: /* @__PURE__ */ (0, D.jsx)(Ek, {source: e,label: `留 ${yn[e] || e}`})@@ -66701,14 +66701,14 @@ function ZNe({ openItem: e, toast: t, failure: n }) {]})]- }), /* @__PURE__ */ (0, D.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, D.jsx)(XNe, {+ }), /* @__PURE__ */ (0, D.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, D.jsx)(ZNe, {file: t,prefix: i,openItem: e}, t.id)) })]}, `${t.code}-${n}`);- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: qNe,+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: JNe,title: "没有找到重复文件",children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"}),@@ -66721,17 +66721,17 @@ function ZNe({ openItem: e, toast: t, failure: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var aW = ["diagnostics"], oW = (e) => H("/api/diagnostics", e);-async function QNe(e) {+var iW = ["diagnostics"], aW = (e) => H("/api/diagnostics", e);+async function $Ne(e) {await W.fetchQuery({- queryKey: aW,- queryFn: () => oW(e),+ queryKey: iW,+ queryFn: () => aW(e),staleTime: 1e4});}//#endregion//#region src/diagnostics-skeleton.ts-function sW() {+function oW() {let e = (e) => No({label: e,variant: "secondary",@@ -66746,7 +66746,7 @@ function sW() {}//#endregion//#region src/react/diagnostics/health-list.tsx-var cW = (e) => e.title || e.name || e.code || `作品 #${e.id}`, $Ne = (e) => [[+var sW = (e) => e.title || e.name || e.code || `作品 #${e.id}`, ePe = (e) => [["作品","番号","文件名",@@ -66755,7 +66755,7 @@ var cW = (e) => e.title || e.name || e.code || `作品 #${e.id}`, $Ne = (e) => ["时长(秒)","大小(字节)"], ...e.map((e) => [- cW(e),+ sW(e),e.code ?? "",e.name,yn[e.location] || e.location,@@ -66763,20 +66763,20 @@ var cW = (e) => e.title || e.name || e.code || `作品 #${e.id}`, $Ne = (e) => [e.duration ?? "",e.size ?? ""])].map((e) => e.map((e) => String(e ?? "").replace(/[\t\r\n]+/g, " ")).join(" ")).join("\n");-function ePe({ group: e, openItem: t, receipt: n }) {- let r = ek(), [i, a] = (0, E.useState)([]), o = (e) => void r.run("copy", () => navigator.clipboard.writeText($Ne(e)), () => n("已复制清单")), s = [+function tPe({ group: e, openItem: t, receipt: n }) {+ let r = $O(), [i, a] = (0, E.useState)([]), o = (e) => void r.run("copy", () => navigator.clipboard.writeText(ePe(e)), () => n("已复制清单")), s = [{id: "title",label: "作品",- value: cW,+ value: sW,render: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(WO, {+ children: [/* @__PURE__ */ (0, D.jsx)(UO, {variant: "primary",className: "justify-start whitespace-normal text-left",onClick: () => t(e.id),- children: cW(e)- }), e.name && e.name !== cW(e) ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: sW(e)+ }), e.name && e.name !== sW(e) ? /* @__PURE__ */ (0, D.jsx)("span", {"data-middle-truncate": !0,title: e.name,className: "block min-w-0 text-caption-1-regular text-text-secondary",@@ -66829,12 +66829,12 @@ function ePe({ group: e, openItem: t, receipt: n }) {render: (e) => e.size === null ? "未取得" : pn(e.size)}];- return /* @__PURE__ */ (0, D.jsx)(mk, {+ return /* @__PURE__ */ (0, D.jsx)(pk, {summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,children: e.count === null ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",children: "清单未取得,请重新检查。"- }) : e.items.length ? /* @__PURE__ */ (0, D.jsxs)(ok, { children: [+ }) : e.items.length ? /* @__PURE__ */ (0, D.jsxs)(ak, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2",children: [e.truncated ? /* @__PURE__ */ (0, D.jsxs)("span", {@@ -66858,7 +66858,7 @@ function ePe({ group: e, openItem: t, receipt: n }) {tone: "error",children: r.error}) : null,- /* @__PURE__ */ (0, D.jsx)(LV, {+ /* @__PURE__ */ (0, D.jsx)(IV, {label: e.label,title: "作品清单",unit: "部作品",@@ -66866,7 +66866,7 @@ function ePe({ group: e, openItem: t, receipt: n }) {items: e.items,columns: s,rowId: (e) => String(e.id),- rowLabel: cW,+ rowLabel: sW,selected: i,onSelected: a,actions: (e) => /* @__PURE__ */ (0, D.jsx)(q, {@@ -66877,8 +66877,8 @@ function ePe({ group: e, openItem: t, receipt: n }) {children: "复制所选"})})- ] }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: Lge,+ ] }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: Rge,title: "清单为空",size: "compact",children: "没有需要处理的作品。"@@ -66887,7 +66887,7 @@ function ePe({ group: e, openItem: t, receipt: n }) {}//#endregion//#region src/react/diagnostics/diagnostics-page.tsx-var tPe = {+var nPe = {ok: "正常",warning: "需检查",failed: "需处理",@@ -66895,7 +66895,7 @@ var tPe = {disabled: "未配置",stale: "待复查",unchecked: "尚无记录"-}, nPe = { "/tasks": "查看任务" }, rPe = [+}, rPe = { "/tasks": "查看任务" }, iPe = [["媒体库与挂载", ["media_mounts", "data_root"]],["数据库与迁移", ["database", "schema"]],["工具", ["ffmpeg"]],@@ -66906,17 +66906,17 @@ var tPe = {"version"]],["后台任务", ["tasks"]]-], lW = (e) => new Date(e).toLocaleString();-function uW({ status: e }) {- return /* @__PURE__ */ (0, D.jsx)(BO, {+], cW = (e) => new Date(e).toLocaleString();+function lW({ status: e }) {+ return /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption","data-diagnostic-status": e,color: e === "failed" ? "rose" : e === "ok" ? "lime" : e === "warning" || e === "stale" ? "yellow" : "neutral",- children: tPe[e] ?? "未取得"+ children: nPe[e] ?? "未取得"});}-function dW() {- let e = ek();+function uW() {+ let e = $O();return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)(q, {@@ -66940,24 +66940,24 @@ function dW() {}) : null]});}-function fW({ name: e, check: t, compact: n = !1 }) {- let r = t.target === "/settings/library" && (e === "security" || e === "port") ? NN("网络与访问") : t.target, i = n ? "h4" : "h3";+function dW({ name: e, check: t, compact: n = !1 }) {+ let r = t.target === "/settings/library" && (e === "security" || e === "port") ? MN("网络与访问") : t.target, i = n ? "h4" : "h3";return /* @__PURE__ */ (0, D.jsxs)("div", {"data-diagnostic-check": e,- className: hO("flex flex-col gap-4 border-b border-separator-border pr-3 last:border-b-0 sm:flex-row sm:items-center sm:justify-between", n ? "py-3" : "py-5"),+ className: mO("flex flex-col gap-4 border-b border-separator-border pr-3 last:border-b-0 sm:flex-row sm:items-center sm:justify-between", n ? "py-3" : "py-5"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: hO("flex min-w-0 flex-1 flex-col", n ? "gap-1" : "gap-2"),+ className: mO("flex min-w-0 flex-1 flex-col", n ? "gap-1" : "gap-2"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [/* @__PURE__ */ (0, D.jsx)(i, {- className: hO("text-text-primary", n ? "text-body-2-medium" : "text-body-medium"),+ className: mO("text-text-primary", n ? "text-body-2-medium" : "text-body-medium"),children: t.label- }), /* @__PURE__ */ (0, D.jsx)(uW, { status: t.status })]+ }), /* @__PURE__ */ (0, D.jsx)(lW, { status: t.status })]}),/* @__PURE__ */ (0, D.jsx)("p", {"data-check-reason": !0,- className: hO("text-body-2-regular break-words", n ? "text-text-secondary" : "text-text-primary"),+ className: mO("text-body-2-regular break-words", n ? "text-text-secondary" : "text-text-primary"),children: t.reason}),t.action ? /* @__PURE__ */ (0, D.jsxs)("p", {@@ -66967,21 +66967,21 @@ function fW({ name: e, check: t, compact: n = !1 }) {]}), r ? /* @__PURE__ */ (0, D.jsx)("div", {className: "shrink-0 self-end sm:self-auto",- children: /* @__PURE__ */ (0, D.jsx)(HO, {+ children: /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",variant: "secondary",href: r,- children: r.startsWith("/settings/") ? `打开${kN(r)}` : nPe[r] ?? "打开相关页面"+ children: r.startsWith("/settings/") ? `打开${ON(r)}` : rPe[r] ?? "打开相关页面"})}) : null]});}-function iPe(e) {+function aPe(e) {let t = yt({- queryKey: aW,- queryFn: ({ signal: e }) => oW(e),+ queryKey: iW,+ queryFn: ({ signal: e }) => aW(e),staleTime: 1e4- }), n = ek(), [r, i] = (0, E.useState)(""), a = () => void n.run("refresh", async () => {+ }), n = $O(), [r, i] = (0, E.useState)(""), a = () => void n.run("refresh", async () => {let e = await t.refetch();if (e.error) throw e.error;return e.data;@@ -66989,11 +66989,11 @@ function iPe(e) {if (!o && t.isPending) return /* @__PURE__ */ (0, D.jsx)("div", {role: "status","aria-label": "正在读取系统诊断",- dangerouslySetInnerHTML: { __html: sW() }+ dangerouslySetInnerHTML: { __html: oW() }});if (!o) return /* @__PURE__ */ (0, D.jsxs)("div", {className: "ui-configpage",- children: [/* @__PURE__ */ (0, D.jsx)(dW, {}), /* @__PURE__ */ (0, D.jsx)(J, {+ children: [/* @__PURE__ */ (0, D.jsx)(uW, {}), /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "诊断读取失败",action: /* @__PURE__ */ (0, D.jsx)(q, {@@ -67019,7 +67019,7 @@ function iPe(e) {children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap justify-end gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(dW, {}), /* @__PURE__ */ (0, D.jsx)(q, {+ children: [/* @__PURE__ */ (0, D.jsx)(uW, {}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: a,...Y(n.busy === "refresh"),@@ -67030,29 +67030,29 @@ function iPe(e) {tone: "error",children: r}) : null,- s.length ? /* @__PURE__ */ (0, D.jsx)(ik, {+ s.length ? /* @__PURE__ */ (0, D.jsx)(rk, {title: `需要关注 · ${s.length} 项`,- children: s.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(fW, {+ children: s.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(dW, {name: e,check: t}, e))}) : null,- /* @__PURE__ */ (0, D.jsx)(ik, {+ /* @__PURE__ */ (0, D.jsx)(rk, {title: "库健康",- children: /* @__PURE__ */ (0, D.jsxs)(ok, { children: [o.library.issue_at ? /* @__PURE__ */ (0, D.jsxs)("p", {+ children: /* @__PURE__ */ (0, D.jsxs)(ak, { children: [o.library.issue_at ? /* @__PURE__ */ (0, D.jsxs)("p", {className: "text-body-2-regular text-text-secondary",- children: ["处理记录 · ", lW(o.library.issue_at)]- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, D.jsx)(ePe, {+ children: ["处理记录 · ", cW(o.library.issue_at)]+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, D.jsx)(tPe, {group: n,...e}, t))] })}),c.length ? /* @__PURE__ */ (0, D.jsx)("section", {"aria-label": "系统检查",- children: /* @__PURE__ */ (0, D.jsx)(mk, {+ children: /* @__PURE__ */ (0, D.jsx)(pk, {summary: `其他检查 · ${c.length} 项`,contentClassName: "gap-5",- children: rPe.map(([e, t]) => {+ children: iPe.map(([e, t]) => {let n = c.filter(([e]) => t.some((t) => t === e));return n.length ? /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": e,@@ -67064,7 +67064,7 @@ function iPe(e) {className: "text-caption-1-regular text-text-secondary",children: [n.length, " 项"]})]- }), /* @__PURE__ */ (0, D.jsx)(tk, { children: n.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(fW, {+ }), /* @__PURE__ */ (0, D.jsx)(ek, { children: n.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(dW, {name: e,check: t,compact: !0@@ -67077,38 +67077,38 @@ function iPe(e) {"aria-label": "来源会话",className: "flex min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(nk, { children: "来源会话" }),+ /* @__PURE__ */ (0, D.jsx)(tk, { children: "来源会话" }),o.sources.map((e) => /* @__PURE__ */ (0, D.jsx)("article", {"data-diagnostic-source": e.source,- children: /* @__PURE__ */ (0, D.jsx)(tk, { children: /* @__PURE__ */ (0, D.jsxs)(ok, { children: [+ children: /* @__PURE__ */ (0, D.jsx)(ek, { children: /* @__PURE__ */ (0, D.jsxs)(ak, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, D.jsxs)("h3", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-primary",- children: [/* @__PURE__ */ (0, D.jsx)(BV, { source: e.source }), e.label]- }), /* @__PURE__ */ (0, D.jsx)(uW, { status: e.status })]+ children: [/* @__PURE__ */ (0, D.jsx)(zV, { source: e.source }), e.label]+ }), /* @__PURE__ */ (0, D.jsx)(lW, { status: e.status })]}),- /* @__PURE__ */ (0, D.jsx)(Mk, {+ /* @__PURE__ */ (0, D.jsx)(jk, {text: e.reason,className: "text-body-regular text-text-primary"}),- /* @__PURE__ */ (0, D.jsxs)(fk, { children: [- /* @__PURE__ */ (0, D.jsx)(pk, {+ /* @__PURE__ */ (0, D.jsxs)(dk, { children: [+ /* @__PURE__ */ (0, D.jsx)(fk, {term: "上次解析成功",- children: e.last_success_at ? lW(e.last_success_at) : "尚无成功记录"+ children: e.last_success_at ? cW(e.last_success_at) : "尚无成功记录"}),- e.last_check_at ? /* @__PURE__ */ (0, D.jsxs)(pk, {+ e.last_check_at ? /* @__PURE__ */ (0, D.jsxs)(fk, {term: "上次检查",- children: [lW(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]+ children: [cW(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]}) : null,- /* @__PURE__ */ (0, D.jsx)(pk, {+ /* @__PURE__ */ (0, D.jsx)(fk, {term: "暂停访问至",- children: e.cooldown_until ? lW(e.cooldown_until) : "未暂停"+ children: e.cooldown_until ? cW(e.cooldown_until) : "未暂停"})] })] }) })}, e.source)),- /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(HO, {+ /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",variant: "secondary",href: "/sources",@@ -67121,34 +67121,34 @@ function iPe(e) {}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function aPe({ host: e, revision: t, helpers: n, actions: r }) {- let i = yt(cH(null, n.feedRowHtml)), a = (0, E.useRef)(t);+function oPe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = yt(sH(null, n.feedRowHtml)), a = (0, E.useRef)(t);return (0, E.useEffect)(() => {- a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: sH(null) }));- }, [t]), (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(RU, {+ a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: oH(null) }));+ }, [t]), (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(LU, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: lH,+ act: cH,settled: r.settled}), e);}//#endregion//#region src/react/components/pill-aria-tab-list.tsx-function pW({ scrollable: e = !0, ...t }) {- let [n, r] = (0, E.useState)(null), i = Rk(r, e);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Gj, {+function fW({ scrollable: e = !0, ...t }) {+ let [n, r] = (0, E.useState)(null), i = Lk(r, e);+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Wj, {...t,ref: i,"data-pill-nav": ""- }), /* @__PURE__ */ (0, D.jsx)(_O, { container: n })] });+ }), /* @__PURE__ */ (0, D.jsx)(gO, { container: n })] });}//#endregion//#region src/react/follow-manage/source-view.tsx-function mW({ provider: e }) {- return /* @__PURE__ */ (0, D.jsx)(zV, { src: si(e) });+function pW({ provider: e }) {+ return /* @__PURE__ */ (0, D.jsx)(RV, { src: si(e) });}-function hW({ group: e, name: t }) {+function mW({ group: e, name: t }) {let { src: n, fallback: r } = xr(e), [i, a] = (0, E.useState)(0), o = [n, r].filter(Boolean)[i];return o ? /* @__PURE__ */ (0, D.jsx)("img", {src: o,@@ -67165,28 +67165,28 @@ function hW({ group: e, name: t }) {children: br(t)});}-function gW({ source: e }) {+function hW({ source: e }) {let t = !e.enabled || e.history_exhausted ? "gray" : fr(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "gray";- return /* @__PURE__ */ (0, D.jsx)(BO, {+ return /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: t,children: dr(e)});}-function _W({ source: e }) {+function gW({ source: e }) {return /* @__PURE__ */ (0, D.jsxs)("a", {href: e.url,target: "_blank",rel: "noopener noreferrer",title: "打开原来源",className: "max-w-full min-w-0 self-start text-body-medium wrap-anywhere text-text-primary underline-offset-2 hover:underline",- children: [e.label, /* @__PURE__ */ (0, D.jsx)(jO, {+ children: [e.label, /* @__PURE__ */ (0, D.jsx)(AO, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"})]});}-function vW({ text: e, prefix: t = "", tone: n = "error" }) {+function _W({ text: e, prefix: t = "", tone: n = "error" }) {let r = (0, E.useRef)(null), [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(!1), c = mr(e);(0, E.useLayoutEffect)(() => {let e = r.current;@@ -67218,11 +67218,11 @@ function vW({ text: e, prefix: t = "", tone: n = "error" }) {}//#endregion//#region src/react/follow-manage/add-source.tsx-var yW = hO(bN, xN, "text-body-2-medium"), oPe = "粘贴来源链接,或输入创作者名、id…", sPe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", cPe = "识别中…", lPe = "站内没有查到来源", uPe = "/settings/subscriptions", bW = (e, t) => `${e}:${t.url}`;-function dPe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {+var vW = mO(yN, bN, "text-body-2-medium"), sPe = "粘贴来源链接,或输入创作者名、id…", cPe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", lPe = "识别中…", uPe = "站内没有查到来源", dPe = "/settings/subscriptions", yW = (e, t) => `${e}:${t.url}`;+function fPe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {return (0, E.useEffect)(() => {t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });- }, [t, r]), /* @__PURE__ */ (0, D.jsxs)(UA, {+ }, [t, r]), /* @__PURE__ */ (0, D.jsxs)(HA, {ref: t,triggerRef: e,isOpen: !0,@@ -67234,17 +67234,17 @@ function dPe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCplacement: "bottom start",offset: 4,"aria-label": "来源建议",- className: hO(yN, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),+ className: mO(vN, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),children: [i && !n.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "px-2 py-1.5",- children: /* @__PURE__ */ (0, D.jsx)(XO, { label: "正在查找建议" })+ children: /* @__PURE__ */ (0, D.jsx)(YO, { label: "正在查找建议" })}) : null, n.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, D.jsx)("div", {className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",children: e.group}), /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","aria-current": t === r ? "true" : void 0,- className: t === r ? hO(yW, "bg-background-secondary-default") : yW,+ className: t === r ? mO(vW, "bg-background-secondary-default") : vW,onMouseDown: (e) => e.preventDefault(),onClick: () => a(e.value),children: [@@ -67264,7 +67264,7 @@ function dPe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC})] }, `${e.group}-${e.value}`))]});}-function fPe({ credentials: e, hidden: t, onHidden: n }) {+function pPe({ credentials: e, hidden: t, onHidden: n }) {let r = (0, E.useRef)(null), [i, a] = (0, E.useState)(!1), o = (e.providers || []).filter((e) => e.followable), s = o.filter((e) => !t.has(e.provider_label)).length, c = s === o.length ? "全部来源" : `${s}/${o.length} 个来源`, l = (e, r) => {let i = new Set(t);r ? i.delete(e) : i.add(e), n(i);@@ -67272,20 +67272,20 @@ function fPe({ credentials: e, hidden: t, onHidden: n }) {return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(q, {ref: r,variant: "secondary",- leadingIcon: Rge,+ leadingIcon: zge,"aria-haspopup": "dialog","aria-expanded": i,"aria-label": c,onClick: () => a(!0),children: c- }), /* @__PURE__ */ (0, D.jsx)(UA, {+ }), /* @__PURE__ */ (0, D.jsx)(HA, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: yN,- children: /* @__PURE__ */ (0, D.jsxs)(nj, {+ className: vN,+ children: /* @__PURE__ */ (0, D.jsxs)(tj, {"aria-label": "来源筛选",className: "flex w-64 flex-col gap-1 outline-none",children: [o.length ? /* @__PURE__ */ (0, D.jsxs)("div", {@@ -67301,22 +67301,22 @@ function fPe({ credentials: e, hidden: t, onHidden: n }) {onClick: () => n(new Set(o.map((e) => e.provider_label))),children: "全不选"})]- }) : /* @__PURE__ */ (0, D.jsx)(ck, { children: "暂无可用来源" }), o.map((e) => {+ }) : /* @__PURE__ */ (0, D.jsx)(sk, { children: "暂无可用来源" }), o.map((e) => {let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(EN, {+ children: [/* @__PURE__ */ (0, D.jsx)(TN, {isSelected: !t.has(e.provider_label),onChange: (t) => l(e.provider_label, t),children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(mW, { provider: e.provider }), e.provider_label]+ children: [/* @__PURE__ */ (0, D.jsx)(pW, { provider: e.provider }), e.provider_label]})- }), n ? /* @__PURE__ */ (0, D.jsx)(HO, {+ }), n ? /* @__PURE__ */ (0, D.jsx)(VO, {variant: "ghost",size: "xs",className: "ml-auto",- href: uPe,+ href: dPe,onClick: () => a(!1),children: "打开凭据设置"}) : null]@@ -67325,7 +67325,7 @@ function fPe({ credentials: e, hidden: t, onHidden: n }) {})})] });}-function pPe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {+function mPe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {if (e.kind === "error") return /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: e.line,@@ -67333,7 +67333,7 @@ function pPe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {});let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});return /* @__PURE__ */ (0, D.jsxs)("div", {- className: GO({+ className: WO({variant: "outlined",padding: "none",className: "flex flex-col gap-2 p-4"@@ -67344,15 +67344,15 @@ function pPe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {children: e.line}),a.length ? a.map((e) => {- let n = bW(t, e);- return /* @__PURE__ */ (0, D.jsx)(EN, {+ let n = yW(t, e);+ return /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: !e.known && !r.has(n),isDisabled: e.known,onChange: (e) => i(n, e),children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-1.5",children: [- /* @__PURE__ */ (0, D.jsx)(mW, { provider: e.provider }),+ /* @__PURE__ */ (0, D.jsx)(pW, { provider: e.provider }),/* @__PURE__ */ (0, D.jsx)("b", {className: "text-body-medium",children: e.provider_label@@ -67368,22 +67368,22 @@ function pPe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {]})}, n);- }) : /* @__PURE__ */ (0, D.jsx)(ck, { children: lPe }),+ }) : /* @__PURE__ */ (0, D.jsx)(sk, { children: uPe }),(e.external_searches || []).map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, D.jsx)("small", {className: "text-caption-1-regular text-text-secondary",children: e.evidence- }), /* @__PURE__ */ (0, D.jsx)(dk, {+ }), /* @__PURE__ */ (0, D.jsx)(uk, {href: e.url,children: `${e.label}:${e.query}`})]}, e.url)),- o.length ? /* @__PURE__ */ (0, D.jsx)(ck, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null+ o.length ? /* @__PURE__ */ (0, D.jsx)(sk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null]});}-function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {+function hPe({ data: e, credentials: t, readOnly: n, toast: r }) {let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(!1), [m, h] = (0, E.useState)(null), [g, _] = (0, E.useState)(-1), v = (0, E.useRef)(null), y = (0, E.useRef)(null), [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, E.useState)(/* @__PURE__ */ new Set()), [w, T] = (0, E.useState)(""), [O, k] = (0, E.useState)(0);(0, E.useEffect)(() => {let e = i.trim();@@ -67403,7 +67403,7 @@ function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {matched: t.matched || "",n: t.n || 0,group: e.label- }))), [A.data]), { job: M, running: N, outcome: P, start: F, dismiss: I } = PV({+ }))), [A.data]), { job: M, running: N, outcome: P, start: F, dismiss: I } = NV({queryKey: $n,queryFn: ({ signal: e }) => Mr(e),start: (e) => Fr([e]),@@ -67435,7 +67435,7 @@ function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {}}, ie = P?.results || [], ae = ie.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !b.has(e.provider_label || "")).map((e) => ({candidate: e,- key: bW(t, e)+ key: yW(t, e)})).filter((e) => !S.has(e.key))), oe = bt({mutationFn: async (e) => {let t = [], n = [];@@ -67465,7 +67465,7 @@ function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {onError: (e) => T(V(e))}), se = e.suggestions || [], ce = !c.includes("/");return /* @__PURE__ */ (0, D.jsxs)("div", {- className: GO({+ className: WO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -67485,11 +67485,11 @@ function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {let t = e.relatedTarget;!e.currentTarget.contains(t) && !y.current?.contains(t) && p(!1);},- children: [/* @__PURE__ */ (0, D.jsx)(iM, {+ children: [/* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "来源链接、名字或 id",- placeholder: oPe,+ placeholder: sPe,value: i,- leadingIcon: RO,+ leadingIcon: LO,enterKeyHint: "search",isDisabled: n,onChange: a,@@ -67500,7 +67500,7 @@ function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {s(!1), a(e.currentTarget.value);},onKeyDown: re- }), te ? /* @__PURE__ */ (0, D.jsx)(dPe, {+ }), te ? /* @__PURE__ */ (0, D.jsx)(fPe, {field: v,menu: y,options: j,@@ -67510,7 +67510,7 @@ function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {onClose: ne}) : null]}),- /* @__PURE__ */ (0, D.jsx)(fPe, {+ /* @__PURE__ */ (0, D.jsx)(pPe, {credentials: t,hidden: b,onHidden: x@@ -67527,9 +67527,9 @@ function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {/* @__PURE__ */ (0, D.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",- children: [N || F.isPending ? /* @__PURE__ */ (0, D.jsx)(ZP, {+ children: [N || F.isPending ? /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,- label: M?.message || (M?.total ? `查找中:${M.checked || 0}/${M.total}` : ce ? sPe : cPe),+ label: M?.message || (M?.total ? `查找中:${M.checked || 0}/${M.total}` : ce ? cPe : lPe),value: M?.checked,total: M?.total}) : null, w ? /* @__PURE__ */ (0, D.jsx)(J, {@@ -67541,8 +67541,8 @@ function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {ie.length ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(uk, { children: "查找结果" }),- ie.map((e, t) => /* @__PURE__ */ (0, D.jsx)(pPe, {+ /* @__PURE__ */ (0, D.jsx)(lk, { children: "查找结果" }),+ ie.map((e, t) => /* @__PURE__ */ (0, D.jsx)(mPe, {row: e,at: t,hidden: b,@@ -67597,23 +67597,23 @@ function mPe({ data: e, credentials: t, readOnly: n, toast: r }) {}//#endregion//#region src/react/follow-manage/alias-rename-dialog.tsx-function hPe({ group: e, close: t, receipt: n }) {- return /* @__PURE__ */ (0, D.jsx)(aM, {+function gPe({ group: e, close: t, receipt: n }) {+ return /* @__PURE__ */ (0, D.jsx)(iM, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",label: "修改统一名称",- children: e ? /* @__PURE__ */ (0, D.jsx)(gPe, {+ children: e ? /* @__PURE__ */ (0, D.jsx)(_Pe, {group: e,close: t,receipt: n}, e.canonical_key) : null});}-function gPe({ group: e, close: t, receipt: n }) {- let [r, i] = (0, E.useState)(e.canonical_name), a = ek();+function _Pe({ group: e, close: t, receipt: n }) {+ let [r, i] = (0, E.useState)(e.canonical_name), a = $O();return /* @__PURE__ */ (0, D.jsxs)("form", {onSubmit: (i) => {i.preventDefault(), r.trim() && r.trim() !== e.canonical_name && a.run("rename", (t) => Vr(e.canonical_key, r.trim(), t), () => {@@ -67622,7 +67622,7 @@ function gPe({ group: e, close: t, receipt: n }) {},className: "flex min-h-0 flex-col gap-4 p-5",children: [- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(iA, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "修改统一名称"@@ -67631,7 +67631,7 @@ function gPe({ group: e, close: t, receipt: n }) {className: "text-body-2-regular wrap-anywhere text-text-secondary",children: ["当前名称:", e.canonical_name]}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "统一名称",autoFocus: !0,value: r,@@ -67639,7 +67639,7 @@ function gPe({ group: e, close: t, receipt: n }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: "选择已有别名" }), /* @__PURE__ */ (0, D.jsx)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: "选择已有别名" }), /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-wrap gap-2",children: e.aliases.map((e) => /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -67676,30 +67676,30 @@ function gPe({ group: e, close: t, receipt: n }) {}//#endregion//#region src/react/follow-manage/alias-manager.tsx-var _Pe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, xW = nR({- rowSelectionFeature: VR,- rowSortingFeature: ez,- rowPaginationFeature: bR,- columnVisibilityFeature: uR,- sortedRowModel: nz(),- paginatedRowModel: tz()-}), vPe = xW, SW = {+var vPe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, bW = tR({+ rowSelectionFeature: BR,+ rowSortingFeature: $R,+ rowPaginationFeature: yR,+ columnVisibilityFeature: lR,+ sortedRowModel: tz(),+ paginatedRowModel: ez()+}), yPe = bW, xW = {id: "select",label: "选择",width: 48,min: 48,max: 48,required: !0-}, CW = {+}, SW = {id: "canonical",label: "统一名称",width: 280,min: 240,required: !0,flex: !0-}, yPe = [+}, bPe = [+ xW,SW,- CW,{id: "alias",label: "平台别名",@@ -67715,9 +67715,9 @@ var _Pe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作label: "操作",width: 112}-], bPe = [+], xPe = [+ xW,SW,- CW,{id: "aliases",label: "平台别名",@@ -67729,16 +67729,16 @@ var _Pe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作width: 184,min: 168}-], xPe = (e) => e.alias;-function SPe(e, t, n) {+], SPe = (e) => e.alias;+function CPe(e, t, n) {let r = n ? `name:${n}` : "", i = r && e.find((e) => e.author_key === r) || e.find((e) => e.author_name === t || e.entity_name === t);return i ? e.filter((e) => e.author_key === i.author_key) : [];}-function wW({ sources: e, name: t, canonicalKey: n }) {+function CW({ sources: e, name: t, canonicalKey: n }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(hW, {- group: SPe(e, t, n),+ children: [/* @__PURE__ */ (0, D.jsx)(mW, {+ group: CPe(e, t, n),name: t}), /* @__PURE__ */ (0, D.jsx)("b", {className: "text-body-medium",@@ -67746,8 +67746,8 @@ function wW({ sources: e, name: t, canonicalKey: n }) {})]});}-function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {- let a = bz("alias-suggestions", yPe), o = bz("alias-saved", bPe), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)({}), [d, f] = (0, E.useState)({}), p = IV(() => u({})), m = IV(() => f({})), [h, g] = (0, E.useState)([]), [_, v] = (0, E.useState)([]), [y, b] = (0, E.useState)({+function wPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {+ let a = yz("alias-suggestions", bPe), o = yz("alias-saved", xPe), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)({}), [d, f] = (0, E.useState)({}), p = FV(() => u({})), m = FV(() => f({})), [h, g] = (0, E.useState)([]), [_, v] = (0, E.useState)([]), [y, b] = (0, E.useState)({pageIndex: 0,pageSize: 20}), [x, S] = (0, E.useState)({@@ -67809,7 +67809,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i});}, ee = (e) => void Ys({title: "移除创作者别名",- body: _Pe(e),+ body: vPe(e),confirmLabel: "移除创作者别名",onConfirm: () => F.mutateAsync(e)}), L = (0, E.useRef)({@@ -67831,15 +67831,15 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: irename: c};let te = (0, E.useMemo)(() => {- let e = tR();+ let e = eR();return e.columns([e.display({id: "select",- header: (e) => /* @__PURE__ */ (0, D.jsx)(Dz, {+ header: (e) => /* @__PURE__ */ (0, D.jsx)(Ez, {table: e.table,label: "全选待合并别名"}),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(EN, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(TN, {slot: null,isSelected: e.row.getIsSelected(),"aria-label": `选择别名 ${e.row.original.alias},归入 ${e.row.original.canonical}`,@@ -67848,7 +67848,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}),e.accessor("canonical", {header: "统一名称",- cell: (e) => /* @__PURE__ */ (0, D.jsx)(wW, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(CW, {sources: L.current.sources,name: e.getValue()})@@ -67878,15 +67878,15 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i})]);}, []), ne = (0, E.useMemo)(() => {- let e = tR();+ let e = eR();return e.columns([e.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, D.jsx)(Dz, {+ header: ({ table: e }) => /* @__PURE__ */ (0, D.jsx)(Ez, {table: e,label: "全选已保存别名"}),- cell: ({ row: e }) => /* @__PURE__ */ (0, D.jsx)(EN, {+ cell: ({ row: e }) => /* @__PURE__ */ (0, D.jsx)(TN, {slot: null,"aria-label": `选择已保存别名 ${e.original.canonical_name}`,isSelected: e.getIsSelected(),@@ -67896,7 +67896,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ie.accessor("canonical_name", {id: "canonical",header: "统一名称",- cell: (e) => /* @__PURE__ */ (0, D.jsx)(wW, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(CW, {sources: L.current.sources,name: e.getValue(),canonicalKey: e.row.original.canonical_key@@ -67913,7 +67913,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ivariant: "ghost",size: "xs",iconOnly: !0,- leadingIcon: DO,+ leadingIcon: EO,"aria-label": `移除别名 ${e.name}`,disabled: L.current.readOnly,...Y(L.current.removing),@@ -67935,11 +67935,11 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i})})]);- }, []), re = rz({- features: xW,+ }, []), re = nz({+ features: bW,data: t,columns: te,- getRowId: xPe,+ getRowId: SPe,state: {rowSelection: l,sorting: h,@@ -67958,8 +67958,8 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i},onPaginationChange: b,enableRowSelection: !0- }), ie = rz({- features: vPe,+ }), ie = nz({+ features: yPe,data: e,columns: ne,getRowId: (e) => e.canonical_key,@@ -67983,7 +67983,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ionPaginationChange: S}), ae = re.getSelectedRowModel().rows.map((e) => e.original), oe = ie.getSelectedRowModel().rows.flatMap((e) => e.original.aliases.map((e) => e.name)), se = Y(N.isPending);return /* @__PURE__ */ (0, D.jsxs)("div", {- className: GO({+ className: WO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -67994,10 +67994,10 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: "手动添加别名" }), /* @__PURE__ */ (0, D.jsxs)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: "手动添加别名" }), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "统一名称",placeholder: "在 Peach 中统一显示的名称",value: k,@@ -68005,7 +68005,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iisDisabled: r,className: "w-56"}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "平台别名",placeholder: "平台别名",value: j,@@ -68026,7 +68026,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i]})]}),- T ? /* @__PURE__ */ (0, D.jsx)(lk, { children: T }) : null,+ T ? /* @__PURE__ */ (0, D.jsx)(ck, { children: T }) : null,t.length ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",children: [@@ -68034,7 +68034,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i"data-responsive-toolbar": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-heading": "",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: "待合并" }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: "待合并" }), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: `${t.length} 组`})]@@ -68049,7 +68049,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ionClick: () => I(t, !0),children: `全部合并(${t.length})`}),- /* @__PURE__ */ (0, D.jsx)(gz, {+ /* @__PURE__ */ (0, D.jsx)(hz, {label: "待合并创作者别名",sorting: h,options: [@@ -68073,14 +68073,14 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}));}}),- /* @__PURE__ */ (0, D.jsx)(wz, {+ /* @__PURE__ */ (0, D.jsx)(Cz, {preferences: a,label: "待合并创作者别名"})]})]}),- /* @__PURE__ */ (0, D.jsxs)(OT, {+ /* @__PURE__ */ (0, D.jsxs)(DT, {label: "待合并别名批量操作",visible: ae.length > 0,count: `已选 ${ae.length} 组`,@@ -68098,11 +68098,11 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: "取消选择"})]}),- /* @__PURE__ */ (0, D.jsx)(pz, {+ /* @__PURE__ */ (0, D.jsx)(fz, {follow: !0,preferences: a,onRowClick: (e) => re.getRow(e)?.toggleSelected(),- children: /* @__PURE__ */ (0, D.jsxs)(iz, {+ children: /* @__PURE__ */ (0, D.jsxs)(rz, {"aria-label": "待合并创作者别名",size: "sm",sortDescriptor: h[0] ? {@@ -68110,36 +68110,36 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: idirection: h[0].desc ? "descending" : "ascending"} : void 0,onSortChange: (e) => re.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),- children: [/* @__PURE__ */ (0, D.jsxs)(jj, { children: [re.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(Mj, {+ children: [/* @__PURE__ */ (0, D.jsxs)(Aj, { children: [re.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(jj, {id: e.id,isRowHeader: e.column.id === "canonical",allowsSorting: e.column.getCanSort(),...a.columnProps(e.id),children: ({ sortDirection: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",- children: [cL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [sL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": t || void 0,- children: /* @__PURE__ */ (0, D.jsx)(gN, {})+ children: /* @__PURE__ */ (0, D.jsx)(hN, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Tz, {+ }), /* @__PURE__ */ (0, D.jsx)(wz, {preferences: a,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, D.jsx)(Mj, {+ }, e.id)), /* @__PURE__ */ (0, D.jsx)(jj, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: a.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(Fj, { children: re.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Rj, {+ })] }), /* @__PURE__ */ (0, D.jsx)(Pj, { children: re.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Lj, {id: e.id,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(Bj, { children: cL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(Bj, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(zj, { children: sL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(zj, { "data-table-space": "" })]}, e.id)) })]})}),- /* @__PURE__ */ (0, D.jsx)(_z, {+ /* @__PURE__ */ (0, D.jsx)(gz, {label: "待合并创作者别名",unit: "组",total: t.length,@@ -68155,13 +68155,13 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i"data-responsive-toolbar": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-heading": "",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: "已保存别名" }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: "已保存别名" }), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: `${e.length} 组`})]}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, D.jsx)(gz, {+ children: [/* @__PURE__ */ (0, D.jsx)(hz, {label: "已保存创作者别名",sorting: _,options: [{@@ -68177,13 +68177,13 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ipageIndex: 0}));}- }), /* @__PURE__ */ (0, D.jsx)(wz, {+ }), /* @__PURE__ */ (0, D.jsx)(Cz, {preferences: o,label: "已保存创作者别名"})]})]}),- /* @__PURE__ */ (0, D.jsxs)(OT, {+ /* @__PURE__ */ (0, D.jsxs)(DT, {label: "已保存别名批量操作",visible: oe.length > 0,count: `已选 ${oe.length} 个别名`,@@ -68207,11 +68207,11 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: "取消选择"})]}),- e.length ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(pz, {+ e.length ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(fz, {follow: !0,preferences: o,onRowClick: (e) => ie.getRow(e)?.toggleSelected(),- children: /* @__PURE__ */ (0, D.jsxs)(iz, {+ children: /* @__PURE__ */ (0, D.jsxs)(rz, {"aria-label": "已保存创作者别名",size: "sm",sortDescriptor: _[0] ? {@@ -68219,45 +68219,45 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: idirection: _[0].desc ? "descending" : "ascending"} : void 0,onSortChange: (e) => ie.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),- children: [/* @__PURE__ */ (0, D.jsxs)(jj, { children: [ie.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(Mj, {+ children: [/* @__PURE__ */ (0, D.jsxs)(Aj, { children: [ie.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, D.jsx)(jj, {id: e.id,isRowHeader: e.column.id === "canonical",allowsSorting: e.column.getCanSort(),...o.columnProps(e.id),children: ({ sortDirection: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",- children: [cL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [sL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": t || void 0,- children: /* @__PURE__ */ (0, D.jsx)(gN, {})+ children: /* @__PURE__ */ (0, D.jsx)(hN, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Tz, {+ }), /* @__PURE__ */ (0, D.jsx)(wz, {preferences: o,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, D.jsx)(Mj, {+ }, e.id)), /* @__PURE__ */ (0, D.jsx)(jj, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: o.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(Fj, { children: ie.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Rj, {+ })] }), /* @__PURE__ */ (0, D.jsx)(Pj, { children: ie.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Lj, {id: e.id,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(Bj, { children: cL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(Bj, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(zj, { children: sL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(zj, { "data-table-space": "" })]}, e.id)) })]})- }), /* @__PURE__ */ (0, D.jsx)(_z, {+ }), /* @__PURE__ */ (0, D.jsx)(gz, {label: "已保存创作者别名",unit: "组",total: e.length,pagination: w,onChange: S- })] }) : /* @__PURE__ */ (0, D.jsx)(YO, {+ })] }) : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: r_e,+ icon: i_e,title: "还没有保存创作者别名",- actions: r ? void 0 : /* @__PURE__ */ (0, D.jsx)(JO, {+ actions: r ? void 0 : /* @__PURE__ */ (0, D.jsx)(qO, {target: "input[aria-label=\"统一名称\"]",children: "添加别名"}),@@ -68265,7 +68265,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i})]}),- /* @__PURE__ */ (0, D.jsx)(hPe, {+ /* @__PURE__ */ (0, D.jsx)(gPe, {group: s,close: () => c(null),receipt: i@@ -68275,7 +68275,7 @@ function CPe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var wPe = gO({+var TPe = hO({sm: {track: "h-4 w-7",trackRadius: {@@ -68337,23 +68337,23 @@ var wPe = gO({}}});-function TPe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = wPe[t];+function EPe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = TPe[t];return /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,- className: hO("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? hO("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: mO("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? mO("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, D.jsx)("span", {- className: hO("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, D.jsx)("span", { className: hO("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: mO("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, D.jsx)("span", { className: mO("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}-function TW({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, D.jsx)(wbe, {+function wW({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, D.jsx)(Tbe, {ref: i,...a,- className: (t) => hO("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(TPe, {+ className: (t) => mO("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(EPe, {state: e,size: n,shape: r@@ -68365,8 +68365,8 @@ function TW({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/follow-manage/add-feed.tsx-var EPe = "输入女优名,到 JavDB 找她的演员页";-function DPe(e, t) {+var DPe = "输入女优名,到 JavDB 找她的演员页";+function OPe(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);if (n.size > 1) return {@@ -68385,10 +68385,10 @@ function DPe(e, t) {blocked: !1};}-function OPe({ card: e, picked: t, onPick: n }) {+function kPe({ card: e, picked: t, onPick: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(EN, {+ children: [/* @__PURE__ */ (0, D.jsx)(TN, {isSelected: t,onChange: n,children: /* @__PURE__ */ (0, D.jsxs)("span", {@@ -68398,7 +68398,7 @@ function OPe({ card: e, picked: t, onPick: n }) {className: "min-w-0 break-words",children: e.names.join("、")}),- e.record ? /* @__PURE__ */ (0, D.jsx)(BO, {+ e.record ? /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "neutral",children: e.record@@ -68409,14 +68409,14 @@ function OPe({ card: e, picked: t, onPick: n }) {}) : null]})- }), /* @__PURE__ */ (0, D.jsx)(dk, {+ }), /* @__PURE__ */ (0, D.jsx)(uk, {href: e.url,children: e.id})]});}-function kPe({ readOnly: e, toast: t, onAdded: n }) {- let [r, i] = (0, E.useState)(""), [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), l = ek(), u = () => {+function APe({ readOnly: e, toast: t, onAdded: n }) {+ let [r, i] = (0, E.useState)(""), [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), l = $O(), u = () => {let t = r.trim();t && !e && l.run("lookup", (e) => Yr(t, e), (e) => {o(e), c(new Set(e.suggested));@@ -68429,9 +68429,9 @@ function kPe({ readOnly: e, toast: t, onAdded: n }) {a && l.run("follow", (e) => Xr(a.q, [...s], e), (e) => {t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();});- }, m = a ? DPe(a, s) : null;+ }, m = a ? OPe(a, s) : null;return /* @__PURE__ */ (0, D.jsxs)("div", {- className: GO({+ className: WO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -68444,11 +68444,11 @@ function kPe({ readOnly: e, toast: t, onAdded: n }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-64 grow",- children: /* @__PURE__ */ (0, D.jsx)(iM, {+ children: /* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "女优名",- placeholder: EPe,+ placeholder: DPe,value: r,- leadingIcon: RO,+ leadingIcon: LO,enterKeyHint: "search",isDisabled: e,onChange: i,@@ -68470,16 +68470,16 @@ function kPe({ readOnly: e, toast: t, onAdded: n }) {a ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(uk, { children: "JavDB 上的演员卡" }),- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, D.jsx)(OPe, {+ /* @__PURE__ */ (0, D.jsx)(lk, { children: "JavDB 上的演员卡" }),+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, D.jsx)(kPe, {card: e,picked: s.has(e.id),onPick: (t) => c((n) => {let r = new Set(n);return t ? r.add(e.id) : r.delete(e.id), r;})- }, e.id)) : /* @__PURE__ */ (0, D.jsx)(ck, { children: "JavDB 上没有搜到这个名字。" }),- a.candidates.length ? /* @__PURE__ */ (0, D.jsx)(ck, {+ }, e.id)) : /* @__PURE__ */ (0, D.jsx)(sk, { children: "JavDB 上没有搜到这个名字。" }),+ a.candidates.length ? /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"}) : null,@@ -68506,14 +68506,14 @@ function kPe({ readOnly: e, toast: t, onAdded: n }) {}//#endregion//#region src/react/follow-manage/feed-sources.tsx-var APe = nR({- rowPaginationFeature: bR,- rowSelectionFeature: VR,- rowSortingFeature: ez,- columnVisibilityFeature: uR,- sortedRowModel: nz(),- paginatedRowModel: tz()-}), EW = {+var jPe = tR({+ rowPaginationFeature: yR,+ rowSelectionFeature: BR,+ rowSortingFeature: $R,+ columnVisibilityFeature: lR,+ sortedRowModel: tz(),+ paginatedRowModel: ez()+}), TW = {select: "选择",name: "名称",kind: "类型",@@ -68523,7 +68523,7 @@ var APe = nR({fetched: "上次拉取",fresh: "上次新增",actions: "操作"-}, jPe = /* @__PURE__ */ new Set(["actions"]), MPe = Object.entries(EW).map(([e, t]) => ({+}, MPe = /* @__PURE__ */ new Set(["actions"]), NPe = Object.entries(TW).map(([e, t]) => ({id: e,label: t,width: e === "select" ? 48 : e === "name" ? 300 : e === "actions" ? 208 : e === "fetched" ? 200 : 160,@@ -68531,37 +68531,37 @@ var APe = nR({max: e === "select" ? 48 : e === "name" ? 2e3 : 800,flex: e === "name",required: e === "select" || e === "name"-})), DW = () => W.invalidateQueries({+})), EW = () => W.invalidateQueries({queryKey: er,exact: !0-}), OW = (e) => e.name || e.url;-function kW(e) {+}), DW = (e) => e.name || e.url;+function OW(e) {try {return new URL(e).hostname.replace(/^www\./, "");} catch {return e;}}-function NPe({ source: e }) {- return e.enabled ? e.last_error ? /* @__PURE__ */ (0, D.jsx)(BO, {+function PPe({ source: e }) {+ return e.enabled ? e.last_error ? /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "rose",children: "拉取失败"- }) : e.last_fetched_at ? /* @__PURE__ */ (0, D.jsx)(BO, {+ }) : e.last_fetched_at ? /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "lime",children: "正常"- }) : /* @__PURE__ */ (0, D.jsx)(BO, {+ }) : /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "gray",children: "未检查"- }) : /* @__PURE__ */ (0, D.jsx)(BO, {+ }) : /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "gray",children: "已暂停"});}-function PPe({ source: e }) {+function FPe({ source: e }) {let t = e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,@@ -68570,31 +68570,31 @@ function PPe({ source: e }) {} : null;return /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${VV}`,- dangerouslySetInnerHTML: { __html: Da(OW(e), t, null, "performer") }+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${BV}`,+ dangerouslySetInnerHTML: { __html: Da(DW(e), t, null, "performer") }});}-var FPe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";-function IPe(e) {+var IPe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";+function LPe(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));return n;}-function AW(e, t) {+function kW(e, t) {let n = e.length === 1 ? e[0] : null;return Ys({title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,- body: n ? `将移除订阅源「${OW(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",+ body: n ? `将移除订阅源「${DW(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",confirmLabel: n ? "移除订阅源" : "移除所选订阅源",danger: !0,onConfirm: t});}-function LPe({ readOnly: e, toast: t }) {+function RPe({ readOnly: e, toast: t }) {let n = yt({queryKey: er,queryFn: ({ signal: e }) => Gr(e)- }), r = ek(), i = bz("jav-feeds", MPe), a = n.data, o = (0, E.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, E.useState)(1), [d, f] = (0, E.useState)(20), [p, m] = (0, E.useState)([]), h = Tr(o.length, d, l);+ }), r = $O(), i = yz("jav-feeds", NPe), a = n.data, o = (0, E.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, E.useState)(1), [d, f] = (0, E.useState)(20), [p, m] = (0, E.useState)([]), h = Tr(o.length, d, l);(0, E.useEffect)(() => {u((e) => Math.min(e, h.pages));}, [h.pages]), (0, E.useEffect)(() => {@@ -68615,13 +68615,13 @@ function LPe({ readOnly: e, toast: t }) {},onSuccess: (e) => {let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;- if (c(/* @__PURE__ */ new Set()), DW(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {+ if (c(/* @__PURE__ */ new Set()), EW(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {let e = n[0];r.setError(`${n.length} 条没有写入:${e.ok ? "" : V(e.error)}`);}},onError: (e) => r.setError(V(e))- }), _ = (0, E.useMemo)(() => IPe(o), [o]), v = (0, E.useRef)({+ }), _ = (0, E.useMemo)(() => LPe(o), [o]), v = (0, E.useRef)({readOnly: e,shared: _,busy: null,@@ -68633,38 +68633,38 @@ function LPe({ readOnly: e, toast: t }) {readOnly: e,shared: _,busy: r.busy,- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Kr(e.id, t, n), () => void DW()),- fetch: (e) => void r.run(`check-${e.id}`, (t) => Jr(t, [e.id]), () => void DW()),- remove: (e) => void AW([e], async () => {- await qr(e.id), t(`已移除订阅源「${OW(e)}」`), DW();+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Kr(e.id, t, n), () => void EW()),+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Jr(t, [e.id]), () => void EW()),+ remove: (e) => void kW([e], async () => {+ await qr(e.id), t(`已移除订阅源「${DW(e)}」`), EW();})};let y = (0, E.useMemo)(() => {- let e = tR(), t = (e) => () => EW[e] || e;+ let e = eR(), t = (e) => () => TW[e] || e;return e.columns([e.display({id: "select",- header: (e) => /* @__PURE__ */ (0, D.jsx)(Dz, {+ header: (e) => /* @__PURE__ */ (0, D.jsx)(Ez, {table: e.table,label: "全选本页订阅源",page: !0}),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(EN, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(TN, {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),- "aria-label": `选择 ${OW(e.row.original)}`+ "aria-label": `选择 ${DW(e.row.original)}`})}),- e.accessor(OW, {+ e.accessor(DW, {id: "name",header: t("name"),cell: (e) => {- let t = FPe(e.row.original, v.current.shared);+ let t = IPe(e.row.original, v.current.shared);return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",children: [- /* @__PURE__ */ (0, D.jsx)(PPe, { source: e.row.original }),+ /* @__PURE__ */ (0, D.jsx)(FPe, { source: e.row.original }),e.getValue(),t ? /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -68692,10 +68692,10 @@ function LPe({ readOnly: e, toast: t }) {rel: "noopener noreferrer",title: "打开来源页面",className: "text-text-primary underline-offset-2 hover:underline",- children: [/* @__PURE__ */ (0, D.jsx)(Z_e, {- site: e.row.original.kind.startsWith("javdb") ? "javdb" : kW(e.getValue()),- label: kW(e.getValue())- }), /* @__PURE__ */ (0, D.jsx)(jO, {+ children: [/* @__PURE__ */ (0, D.jsx)(Q_e, {+ site: e.row.original.kind.startsWith("javdb") ? "javdb" : OW(e.getValue()),+ label: OW(e.getValue())+ }), /* @__PURE__ */ (0, D.jsx)(AO, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"})]@@ -68704,7 +68704,7 @@ function LPe({ readOnly: e, toast: t }) {e.accessor((e) => e.last_error ? "拉取失败" : e.enabled ? "已启用" : "已暂停", {id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(NPe, { source: e.row.original })+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(PPe, { source: e.row.original })}),e.accessor((e) => e.interval_minutes, {id: "interval",@@ -68736,8 +68736,8 @@ function LPe({ readOnly: e, toast: t }) {cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-1",children: [- /* @__PURE__ */ (0, D.jsx)(TW, {- "aria-label": `启用 ${OW(e.row.original)}`,+ /* @__PURE__ */ (0, D.jsx)(wW, {+ "aria-label": `启用 ${DW(e.row.original)}`,isSelected: e.row.original.enabled,isDisabled: v.current.readOnly,onChange: (t) => v.current.toggle(e.row.original, t)@@ -68746,8 +68746,8 @@ function LPe({ readOnly: e, toast: t }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: LO,- "aria-label": `拉取 ${OW(e.row.original)}`,+ leadingIcon: IO,+ "aria-label": `拉取 ${DW(e.row.original)}`,disabled: v.current.readOnly,...Y(v.current.busy === `check-${e.row.original.id}`),onClick: () => v.current.fetch(e.row.original)@@ -68756,8 +68756,8 @@ function LPe({ readOnly: e, toast: t }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: AO,- "aria-label": `移除 ${OW(e.row.original)}`,+ leadingIcon: kO,+ "aria-label": `移除 ${DW(e.row.original)}`,disabled: v.current.readOnly,onClick: () => v.current.remove(e.row.original)})@@ -68765,8 +68765,8 @@ function LPe({ readOnly: e, toast: t }) {})})]);- }, []), b = (0, E.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), x = rz({- features: APe,+ }, []), b = (0, E.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), x = nz({+ features: jPe,data: o,columns: y,getRowId: (e) => String(e.id),@@ -68793,20 +68793,20 @@ function LPe({ readOnly: e, toast: t }) {tone: "error",title: "打不开订阅源",children: V(n.error)- }) : /* @__PURE__ */ (0, D.jsx)(ck, { children: "正在读订阅源。" });- let S = () => void r.run("check", (e) => Jr(e), () => void DW()), C = (e) => c((t) => {+ }) : /* @__PURE__ */ (0, D.jsx)(sk, { children: "正在读订阅源。" });+ let S = () => void r.run("check", (e) => Jr(e), () => void EW()), C = (e) => c((t) => {let n = new Set(t);return n.has(e) ? n.delete(e) : n.add(e), n;}), w = o.filter((e) => s.has(e.id)), T = o.filter((e) => e.last_error);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",- children: [/* @__PURE__ */ (0, D.jsx)(kPe, {+ children: [/* @__PURE__ */ (0, D.jsx)(APe, {readOnly: e,toast: t,- onAdded: () => void DW()+ onAdded: () => void EW()}), /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": "JAV 订阅列表",- className: GO({+ className: WO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -68831,11 +68831,11 @@ function LPe({ readOnly: e, toast: t }) {...Y(r.busy === "check"),children: "立即拉取"}),- /* @__PURE__ */ (0, D.jsx)(wz, {+ /* @__PURE__ */ (0, D.jsx)(Cz, {preferences: i,label: "JAV 订阅源"}),- /* @__PURE__ */ (0, D.jsx)(gz, {+ /* @__PURE__ */ (0, D.jsx)(hz, {label: "JAV 订阅源",sorting: p,onChange: (e) => {@@ -68851,7 +68851,7 @@ function LPe({ readOnly: e, toast: t }) {"fresh"].map((e) => ({id: e,- label: EW[e]+ label: TW[e]}))})]@@ -68867,13 +68867,13 @@ function LPe({ readOnly: e, toast: t }) {children: T.map((e) => /* @__PURE__ */ (0, D.jsx)("li", {className: "min-w-0 truncate",title: e.last_error || "",- children: `${OW(e)}:${mr(e.last_error || "") || "未说明原因"}`+ children: `${DW(e)}:${mr(e.last_error || "") || "未说明原因"}`}, e.id))}),children: "这些订阅源这一轮没有取到新条目。"- }) : null, r.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: r.error }) : null]+ }) : null, r.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: r.error }) : null]}) : null,- /* @__PURE__ */ (0, D.jsxs)(OT, {+ /* @__PURE__ */ (0, D.jsxs)(DT, {visible: w.length > 0,label: "订阅源批量操作",count: `已选 ${w.length} 条订阅源`,@@ -68905,7 +68905,7 @@ function LPe({ readOnly: e, toast: t }) {size: "small",disabled: e,...Y(g.isPending),- onClick: () => void AW(w, () => g.mutateAsync({+ onClick: () => void kW(w, () => g.mutateAsync({ids: w.map((e) => e.id),action: "remove"})),@@ -68919,11 +68919,11 @@ function LPe({ readOnly: e, toast: t }) {})]}),- o.length ? /* @__PURE__ */ (0, D.jsx)(pz, {+ o.length ? /* @__PURE__ */ (0, D.jsx)(fz, {follow: !0,preferences: i,onRowClick: (e) => C(Number(e)),- children: /* @__PURE__ */ (0, D.jsxs)(iz, {+ children: /* @__PURE__ */ (0, D.jsxs)(rz, {"aria-label": "JAV 订阅源",size: "sm",sortDescriptor: p[0] ? {@@ -68931,48 +68931,48 @@ function LPe({ readOnly: e, toast: t }) {direction: p[0].desc ? "descending" : "ascending"} : void 0,onSortChange: (e) => x.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),- children: [/* @__PURE__ */ (0, D.jsxs)(jj, { children: [x.getHeaderGroups()[0].headers.map((e) => {- let t = cL(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, D.jsx)(Mj, {+ children: [/* @__PURE__ */ (0, D.jsxs)(Aj, { children: [x.getHeaderGroups()[0].headers.map((e) => {+ let t = sL(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, D.jsx)(jj, {id: e.id,isRowHeader: e.column.id === "name",allowsSorting: e.column.getCanSort(),...i.columnProps(e.id),- children: ({ sortDirection: n }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [jPe.has(e.column.id) ? /* @__PURE__ */ (0, D.jsx)(ux, { children: t }) : /* @__PURE__ */ (0, D.jsxs)("span", {+ children: ({ sortDirection: n }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [MPe.has(e.column.id) ? /* @__PURE__ */ (0, D.jsx)(ux, { children: t }) : /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-0.5",children: [t, e.column.getCanSort() ? /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, D.jsx)(gN, {})+ children: /* @__PURE__ */ (0, D.jsx)(hN, {})}) : null]- }), /* @__PURE__ */ (0, D.jsx)(Tz, {+ }), /* @__PURE__ */ (0, D.jsx)(wz, {preferences: i,id: e.id})] })}, e.id);- }), /* @__PURE__ */ (0, D.jsx)(Mj, {+ }), /* @__PURE__ */ (0, D.jsx)(jj, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: i.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(Fj, { children: x.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Rj, {+ })] }), /* @__PURE__ */ (0, D.jsx)(Pj, { children: x.getRowModel().rows.map((e) => /* @__PURE__ */ (0, D.jsxs)(Lj, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(Bj, { children: cL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(Bj, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(zj, { children: sL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(zj, { "data-table-space": "" })]}, e.id)) })]})- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: Xge,+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: Zge,title: "还没有订阅源",size: "compact",- actions: e ? void 0 : /* @__PURE__ */ (0, D.jsx)(JO, {+ actions: e ? void 0 : /* @__PURE__ */ (0, D.jsx)(qO, {target: "input[aria-label=\"女优名\"]",children: "添加订阅"}),children: "在上面按女优名添加,或在人物页点「订阅新作」。"}),- o.length ? /* @__PURE__ */ (0, D.jsx)(_z, {+ o.length ? /* @__PURE__ */ (0, D.jsx)(gz, {label: "JAV 订阅",total: h.total,unit: "个订阅源",@@ -68998,25 +68998,25 @@ function LPe({ readOnly: e, toast: t }) {}//#endregion//#region src/react/follow-manage/source-list.tsx-var RPe = nR({- rowPaginationFeature: bR,- rowSelectionFeature: VR,- rowSortingFeature: ez,- columnVisibilityFeature: uR,- paginatedRowModel: tz()-}), jW = (e) => (Number(e) || 0).toLocaleString(), zPe = Object.fromEntries(Object.entries(ar).map(([e, t]) => [t, e])), MW = 740;-function BPe() {+var zPe = tR({+ rowPaginationFeature: yR,+ rowSelectionFeature: BR,+ rowSortingFeature: $R,+ columnVisibilityFeature: lR,+ paginatedRowModel: ez()+}), AW = (e) => (Number(e) || 0).toLocaleString(), BPe = Object.fromEntries(Object.entries(ar).map(([e, t]) => [t, e])), jW = 740;+function VPe() {let [e, t] = (0, E.useState)(!1), n = (0, E.useRef)(null), r = (0, E.useCallback)((e) => {if (n.current?.disconnect(), !e) {n.current = null;return;}- let r = new ResizeObserver(() => t(e.clientWidth < MW));- r.observe(e), n.current = r, t(e.clientWidth < MW);+ let r = new ResizeObserver(() => t(e.clientWidth < jW));+ r.observe(e), n.current = r, t(e.clientWidth < jW);}, []);return (0, E.useEffect)(() => () => n.current?.disconnect(), []), [r, e];}-var NW = {+var MW = {select: "选择",author: "创作者",source: "来源",@@ -69024,7 +69024,7 @@ var NW = {status: "状态",checked: "上次检查",actions: "操作"-}, VPe = Object.entries(NW).map(([e, t]) => ({+}, HPe = Object.entries(MW).map(([e, t]) => ({id: e,label: t,width: e === "select" ? 48 : e === "source" ? 320 : e === "author" ? 240 : e === "actions" ? 208 : 184,@@ -69033,16 +69033,16 @@ var NW = {flex: e === "source",required: e === "select" || e === "source"}));-function HPe({ source: e, selected: t, onToggle: n, handlers: r }) {+function UPe({ source: e, selected: t, onToggle: n, handlers: r }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-selected": t || void 0,"data-follow-source-row": "",className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 last:rounded-b-lg max-sm:gap-x-2",onClick: (e) => {- yI(e, e.currentTarget) && n(!t);+ vI(e, e.currentTarget) && n(!t);},children: [- /* @__PURE__ */ (0, D.jsx)(EN, {+ /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: t,onChange: n,"aria-label": `选择 ${e.label}`@@ -69052,11 +69052,11 @@ function HPe({ source: e, selected: t, onToggle: n, handlers: r }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {"data-follow-source-site": "",className: "flex shrink-0 items-center text-body-medium",- children: /* @__PURE__ */ (0, D.jsx)(mW, { provider: e.provider })- }), /* @__PURE__ */ (0, D.jsx)(_W, { source: e })]+ children: /* @__PURE__ */ (0, D.jsx)(pW, { provider: e.provider })+ }), /* @__PURE__ */ (0, D.jsx)(gW, { source: e })]}),/* @__PURE__ */ (0, D.jsx)(ux, { children: e.provider_label }),- /* @__PURE__ */ (0, D.jsx)(gW, { source: e }),+ /* @__PURE__ */ (0, D.jsx)(hW, { source: e }),e.last_error ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-follow-source-error": "",className: "flex min-w-0 basis-full gap-3 max-sm:gap-x-2 sm:order-last",@@ -69070,7 +69070,7 @@ function HPe({ source: e, selected: t, onToggle: n, handlers: r }) {className: "w-(--icon-inline) shrink-0 text-body-medium"}), /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 grow",- children: /* @__PURE__ */ (0, D.jsx)(vW, { text: e.last_error })+ children: /* @__PURE__ */ (0, D.jsx)(_W, { text: e.last_error })})]})]}) : null,@@ -69082,7 +69082,7 @@ function HPe({ source: e, selected: t, onToggle: n, handlers: r }) {className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",children: ai(e)}),- /* @__PURE__ */ (0, D.jsx)(TW, {+ /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": `启用 ${e.label}`,isSelected: e.enabled,isDisabled: r.readOnly,@@ -69094,7 +69094,7 @@ function HPe({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: LO,+ leadingIcon: IO,"aria-label": `检查 ${e.label} 的更新`,disabled: !e.enabled || r.readOnly,...Y(r.busy),@@ -69103,7 +69103,7 @@ function HPe({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: AO,+ leadingIcon: kO,"aria-label": `移除 ${e.label}`,disabled: r.readOnly,onClick: () => r.remove(e)@@ -69114,11 +69114,11 @@ function HPe({ source: e, selected: t, onToggle: n, handlers: r }) {]});}-function UPe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {+function WPe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(fr).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = Dr(r, c);return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": `${t} 的关注来源`,- className: GO({+ className: WO({variant: "raised",padding: "none",className: "flex flex-col overflow-hidden p-2"@@ -69128,7 +69128,7 @@ function UPe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,"data-open": n || void 0,className: "flex flex-wrap items-center gap-3 px-2 py-2.5",children: [- /* @__PURE__ */ (0, D.jsx)(hW, {+ /* @__PURE__ */ (0, D.jsx)(mW, {group: e,name: t}),@@ -69142,7 +69142,7 @@ function UPe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,className: "flex min-w-0 flex-wrap items-center gap-1 text-body-2-regular",title: d,children: [- e.map((e) => /* @__PURE__ */ (0, D.jsx)(mW, { provider: e.provider }, e.id)),+ e.map((e) => /* @__PURE__ */ (0, D.jsx)(pW, { provider: e.provider }, e.id)),/* @__PURE__ */ (0, D.jsx)(ux, { children: `来源:${d}` }),u ? /* @__PURE__ */ (0, D.jsx)("span", {className: "ml-1 shrink-0 text-text-error-primary",@@ -69158,7 +69158,7 @@ function UPe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: LO,+ leadingIcon: IO,"aria-label": `检查 ${t} 的全部来源`,disabled: !l.length || i.readOnly,...Y(i.busy),@@ -69168,7 +69168,7 @@ function UPe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Dge,+ leadingIcon: Oge,"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false","aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,onClick: () => o(!p.all),@@ -69178,7 +69178,7 @@ function UPe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,size: "small","aria-expanded": n,"aria-controls": f,- leadingIcon: eF,+ leadingIcon: $P,"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,onClick: () => a(!n),children: n ? "收起" : "展开"@@ -69186,11 +69186,11 @@ function UPe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,})]})]- }), /* @__PURE__ */ (0, D.jsx)($P, {+ }), /* @__PURE__ */ (0, D.jsx)(QP, {id: f,open: n,"data-source-divider": !0,- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(HPe, {+ children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(UPe, {source: e,handlers: i,selected: r.has(e.id),@@ -69199,8 +69199,8 @@ function UPe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,})]});}-function WPe(e) {- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h, onAdd: g } = e, _ = t.sources, v = (0, E.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), [S, C] = BPe(), [w, T] = (0, E.useState)(""), O = (0, E.useMemo)(() => Cr(_, n, r, v), [+function GPe(e) {+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h, onAdd: g } = e, _ = t.sources, v = (0, E.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), [S, C] = VPe(), [w, T] = (0, E.useState)(""), O = (0, E.useMemo)(() => Cr(_, n, r, v), [_,n,r,@@ -69210,7 +69210,7 @@ function WPe(e) {n,r,v- ]), { job: A, running: j, outcome: M, start: N } = PV({+ ]), { job: A, running: j, outcome: M, start: N } = NV({queryKey: Qn,queryFn: ({ signal: e }) => jr(e),start: (e) => Pr(e),@@ -69297,16 +69297,16 @@ function WPe(e) {readOnly: c};let oe = ae.current, se = (0, E.useMemo)(() => {- let e = tR(), t = (e) => () => NW[e] || e;+ let e = eR(), t = (e) => () => MW[e] || e;return e.columns([e.display({id: "select",- header: (e) => /* @__PURE__ */ (0, D.jsx)(Dz, {+ header: (e) => /* @__PURE__ */ (0, D.jsx)(Ez, {table: e.table,label: "全选本页来源",page: !0}),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(EN, {+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(TN, {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),@@ -69318,7 +69318,7 @@ function WPe(e) {header: t("author"),cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(hW, {+ children: [/* @__PURE__ */ (0, D.jsx)(mW, {group: e.row.original.group,name: e.row.original.author}), /* @__PURE__ */ (0, D.jsx)("span", {@@ -69332,7 +69332,7 @@ function WPe(e) {header: t("source"),cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, D.jsx)(_W, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, D.jsx)(vW, { text: e.row.original.source.last_error }) : null]+ children: [/* @__PURE__ */ (0, D.jsx)(gW, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, D.jsx)(_W, { text: e.row.original.source.last_error }) : null]})}),e.accessor((e) => e.source.provider_label, {@@ -69340,13 +69340,13 @@ function WPe(e) {header: t("provider"),cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, D.jsx)(mW, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]+ children: [/* @__PURE__ */ (0, D.jsx)(pW, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]})}),e.display({id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, D.jsx)(gW, { source: e.row.original.source })+ cell: (e) => /* @__PURE__ */ (0, D.jsx)(hW, { source: e.row.original.source })}),e.accessor((e) => e.source.last_checked_at || "", {id: "checked",@@ -69359,7 +69359,7 @@ function WPe(e) {cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex items-center gap-1",children: [- /* @__PURE__ */ (0, D.jsx)(TW, {+ /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": `启用 ${e.row.original.source.label}`,isSelected: e.row.original.source.enabled,isDisabled: oe.readOnly,@@ -69369,7 +69369,7 @@ function WPe(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: LO,+ leadingIcon: IO,"aria-label": `检查 ${e.row.original.source.label} 的更新`,disabled: !e.row.original.source.enabled || oe.readOnly,...Y(oe.busy),@@ -69379,7 +69379,7 @@ function WPe(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: AO,+ leadingIcon: kO,"aria-label": `移除 ${e.row.original.source.label}`,disabled: oe.readOnly,onClick: () => ae.current.remove(e.row.original.source)@@ -69389,13 +69389,13 @@ function WPe(e) {})]);}, [oe]), ce = (0, E.useMemo)(() => {- let e = zPe[n];+ let e = BPe[n];return e ? [{id: e,desc: r === "desc"}] : [];- }, [n, r]), le = (0, E.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = bz("follow-sources", VPe), fe = Tr(ue ? k.length : O.length, o, i), pe = rz({- features: RPe,+ }, [n, r]), le = (0, E.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = yz("follow-sources", HPe), fe = Tr(ue ? k.length : O.length, o, i), pe = nz({+ features: zPe,data: k,columns: se,getRowId: (e) => String(e.source.id),@@ -69430,7 +69430,7 @@ function WPe(e) {}}), me = pe.getRowModel().rows, he = ue ? me.map((e) => e.original.source.id) : O.slice(fe.start, fe.end).flatMap((e) => e.map((e) => e.id)), ge = Dr(s, he), _e = [...s], ve = ri(M), ye = _.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), be = ii(M), xe = O.length > 0 && b.size >= O.length;return _.length ? /* @__PURE__ */ (0, D.jsxs)("div", {- className: GO({+ className: WO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -69447,7 +69447,7 @@ function WPe(e) {children: "关注列表"}), /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: `${_.length.toLocaleString()} 个来源${y.new ? ` · ${jW(y.new)} 条未看` : ""}`+ children: `${_.length.toLocaleString()} 个来源${y.new ? ` · ${AW(y.new)} 条未看` : ""}`})]}), /* @__PURE__ */ (0, D.jsxs)("div", {"data-follow-toolbar-actions": "",@@ -69462,7 +69462,7 @@ function WPe(e) {}) : null,/* @__PURE__ */ (0, D.jsx)(q, {variant: "primary",- leadingIcon: LO,+ leadingIcon: IO,disabled: c,"aria-label": "检查全部",iconOnly: C,@@ -69481,26 +69481,26 @@ function WPe(e) {children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: Kge,+ leadingIcon: qge,"aria-label": nr[0][1],"aria-pressed": !ue,onClick: () => d("default")}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: $ge,+ leadingIcon: e_e,"aria-label": nr[1][1],"aria-pressed": ue,onClick: () => d("table")})]}),- ue ? /* @__PURE__ */ (0, D.jsx)(wz, {+ ue ? /* @__PURE__ */ (0, D.jsx)(Cz, {preferences: de,label: "关注来源"}) : null,/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(mz, {+ children: [/* @__PURE__ */ (0, D.jsx)(pz, {"aria-label": "关注列表排序",prefix: "排序",selectedKey: n,@@ -69509,14 +69509,14 @@ function WPe(e) {let t = String(e);l(t, On[t]);},- children: En.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: En.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",iconOnly: !0,- leadingIcon: AF,+ leadingIcon: kF,"data-icon-state": r === "asc" ? "a" : "b","aria-label": lr(n, r),onClick: () => l(n, r === "asc" ? "desc" : "asc")@@ -69525,7 +69525,7 @@ function WPe(e) {ue ? null : /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",iconOnly: C,- leadingIcon: eF,+ leadingIcon: $P,"aria-expanded": !xe,"aria-label": xe ? "全部展开" : "全部收起",onClick: () => x(xe ? /* @__PURE__ */ new Set() : new Set(O.map((e) => String(e[0].author_key || e[0].id)))),@@ -69540,7 +69540,7 @@ function WPe(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- j ? /* @__PURE__ */ (0, D.jsx)(ZP, {+ j ? /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,label: A?.message || (A?.total ? `${A.older ? "抓取历史" : "检查更新"}:已完成 ${A.checked || 0}/${A.total} 个来源` : "正在准备检查任务"),value: A?.checked,@@ -69571,7 +69571,7 @@ function WPe(e) {}) : null]}),- /* @__PURE__ */ (0, D.jsxs)(OT, {+ /* @__PURE__ */ (0, D.jsxs)(DT, {label: "关注来源批量操作",visible: _e.length > 0,count: `已选 ${_e.length} 个来源`,@@ -69631,11 +69631,11 @@ function WPe(e) {})]}),- ue ? /* @__PURE__ */ (0, D.jsx)(pz, {+ ue ? /* @__PURE__ */ (0, D.jsx)(fz, {follow: !0,preferences: de,onRowClick: (e) => F(Number(e), !s.has(Number(e))),- children: /* @__PURE__ */ (0, D.jsxs)(iz, {+ children: /* @__PURE__ */ (0, D.jsxs)(rz, {"aria-label": "关注来源",size: "sm",sortDescriptor: ce[0] ? {@@ -69646,9 +69646,9 @@ function WPe(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, D.jsxs)(jj, { children: [pe.getHeaderGroups()[0].headers.map((e) => {- let t = e.column.id in ar, n = cL(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, D.jsx)(Mj, {+ children: [/* @__PURE__ */ (0, D.jsxs)(Aj, { children: [pe.getHeaderGroups()[0].headers.map((e) => {+ let t = e.column.id in ar, n = sL(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, D.jsx)(jj, {id: e.id,allowsSorting: t,isRowHeader: e.column.id === "source",@@ -69658,29 +69658,29 @@ function WPe(e) {children: [n, /* @__PURE__ */ (0, D.jsx)("span", {"data-sort-indicator": !0,"data-direction": r || void 0,- children: /* @__PURE__ */ (0, D.jsx)(gN, {})+ children: /* @__PURE__ */ (0, D.jsx)(hN, {})})]- }) : /* @__PURE__ */ (0, D.jsx)(ux, { children: n }), /* @__PURE__ */ (0, D.jsx)(Tz, {+ }) : /* @__PURE__ */ (0, D.jsx)(ux, { children: n }), /* @__PURE__ */ (0, D.jsx)(wz, {preferences: de,id: e.id})] })}, e.id);- }), /* @__PURE__ */ (0, D.jsx)(Mj, {+ }), /* @__PURE__ */ (0, D.jsx)(jj, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: de.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, D.jsx)(Fj, {+ })] }), /* @__PURE__ */ (0, D.jsx)(Pj, {renderEmptyState: () => "这一页没有来源",- children: me.map((e) => /* @__PURE__ */ (0, D.jsxs)(Rj, {+ children: me.map((e) => /* @__PURE__ */ (0, D.jsxs)(Lj, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(Bj, { children: cL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(Bj, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(zj, { children: sL(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, D.jsx)(zj, { "data-table-space": "" })]}, e.id))})]})- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(EN, {+ }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(TN, {isSelected: ge.all,isIndeterminate: ge.some,onChange: (e) => I(he, e),@@ -69690,7 +69690,7 @@ function WPe(e) {className: "flex flex-col gap-3",children: O.slice(fe.start, fe.end).map((e) => {let t = String(e[0].author_key || e[0].id);- return /* @__PURE__ */ (0, D.jsx)(UPe, {+ return /* @__PURE__ */ (0, D.jsx)(WPe, {group: e,name: yr(e, v),handlers: oe,@@ -69705,7 +69705,7 @@ function WPe(e) {}, t);})})] }),- /* @__PURE__ */ (0, D.jsx)(_z, {+ /* @__PURE__ */ (0, D.jsx)(gz, {label: "关注列表",total: fe.total,pagination: {@@ -69723,7 +69723,7 @@ function WPe(e) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "mr-auto text-body-2-regular text-text-secondary",- children: `未看 ${jW(y.new)} · 已看 ${jW(y.seen)} · 已保存 ${jW(y.saved)} · 已忽略 ${jW(y.ignored)}`+ children: `未看 ${AW(y.new)} · 已看 ${AW(y.seen)} · 已保存 ${AW(y.saved)} · 已忽略 ${AW(y.ignored)}`}),/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -69760,8 +69760,8 @@ function WPe(e) {]}) : null]- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: Xge,+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: Zge,title: "还没有关注来源",actions: /* @__PURE__ */ (0, D.jsx)(q, {variant: "primary",@@ -69774,14 +69774,14 @@ function WPe(e) {}//#endregion//#region src/react/follow-manage/follow-manage-page.tsx-var PW = [+var NW = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], FW = (e) => PW.some(([t]) => t === e);-function IW({ term: e, figure: t, unit: n }) {+], PW = (e) => NW.some(([t]) => t === e);+function FW({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: GO({+ className: WO({padding: "none",className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"}),@@ -69801,8 +69801,8 @@ function IW({ term: e, figure: t, unit: n }) {})]});}-function GPe(e) {- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, E.useState)(FW(e.tab) ? e.tab : "list"), [u, d] = (0, E.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, E.useState)(() => An(e.sort, e.dir).sort), [m, h] = (0, E.useState)(() => An(e.sort, e.dir).dir), [g, _] = (0, E.useState)(or(e.layout) ? e.layout : "default"), [v, y] = (0, E.useState)(sr(e.pageSize)), [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), S = yt({+function KPe(e) {+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, E.useState)(PW(e.tab) ? e.tab : "list"), [u, d] = (0, E.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, E.useState)(() => An(e.sort, e.dir).sort), [m, h] = (0, E.useState)(() => An(e.sort, e.dir).dir), [g, _] = (0, E.useState)(or(e.layout) ? e.layout : "default"), [v, y] = (0, E.useState)(sr(e.pageSize)), [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), S = yt({queryKey: Xn,queryFn: ({ signal: e }) => kr(e)}), C = yt({@@ -69830,13 +69830,13 @@ function GPe(e) {dir: r === On[n] ? "" : r});}, j = Sr(k), M = k.filter(fr).length, N = k.filter((e) => e.enabled).length, P = (O.providers || []).filter((e) => e.requirement === "required" && !li(e)).length, F = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;- return /* @__PURE__ */ (0, D.jsxs)(ZO, { children: [+ return /* @__PURE__ */ (0, D.jsxs)(XO, { children: [a ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "warning",title: "本机只能浏览",extra: s ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular",- children: /* @__PURE__ */ (0, D.jsx)(dk, {+ children: /* @__PURE__ */ (0, D.jsx)(uk, {href: s,children: "前往写入端管理关注"})@@ -69844,55 +69844,55 @@ function GPe(e) {children: o}) : null,/* @__PURE__ */ (0, D.jsxs)("div", {- className: bAe,+ className: xAe,"aria-label": "关注概览",children: [- /* @__PURE__ */ (0, D.jsx)(IW, {+ /* @__PURE__ */ (0, D.jsx)(FW, {term: "关注创作者",figure: j.length,unit: "位"}),- /* @__PURE__ */ (0, D.jsx)(IW, {+ /* @__PURE__ */ (0, D.jsx)(FW, {term: "启用来源",figure: N,unit: `/ ${k.length}`}),- /* @__PURE__ */ (0, D.jsx)(IW, {+ /* @__PURE__ */ (0, D.jsx)(FW, {term: "检查失败",figure: M,unit: "个来源"}),- /* @__PURE__ */ (0, D.jsx)(IW, {+ /* @__PURE__ */ (0, D.jsx)(FW, {term: "未看更新",figure: T.counts?.new || 0,unit: "条"}),- /* @__PURE__ */ (0, D.jsx)(IW, {+ /* @__PURE__ */ (0, D.jsx)(FW, {term: "JAV 订阅",figure: F,unit: "位"}),- /* @__PURE__ */ (0, D.jsx)(IW, {+ /* @__PURE__ */ (0, D.jsx)(FW, {term: "未看新作",figure: w.data?.unread || 0,unit: "条"})]}),- /* @__PURE__ */ (0, D.jsxs)(Wj, {+ /* @__PURE__ */ (0, D.jsxs)(Uj, {selectedKey: c,onSelectionChange: (e) => {let t = String(e);- FW(t) && (l(t), A({ tab: t }));+ PW(t) && (l(t), A({ tab: t }));},className: "flex flex-col gap-6",children: [- /* @__PURE__ */ (0, D.jsx)(pW, {+ /* @__PURE__ */ (0, D.jsx)(fW, {"aria-label": "关注管理区域","data-section-nav": !0,"data-section-items": !0,className: "flex max-w-full flex-nowrap overflow-x-auto",- children: PW.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Kj, {+ children: NW.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Gj, {id: e,"data-pill-selected": c === e ? "" : void 0,"data-pill-variant": "gray",@@ -69900,10 +69900,10 @@ function GPe(e) {children: t}, e))}),- /* @__PURE__ */ (0, D.jsx)(qj, {+ /* @__PURE__ */ (0, D.jsx)(Kj, {id: "list",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, D.jsx)(WPe, {+ children: /* @__PURE__ */ (0, D.jsx)(GPe, {data: T,sort: f,dir: m,@@ -69936,15 +69936,15 @@ function GPe(e) {}})}),- /* @__PURE__ */ (0, D.jsxs)(qj, {+ /* @__PURE__ */ (0, D.jsxs)(Kj, {id: "add",className: "flex flex-col gap-8",- children: [/* @__PURE__ */ (0, D.jsx)(mPe, {+ children: [/* @__PURE__ */ (0, D.jsx)(hPe, {data: T,credentials: O,readOnly: a,toast: r- }), /* @__PURE__ */ (0, D.jsx)(CPe, {+ }), /* @__PURE__ */ (0, D.jsx)(wPe, {groups: T.author_aliases || [],readOnly: a,toast: r,@@ -69952,17 +69952,17 @@ function GPe(e) {sources: T.sources})]}),- /* @__PURE__ */ (0, D.jsx)(qj, {+ /* @__PURE__ */ (0, D.jsx)(Kj, {id: "feeds",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, D.jsx)(LPe, {+ children: /* @__PURE__ */ (0, D.jsx)(RPe, {readOnly: a,toast: r})})]}),- /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsxs)(HO, {+ /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsxs)(VO, {variant: "secondary",href: "/settings/subscriptions",children: ["来源与订阅设置", P ? `(${P})` : ""]@@ -69971,16 +69971,16 @@ function GPe(e) {}//#endregion//#region src/react/components/board-tabs.tsx-function LW({ value: e }) {+function IW({ value: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {"data-tab-count": "",className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",children: e.toLocaleString()});}-var KPe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";-function RW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, E.useRef)(null), o = Rk(a);+var qPe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";+function LW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, E.useRef)(null), o = Lk(a);return (0, E.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -69989,7 +69989,7 @@ function RW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, D.jsx)(_O, {+ }, [t]), /* @__PURE__ */ (0, D.jsx)(gO, {ref: o,role: "tablist","aria-label": n,@@ -70004,7 +70004,7 @@ function RW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"},className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,children: e.map((e) => {- let n = e.symbol ? cM(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? sM(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",role: "tab",@@ -70013,7 +70013,7 @@ function RW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5""data-pill-selected": i ? "" : void 0,"data-pill-variant": "gray",tabIndex: i ? 0 : -1,- className: KPe,+ className: qPe,onClick: () => {i || r(e.value);},@@ -70024,11 +70024,11 @@ function RW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"}//#endregion//#region src/react/index/index-tags.tsx-var zW = () => /* @__PURE__ */ (0, D.jsx)("span", {+var RW = () => /* @__PURE__ */ (0, D.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), BW = cM("pencil"), VW = (e, t) => ({+}), zW = sM("pencil"), BW = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -70037,7 +70037,7 @@ var zW = () => /* @__PURE__ */ (0, D.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function qPe({ tag: e, actions: t }) {+function JPe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -70046,13 +70046,13 @@ function qPe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": PH(t.online, e.cat),+ "data-tag-cat": NH(t.online, e.cat),"aria-pressed": n,title: e.label,onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, D.jsx)(zW, {}),+ /* @__PURE__ */ (0, D.jsx)(RW, {}),/* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -70063,32 +70063,32 @@ function qPe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, D.jsx)(xM, { item: VW(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, D.jsx)(bM, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, D.jsx)(bM, { item: BW(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, D.jsx)(yM, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, D.jsx)(BW, {})+ children: /* @__PURE__ */ (0, D.jsx)(zW, {})}) : null]});}-function HW({ groups: e, actions: t }) {+function VW({ groups: e, actions: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, D.jsxs)("section", {"data-alpha-group": r,- className: GO({+ className: WO({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, D.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, D.jsx)(LW, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, D.jsx)(IW, { value: n.length })]}), /* @__PURE__ */ (0, D.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, D.jsx)(qPe, {+ children: n.map((e) => /* @__PURE__ */ (0, D.jsx)(JPe, {tag: e,actions: t}, e.k))@@ -70096,26 +70096,26 @@ function HW({ groups: e, actions: t }) {}, e))});}-var JPe = "\xA0";-function UW({ tags: e, actions: t }) {+var YPe = "\xA0";+function HW({ tags: e, actions: t }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": PH(t.online, e.cat),+ "data-tag-cat": NH(t.online, e.cat),className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",children: [/* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": PH(t.online, e.cat),+ "data-tag-cat": NH(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 truncate",- children: e.label + JPe+ children: e.label + YPe}), /* @__PURE__ */ (0, D.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -70124,16 +70124,16 @@ function UW({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, D.jsx)(xM, { item: VW(e, t.online) }), t.edit ? /* @__PURE__ */ (0, D.jsx)(bM, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, D.jsx)(bM, { item: BW(e, t.online) }), t.edit ? /* @__PURE__ */ (0, D.jsx)(yM, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, D.jsx)(BW, {})+ children: /* @__PURE__ */ (0, D.jsx)(zW, {})}) : null]}) : null]}, e.k))});}-var YPe = [[+var XPe = [["cloud","标签云","tags"@@ -70142,28 +70142,28 @@ var YPe = [["字母表","text-aa"]];-function WW({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = Rk();- return /* @__PURE__ */ (0, D.jsx)(Bk, {+function UW({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = Lk();+ return /* @__PURE__ */ (0, D.jsx)(zk, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [l ? /* @__PURE__ */ (0, D.jsx)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Vk, {+ children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Bk, {"data-tag-pill": "","data-tag-cat": "all",pressed: l.hidden === e,onPress: () => l.onChange(!!e),children: t}, String(e)))- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, D.jsxs)(Vk, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, D.jsxs)(Bk, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : PH(n, e),+ "data-tag-cat": e === "all" ? "all" : NH(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, D.jsx)(zW, {}), r]+ children: [/* @__PURE__ */ (0, D.jsx)(RW, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {@@ -70184,19 +70184,19 @@ function WW({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, D.jsx)(lj, {+ /* @__PURE__ */ (0, D.jsx)(cj, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${EF}`,- children: YPe.map(([e, t, n]) => {- let r = cM(n);- return /* @__PURE__ */ (0, D.jsx)(uj, {+ className: `ml-auto ${TF}`,+ children: XPe.map(([e, t, n]) => {+ let r = sM(n);+ return /* @__PURE__ */ (0, D.jsx)(lj, {value: e,"aria-label": t,"data-glass-segment": "",- className: DF,+ className: EF,children: /* @__PURE__ */ (0, D.jsx)("span", {title: t,className: "contents",@@ -70208,13 +70208,13 @@ function WW({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function XPe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, D.jsxs)(OT, {+function ZPe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, D.jsxs)(DT, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, D.jsx)(EN, {+ /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, D.jsxs)("span", {@@ -70246,29 +70246,29 @@ function XPe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/toaster.tsx-var GW = (e, t) => /* @__PURE__ */ (0, D.jsx)("span", {+var WW = (e, t) => /* @__PURE__ */ (0, D.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), KW = null, qW = { "--floating-radius": "var(--radius-2xl)" };-function JW() {- let e = KW;- KW = null, e?.root.unmount();-}-var YW = (e, t) => {- if (KW?.host === e) return;- JW();+}), GW = null, KW = { "--floating-radius": "var(--radius-2xl)" };+function qW() {+ let e = GW;+ GW = null, e?.root.unmount();+}+var JW = (e, t) => {+ if (GW?.host === e) return;+ qW();let n = (0, Ct.createRoot)(e);- KW = {+ GW = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, D.jsxs)(SP, { children: [/* @__PURE__ */ (0, D.jsx)(AP, {+ }, n.render(/* @__PURE__ */ (0, D.jsxs)(xP, { children: [/* @__PURE__ */ (0, D.jsx)(kP, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...qW,+ ...KW,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -70283,16 +70283,16 @@ var YW = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: GW(t.success, !0),- error: GW(t.error, !1)+ success: WW(t.success, !0),+ error: WW(t.error, !1)}- }), /* @__PURE__ */ (0, D.jsx)(AP, {+ }), /* @__PURE__ */ (0, D.jsx)(kP, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...qW,+ ...KW,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -70307,13 +70307,13 @@ var YW = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, ZPe = 6e3, XW = (e, t) => {+}, QPe = 6e3, YW = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? TP.error : TP.success, r = t.action;+ let n = t.alert ? wP.error : wP.success, r = t.action;n(/* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : ZPe,+ duration: t.timeout > 0 ? t.timeout : QPe,action: r ? {label: r.label,onClick: (e) => {@@ -70321,32 +70321,32 @@ var YW = (e, t) => {}} : void 0});-}, ZW = (e) => e.id ?? e.entity_id, QW = {+}, XW = (e) => e.id ?? e.entity_id, ZW = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",restore: "恢复标签",repair: "整理重复标签"-}, $W = (e, t) => U("/api/tag-management/preview", e, "POST", t);-async function eG(e, t, n) {+}, QW = (e, t) => U("/api/tag-management/preview", e, "POST", t);+async function $W(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await Ys({- title: QW[e.operation],+ title: ZW[e.operation],body: i,- confirmLabel: QW[e.operation],+ confirmLabel: ZW[e.operation],onConfirm: () => U("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await W.invalidateQueries(), XW(`tag-management-${Date.now()}`, {- html: `已${QW[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await W.invalidateQueries(), YW(`tag-management-${Date.now()}`, {+ html: `已${ZW[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function QPe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function $Pe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, E.useRef)({operation: e,selected: t,@@ -70355,24 +70355,24 @@ function QPe({ operation: e, selected: t, close: n, done: r, scope: i = "local"scope: i}), o = (0, E.useRef)({name: t[0]?.k || "",- target_id: t[0] ? ZW(t[0]) : 0+ target_id: t[0] ? XW(t[0]) : 0}), [s, c] = (0, E.useState)(null);return (0, E.useEffect)(() => {let e = new AbortController(), t = a.current, n = Js({- title: QW[t.operation],+ title: ZW[t.operation],confirmLabel: "预览影响范围",confirmDisabled: !0,body: "<div class=\"peach-react\" data-tag-editor-fields></div>",onConfirm: async () => {let n = {operation: t.operation,- ids: t.selected.map(ZW),+ ids: t.selected.map(XW),...t.scope === "online" ? { scope: t.scope } : {},...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }};return {command: n,- plan: await $W(n, e.signal)+ plan: await QW(n, e.signal)};}});@@ -70383,14 +70383,14 @@ function QPe({ operation: e, selected: t, close: n, done: r, scope: i = "local"if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await eG(r.command, r.plan, e.signal) && t.done();+ await $W(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)($Pe, {+ }, []), s ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(eFe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -70399,8 +70399,8 @@ function QPe({ operation: e, selected: t, close: n, done: r, scope: i = "local"}}), s.host) : null;}-function $Pe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, E.useState)(t[0]?.k || ""), [o, s] = (0, E.useState)(t[0] ? ZW(t[0]) : 0);+function eFe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, E.useState)(t[0]?.k || ""), [o, s] = (0, E.useState)(t[0] ? XW(t[0]) : 0);return (0, E.useEffect)(() => {r({name: i,@@ -70413,46 +70413,46 @@ function $Pe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, D.jsx)(iM, {+ ]), e === "rename" ? /* @__PURE__ */ (0, D.jsx)(rM, {autoFocus: !0,"aria-label": "标签名称",value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, D.jsx)(mz, {+ }) : /* @__PURE__ */ (0, D.jsx)(pz, {"aria-label": "保留的标签",prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(ZW(t)) === String(e));- n && s(ZW(n));+ let n = t.find((t) => String(XW(t)) === String(e));+ n && s(XW(n));},- children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {- id: String(ZW(e)),+ children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {+ id: String(XW(e)),children: e.k- }, ZW(e)))+ }, XW(e)))});}//#endregion//#region src/react/index/tag-manager.tsx-function eFe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function tFe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = yt({queryKey: ["tag-management", o],queryFn: ({ signal: e }) => H(`/api/tag-management${s ? "?scope=online" : ""}`, e)- }), [l, u] = (0, E.useState)(!1), [d, f] = (0, E.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, E.useState)(null), h = ek(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? TH : wH).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({+ }), [l, u] = (0, E.useState)(!1), [d, f] = (0, E.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, E.useState)(null), h = $O(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? wH : CH).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({...e,label: e.k- })), x = n === "alphabet" ? FH(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {+ })), x = n === "alphabet" ? PH(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {h.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return eG(n, await $W(n, t), t);+ return $W(n, await QW(n, t), t);}, (e) => {e && f(/* @__PURE__ */ new Set());});- }, w = S.map(ZW), T = {+ }, w = S.map(XW), T = {online: s,favorites: s,picked: d,@@ -70469,7 +70469,7 @@ function eFe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"data-tag-manager": "",className: "flex min-w-0 flex-col",children: [- /* @__PURE__ */ (0, D.jsx)(WW, {+ /* @__PURE__ */ (0, D.jsx)(UW, {categories: y,category: t,online: s,@@ -70488,7 +70488,7 @@ function eFe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}},actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, D.jsx)(Hk, {+ c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, D.jsx)(Vk, {busy: h.busy === "repair",onPress: () => C({operation: "repair",@@ -70496,11 +70496,11 @@ function eFe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}),children: "整理重复标签"}) : null,- v.length ? /* @__PURE__ */ (0, D.jsx)(Hk, {+ v.length ? /* @__PURE__ */ (0, D.jsx)(Vk, {onPress: () => f(new Set(v.map((e) => e.k))),children: "选择当前结果"}) : null,- d.size ? /* @__PURE__ */ (0, D.jsx)(Hk, {+ d.size ? /* @__PURE__ */ (0, D.jsx)(Vk, {onPress: () => f(/* @__PURE__ */ new Set()),children: "清空选择"}) : null@@ -70519,10 +70519,10 @@ function eFe({ search: e = "", category: t = "all", view: n = "cloud", onCategorchildren: "立即重试"}),children: "无法读取标签"- }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, D.jsx)(HW, {+ }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, D.jsx)(VW, {groups: x,actions: T- }) : /* @__PURE__ */ (0, D.jsx)(UW, {+ }) : /* @__PURE__ */ (0, D.jsx)(HW, {tags: b,actions: T}) : /* @__PURE__ */ (0, D.jsx)(J, {@@ -70533,7 +70533,7 @@ function eFe({ search: e = "", category: t = "all", view: n = "cloud", onCategortone: "error",children: h.error}) : null,- /* @__PURE__ */ (0, D.jsxs)(OT, {+ /* @__PURE__ */ (0, D.jsxs)(DT, {label: "标签管理操作",count: `已选 ${d.size} 个标签`,visible: d.size > 0,@@ -70564,7 +70564,7 @@ function eFe({ search: e = "", category: t = "all", view: n = "cloud", onCategor})]}),- p ? /* @__PURE__ */ (0, D.jsx)(QPe, {+ p ? /* @__PURE__ */ (0, D.jsx)($Pe, {operation: p,selected: S,scope: o,@@ -70576,7 +70576,7 @@ function eFe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}//#endregion//#region src/react/index/index-page.tsx-var tFe = [{+var nFe = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -70584,7 +70584,7 @@ var tFe = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], nFe = [{+}], rFe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -70592,7 +70592,7 @@ var tFe = [{value: "online",label: "在线",symbol: "rss"-}], rFe = [+}], iFe = [{value: "performers",label: "艺人",@@ -70608,7 +70608,7 @@ var tFe = [{label: "在线",symbol: "rss"}-], iFe = {+], aFe = {people: [["big","大图 · 竖幅头像",@@ -70628,20 +70628,20 @@ var tFe = [{"layout-grid"]]};-function aFe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, D.jsx)(CF, {- "aria-label": `${CH[e]}索引版式`,+function oFe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, D.jsx)(SF, {+ "aria-label": `${SH[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${wF}`,- children: iFe[OH(e) ? "company" : "people"].map(([e, t, n]) => {- let r = cM(n);- return /* @__PURE__ */ (0, D.jsx)(uj, {+ className: `flex-none ${CF}`,+ children: aFe[DH(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = sM(n);+ return /* @__PURE__ */ (0, D.jsx)(lj, {value: e,"aria-label": t,- className: Ewe,+ className: Dwe,children: /* @__PURE__ */ (0, D.jsx)("span", {title: t,className: "contents",@@ -70651,8 +70651,8 @@ function aFe({ kind: e, layout: t, onChange: n }) {})});}-var oFe = cM("search");-function sFe({ label: e, value: t, onQuery: n }) {+var sFe = sM("search");+function cFe({ label: e, value: t, onQuery: n }) {let [r, i] = (0, E.useState)(t), a = (0, E.useRef)(!1), o = (0, E.useRef)(void 0);(0, E.useEffect)(() => {clearTimeout(o.current), i(t);@@ -70669,15 +70669,15 @@ function sFe({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, D.jsx)(tM, {+ children: /* @__PURE__ */ (0, D.jsx)(eM, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, D.jsx)(rM, {+ children: /* @__PURE__ */ (0, D.jsx)(nM, {type: "search",- leadingIcon: oFe,+ leadingIcon: sFe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -70688,14 +70688,14 @@ function sFe({ label: e, value: t, onQuery: n }) {})});}-function cFe(e) {- let [t, n] = (0, E.useState)(!1), [r, i] = (0, E.useState)(() => kH({+function lFe(e) {+ let [t, n] = (0, E.useState)(!1), [r, i] = (0, E.useState)(() => OH({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [a, o] = (0, E.useState)(e.layout), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, E.useState)("any"), d = (0, E.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = CH[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";+ })), [a, o] = (0, E.useState)(e.layout), [s, c] = (0, E.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, E.useState)("any"), d = (0, E.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = SH[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";(0, E.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -70714,7 +70714,7 @@ function cFe(e) {...t};x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });- }, C = NH(AH(r)), w = xt({+ }, C = MH(kH(r)), w = xt({queryKey: C.queryKey,queryFn: ({ pageParam: e, signal: t }) => C.queryFn({pageParam: e,@@ -70723,7 +70723,7 @@ function cFe(e) {initialPageParam: 0,getNextPageParam: C.getNextPageParam,placeholderData: b ? he : void 0- }), T = Vje(w.data), O = !!w.hasNextPage && !w.isPlaceholderData, k = Hje(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, E.useRef)(null), M = w.data?.pages[0]?.categories;+ }), T = Hje(w.data), O = !!w.hasNextPage && !w.isPlaceholderData, k = Uje(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, E.useRef)(null), M = w.data?.pages[0]?.categories;M && !w.isPlaceholderData && (j.current = {key: A,counts: M@@ -70739,15 +70739,15 @@ function cFe(e) {T,f,v- ]), ee = (0, E.useMemo)(() => f === "tags" && h === "alphabet" ? FH(I, (t) => v ? t : e.tagLabel(t)) : [], [+ ]), ee = (0, E.useMemo)(() => f === "tags" && h === "alphabet" ? PH(I, (t) => v ? t : e.tagLabel(t)) : [], [I,h,f,v]), L = (t) => {o(t), e.savePreference({ layout: t });- }, te = f === "tags" ? /* @__PURE__ */ (0, D.jsx)(RW, {- tabs: nFe,+ }, te = f === "tags" ? /* @__PURE__ */ (0, D.jsx)(LW, {+ tabs: rFe,value: m,label: "词表",onChange: (e) => {@@ -70757,8 +70757,8 @@ function cFe(e) {view: e === "online" ? "alphabet" : h});}- }) : OH(f) ? /* @__PURE__ */ (0, D.jsx)(RW, {- tabs: tFe,+ }) : DH(f) ? /* @__PURE__ */ (0, D.jsx)(LW, {+ tabs: nFe,value: f,label: "公司类型",onChange: (e) => S({ kind: e })@@ -70767,7 +70767,7 @@ function cFe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : I.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, re = (v ? TH : wH).filter(F);+ }, re = (v ? wH : CH).filter(F);return /* @__PURE__ */ (0, D.jsxs)("div", {ref: d,"data-index-page": f,@@ -70782,23 +70782,23 @@ function cFe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: _}),- DH(f) ? /* @__PURE__ */ (0, D.jsx)("span", {+ EH(f) ? /* @__PURE__ */ (0, D.jsx)("span", {"data-index-count": "",className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",children: w.isPending || w.isError ? "" : k}) : null,- DH(f) ? /* @__PURE__ */ (0, D.jsx)(aFe, {+ EH(f) ? /* @__PURE__ */ (0, D.jsx)(oFe, {kind: f,layout: a,onChange: L}) : null,- /* @__PURE__ */ (0, D.jsx)(SM, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, D.jsx)(xM, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),f === "tags" ? /* @__PURE__ */ (0, D.jsx)(q, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: cM("pencil"),+ leadingIcon: sM("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -70806,7 +70806,7 @@ function cFe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, D.jsx)(sFe, {+ /* @__PURE__ */ (0, D.jsx)(cFe, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -70815,8 +70815,8 @@ function cFe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, D.jsx)(RW, {- tabs: rFe,+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, D.jsx)(LW, {+ tabs: iFe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -70828,7 +70828,7 @@ function cFe(e) {}}) : null,te,- t && f === "tags" ? /* @__PURE__ */ (0, D.jsx)(eFe, {+ t && f === "tags" ? /* @__PURE__ */ (0, D.jsx)(tFe, {scope: m,search: p,category: g,@@ -70842,8 +70842,8 @@ function cFe(e) {}, m) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [f === "performers" && m === "local" ? /* @__PURE__ */ (0, D.jsx)("div", {"aria-label": "身份分类",- className: SH,- children: xH.filter((e) => e[0] === g || F(e)).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(q, {+ className: xH,+ children: bH.filter((e) => e[0] === g || F(e)).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(q, {variant: g === e ? "primary" : "secondary",size: "small","aria-pressed": g === e,@@ -70851,7 +70851,7 @@ function cFe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, D.jsx)(WW, {+ f === "tags" ? /* @__PURE__ */ (0, D.jsx)(UW, {categories: re,category: g,online: v,@@ -70876,8 +70876,8 @@ function cFe(e) {mode: h}) }});- if (w.isError) return /* @__PURE__ */ (0, D.jsx)(YO, {- icon: cM("alert"),+ if (w.isError) return /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: sM("alert"),title: `没能读取${_}`,actions: /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -70886,7 +70886,7 @@ function cFe(e) {}),children: Bt(w.error)});- if (!T.length) return /* @__PURE__ */ (0, D.jsx)(uFe, {+ if (!T.length) return /* @__PURE__ */ (0, D.jsx)(dFe, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -70895,12 +70895,12 @@ function cFe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, D.jsx)(qje, {+ if (y) return /* @__PURE__ */ (0, D.jsx)(Jje, {items: T,layout: a,props: e});- if (DH(f)) return /* @__PURE__ */ (0, D.jsx)(RH, {+ if (EH(f)) return /* @__PURE__ */ (0, D.jsx)(LH, {kind: f,items: T,layout: a,@@ -70911,10 +70911,10 @@ function cFe(e) {picked: s,press: ne};- return h === "alphabet" ? /* @__PURE__ */ (0, D.jsx)(HW, {+ return h === "alphabet" ? /* @__PURE__ */ (0, D.jsx)(VW, {groups: ee,actions: t- }) : /* @__PURE__ */ (0, D.jsx)(UW, {+ }) : /* @__PURE__ */ (0, D.jsx)(HW, {tags: I,actions: t});@@ -70929,13 +70929,13 @@ function cFe(e) {disabled: w.isFetchingNextPage,"aria-busy": w.isFetchingNextPage || void 0,onClick: () => void w.fetchNextPage(),- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, D.jsx)(XO, {+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, D.jsx)(YO, {inline: !0,label: "继续载入中…"}) : "载入更多"})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, D.jsx)(XPe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, D.jsx)(ZPe, {count: s.size,match: l,onMatch: u,@@ -70949,16 +70949,16 @@ function cFe(e) {]});}-var lFe = {+var uFe = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function uFe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, D.jsx)(YO, {- icon: cM("search"),+function dFe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: sM("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -70967,16 +70967,16 @@ function uFe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : lFe[e], a = /* @__PURE__ */ (0, D.jsx)(HO, {+ let i = n && e === "performers" ? "创作者" : uFe[e], a = /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, D.jsx)(YO, {- icon: cM(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: sM(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(HO, {+ actions: n ? a : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/settings/library",children: "添加媒体"@@ -70984,15 +70984,15 @@ function uFe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var tG = {+var eG = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, dFe = (e) => tG[e.junk_kind || "other"] || tG.other;-function fFe(e) {+}, fFe = (e) => eG[e.junk_kind || "other"] || eG.other;+function pFe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -71003,21 +71003,21 @@ function fFe(e) {glyph: "check"};}-var nG = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), pFe = (e, t) => [+var tG = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), mFe = (e, t) => ["junk-queue",e.view,e.kind,t];-function mFe({ kind: e, view: t }) {+function hFe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function hFe(e, t) {- let n = await H(`/api/ads?${mFe(e)}`, t);+async function gFe(e, t) {+ let n = await H(`/api/ads?${hFe(e)}`, t);return {...n,items: n.items || []@@ -71025,19 +71025,19 @@ async function hFe(e, t) {}//#endregion//#region src/react/junk-queue/junk-card.tsx-function rG({ name: e }) {+function nG({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-var iG = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function gFe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, E.useRef)(null), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), d = e.junk_kind || "other", [f, p] = dFe(e), m = String(e.name || ""), h = fFe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {- t.target.closest("[data-junk-actions]") || iG(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var rG = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function _Fe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, E.useRef)(null), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), d = e.junk_kind || "other", [f, p] = fFe(e), m = String(e.name || ""), h = pFe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {+ t.target.closest("[data-junk-actions]") || rG(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), iG(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), rG(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, b = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, x = (t) => (n) => {@@ -71068,7 +71068,7 @@ function gFe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: bI,+ onMouseDown: yI,children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-media-pic": "",@@ -71076,7 +71076,7 @@ function gFe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, D.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, D.jsx)(rG, { name: p }), /* @__PURE__ */ (0, D.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, D.jsx)(nG, { name: p }), /* @__PURE__ */ (0, D.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, D.jsx)("span", {"data-media-art": "thumb",@@ -71088,7 +71088,7 @@ function gFe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, D.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, D.jsx)(rG, { name: "check" })+ children: /* @__PURE__ */ (0, D.jsx)(nG, { name: "check" })})]}),@@ -71125,7 +71125,7 @@ function gFe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, D.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: Go("正在定位") }- }) : /* @__PURE__ */ (0, D.jsx)(rG, { name: "folder-open" }), /* @__PURE__ */ (0, D.jsx)("span", {+ }) : /* @__PURE__ */ (0, D.jsx)(nG, { name: "folder-open" }), /* @__PURE__ */ (0, D.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -71137,7 +71137,7 @@ function gFe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, D.jsx)(rG, { name: h.glyph }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(nG, { name: h.glyph }), /* @__PURE__ */ (0, D.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -71149,7 +71149,7 @@ function gFe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, D.jsx)(rG, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(nG, { name: "trash" }), /* @__PURE__ */ (0, D.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -71164,7 +71164,7 @@ function gFe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var _Fe = (0, E.memo)(gFe), aG = [+var vFe = (0, E.memo)(_Fe), iG = [["","全部",@@ -71200,65 +71200,65 @@ var _Fe = (0, E.memo)(gFe), aG = ["其它","hard-drive"]-], vFe = (e) => aG.find(([t]) => t === e)?.[0] ?? "";-function oG(e) {+], yFe = (e) => iG.find(([t]) => t === e)?.[0] ?? "";+function aG(e) {let t = new URLSearchParams(e);return {- kind: vFe(t.get("type")),+ kind: yFe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function sG(e = "", t = "pending") {+function oG(e = "", t = "pending") {let n = new URLSearchParams();e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");let r = n.toString();return `/junk-files${r ? `?${r}` : ""}`;}-function cG(e) {+function sG(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: sG("", "pending")+ href: oG("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: sG("", "dismissed")+ href: oG("", "dismissed")};}-var lG = (e) => e === "dismissed" ? "已排除" : "待判断", uG = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function yFe({ kind: e, view: t }) {- let n = aG.map(([n, r, i]) => `<a href="${sG(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${uG(i)}${B(r)}</a>`).join(""), r = cG(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Vo(lG(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${uG(r.glyph)}${r.label}</a></nav></div></div></div>`;+var cG = (e) => e === "dismissed" ? "已排除" : "待判断", lG = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function bFe({ kind: e, view: t }) {+ let n = iG.map(([n, r, i]) => `<a href="${oG(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${lG(i)}${B(r)}</a>`).join(""), r = sG(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Vo(cG(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${lG(r.glyph)}${r.label}</a></nav></div></div></div>`;}//#endregion//#region src/react/junk-queue/junk-count.tsx-function dG({ name: e }) {+function uG({ name: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});}-function fG({ scope: e, count: t }) {+function dG({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [" ", /* @__PURE__ */ (0, D.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function bFe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = KO(), a = (0, E.useRef)(null), { kind: o, view: s } = e, c = Uk(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? aG.map(([e]) => nG(t, e)).join(",") : ""}`), l = cG(s), u = (e) => {+function xFe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = GO(), a = (0, E.useRef)(null), { kind: o, view: s } = e, c = Hk(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? iG.map(([e]) => tG(t, e)).join(",") : ""}`), l = sG(s), u = (e) => {let t = e.target.closest("a");- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || sG()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || oG()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, D.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, D.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, D.jsx)(eW, {- label: lG(s),+ children: /* @__PURE__ */ (0, D.jsx)($U, {+ label: cG(s),figure: d,pending: !t && !n,flush: !0@@ -71278,17 +71278,17 @@ function bFe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- aG.map(([e, n, r]) => /* @__PURE__ */ (0, D.jsxs)("a", {- href: sG(e, s),+ iG.map(([e, n, r]) => /* @__PURE__ */ (0, D.jsxs)("a", {+ href: oG(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, D.jsx)(dG, { name: r }),+ /* @__PURE__ */ (0, D.jsx)(uG, { name: r }),n,- /* @__PURE__ */ (0, D.jsx)(fG, {+ /* @__PURE__ */ (0, D.jsx)(dG, {scope: e,- count: t ? nG(t, e) : 0+ count: t ? tG(t, e) : 0})]}, e || "all")),@@ -71302,9 +71302,9 @@ function bFe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, D.jsx)(dG, { name: l.glyph }),+ /* @__PURE__ */ (0, D.jsx)(uG, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, D.jsx)(fG, {+ /* @__PURE__ */ (0, D.jsx)(dG, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -71317,33 +71317,33 @@ function bFe({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var xFe = cM("check"), SFe = (e, t) => e[1] === t.view && e[2] === t.kind;-function CFe(e) {+var SFe = sM("check"), CFe = (e, t) => e[1] === t.view && e[2] === t.kind;+function wFe(e) {let t = {kind: e.kind,view: e.view}, n = yt({- queryKey: pFe(t, e.revision),- queryFn: ({ signal: e }) => hFe(t, e),- placeholderData: (e, n) => n && SFe(n.queryKey, t) ? e : void 0+ queryKey: mFe(t, e.revision),+ queryFn: ({ signal: e }) => gFe(t, e),+ placeholderData: (e, n) => n && CFe(n.queryKey, t) ? e : void 0});(0, E.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = wFe(e.countRow), i = n.isPending;+ let r = TFe(e.countRow), i = n.isPending;(0, E.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, E.useLayoutEffect)(() => {r && n.data && ts(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(bFe, {+ let { navigate: a } = e.actions, o = r ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(xFe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [o, /* @__PURE__ */ (0, D.jsx)(TFe, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [o, /* @__PURE__ */ (0, D.jsx)(EFe, {props: e,data: n.data,pending: i,@@ -71351,7 +71351,7 @@ function CFe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function wFe(e) {+function TFe(e) {let [t, n] = (0, E.useState)(null);return (0, E.useLayoutEffect)(() => {if (!e) return;@@ -71361,8 +71361,8 @@ function wFe(e) {};}, [e]), t;}-function TFe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = rI(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, E.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, E.useCallback)(() => {+function EFe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = nI(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, E.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, E.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, D.jsxs)("div", {@@ -71370,16 +71370,16 @@ function TFe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, D.jsx)(iI, {+ if (!t) return /* @__PURE__ */ (0, D.jsx)(rI, {message: Bt(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, D.jsx)(YO, {- icon: xFe,+ return /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: SFe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, D.jsx)(HO, {+ actions: t ? /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/junk-files",children: "查看待判断"@@ -71392,7 +71392,7 @@ function TFe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, D.jsx)(_Fe, {+ children: u.map((t) => /* @__PURE__ */ (0, D.jsx)(vFe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -71401,7 +71401,7 @@ function TFe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, D.jsx)(EFe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, D.jsx)(DFe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, D.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -71411,7 +71411,7 @@ function TFe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function EFe({ onMore: e }) {+function DFe({ onMore: e }) {let t = (0, E.useRef)(null);return (0, E.useEffect)(() => {let n = t.current;@@ -71429,9 +71429,9 @@ function EFe({ onMore: e }) {}//#endregion//#region src/react/jav/discovery-faces.tsx-function DFe({ item: e }) {+function OFe({ item: e }) {let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t, n) => {- let r = { "--media-avatar-index": n }, i = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, D.jsx)(LU, {+ let r = { "--media-avatar-index": n }, i = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, D.jsx)(IU, {code: e.code,person: t}) } : { dangerouslySetInnerHTML: { __html: Da(t.name, t, null) } };@@ -71456,18 +71456,18 @@ function DFe({ item: e }) {}//#endregion//#region src/react/jav/jav-navigation.ts-var pG = [+var fG = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], mG = (e) => pG.some(([t]) => t === e) ? e : "library", OFe = (e) => mG(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function kFe(e) {+], pG = (e) => fG.some(([t]) => t === e) ? e : "library", kFe = (e) => pG(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function AFe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}//#endregion//#region src/react/jav/discovery-sorts.ts-var hG = [+var mG = [["taste","口味",@@ -71475,7 +71475,7 @@ var hG = [],["release_date",- NT[1],+ MT[1],"按发行日期排序"],[@@ -71494,10 +71494,10 @@ var hG = ["按番号排序"]];-function gG(e) {+function hG(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function AFe(e) {+function jFe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -71523,8 +71523,8 @@ function AFe(e) {}//#endregion//#region src/jav-skeleton.ts-var _G = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, jFe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, vG = "w-full min-w-0";-function yG() {+var gG = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, MFe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, _G = "w-full min-w-0";+function vG() {return ["w-20","w-16",@@ -71534,26 +71534,26 @@ function yG() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function bG(e, t = $T()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${_G("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${jFe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${_G("80%")}${_G("60%")}${_G("40%")}</div></div>`).join("")}</div>`;- let n = iE({- ...rE({+function yG(e, t = QT()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${gG("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${MFe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${gG("80%")}${gG("60%")}${gG("40%")}</div></div>`).join("")}</div>`;+ let n = rE({+ ...nE({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${vG}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${_G}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${_G("85%")}${_G("65%")}</div><div data-media-byline>${_G("55%")}</div>+ <div data-media-title>${gG("85%")}${gG("65%")}</div><div data-media-byline>${gG("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div></div>`).join("")}</div>`;}-function MFe(e) {+function NFe(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${No({@@ -71561,42 +71561,42 @@ function MFe(e) {label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${pG.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${fG.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div><form aria-label="${t}">${Mo("筛选番号、女优或标题", "", t)}</form>- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${_G("100%")}</div>${bG(e)}` : `<section class="flex min-w-0 flex-col gap-4">${NFe()}${bG(e)}</section>`}</div></div>`;+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${gG("100%")}</div>${yG(e)}` : `<section class="flex min-w-0 flex-col gap-4">${PFe()}${yG(e)}</section>`}</div></div>`;}-function NFe() {- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${$T() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ao(t, "size-4")}</span>`;+function PFe() {+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${QT() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ao(t, "size-4")}</span>`;return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${yG()}</div></div>+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${vG()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${jo()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Ao("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>- ${hG.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Ao("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${mG.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Ao("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}//#endregion//#region src/react/activity/work-code.ts-var xG = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), SG = (e, t) => !!xG(e) && xG(e) === xG(t);+var bG = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), xG = (e, t) => !!bG(e) && bG(e) === bG(t);//#endregion//#region src/react/activity/resource-search.tsx-function PFe({ className: e }) {+function FFe({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Go("") }});}-function FFe(e) {+function IFe(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function IFe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(() => FFe(t)), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(null), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(""), y = ek(), b = (0, E.useRef)(null);+function LFe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(() => IFe(t)), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(null), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(""), y = $O(), b = (0, E.useRef)(null);(0, E.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -71612,7 +71612,7 @@ function IFe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {let e = new AbortController();b.current = e, H(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => SG(e.code, t));+ let r = (n.items || []).find((e) => xG(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -71633,18 +71633,18 @@ function IFe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {"aria-busy": !!y.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, D.jsxs)(ck, { children: [+ t ? /* @__PURE__ */ (0, D.jsxs)(sk, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? PFe : RO,+ leadingIcon: y.busy ? FFe : LO,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -71654,7 +71654,7 @@ function IFe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: "优先寻找" }), /* @__PURE__ */ (0, D.jsxs)(hF, {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: "优先寻找" }), /* @__PURE__ */ (0, D.jsxs)(mF, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -71662,15 +71662,15 @@ function IFe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, D.jsx)(gF, {+ /* @__PURE__ */ (0, D.jsx)(hF, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, D.jsx)(gF, {+ /* @__PURE__ */ (0, D.jsx)(hF, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, D.jsx)(gF, {+ /* @__PURE__ */ (0, D.jsx)(hF, {id: "uncensored",children: "无码"})@@ -71679,32 +71679,32 @@ function IFe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, D.jsx)(iM, {+ children: [/* @__PURE__ */ (0, D.jsx)(rM, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, D.jsx)(iM, {+ }), /* @__PURE__ */ (0, D.jsx)(rM, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, D.jsx)(ck, {+ y.busy ? /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, D.jsx)(ck, {+ y.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, D.jsx)(ck, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, D.jsx)(ck, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, D.jsx)(sk, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {@@ -71714,7 +71714,7 @@ function IFe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, D.jsx)(ck, { children: [+ /* @__PURE__ */ (0, D.jsx)(sk, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -71739,19 +71739,19 @@ function IFe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var LFe = {+var RFe = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function CG({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, D.jsx)(aM, {+function SG({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, D.jsx)(iM, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, D.jsx)(RFe, {+ children: e ? /* @__PURE__ */ (0, D.jsx)(zFe, {prefill: e,close: t,receipt: n,@@ -71759,26 +71759,26 @@ function CG({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function RFe({ prefill: e, close: t, receipt: n, provider: r }) {+function zFe({ prefill: e, close: t, receipt: n, provider: r }) {let i = yt({- queryKey: Ak,- queryFn: ({ signal: e }) => H(`${kk}?limit=50`, e),- refetchInterval: (e) => eve(e.state.data)+ queryKey: kk,+ queryFn: ({ signal: e }) => H(`${Ok}?limit=50`, e),+ refetchInterval: (e) => tve(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, D.jsx)(aA, {+ children: [/* @__PURE__ */ (0, D.jsx)(iA, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: DO,+ leadingIcon: EO,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, D.jsx)(zFe, {+ return a ? /* @__PURE__ */ (0, D.jsx)(BFe, {header: o,snapshot: a,prefill: e,@@ -71807,8 +71807,8 @@ function RFe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function zFe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = k(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, E.useState)(c?.key || ""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(n.code ?? ""), [h, g] = (0, E.useState)(c?.target || ""), [_, v] = (0, E.useState)(n.code ? n : null), [y, b] = (0, E.useState)(""), x = t.available && s.some((e) => e.key === l), S = ek(), C = (0, E.useRef)(null), w = (e) => {+function BFe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = k(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, E.useState)(c?.key || ""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(n.code ?? ""), [h, g] = (0, E.useState)(c?.target || ""), [_, v] = (0, E.useState)(n.code ? n : null), [y, b] = (0, E.useState)(""), x = t.available && s.some((e) => e.key === l), S = $O(), C = (0, E.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, D.jsxs)("form", {@@ -71824,14 +71824,14 @@ function zFe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => U(kk, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: Ak });- let t = LFe[e.outcome];+ b(""), S.run("submit", (e) => U(Ok, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: kk });+ let t = RFe[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = nve(e.task);+ let n = rve(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -71855,7 +71855,7 @@ function zFe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, D.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, D.jsx)(ck, { children: [+ }), _ ? /* @__PURE__ */ (0, D.jsx)(sk, { children: [_.performers,_.studio,_.release_date,@@ -71863,22 +71863,22 @@ function zFe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, D.jsx)(IFe, {+ /* @__PURE__ */ (0, D.jsx)(LFe, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- SG(e, _?.code) || (v(SG(e, n.code) ? n : null), f("")), m(e);+ xG(e, _?.code) || (v(xG(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? SG(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? xG(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : SG(t?.code, n.code) ? t : null),+ } : e : xG(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -71890,24 +71890,24 @@ function zFe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, D.jsx)(uk, { children: "下载到" }),- /* @__PURE__ */ (0, D.jsx)(hF, {+ /* @__PURE__ */ (0, D.jsx)(lk, { children: "下载到" }),+ /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: s.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, D.jsx)(Dk, {+ children: /* @__PURE__ */ (0, D.jsx)(Ek, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, D.jsx)(ck, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, D.jsx)(sk, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),t.available ? null : /* @__PURE__ */ (0, D.jsx)(J, {@@ -71921,7 +71921,7 @@ function zFe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: "下载渠道设置"})]}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -71929,17 +71929,17 @@ function zFe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, D.jsx)(iM, {+ n.code ? null : /* @__PURE__ */ (0, D.jsx)(rM, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), SG(e, _?.code) || v(null);+ m(e), xG(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, D.jsxs)("div", {@@ -71960,18 +71960,18 @@ function zFe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}//#endregion//#region src/react/wants/wants.ts-var wG = "/api/wants", TG = ["wants"], BFe = (e) => [+var CG = "/api/wants", wG = ["wants"], VFe = (e) => ["wants","follow",e-], VFe = [+], HFe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], EG = (e) => H(wG, e);-function HFe(e, t) {- W.setQueryData(TG, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], TG = (e) => H(CG, e);+function UFe(e, t) {+ W.setQueryData(wG, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -71979,26 +71979,26 @@ function HFe(e, t) {} : n)} : n);}-var UFe = (e, t) => H(`${wG}?follow=${encodeURIComponent(e)}`, t), DG = (e, t) => U(wG, {+var WFe = (e, t) => H(`${CG}?follow=${encodeURIComponent(e)}`, t), EG = (e, t) => U(CG, {action: "add",...e-}, "POST", t), OG = (e, t) => U(wG, {+}, "POST", t), DG = (e, t) => U(CG, {action: "remove",ids: e-}, "POST", t), WFe = (e, t) => U(wG, {+}, "POST", t), GFe = (e, t) => U(CG, {action: "reset",ids: e-}, "POST", t), kG = () => W.invalidateQueries({ queryKey: TG }), AG = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function GFe(e) {+}, "POST", t), OG = () => W.invalidateQueries({ queryKey: wG }), kG = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function KFe(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}//#endregion//#region src/react/publication-cache.ts-var jG = 864e5, MG = (e) => {+var AG = 864e5, jG = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function NG(e) {+function MG(e) {let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");if (!t) return;let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));@@ -72006,26 +72006,26 @@ function NG(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function KFe(e, t = Date.now()) {- let n = NG(e);- return n !== void 0 && MG(t) > n ? Infinity : jG;+function qFe(e, t = Date.now()) {+ let n = MG(e);+ return n !== void 0 && jG(t) > n ? Infinity : AG;}-function PG(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : KFe(t, n) === Infinity ? MG(e) > NG(t) : n - e < jG;+function NG(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : qFe(t, n) === Infinity ? jG(e) > MG(t) : n - e < AG;}//#endregion//#region src/react/wants/resource-cache.ts-var FG = "peach.want-resources.v1";-function IG(e) {+var PG = "peach.want-resources.v1";+function FG(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function LG(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !IG(e) ? Date.now() - t < 6e4 : PG(t, n));+function IG(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !FG(e) ? Date.now() - t < 6e4 : NG(t, n));}-function RG() {+function LG() {try {- let e = JSON.parse(localStorage.getItem(FG) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && IG(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(PG) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && FG(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -72034,23 +72034,23 @@ function RG() {return [];}}-function qFe(e, t) {- let n = RG().find((t) => t.code === e);- return n && PG(n.saved, t) ? n : void 0;+function JFe(e, t) {+ let n = LG().find((t) => t.code === e);+ return n && NG(n.saved, t) ? n : void 0;}-function JFe(e) {- let t = new Map(RG().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function YFe(e) {+ let t = new Map(LG().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && PG(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && NG(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function YFe(e, t) {- if (t.state === "ready" && IG(t)) try {- let n = RG().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(FG, JSON.stringify([{+function XFe(e, t) {+ if (t.state === "ready" && FG(t)) try {+ let n = LG().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(PG, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -72059,16 +72059,16 @@ function YFe(e, t) {}//#endregion//#region src/react/wants/resource-display.ts-function XFe(e) {+function ZFe(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? pn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function ZFe(e) {+function QFe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}//#endregion//#region src/react/wants/want-magnets.tsx-function zG({ icon: e, children: t, title: n }) {+function RG({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, D.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -72078,8 +72078,8 @@ function zG({ icon: e, children: t, title: n }) {}), t]});}-function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, E.useRef)(null), [c, l] = (0, E.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, E.useState)([]), f = ek(), p = k(), m = (0, E.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, E.useMemo)(() => qFe(h, e.release_date), [h, e.release_date]);+function zG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, E.useRef)(null), [c, l] = (0, E.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, E.useState)([]), f = $O(), p = k(), m = (0, E.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, E.useMemo)(() => JFe(h, e.release_date), [h, e.release_date]);(0, E.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -72099,22 +72099,22 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc],queryFn: async ({ signal: t }) => {let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await H(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", YFe(h, i), i;+ return m.current = n && i.state === "busy", XFe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => LG(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => IG(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !LG(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !IG(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, E.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, E.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && HFe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && UFe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -72122,7 +72122,7 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc]);let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {- let n = await U(kk, {+ let n = await U(Ok, {magnet: r.uri,provider: v.key,target: v.target,@@ -72133,7 +72133,7 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcif (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");return n;}, (e) => {- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: Ak });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: kk });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -72151,7 +72151,7 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: LO,+ leadingIcon: IO,...Y(x),onClick: () => {x || (m.current = !0, _.refetch());@@ -72159,7 +72159,7 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcchildren: "重新查询"})]}),- x ? /* @__PURE__ */ (0, D.jsx)(XO, { label: "正在查找资源链接…" }) : null,+ x ? /* @__PURE__ */ (0, D.jsx)(YO, { label: "正在查找资源链接…" }) : null,S ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "资源链接未取得",@@ -72167,13 +72167,13 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}) : null,_.data?.warnings?.map((e) => /* @__PURE__ */ (0, D.jsx)(J, {tone: "neutral",- children: ZFe(e)+ children: QFe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, D.jsx)(HO, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, D.jsx)(VO, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: jO,+ trailingIcon: AO,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72198,7 +72198,7 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(BO, {+ children: [/* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -72212,26 +72212,26 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, D.jsx)(zG, {- icon: qge,+ /* @__PURE__ */ (0, D.jsx)(RG, {+ icon: Jge,children: e.source}),- /* @__PURE__ */ (0, D.jsx)(zG, {- icon: NO,+ /* @__PURE__ */ (0, D.jsx)(RG, {+ icon: MO,title: `来源大小:${e.size}`,- children: XFe(e.size)+ children: ZFe(e.size)}),- e.files ? /* @__PURE__ */ (0, D.jsx)(zG, {- icon: Ige,+ e.files ? /* @__PURE__ */ (0, D.jsx)(RG, {+ icon: Lge,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, D.jsx)(zG, {- icon: Tge,+ /* @__PURE__ */ (0, D.jsx)(RG, {+ icon: Ege,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, D.jsx)(zG, {- icon: IO,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, D.jsx)(RG, {+ icon: FO,children: e}, e))]@@ -72240,11 +72240,11 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(HO, {+ /* @__PURE__ */ (0, D.jsx)(VO, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: jO,+ trailingIcon: AO,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72253,7 +72253,7 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Pge,+ leadingIcon: Fge,...Y(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"@@ -72261,7 +72261,7 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource.protocol === "magnet" ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "primary",size: "small",- leadingIcon: v ? X_e(v.key) : jge,+ leadingIcon: v ? Z_e(v.key) : Mge,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,...Y(f.busy === e.id),@@ -72275,7 +72275,7 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, D.jsx)(mk, {+ }), e.length > 3 ? /* @__PURE__ */ (0, D.jsx)(pk, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, D.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -72288,21 +72288,21 @@ function BG({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}//#endregion//#region src/react/wants/want-list.tsx-var QFe = {+var $Fe = {code: "手动添加",feed: "订阅新作",follow: "关注"-}, $Fe = [+}, eIe = [["all", "全部"],["available", "有磁链"],["missing", "没磁链"]-], VG = (e) => [+], BG = (e) => [e.release_date,e.studio,e.performers,- QFe[e.origin]+ $Fe[e.origin]].filter(Boolean).join(" · ");-function eIe({ want: e }) {+function tIe({ want: e }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",children: [/* @__PURE__ */ (0, D.jsx)("span", {@@ -72318,39 +72318,39 @@ function eIe({ want: e }) {}) : null]});}-function tIe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {+function nIe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {let [l, u] = (0, E.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");return /* @__PURE__ */ (0, D.jsxs)("li", {"data-want-id": e.id,- className: GO({+ className: WO({bordered: "soft",className: "flex flex-col gap-4 max-sm:p-4"}),children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-start gap-4 max-sm:gap-3",- children: [/* @__PURE__ */ (0, D.jsx)(eIe, { want: e }), /* @__PURE__ */ (0, D.jsxs)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(tIe, { want: e }), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsxs)("p", {className: "flex min-w-0 flex-wrap items-baseline gap-x-2",children: [/* @__PURE__ */ (0, D.jsx)("b", {className: "min-w-0 text-headline-medium wrap-anywhere text-text-primary",- children: AG(e)+ children: kG(e)}), e.code && e.title ? /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 truncate text-body-2-regular text-text-secondary",children: e.title}) : null]}),- VG(e) ? /* @__PURE__ */ (0, D.jsx)("p", {+ BG(e) ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: VG(e)+ children: BG(e)}) : null,!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, D.jsx)("p", {"data-want-note": "",className: "text-caption-1-regular text-text-secondary",- children: GFe(e)+ children: KFe(e)}) : null,- e.scrape_error ? /* @__PURE__ */ (0, D.jsx)(vW, {+ e.scrape_error ? /* @__PURE__ */ (0, D.jsx)(_W, {text: e.scrape_error,prefix: "资料未取得:",tone: "muted"@@ -72358,11 +72358,11 @@ function tIe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo/* @__PURE__ */ (0, D.jsxs)("div", {className: "mt-1 flex flex-wrap items-center gap-2",children: [- d ? /* @__PURE__ */ (0, D.jsx)(HO, {+ d ? /* @__PURE__ */ (0, D.jsx)(VO, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: jO,+ trailingIcon: AO,href: d,target: "_blank",rel: "noopener noreferrer",@@ -72371,7 +72371,7 @@ function tIe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: AO,+ leadingIcon: kO,disabled: t,...Y(n === `remove:${e.id}`),onClick: i,@@ -72395,7 +72395,7 @@ function tIe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo})]})]- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, D.jsx)(BG, {+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, D.jsx)(zG, {want: e,readOnly: t,downloads: o,@@ -72405,8 +72405,8 @@ function tIe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo}) : null]});}-function nIe({ phase: e, label: t, rows: n, row: r }) {- let [i, a] = (0, E.useState)(1), [o, s] = (0, E.useState)("all"), c = JFe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = Tr(d.length, 20, i);+function rIe({ phase: e, label: t, rows: n, row: r }) {+ let [i, a] = (0, E.useState)(1), [o, s] = (0, E.useState)("all"), c = YFe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = Tr(d.length, 20, i);return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": t,"data-want-phase": e,@@ -72420,19 +72420,19 @@ function nIe({ phase: e, label: t, rows: n, row: r }) {className: "text-body-2-regular tabular-nums text-text-secondary",children: n.length.toLocaleString()})]- }), e === "searching" ? /* @__PURE__ */ (0, D.jsx)(CF, {+ }), e === "searching" ? /* @__PURE__ */ (0, D.jsx)(SF, {name: "want-magnet-filter","aria-label": "待找磁链筛选",orientation: "horizontal",value: o,- className: wF,+ className: CF,onChange: (e) => {s(e), a(1);},- children: $Fe.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(uj, {+ children: eIe.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(lj, {value: e,"aria-label": t,- className: TF,+ className: wF,children: [t, /* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular tabular-nums text-text-tertiary",children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()@@ -72440,9 +72440,9 @@ function nIe({ phase: e, label: t, rows: n, row: r }) {}, e))}) : null]}),- d.length ? null : /* @__PURE__ */ (0, D.jsx)(YO, {+ d.length ? null : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: Qge,+ icon: $ge,title: "暂无符合条件的作品",actions: /* @__PURE__ */ (0, D.jsx)(q, {size: "small",@@ -72463,7 +72463,7 @@ function nIe({ phase: e, label: t, rows: n, row: r }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular tabular-nums text-text-secondary",children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 条`- }), /* @__PURE__ */ (0, D.jsx)(hz, {+ }), /* @__PURE__ */ (0, D.jsx)(mz, {label: `${t}分页`,page: f.page,pages: f.pages,@@ -72473,34 +72473,34 @@ function nIe({ phase: e, label: t, rows: n, row: r }) {]});}-function rIe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {- let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(null), c = ek(), l = yt({- queryKey: TG,- queryFn: ({ signal: e }) => EG(e),+function iIe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {+ let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(null), c = $O(), l = yt({+ queryKey: wG,+ queryFn: ({ signal: e }) => TG(e),staleTime: 3e4,refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1}), u = () => {let n = i.trim();- n && !e && c.run("add", (e) => DG({ code: n }, e), (e) => {- t(e.created ? `已加入想要:${AG(e.want)}` : `${AG(e.want)} 已经在想要里`), a(""), kG();+ n && !e && c.run("add", (e) => EG({ code: n }, e), (e) => {+ t(e.created ? `已加入想要:${kG(e.want)}` : `${kG(e.want)} 已经在想要里`), a(""), OG();});}, d = (e) => {e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), u());}, f = (e) => {- c.run(`remove:${e.id}`, (t) => OG([e.id], t), () => {- t(`已移除:${AG(e)}`), kG();+ c.run(`remove:${e.id}`, (t) => DG([e.id], t), () => {+ t(`已移除:${kG(e)}`), OG();});}, p = (e) => {- c.run(`reset:${e.id}`, (t) => WFe([e.id], t), () => {- t(`${AG(e)} 回到待找`), kG();+ c.run(`reset:${e.id}`, (t) => GFe([e.id], t), () => {+ t(`${kG(e)} 回到待找`), OG();});}, m = l.data, h = (m?.items || []).filter((e) => !n || [e.code,e.title,e.performers].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), g = yt({- queryKey: Ak,- queryFn: ({ signal: e }) => H(`${kk}?limit=100`, e),+ queryKey: kk,+ queryFn: ({ signal: e }) => H(`${Ok}?limit=100`, e),enabled: h.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))}), _ = g.data?.providers.filter((e) => e.configured) || [], v = _[0]?.key || "";return /* @__PURE__ */ (0, D.jsxs)("div", {@@ -72508,7 +72508,7 @@ function rIe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {className: "flex flex-col gap-8",children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: GO({+ className: WO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -72521,7 +72521,7 @@ function rIe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-64 grow max-sm:min-w-0",- children: /* @__PURE__ */ (0, D.jsx)(iM, {+ children: /* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "番号",placeholder: "输入番号,例如 SSIS-950",value: i,@@ -72552,9 +72552,9 @@ function rIe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {l.isPending ? /* @__PURE__ */ (0, D.jsx)("div", {role: "status","aria-label": "正在读取想要",- dangerouslySetInnerHTML: { __html: bG("wants") }+ dangerouslySetInnerHTML: { __html: yG("wants") }}) : null,- m?.scraping ? /* @__PURE__ */ (0, D.jsx)(ck, {+ m?.scraping ? /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: "正在给刚加入的番号取资料与封面。"}) : null,@@ -72574,27 +72574,27 @@ function rIe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}) : null,- m && !h.length ? /* @__PURE__ */ (0, D.jsx)(YO, {+ m && !h.length ? /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: Qge,+ icon: $ge,title: n ? "没有符合条件的作品" : "还没有想要的作品",actions: n && r ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: r,children: "清除搜索"- }) : !n && !e ? /* @__PURE__ */ (0, D.jsx)(JO, {+ }) : !n && !e ? /* @__PURE__ */ (0, D.jsx)(qO, {target: "input[aria-label=\"番号\"]",children: "添加作品"}) : void 0,children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"}) : null,- VFe.map(([n, r]) => {+ HFe.map(([n, r]) => {let i = h.filter((e) => e.phase === n);- return i.length ? /* @__PURE__ */ (0, D.jsx)(nIe, {+ return i.length ? /* @__PURE__ */ (0, D.jsx)(rIe, {phase: n,label: r,rows: i,- row: (n) => /* @__PURE__ */ (0, D.jsx)(tIe, {+ row: (n) => /* @__PURE__ */ (0, D.jsx)(nIe, {want: n,readOnly: e,busy: c.busy,@@ -72615,7 +72615,7 @@ function rIe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {}, n.id)}, n) : null;}),- /* @__PURE__ */ (0, D.jsx)(CG, {+ /* @__PURE__ */ (0, D.jsx)(SG, {prefill: o,close: () => s(null),receipt: t,@@ -72626,13 +72626,13 @@ function rIe({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {}//#endregion//#region src/react/jav/jav.ts-var HG = (e, t = "taste", n = "desc") => [+var VG = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function UG(e, t, n = {}) {+function HG(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -72641,7 +72641,7 @@ function UG(e, t, n = {}) {});return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), H(`/api/jav/discoveries?${r}`, t);}-function WG(e, t, n) {+function UG(e, t, n) {let r = Pa({...e,is_jav: !0@@ -72650,22 +72650,22 @@ function WG(e, t, n) {let i = B(Sa(e));return Ma(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");}-async function iIe(e, t) {+async function aIe(e, t) {e === "wants" ? await W.ensureQueryData({- queryKey: TG,- queryFn: () => EG(t),+ queryKey: wG,+ queryFn: () => TG(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await W.ensureQueryData({- queryKey: HG("external"),- queryFn: () => UG("external", t),+ queryKey: VG("external"),+ queryFn: () => HG("external", t),staleTime: 3e4,revalidateIfStale: !0});}//#endregion//#region src/react/jav/jav-header.tsx-function GG({ tab: e, navigate: t, find: n }) {+function WG({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -72679,25 +72679,25 @@ function GG({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, D.jsx)(RW, {- tabs: pG.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, D.jsx)(LW, {+ tabs: fG.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(OFe(e))+ onChange: (e) => t(kFe(e))})]});}-function aIe({ navigate: e, receipt: t }) {+function oIe({ navigate: e, receipt: t }) {let [n, r] = (0, E.useState)(null);- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(GG, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(WG, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, D.jsx)(CG, {+ }), /* @__PURE__ */ (0, D.jsx)(SG, {prefill: n,close: () => r(null),receipt: t@@ -72705,23 +72705,23 @@ function aIe({ navigate: e, receipt: t }) {}//#endregion//#region src/react/jav/jav-page.tsx-var oIe = cM("search"), sIe = cM("x"), cIe = cM("refresh-cw");-function KG(e) {+var sIe = sM("search"), cIe = sM("x"), lIe = sM("refresh-cw");+function GG(e) {let t = new URLSearchParams(location.search);for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);- vP(location.pathname + (t.size ? `?${t}` : ""), {+ _P(location.pathname + (t.size ? `?${t}` : ""), {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state});}-function lIe({ tab: e, readOnly: t, navigate: n, receipt: r }) {+function uIe({ tab: e, readOnly: t, navigate: n, receipt: r }) {let [i, a] = (0, E.useState)(null), [o, s] = (0, E.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {- s(e), KG({ q: e });+ s(e), GG({ q: e });};return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex w-full flex-col gap-6",children: [- /* @__PURE__ */ (0, D.jsx)(GG, {+ /* @__PURE__ */ (0, D.jsx)(WG, {tab: e,navigate: n,find: () => a({})@@ -72731,30 +72731,30 @@ function lIe({ tab: e, readOnly: t, navigate: n, receipt: r }) {onSubmit: (e) => {e.preventDefault();},- children: /* @__PURE__ */ (0, D.jsx)(iM, {+ children: /* @__PURE__ */ (0, D.jsx)(rM, {type: "search","aria-label": e === "discover" ? "筛选推荐" : "筛选想要",placeholder: "筛选番号、女优或标题",- leadingIcon: oIe,+ leadingIcon: sIe,value: o,onChange: c,enterKeyHint: "search"})}),- e === "discover" ? /* @__PURE__ */ (0, D.jsx)(uIe, {+ e === "discover" ? /* @__PURE__ */ (0, D.jsx)(dIe, {readOnly: t,receipt: r,resource: a,query: o.trim(),navigate: n,clearText: () => c("")- }) : /* @__PURE__ */ (0, D.jsx)(rIe, {+ }) : /* @__PURE__ */ (0, D.jsx)(iIe, {readOnly: t,toast: r,query: o.trim(),clearQuery: () => c("")}),- /* @__PURE__ */ (0, D.jsx)(CG, {+ /* @__PURE__ */ (0, D.jsx)(SG, {prefill: i,close: () => a(null),receipt: r@@ -72762,33 +72762,33 @@ function lIe({ tab: e, readOnly: t, navigate: n, receipt: r }) {]});}-function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {- let o = new URLSearchParams(location.search), [s, c] = (0, E.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, E.useState)(() => o.get("tag") || ""), [d, f] = (0, E.useState)(() => hG.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, E.useState)(() => o.get("dir") === "asc"), h = (e) => {- c(e), KG({ scope: e === "external" ? "" : e });+function dIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {+ let o = new URLSearchParams(location.search), [s, c] = (0, E.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, E.useState)(() => o.get("tag") || ""), [d, f] = (0, E.useState)(() => mG.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, E.useState)(() => o.get("dir") === "asc"), h = (e) => {+ c(e), GG({ scope: e === "external" ? "" : e });}, g = (e) => {- u(e), KG({ tag: e });+ u(e), GG({ tag: e });}, _ = (e) => {- f(e), KG({ sort: e === "taste" ? "" : e });+ f(e), GG({ sort: e === "taste" ? "" : e });}, v = (e) => {- m(e), KG({ dir: e ? "asc" : "" });+ m(e), GG({ dir: e ? "asc" : "" });}, y = (0, E.useRef)(null);(0, E.useEffect)(() => {let e = [...y.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => Cs(e, { drag: !0 }));return () => e.forEach((e) => e.destroy());}, []);- let b = qT();+ let b = KT();(0, E.useSyncExternalStore)(b.subscribe, b.version, b.version);- let x = $T(), S = iE(rE({+ let x = QT(), S = rE(nE({active: !0,home: !1,portrait: !1})), C = (0, E.useRef)({}), w = (0, E.useRef)(!1), T = (0, E.useRef)(!1), O = p ? "asc" : "desc", k = yt({- queryKey: HG(s, d, O),+ queryKey: VG(s, d, O),retry: !1,refetchOnWindowFocus: !1,queryFn: ({ signal: e }) => {let t = w.current, n = T.current;- return w.current = !1, T.current = !1, UG(s, e, {+ return w.current = !1, T.current = !1, HG(s, e, {sort: d,direction: O,jobId: t ? void 0 : C.current[s],@@ -72801,7 +72801,7 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea(0, E.useEffect)(() => {A?.job_id && (C.current[s] = A.job_id);}, [s, A?.job_id]);- let j = ek(), M = ek(), N = (e) => {+ let j = $O(), M = $O(), N = (e) => {M.run(e, async () => (T.current = e === "stop", w.current = e !== "stop", k.refetch({cancelRefetch: !0,throwOnError: !0@@ -72820,7 +72820,7 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"aria-busy": ee,className: "flex min-w-0 flex-col gap-4",children: [- /* @__PURE__ */ (0, D.jsx)(Bk, {+ /* @__PURE__ */ (0, D.jsx)(zk, {label: "发现筛选与排序",topLabel: "发现范围与标签",attrs: {@@ -72835,7 +72835,7 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"data-catalog-scroll": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-catalog-views": "",- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Vk, {+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Bk, {"data-entity-tag": e,"data-entity-press": "",pressed: s === e,@@ -72849,8 +72849,8 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea})]}), /* @__PURE__ */ (0, D.jsx)("div", {"data-catalog-tags": "",- dangerouslySetInnerHTML: ee ? { __html: yG() } : void 0,- children: ee ? null : F.map((e) => /* @__PURE__ */ (0, D.jsxs)(Vk, {+ dangerouslySetInnerHTML: ee ? { __html: vG() } : void 0,+ children: ee ? null : F.map((e) => /* @__PURE__ */ (0, D.jsxs)(Bk, {"data-catalog-tag": e,"data-entity-press": "",pressed: l === e,@@ -72871,8 +72871,8 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleaclassName: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"}) : `${I.length} 部`}),- /* @__PURE__ */ (0, D.jsx)(SM, { currentHref: () => location.pathname + location.search }),- r || l ? /* @__PURE__ */ (0, D.jsx)(Hk, {+ /* @__PURE__ */ (0, D.jsx)(xM, { currentHref: () => location.pathname + location.search }),+ r || l ? /* @__PURE__ */ (0, D.jsx)(Vk, {onPress: () => {g(""), a();},@@ -72881,24 +72881,24 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea/* @__PURE__ */ (0, D.jsxs)("span", {"data-entity-sorts": "",children: [- s === "external" ? /* @__PURE__ */ (0, D.jsx)(zk, {+ s === "external" ? /* @__PURE__ */ (0, D.jsx)(Rk, {"data-entity-batch": "","data-jav-metadata-update": "",label: A?.status === "running" ? "停止读取" : "更新资料",disabled: ee,"data-skeleton-action": ee ? "" : void 0,busy: !!M.busy,- icon: A?.status === "running" ? sIe : cIe,+ icon: A?.status === "running" ? cIe : lIe,onPress: () => N(A?.status === "running" ? "stop" : "update")}) : null,- /* @__PURE__ */ (0, D.jsx)(ZF, {+ /* @__PURE__ */ (0, D.jsx)(XF, {label: "JAV 卡片版式",value: x,- options: XT,- onChange: nde+ options: YT,+ onChange: rde}),- /* @__PURE__ */ (0, D.jsx)($F, {- sorts: hG.map(([e, t, n]) => ({+ /* @__PURE__ */ (0, D.jsx)(QF, {+ sorts: mG.map(([e, t, n]) => ({key: e,label: t,ariaLabel: n,@@ -72916,7 +72916,7 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleaee ? /* @__PURE__ */ (0, D.jsx)("div", {role: "status","aria-label": "正在读取推荐",- dangerouslySetInnerHTML: { __html: bG("discover", x) }+ dangerouslySetInnerHTML: { __html: yG("discover", x) }}) : null,k.error ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -72926,7 +72926,7 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleas === "external" && A?.status === "running" ? /* @__PURE__ */ (0, D.jsx)("div", {"data-jav-metadata": "",className: "min-w-0",- children: /* @__PURE__ */ (0, D.jsx)(ZP, {+ children: /* @__PURE__ */ (0, D.jsx)(XP, {embedded: !0,label: `正在读取作品资料 · ${A.completed} / ${A.total} 部`,value: A.completed,@@ -72948,10 +72948,10 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleatone: "error",children: M.error}) : null,- !ee && !k.error && !I.length ? /* @__PURE__ */ (0, D.jsx)(YO, {- icon: OO,+ !ee && !k.error && !I.length ? /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: DO,title: r || l ? "没有符合条件的推荐" : "暂无匹配口味的作品",- actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/taste",variant: "secondary",@@ -72960,13 +72960,13 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleavariant: "primary",size: "small",onClick: () => {- a(), u(""), KG({+ a(), u(""), GG({q: "",tag: ""});},children: "清除筛选"- }) : s === "library" ? /* @__PURE__ */ (0, D.jsx)(HO, {+ }) : s === "library" ? /* @__PURE__ */ (0, D.jsx)(VO, {variant: "primary",size: "small",href: "/",@@ -72985,13 +72985,13 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea}) : null,/* @__PURE__ */ (0, D.jsx)("div", {"data-media-grid": "",- className: vG,+ className: _G,style: { "--card-ratio": S },children: I.map((r) => {- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = WG(r, x, b.value.javImage), s = AFe(r.taste_score ?? r.score), c = [+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = UG(r, x, b.value.javImage), s = jFe(r.taste_score ?? r.score), c = [s.label,- `口味 ${gG(r.taste_score ?? r.score)}`,- k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${gG(r.ranking_score)}` : "",+ `口味 ${hG(r.taste_score ?? r.score)}`,+ k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${hG(r.ranking_score)}` : "",r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,...r.reasons || []].filter(Boolean).join(" · ");@@ -73011,12 +73011,12 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"data-media-pic": "","data-jav-cover-box": "",className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",- children: o ? /* @__PURE__ */ (0, D.jsx)(Ok, {+ children: o ? /* @__PURE__ */ (0, D.jsx)(Dk, {artwork: {kind: "cover",html: o},- identity: WG(r, "small", b.value.javImage),+ identity: UG(r, "small", b.value.javImage),relayout: (e) => Dc(e, x)}) : /* @__PURE__ */ (0, D.jsx)("span", {"data-media-nopic": "",@@ -73025,7 +73025,7 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea}),/* @__PURE__ */ (0, D.jsxs)("div", {"data-media-meta": "",- children: [/* @__PURE__ */ (0, D.jsx)(DFe, { item: r }), /* @__PURE__ */ (0, D.jsxs)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(OFe, { item: r }), /* @__PURE__ */ (0, D.jsxs)("div", {"data-media-text": "",children: [/* @__PURE__ */ (0, D.jsxs)("h3", {@@ -73087,7 +73087,7 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleatitle: c,"aria-label": `推荐分 ${s.score},${s.label}`,className: "rounded-md outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, D.jsx)(BO, {+ children: /* @__PURE__ */ (0, D.jsx)(zO, {color: s.color,children: s.label})@@ -73106,10 +73106,10 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"data-jav-actions": "",className: "flex flex-wrap gap-2",children: [- r.link ? /* @__PURE__ */ (0, D.jsx)(HO, {+ r.link ? /* @__PURE__ */ (0, D.jsx)(VO, {"data-button-link": "",variant: "secondary",- trailingIcon: jO,+ trailingIcon: AO,href: r.link,target: "_blank",rel: "noopener noreferrer",@@ -73120,8 +73120,8 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleadisabled: e || r.wanted || !!r.asset_id,...Y(j.busy === String(r.id)),onClick: () => {- j.run(String(r.id), (e) => DG({ code: r.code }, e), () => {- t("已加入想要"), kG(), k.refetch();+ j.run(String(r.id), (e) => EG({ code: r.code }, e), () => {+ t("已加入想要"), OG(), k.refetch();});},children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"@@ -73146,32 +73146,32 @@ function uIe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea}//#endregion//#region src/react/playlists/playlists.ts-var dIe = "/api/playlists", qG = "/api/playlist", JG = ["playlists"], YG = (e) => H(dIe, e);-async function fIe(e) {+var fIe = "/api/playlists", KG = "/api/playlist", qG = ["playlists"], JG = (e) => H(fIe, e);+async function pIe(e) {await W.fetchQuery({- queryKey: JG,- queryFn: () => YG(e),+ queryKey: qG,+ queryFn: () => JG(e),staleTime: 0});}-var XG = () => W.invalidateQueries({- queryKey: JG,+var YG = () => W.invalidateQueries({+ queryKey: qG,exact: !0-}), pIe = (e) => e.current_asset_id || e.preview_asset_id || null, ZG = (e) => `/poster?id=${e}&c=4`, mIe = (e) => U(qG, {+}), mIe = (e) => e.current_asset_id || e.preview_asset_id || null, XG = (e) => `/poster?id=${e}&c=4`, hIe = (e) => U(KG, {action: "create",name: e,asset_ids: []-}), QG = (e, t) => U(qG, {+}), ZG = (e, t) => U(KG, {action: "rename",id: e,name: t-}), $G = (e) => U(qG, {+}), QG = (e) => U(KG, {action: "delete",id: e-}), hIe = (e) => H(`${qG}?id=${e}`).catch(() => null);-function gIe(e) {+}), gIe = (e) => H(`${KG}?id=${e}`).catch(() => null);+function _Ie(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return U(qG, {+ return U(KG, {action: "create",name: e.name,asset_ids: t,@@ -73181,18 +73181,18 @@ function gIe(e) {}//#endregion//#region src/react/playlists/playlists-page.tsx-var _Ie = cM("ellipsis"), vIe = cM("pencil"), yIe = cM("trash"), bIe = cM("playlist"), eK = hO(bN, xN, "text-body-2-medium"), tK = "播放列表名称不能为空", nK = (e) => async () => {+var vIe = sM("ellipsis"), yIe = sM("pencil"), bIe = sM("trash"), xIe = sM("playlist"), $G = mO(yN, bN, "text-body-2-medium"), eK = "播放列表名称不能为空", tK = (e) => async () => {try {await e();} finally {- XG();+ YG();}};-function xIe({ toast: e }) {+function SIe({ toast: e }) {let [t, n] = (0, E.useState)(""), [r, i] = (0, E.useState)(""), a = bt({- mutationFn: (e) => mIe(e),+ mutationFn: (e) => hIe(e),onSuccess: (t) => {- n(""), i(""), XG(), e("已新建播放列表", { undo: nK(() => $G(t.playlist.id)) });+ n(""), i(""), YG(), e("已新建播放列表", { undo: tK(() => QG(t.playlist.id)) });},onError: (e) => i(V(e) || "新建失败")});@@ -73200,12 +73200,12 @@ function xIe({ toast: e }) {"data-playlist-create": "","aria-label": "新建播放列表",onSubmit: (e) => {- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(tK));+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(eK));},className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",- children: /* @__PURE__ */ (0, D.jsx)(iM, {+ children: /* @__PURE__ */ (0, D.jsx)(rM, {label: "新播放列表",placeholder: "输入名称",maxLength: 80,@@ -73224,7 +73224,7 @@ function xIe({ toast: e }) {})]});}-function SIe({ target: e, close: t, toast: n }) {+function CIe({ target: e, close: t, toast: n }) {let [r, i] = (0, E.useState)(""), [a, o] = (0, E.useState)(""), s = (0, E.useRef)(null);(0, E.useEffect)(() => {if (!e) return;@@ -73235,13 +73235,13 @@ function SIe({ target: e, close: t, toast: n }) {return () => cancelAnimationFrame(t);}, [e]);let c = bt({- mutationFn: ({ row: e, value: t }) => QG(e.id, t),+ mutationFn: ({ row: e, value: t }) => ZG(e.id, t),onSuccess: (e, { row: r }) => {- t(), XG(), n("已重命名播放列表", { undo: nK(() => QG(r.id, r.name)) });+ t(), YG(), n("已重命名播放列表", { undo: tK(() => ZG(r.id, r.name)) });},onError: (e) => o(V(e))});- return /* @__PURE__ */ (0, D.jsx)(aM, {+ return /* @__PURE__ */ (0, D.jsx)(iM, {isOpen: !!e,onOpenChange: (e) => {e || t();@@ -73255,16 +73255,16 @@ function SIe({ target: e, close: t, toast: n }) {n ? c.mutate({row: e,value: n- }) : o(tK);+ }) : o(eK);},className: "flex min-h-0 flex-col",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-4 p-5",- children: [/* @__PURE__ */ (0, D.jsx)(aA, {+ children: [/* @__PURE__ */ (0, D.jsx)(iA, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "编辑名称"- }), /* @__PURE__ */ (0, D.jsx)(iM, {+ }), /* @__PURE__ */ (0, D.jsx)(rM, {ref: s,label: "名称",placeholder: "输入名称",@@ -73292,7 +73292,7 @@ function SIe({ target: e, close: t, toast: n }) {})});}-function CIe({ name: e, onRename: t, onDelete: n }) {+function wIe({ name: e, onRename: t, onDelete: n }) {let r = (0, E.useRef)(null), [i, a] = (0, E.useState)(!1), o = (e) => {a(!1), e();};@@ -73306,33 +73306,33 @@ function CIe({ name: e, onRename: t, onDelete: n }) {"data-playlist-menu": "",onClick: () => a(!0),className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, D.jsx)(_Ie, {+ children: /* @__PURE__ */ (0, D.jsx)(vIe, {"aria-hidden": !0,className: "size-4.5"})- }), /* @__PURE__ */ (0, D.jsx)(UA, {+ }), /* @__PURE__ */ (0, D.jsx)(HA, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: yN,- children: /* @__PURE__ */ (0, D.jsxs)(UP, {+ className: vN,+ children: /* @__PURE__ */ (0, D.jsxs)(HP, {"aria-label": `播放列表操作:${e}`,className: "flex w-37.5 flex-col gap-0.5 outline-none",children: [/* @__PURE__ */ (0, D.jsxs)("button", {type: "button",- className: eK,+ className: $G,onClick: () => o(t),- children: [/* @__PURE__ */ (0, D.jsx)(vIe, {+ children: [/* @__PURE__ */ (0, D.jsx)(yIe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), "编辑名称"]}), /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",- className: eK,+ className: $G,onClick: () => o(n),- children: [/* @__PURE__ */ (0, D.jsx)(yIe, {+ children: [/* @__PURE__ */ (0, D.jsx)(bIe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), "删除播放列表"]@@ -73340,13 +73340,13 @@ function CIe({ name: e, onRename: t, onDelete: n }) {})})] });}-function wIe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {+function TIe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {let a = yt({- queryKey: JG,- queryFn: ({ signal: e }) => YG(e)+ queryKey: qG,+ queryFn: ({ signal: e }) => JG(e)}), [o, s] = (0, E.useState)(null), c = (0, E.useRef)(i);(0, E.useEffect)(() => {- c.current !== i && (c.current = i, XG());+ c.current !== i && (c.current = i, YG());}, [i]);let l = a.data, u = l?.items ?? [], d = (e) => {Ys({@@ -73355,8 +73355,8 @@ function wIe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: iconfirmLabel: "删除播放列表",danger: !0,onConfirm: async () => {- let t = await hIe(e.id);- await $G(e.id), XG(), r("已删除播放列表", t ? { undo: nK(() => gIe(t)) } : void 0);+ let t = await gIe(e.id);+ await QG(e.id), YG(), r("已删除播放列表", t ? { undo: tK(() => _Ie(t)) } : void 0);}});};@@ -73371,7 +73371,7 @@ function wIe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}), /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "保存 Mix,按自己的顺序继续播放。"- })] }), /* @__PURE__ */ (0, D.jsx)(xIe, { toast: r })]+ })] }), /* @__PURE__ */ (0, D.jsx)(SIe, { toast: r })]}),/* @__PURE__ */ (0, D.jsx)("div", {className: "mx-auto w-full max-w-board",@@ -73379,40 +73379,40 @@ function wIe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i"data-playlist-grid": "",className: "card-grid-cover gap-4.5",children: u.map((r) => {- let i = pIe(r), a = r.name.trim() || "未命名播放列表";- return /* @__PURE__ */ (0, D.jsx)(MI, {+ let i = mIe(r), a = r.name.trim() || "未命名播放列表";+ return /* @__PURE__ */ (0, D.jsx)(jI, {"data-playlist-card": String(r.id),name: a,caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",count: r.item_count,- poster: r.preview_asset_id ? ZG(r.preview_asset_id) : null,- flipImages: async () => (r.preview_ids || []).map(ZG),+ poster: r.preview_asset_id ? XG(r.preview_asset_id) : null,+ flipImages: async () => (r.preview_ids || []).map(XG),canFlip: n,faces: r.faces || [],onOpenEntity: t,...i ? { onOpen: () => e(r.id, i) } : {},openLabel: `打开播放列表 ${a}`,- menu: /* @__PURE__ */ (0, D.jsx)(CIe, {+ menu: /* @__PURE__ */ (0, D.jsx)(wIe, {name: a,onRename: () => s(r),onDelete: () => d(r)})}, r.id);})- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: bIe,+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: xIe,title: "还没有播放列表",- actions: /* @__PURE__ */ (0, D.jsx)(JO, {+ actions: /* @__PURE__ */ (0, D.jsx)(qO, {target: "[data-playlist-create] input",children: "新建播放列表"}),children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"- }) : a.isError ? /* @__PURE__ */ (0, D.jsx)(iI, {+ }) : a.isError ? /* @__PURE__ */ (0, D.jsx)(rI, {message: V(a.error) || "播放列表读取失败",onRetry: () => void a.refetch()}) : null}),- /* @__PURE__ */ (0, D.jsx)(SIe, {+ /* @__PURE__ */ (0, D.jsx)(CIe, {target: o,close: () => s(null),toast: r@@ -73422,11 +73422,11 @@ function wIe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}//#endregion//#region src/react/quality-goals/quality-goals-page.tsx-function TIe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {+function EIe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {let o = () => t(e.id);return /* @__PURE__ */ (0, D.jsxs)("li", {"data-goal-id": e.id,- className: GO({+ className: WO({padding: "none",bordered: "soft",className: "flex flex-col gap-3 p-3"@@ -73442,7 +73442,7 @@ function TIe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisclassName: "text-caption-1-regular text-text-secondary",children: "暂无预览"}), /* @__PURE__ */ (0, D.jsx)("img", {- src: Yz(e),+ src: Jz(e),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove(),@@ -73490,7 +73490,7 @@ function TIe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisorigin: `asset:${e.id}`,searchReason: e.reason || "",duration: e.duration,- cover: Yz(e)+ cover: Jz(e)}),children: "查找资源"}) : null, /* @__PURE__ */ (0, D.jsx)(q, {@@ -73502,26 +73502,26 @@ function TIe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis})]});}-function EIe({ toast: e, ...t }) {+function DIe({ toast: e, ...t }) {let [n, r] = (0, E.useState)(null), i = yt({- queryKey: qz,- queryFn: ({ signal: e }) => Jz(e)+ queryKey: Kz,+ queryFn: ({ signal: e }) => qz(e)}), a = i.data;- if (!a) return /* @__PURE__ */ (0, D.jsx)(ZO, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ if (!a) return /* @__PURE__ */ (0, D.jsx)(XO, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "高清版目标读取失败",children: i.error ? V(i.error) : "未取得高清版目标,请刷新页面重试。"}) });let o = a.items || [];- return o.length ? /* @__PURE__ */ (0, D.jsxs)(ZO, { children: [- /* @__PURE__ */ (0, D.jsx)(eW, {+ return o.length ? /* @__PURE__ */ (0, D.jsxs)(XO, { children: [+ /* @__PURE__ */ (0, D.jsx)($U, {label: "待升级",figure: `${Number(a.total || 0).toLocaleString()} 部作品`,flush: !0}),/* @__PURE__ */ (0, D.jsx)("ul", {className: "card-grid-cover gap-5",- children: o.map((e) => /* @__PURE__ */ (0, D.jsx)(TIe, {+ children: o.map((e) => /* @__PURE__ */ (0, D.jsx)(EIe, {item: e,...t,searchResources: r@@ -73531,21 +73531,21 @@ function EIe({ toast: e, ...t }) {className: "mt-6 text-center text-caption-1-regular text-text-secondary",children: `显示前 ${o.length.toLocaleString()} 部,共 ${Number(a.total).toLocaleString()} 部。`}) : null,- /* @__PURE__ */ (0, D.jsx)(CG, {+ /* @__PURE__ */ (0, D.jsx)(SG, {prefill: n,close: () => r(null),receipt: e})- ] }) : /* @__PURE__ */ (0, D.jsx)(ZO, { children: /* @__PURE__ */ (0, D.jsx)(YO, {- icon: a_e,+ ] }) : /* @__PURE__ */ (0, D.jsx)(XO, { children: /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: o_e,title: "没有标记中的高清版目标",children: "现有版本都已满足条件,或还没有加入追踪。"}) });}//#endregion//#region src/react/review/bulk-toolbar.tsx-function DIe(e) {- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = pke(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";+function OIe(e) {+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = mke(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {role: "group","aria-label": "复核筛选",@@ -73553,19 +73553,19 @@ function DIe(e) {"data-glass-pane": "",className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",children: [- /* @__PURE__ */ (0, D.jsx)(mz, {+ /* @__PURE__ */ (0, D.jsx)(pz, {"aria-label": "筛选分组方式",size: "sm",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: t.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: t.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))}),- i.length > 1 ? /* @__PURE__ */ (0, D.jsxs)(mz, {+ i.length > 1 ? /* @__PURE__ */ (0, D.jsxs)(pz, {"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",size: "sm",prefix: "分类",@@ -73573,10 +73573,10 @@ function DIe(e) {onSelectionChange: (e) => {e !== null && o(String(e) === "*" ? "" : String(e));},- children: [/* @__PURE__ */ (0, D.jsx)(gF, {+ children: [/* @__PURE__ */ (0, D.jsx)(hF, {id: "*",children: "全部"- }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e.key,children: `${e.title} · ${e.rows.length}`}, e.key))]@@ -73584,7 +73584,7 @@ function DIe(e) {/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Dge,+ leadingIcon: Oge,"aria-pressed": v,disabled: p || !s.length,onClick: () => {@@ -73595,12 +73595,12 @@ function DIe(e) {children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"})]- }), /* @__PURE__ */ (0, D.jsxs)(OT, {+ }), /* @__PURE__ */ (0, D.jsxs)(DT, {label: "复核所选项目",visible: c.size > 0,count: `已选 ${c.size} 项`,children: [- b ? /* @__PURE__ */ (0, D.jsxs)(mz, {+ b ? /* @__PURE__ */ (0, D.jsxs)(pz, {"aria-label": "统一选择来源",size: "sm",selectedKey: "",@@ -73608,10 +73608,10 @@ function DIe(e) {onSelectionChange: (e) => {e !== null && e !== "" && h(String(e));},- children: [/* @__PURE__ */ (0, D.jsx)(gF, {+ children: [/* @__PURE__ */ (0, D.jsx)(hF, {id: "",children: x- }), y.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ }), y.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: e}, e))]@@ -73647,7 +73647,7 @@ function DIe(e) {}//#endregion//#region src/react/review/candidate-form.tsx-var OIe = {+var kIe = {title: "标题",original_title: "原标题",runtime: "来源时长",@@ -73657,14 +73657,14 @@ var OIe = {cover_url: "封面",screenshot_urls: "截图",trailer_url: "预告片"-}, rK = "reviewgenretags";-function kIe({ tags: e }) {+}, nK = "reviewgenretags";+function AIe({ tags: e }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("datalist", {- id: rK,+ id: nK,children: e.map((e) => /* @__PURE__ */ (0, D.jsx)("option", { value: e }, e))}) : null;}-function iK({ candidate: e, selectable: t = !1 }) {+function rK({ candidate: e, selectable: t = !1 }) {let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;return /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col",@@ -73701,7 +73701,7 @@ function iK({ candidate: e, selectable: t = !1 }) {children: [/* @__PURE__ */ (0, D.jsx)("dt", {className: "text-body-2-regular text-text-secondary",- children: OIe[e] || e+ children: kIe[e] || e}),/* @__PURE__ */ (0, D.jsx)("dd", {className: "min-w-0 text-body-2-regular break-words text-text-primary",@@ -73716,32 +73716,32 @@ function iK({ candidate: e, selectable: t = !1 }) {}) : null]});}-function AIe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {+function jIe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {let a = e.candidates || [];return a.length ? a.length === 1 ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",- children: /* @__PURE__ */ (0, D.jsx)(iK, { candidate: a[0] })- }) : /* @__PURE__ */ (0, D.jsx)(lj, {+ children: /* @__PURE__ */ (0, D.jsx)(rK, { candidate: a[0] })+ }) : /* @__PURE__ */ (0, D.jsx)(cj, {"aria-label": `${t || "资料"}的来源`,value: n,isDisabled: i,onChange: r,className: "flex flex-col gap-2",- children: a.map((e) => /* @__PURE__ */ (0, D.jsx)(uj, {+ children: a.map((e) => /* @__PURE__ */ (0, D.jsx)(lj, {value: e.candidate_key,className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",- children: /* @__PURE__ */ (0, D.jsx)(iK, {+ children: /* @__PURE__ */ (0, D.jsx)(rK, {candidate: e,selectable: !0})}, e.candidate_key))}) : null;}-function jIe({ genre: e, tags: t, locked: n, toast: r }) {+function MIe({ genre: e, tags: t, locked: n, toast: r }) {let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), c = bt({- mutationFn: (t) => xke(e, t),+ mutationFn: (t) => Ske(e, t),onSuccess: async (t, n) => {- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Cke()) : s(t.error || "服务端拒绝了这次收录");+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await wke()) : s(t.error || "服务端拒绝了这次收录");},onError: (e) => s(V(e))}), l = () => {@@ -73756,16 +73756,16 @@ function jIe({ genre: e, tags: t, locked: n, toast: r }) {className: "text-body-medium text-text-primary",children: e}),- /* @__PURE__ */ (0, D.jsx)(tM, {+ /* @__PURE__ */ (0, D.jsx)(eM, {"aria-label": `「${e}」收录成的中文标签`,value: i,onChange: a,maxLength: 40,isDisabled: n || c.isPending,className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(rM, {+ children: /* @__PURE__ */ (0, D.jsx)(nM, {size: "small",- list: t.length ? rK : void 0,+ list: t.length ? nK : void 0,autoComplete: "off",placeholder: "中文标签",onKeyDown: (e) => {@@ -73797,8 +73797,8 @@ function jIe({ genre: e, tags: t, locked: n, toast: r }) {]});}-function MIe({ row: e, tags: t, locked: n, toast: r }) {- let i = vke(e);+function NIe({ row: e, tags: t, locked: n, toast: r }) {+ let i = yke(e);return i.length ? /* @__PURE__ */ (0, D.jsxs)("div", {role: "group","aria-label": "未收录 genre",@@ -73806,7 +73806,7 @@ function MIe({ row: e, tags: t, locked: n, toast: r }) {children: [/* @__PURE__ */ (0, D.jsx)("h5", {className: "text-body-2-medium text-text-secondary",children: `未收录 genre · ${i.length}`- }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(jIe, {+ }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(MIe, {genre: e,tags: t,locked: n,@@ -73816,12 +73816,12 @@ function MIe({ row: e, tags: t, locked: n, toast: r }) {}//#endregion//#region src/react/review/review-evidence.tsx-var aK = (e = "") => /^https?:\/\//i.test(e) ? e : "", NIe = (e = "") => aK(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");-function oK({ url: e }) {- let t = NIe(e || "");- return /* @__PURE__ */ (0, D.jsx)(PIe, { source: t }, t);+var iK = (e = "") => /^https?:\/\//i.test(e) ? e : "", PIe = (e = "") => iK(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+function aK({ url: e }) {+ let t = PIe(e || "");+ return /* @__PURE__ */ (0, D.jsx)(FIe, { source: t }, t);}-function PIe({ source: e }) {+function FIe({ source: e }) {let [t, n] = (0, E.useState)("idle");return (0, E.useEffect)(() => {if (t !== "loading") return;@@ -73859,7 +73859,7 @@ function PIe({ source: e }) {})]});}-function sK({ asset: e, openItem: t }) {+function oK({ asset: e, openItem: t }) {let n = e.name || "";return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",@@ -73885,21 +73885,21 @@ function sK({ asset: e, openItem: t }) {}), /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: FO,+ leadingIcon: PO,onClick: () => t(e.id),children: "打开原视频"})]})]});}-function FIe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {+function IIe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, D.jsx)("button", {type: "button","aria-label": `打开创作者页:${t}`,onClick: () => i(e, t),- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${VV}`,+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${BV}`,dangerouslySetInnerHTML: { __html: r }}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col items-start",@@ -73915,8 +73915,8 @@ function FIe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {})]});}-function IIe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {- let o = aK(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));+function LIe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {+ let o = iK(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));return /* @__PURE__ */ (0, D.jsxs)("section", {className: "flex flex-col gap-3",children: [@@ -73926,10 +73926,10 @@ function IIe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [o ? /* @__PURE__ */ (0, D.jsx)(HO, {+ children: [o ? /* @__PURE__ */ (0, D.jsx)(VO, {variant: "secondary",size: "small",- trailingIcon: jO,+ trailingIcon: AO,href: o,target: "_blank",rel: "noopener noreferrer",@@ -73941,7 +73941,7 @@ function IIe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, nochildren: `查看全部 ${c.toLocaleString()} 部作品`})]}),- /* @__PURE__ */ (0, D.jsx)(oK, { url: e.preview_url }),+ /* @__PURE__ */ (0, D.jsx)(aK, { url: e.preview_url }),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "通过后记录身份判断。"@@ -73984,7 +73984,7 @@ function IIe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no]});}-function LIe({ assets: e, picked: t, onPicked: n, locked: r }) {+function RIe({ assets: e, picked: t, onPicked: n, locked: r }) {let [i, a] = (0, E.useState)(null), o = new Set(t), s = (t, s) => {if (r) return;let c = new Set(o);@@ -74040,7 +74040,7 @@ function LIe({ assets: e, picked: t, onPicked: n, locked: r }) {}),/* @__PURE__ */ (0, D.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, D.jsx)(TN, {+ children: /* @__PURE__ */ (0, D.jsx)(wN, {size: "sm",state: {isSelected: n,@@ -74060,22 +74060,22 @@ function LIe({ assets: e, picked: t, onPicked: n, locked: r }) {}//#endregion//#region src/react/review/review-card.tsx-var RIe = GO({+var zIe = WO({variant: "outlined",padding: "none",className: "flex flex-col gap-4 px-5 pt-4"-}), cK = "flex min-h-6 min-w-0 items-center", lK = 2, zIe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";-function BIe(e) {- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, E.useRef)(!1), m = KO(), h = KO(), g = t === "metadata_fields", _ = lke[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = hke(t, n), x = iB(t, n), S = rB(t, n), C = gke(n), w = _ke(n), T = nB(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, D.jsxs)("div", {+}), sK = "flex min-h-6 min-w-0 items-center", cK = 2, BIe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";+function VIe(e) {+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, E.useRef)(!1), m = GO(), h = GO(), g = t === "metadata_fields", _ = uke[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = gke(t, n), x = rB(t, n), S = nB(t, n), C = _ke(n), w = vke(n), T = tB(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",- children: [O.slice(0, lK).map((e) => /* @__PURE__ */ (0, D.jsx)(sK, {+ children: [O.slice(0, cK).map((e) => /* @__PURE__ */ (0, D.jsx)(oK, {asset: e,openItem: f.openItem- }, e.id)), O.length > lK ? /* @__PURE__ */ (0, D.jsx)("p", {+ }, e.id)), O.length > cK ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: `另有 ${(O.length - lK).toLocaleString()} 部对照作品`+ children: `另有 ${(O.length - cK).toLocaleString()} 部对照作品`}) : null]- }) : y ? /* @__PURE__ */ (0, D.jsx)(FIe, {+ }) : y ? /* @__PURE__ */ (0, D.jsx)(IIe, {kind: _,name: v,works: Number(n.video_count || n.videos || 0),@@ -74086,14 +74086,14 @@ function BIe(e) {image_version: n.image_version,avatar_focus: n.avatar_focus} : null, null, _)- }) : n.asset_id ? /* @__PURE__ */ (0, D.jsx)(sK, {+ }) : n.asset_id ? /* @__PURE__ */ (0, D.jsx)(oK, {openItem: f.openItem,asset: {id: n.asset_id,name: n.asset_name,preview_url: n.asset_preview_url}- }) : null, M = g ? /* @__PURE__ */ (0, D.jsx)(AIe, {+ }) : null, M = g ? /* @__PURE__ */ (0, D.jsx)(jIe, {row: n,fieldName: x,value: r.candidateKey,@@ -74102,7 +74102,7 @@ function BIe(e) {candidateKey: e}),locked: s- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, D.jsx)(LIe, {+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, D.jsx)(RIe, {assets: k,picked: r.assets,locked: s,@@ -74110,24 +74110,24 @@ function BIe(e) {...r,assets: e})- }) : /* @__PURE__ */ (0, D.jsx)(YO, {+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: Hge,+ icon: Uge,title: "这批作品尚未抽帧",children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按所选资料写入标签。`- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, D.jsx)(IIe, {+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, D.jsx)(LIe, {row: n,openItem: f.openItem,openEntity: f.openEntity,onReveal: f.onReveal,revealing: f.revealing,note: f.revealNote- }) : /* @__PURE__ */ (0, D.jsx)(oK, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, D.jsxs)("h4", {- className: `${cK} flex-wrap gap-2`,+ }) : /* @__PURE__ */ (0, D.jsx)(aK, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, D.jsxs)("h4", {+ className: `${sK} flex-wrap gap-2`,children: [/* @__PURE__ */ (0, D.jsx)("span", {title: x,className: "flex max-w-full min-w-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, D.jsx)(BO, {+ children: /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "blue",children: x@@ -74138,7 +74138,7 @@ function BIe(e) {children: S})]}) : /* @__PURE__ */ (0, D.jsx)("h4", {- className: cK,+ className: sK,children: /* @__PURE__ */ (0, D.jsx)("span", {title: b,className: "min-w-0 truncate text-body-medium text-text-primary",@@ -74148,20 +74148,20 @@ function BIe(e) {return /* @__PURE__ */ (0, D.jsxs)("section", {"aria-label": b,"data-review-key": n.item_key,- className: `${RIe} ${zIe(t)} overflow-hidden`,+ className: `${zIe} ${BIe(t)} overflow-hidden`,children: [/* @__PURE__ */ (0, D.jsxs)("header", {className: "flex min-w-0 shrink-0 items-start gap-2",children: [s ? null : /* @__PURE__ */ (0, D.jsx)("span", {- className: `${cK} shrink-0`,+ className: `${sK} shrink-0`,onPointerDownCapture: (e) => {p.current = e.shiftKey;},onKeyDownCapture: (e) => {p.current = e.shiftKey;},- children: /* @__PURE__ */ (0, D.jsx)(EN, {+ children: /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: a,"aria-label": `选择 ${b}`,onChange: (e) => o(p.current, e)@@ -74171,7 +74171,7 @@ function BIe(e) {className: "min-w-0 flex-1",children: N}),- A ? /* @__PURE__ */ (0, D.jsx)(BO, {+ A ? /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "neutral",children: n.decision@@ -74195,7 +74195,7 @@ function BIe(e) {!y && j ? j : null,w.length || t === "creator_tags" ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-wrap gap-1",- children: w.length ? w.map((e) => /* @__PURE__ */ (0, D.jsx)(BO, {+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "soft",children: e@@ -74205,7 +74205,7 @@ function BIe(e) {})}) : null,M,- /* @__PURE__ */ (0, D.jsx)(MIe, {+ /* @__PURE__ */ (0, D.jsx)(NIe, {row: n,tags: u,locked: s,@@ -74268,8 +74268,8 @@ function BIe(e) {}//#endregion//#region src/react/review/review-page.tsx-var VIe = "flex cursor-pointer items-center justify-between gap-2";-function HIe({ page: e, pages: t, onPage: n }) {+var HIe = "flex cursor-pointer items-center justify-between gap-2";+function UIe({ page: e, pages: t, onPage: n }) {return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {"aria-label": "复核分页","data-pagination-layout": "",@@ -74307,34 +74307,34 @@ function HIe({ page: e, pages: t, onPage: n }) {]});}-function UIe(e) {+function WIe(e) {let [t, n] = (0, E.useState)(() => matchMedia("(max-width:900px)").matches);(0, E.useEffect)(() => {let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, E.useState)(eB(e.category) ? e.category : cke), [p, m] = (0, E.useState)("candidates"), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(1), [y, b] = (0, E.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, E.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, E.useState)(/* @__PURE__ */ new Map()), [T, O] = (0, E.useState)(""), k = (0, E.useRef)(null), [A, j] = (0, E.useState)(0), [M, N] = (0, E.useState)(""), P = (0, E.useRef)(!0);+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, E.useState)($z(e.category) ? e.category : lke), [p, m] = (0, E.useState)("candidates"), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(1), [y, b] = (0, E.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, E.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, E.useState)(/* @__PURE__ */ new Map()), [T, O] = (0, E.useState)(""), k = (0, E.useRef)(null), [A, j] = (0, E.useState)(0), [M, N] = (0, E.useState)(""), P = (0, E.useRef)(!0);(0, E.useEffect)(() => () => {P.current = !1;}, []);let F = yt({- queryKey: Zz,- queryFn: ({ signal: e }) => oB(e)+ queryKey: Xz,+ queryFn: ({ signal: e }) => aB(e)}), I = F.data || {sections: {},counts: {}- }, ee = I.sections[d] || [], L = d === "metadata_fields", te = c, ne = uke(ee, L), re = ne.some(([e]) => e === p) ? p : "candidates", ie = tB(ee, re), ae = ie.some((e) => e.key === h) ? h : "", oe = fke(dke(ee, re, ae), _), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({+ }, ee = I.sections[d] || [], L = d === "metadata_fields", te = c, ne = dke(ee, L), re = ne.some(([e]) => e === p) ? p : "candidates", ie = eB(ee, re), ae = ie.some((e) => e.key === h) ? h : "", oe = pke(fke(ee, re, ae), _), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({...e,rows: e.rows.filter((e) => ce.has(e.item_key))- })).filter((e) => e.rows.length), ue = (e) => x.get(e.item_key) || yke(e), de = ee.filter((e) => y.has(e.item_key)), fe = (e) => {+ })).filter((e) => e.rows.length), ue = (e) => x.get(e.item_key) || bke(e), de = ee.filter((e) => y.has(e.item_key)), fe = (e) => {let t = new Set(e);b((e) => new Set([...e].filter((e) => !t.has(e)))), S((e) => new Map([...e].filter(([e]) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e))));}, pe = (e, t) => w((n) => new Map(n).set(e, t)), me = (e) => {f(e), m("candidates"), g(""), v(1), b(/* @__PURE__ */ new Set()), S(/* @__PURE__ */ new Map()), w(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });}, he = bt({- mutationFn: ({ row: e, status: t }) => sB(aB(d, cB(d, e), t, ue(e))),+ mutationFn: ({ row: e, status: t }) => oB(iB(d, sB(d, e), t, ue(e))),onSuccess: (e, { row: t, status: n }) => {- e.ok ? (lB(d, [t.item_key]), fe([t.item_key]), s(bke(n))) : pe(t.item_key, e.error || "服务端拒绝了这次判定");+ e.ok ? (cB(d, [t.item_key]), fe([t.item_key]), s(xke(n))) : pe(t.item_key, e.error || "服务端拒绝了这次判定");},onError: (e, { row: t }) => pe(t.item_key, V(e))}), ge = bt({@@ -74344,7 +74344,7 @@ function UIe(e) {if (!P.current) break;O(`正在处理 ${i} / ${t.length}`);try {- let t = await sB(aB(d, cB(d, a), e, ue(a)));+ let t = await oB(iB(d, sB(d, a), e, ue(a)));if (!t.ok) throw Error(t.error || "服务端未采用该项");n.push(a.item_key);} catch (e) {@@ -74358,7 +74358,7 @@ function UIe(e) {};},onSuccess: ({ status: e, done: t, failures: n }) => {- lB(d, t), fe(t), n.forEach(([e, t]) => pe(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));+ cB(d, t), fe(t), n.forEach(([e, t]) => pe(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));},onError: (e) => {O(V(e));@@ -74382,7 +74382,7 @@ function UIe(e) {j(e), N("");let t = await o(e);P.current && (j(0), N(t));- }, be = wke(I.mirror, l), xe = I.genre_tags || [], Se = {+ }, be = Tke(I.mirror, l), xe = I.genre_tags || [], Se = {openItem: i,openEntity: a,onReveal: ye,@@ -74390,7 +74390,7 @@ function UIe(e) {revealNote: M,toast: s};- return /* @__PURE__ */ (0, D.jsx)(ZO, { children: /* @__PURE__ */ (0, D.jsxs)("div", {+ return /* @__PURE__ */ (0, D.jsx)(XO, { children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-5 pb-10",children: [te ? /* @__PURE__ */ (0, D.jsx)(J, {@@ -74398,20 +74398,20 @@ function UIe(e) {title: "本机只能浏览",extra: u ? /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular",- children: /* @__PURE__ */ (0, D.jsx)(dk, {+ children: /* @__PURE__ */ (0, D.jsx)(uk, {href: u,children: "前往写入端复核"})}) : void 0,children: be}) : null,- /* @__PURE__ */ (0, D.jsx)(kIe, { tags: xe }),- /* @__PURE__ */ (0, D.jsxs)(Wj, {+ /* @__PURE__ */ (0, D.jsx)(AIe, { tags: xe }),+ /* @__PURE__ */ (0, D.jsxs)(Uj, {orientation: t ? "horizontal" : "vertical",selectedKey: d,onSelectionChange: (e) => {let t = String(e);- eB(t) && me(t);+ $z(t) && me(t);},className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -74420,30 +74420,30 @@ function UIe(e) {children: [/* @__PURE__ */ (0, D.jsx)("h2", {id: "reviewcategories",children: "复核分类"- }), /* @__PURE__ */ (0, D.jsx)(pW, {+ }), /* @__PURE__ */ (0, D.jsx)(fW, {scrollable: t,"aria-labelledby": "reviewcategories","data-section-items": !0,className: "flex review-split:flex-col review-split:items-stretch",- children: $z.map((e) => {+ children: Qz.map((e) => {let t = Number(I.counts[e] || 0);- return /* @__PURE__ */ (0, D.jsxs)(Kj, {+ return /* @__PURE__ */ (0, D.jsxs)(Gj, {id: e,- className: VIe,+ className: HIe,"data-pill-selected": d === e ? "" : void 0,"data-pill-variant": "gray",- children: [Qz[e], t ? /* @__PURE__ */ (0, D.jsx)("span", {+ children: [Zz[e], t ? /* @__PURE__ */ (0, D.jsx)("span", {className: "tabular-nums text-caption-1-medium text-text-secondary",children: t.toLocaleString()}) : null]}, e);})})]- }), /* @__PURE__ */ (0, D.jsxs)(qj, {+ }), /* @__PURE__ */ (0, D.jsxs)(Kj, {id: d,className: "flex min-w-0 flex-1 flex-col gap-5",children: [- ee.length && !te ? /* @__PURE__ */ (0, D.jsx)(DIe, {+ ee.length && !te ? /* @__PURE__ */ (0, D.jsx)(OIe, {groupOptions: ne,groupBy: re,onGroupBy: (e) => {@@ -74459,7 +74459,7 @@ function UIe(e) {onSelected: b,selectedRows: de,metadata: L,- approvable: de.every((e) => nB(d, e)),+ approvable: de.every((e) => tB(d, e)),busy: ge.isPending,feedback: T,onUnifySource: ve,@@ -74484,7 +74484,7 @@ function UIe(e) {})]}) : null, /* @__PURE__ */ (0, D.jsx)("div", {className: "review-grid gap-5",- children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(BIe, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(VIe, {category: d,row: e,choice: ue(e),@@ -74492,7 +74492,7 @@ function UIe(e) {selected: y.has(e.item_key),onSelect: (t, n) => b((r) => {let i = new Set(r);- return k.current = mke(i, se, k.current, e.item_key, t, n), i;+ return k.current = hke(i, se, k.current, e.item_key, t, n), i;}),locked: te,busy: he.isPending && he.variables?.row.item_key === e.item_key,@@ -74518,20 +74518,20 @@ function UIe(e) {children: "立即重试"}),children: V(F.error)- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: Age,+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: jge,title: "此分类没有待复核项目",- actions: $z.some((e) => e !== d && Number(I.counts[e] || 0) > 0) ? /* @__PURE__ */ (0, D.jsx)(q, {+ actions: Qz.some((e) => e !== d && Number(I.counts[e] || 0) > 0) ? /* @__PURE__ */ (0, D.jsx)(q, {size: "small",onClick: () => {- let e = $z.find((e) => e !== d && Number(I.counts[e] || 0) > 0);+ let e = Qz.find((e) => e !== d && Number(I.counts[e] || 0) > 0);e && me(e);},children: "查看其他分类"}) : void 0,children: "可切换分类查看其他待确认资料。"}),- /* @__PURE__ */ (0, D.jsx)(HIe, {+ /* @__PURE__ */ (0, D.jsx)(UIe, {page: oe.page,pages: oe.pages,onPage: v@@ -74544,9 +74544,13 @@ function UIe(e) {}//#endregion//#region src/react/scraping/custom-source-data.ts-var uK = "/api/custom-metadata", dK = ["custom-metadata"], fK = (e) => H(uK, e), WIe = "/api/scraping", GIe = "/api/scraping/settings", KIe = "/api/scraping/check", pK = "/api/scraping/cover", qIe = "/api/scraping/amane-bridge", JIe = "/api/scraping/amane-bridge/check", YIe = "/api/scraping/amane-bridge/rebuild", mK = ["scraping"], hK = ["scraping", "cover"], gK = ["scraping", "amane-bridge"], _K = (e) => H(WIe, e), vK = (e) => H(pK, e), yK = (e) => H(qIe, e);-async function XIe(e) {+var lK = "/api/custom-metadata", uK = ["custom-metadata"], dK = (e) => H(lK, e), GIe = "/api/scraping", KIe = "/api/scraping/settings", qIe = "/api/scraping/check", fK = "/api/scraping/cover", JIe = "/api/scraping/amane-bridge", YIe = "/api/scraping/amane-bridge/check", XIe = "/api/scraping/amane-bridge/rebuild", pK = ["scraping"], mK = ["scraping", "cover"], hK = ["scraping", "amane-bridge"], gK = (e) => H(GIe, e), _K = (e) => H(fK, e), vK = (e) => H(JIe, e);+async function ZIe(e) {await Promise.all([+ W.fetchQuery({+ queryKey: pK,+ queryFn: () => gK(e)+ }),W.fetchQuery({queryKey: mK,queryFn: () => _K(e)@@ -74556,30 +74560,26 @@ async function XIe(e) {queryFn: () => vK(e)}),W.fetchQuery({- queryKey: gK,- queryFn: () => yK(e)- }),- W.fetchQuery({- queryKey: dK,- queryFn: () => fK(e)+ queryKey: uK,+ queryFn: () => dK(e)})]);}-function ZIe(e, t) {+function QIe(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/settings-panel/legacy-controls.tsx-var bK = (e) => e.map(([e, t, n]) => n ? [+var yK = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function xK({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function bK({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, E.useRef)(null), d = (0, E.useRef)(null), f = (0, E.useRef)(l);return f.current = l, (0, E.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Vs(t, n, bK(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Vs(t, n, yK(r), i, {attr: a,className: o,text: s@@ -74597,13 +74597,13 @@ function xK({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function SK({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {+function xK({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, E.useRef)(null), f = (0, E.useRef)(null), p = (0, E.useRef)(-1), m = (0, E.useRef)(l);return m.current = l, (0, E.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = yo(bK(n), r, { label: t });+ e.innerHTML = yo(yK(n), r, { label: t });let i = bo(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -74616,7 +74616,7 @@ function SK({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function QIe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function $Ie({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, E.useRef)(null), c = (0, E.useRef)(null), l = (0, E.useRef)({onStep: a,onSettle: o@@ -74651,7 +74651,7 @@ function QIe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/scraping/custom-sources.tsx-var $Ie = [+var eLe = [["code", "番号"],["title", "标题"],["studio", "厂牌"],@@ -74659,7 +74659,7 @@ var $Ie = [["release_date", "发行日期"],["performers", "演员(文本数组)"],["tags", "标签(文本数组)"]-], eLe = [+], tLe = [["censored", "有码"],["amateur", "素人"],["uncensored", "无码"],@@ -74668,7 +74668,7 @@ var $Ie = [["other", "其他"],["unsure", "待核番号"],["unknown", "未知"]-], tLe = () => ({+], nLe = () => ({name: "",endpoint: "",enabled: !1,@@ -74678,25 +74678,25 @@ var $Ie = [},content_types: ["censored"]});-function nLe({ receipt: e }) {+function rLe({ receipt: e }) {let [t, n] = (0, E.useState)(null), r = yt({- queryKey: dK,- queryFn: ({ signal: e }) => fK(e)- }), i = ek(), a = (e) => W.setQueryData(dK, e), o = !!(r.isPending || r.error || r.data?.items.length || i.error), s = /* @__PURE__ */ (0, D.jsx)(q, {+ queryKey: uK,+ queryFn: ({ signal: e }) => dK(e)+ }), i = $O(), a = (e) => W.setQueryData(uK, e), o = !!(r.isPending || r.error || r.data?.items.length || i.error), s = /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",- onClick: () => n(tLe()),+ onClick: () => n(nLe()),children: "添加来源"});- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "自定义元数据来源",children: [- o ? /* @__PURE__ */ (0, D.jsxs)(ok, { children: [+ o ? /* @__PURE__ */ (0, D.jsxs)(ak, { children: [r.isPending ? /* @__PURE__ */ (0, D.jsx)("div", {"aria-busy": "true","data-skeleton": "","aria-label": "读取自定义来源"}) : null,- r.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: V(r.error) }) : null,+ r.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: V(r.error) }) : null,r.data?.items.map((t) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [@@ -74704,7 +74704,7 @@ function nLe({ receipt: e }) {className: "min-w-0 flex-1",children: t.name}),- /* @__PURE__ */ (0, D.jsx)(jV, {+ /* @__PURE__ */ (0, D.jsx)(AV, {tone: t.enabled ? "success" : "neutral",children: t.enabled ? "已启用" : "已停用"}),@@ -74716,7 +74716,7 @@ function nLe({ receipt: e }) {/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",...Y(i.busy === t.id),- onClick: () => void i.run(t.id, (e) => U(uK, {+ onClick: () => void i.run(t.id, (e) => U(lK, {...t,enabled: !t.enabled}, "POST", e), (n) => {@@ -74732,7 +74732,7 @@ function nLe({ receipt: e }) {confirmLabel: "删除来源",danger: !0,onConfirm: async () => {- a(await U(uK, {+ a(await U(lK, {action: "delete",id: t.id})), n(null), e("已删除来源");@@ -74742,13 +74742,13 @@ function nLe({ receipt: e }) {})]}, t.id)),- i.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: i.error }) : null+ i.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: i.error }) : null] }) : null,- t ? null : o ? /* @__PURE__ */ (0, D.jsx)(sk, { children: s }) : /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)("div", {+ t ? null : o ? /* @__PURE__ */ (0, D.jsx)(ok, { children: s }) : /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)("div", {className: "flex justify-end",children: s}) }),- t ? /* @__PURE__ */ (0, D.jsx)(rLe, {+ t ? /* @__PURE__ */ (0, D.jsx)(iLe, {initial: t,cancel: () => n(null),saved: (t) => {@@ -74758,8 +74758,8 @@ function nLe({ receipt: e }) {]});}-function rLe({ initial: e, cancel: t, saved: n }) {- let [r, i] = (0, E.useState)(e), [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(""), l = (0, E.useRef)(0), u = ek(), d = (e) => {+function iLe({ initial: e, cancel: t, saved: n }) {+ let [r, i] = (0, E.useState)(e), [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(""), l = (0, E.useRef)(0), u = $O(), d = (e) => {l.current++, i((t) => ({...t,...e@@ -74769,16 +74769,16 @@ function rLe({ initial: e, cancel: t, saved: n }) {"aria-label": "元数据来源配置","aria-busy": u.busy === "preview",onSubmit: (e) => {- e.preventDefault(), u.run("save", (e) => U(uK, r, "POST", e), n);+ e.preventDefault(), u.run("save", (e) => U(lK, r, "POST", e), n);},- children: [/* @__PURE__ */ (0, D.jsxs)(ok, { children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "来源名称",value: r.name,maxLength: 80,onChange: (e) => d({ name: e })}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "JSON 接口地址",value: r.endpoint,maxLength: 2048,@@ -74787,7 +74787,7 @@ function rLe({ initial: e, cancel: t, saved: n }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: "来源连接方式" }), /* @__PURE__ */ (0, D.jsx)(SK, {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: "来源连接方式" }), /* @__PURE__ */ (0, D.jsx)(xK, {id: "custom-source-network",label: "来源连接方式",epoch: 0,@@ -74798,7 +74798,7 @@ function rLe({ initial: e, cancel: t, saved: n }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: "接口番号格式" }), /* @__PURE__ */ (0, D.jsx)(SK, {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: "接口番号格式" }), /* @__PURE__ */ (0, D.jsx)(xK, {id: "custom-source-code-format",label: "接口番号格式",epoch: 0,@@ -74812,8 +74812,8 @@ function rLe({ initial: e, cancel: t, saved: n }) {onPick: (e) => d({ code_format: e })})]}),- /* @__PURE__ */ (0, D.jsx)(ck, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),- $Ie.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(sk, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),+ eLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(rM, {label: `${t}字段路径`,value: r.fields[e] || "",onChange: (t) => {@@ -74825,18 +74825,18 @@ function rLe({ initial: e, cancel: t, saved: n }) {className: "flex flex-wrap gap-3",role: "group","aria-label": "适用内容类型",- children: eLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(EN, {+ children: tLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: r.content_types.includes(e),onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),children: t}, e))}),- /* @__PURE__ */ (0, D.jsx)(EN, {+ /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: r.enabled,onChange: (e) => d({ enabled: e }),children: "启用来源"}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "试查番号(回车查询)",value: a,onChange: (e) => {@@ -74846,7 +74846,7 @@ function rLe({ initial: e, cancel: t, saved: n }) {if (e.key !== "Enter" || e.nativeEvent.isComposing) return;e.preventDefault();let t = l.current;- u.run("preview", (e) => U(uK, {+ u.run("preview", (e) => U(lK, {...r,code: a,action: "preview"@@ -74857,17 +74857,17 @@ function rLe({ initial: e, cancel: t, saved: n }) {});}}),- u.busy === "preview" ? /* @__PURE__ */ (0, D.jsxs)(ck, {+ u.busy === "preview" ? /* @__PURE__ */ (0, D.jsxs)(sk, {role: "status",children: [/* @__PURE__ */ (0, D.jsx)("span", { dangerouslySetInnerHTML: { __html: Go("正在试查来源") } }), "正在试查来源…"]}) : null,- s ? /* @__PURE__ */ (0, D.jsx)(qO, {+ s ? /* @__PURE__ */ (0, D.jsx)(KO, {code: s,language: "json",label: "元数据接口返回"}) : null,- u.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: u.error }) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(sk, { children: [/* @__PURE__ */ (0, D.jsx)(q, {+ u.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: u.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsxs)(ok, { children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",type: "button",onClick: t,@@ -74881,28 +74881,28 @@ function rLe({ initial: e, cancel: t, saved: n }) {}//#endregion//#region src/react/scraping/scraping-page.tsx-var CK = [["peach", "Peach 代理"], ["direct", "直接连接"]];-function iLe(e) {- return CK.some(([t]) => t === e) || !e ? [...CK] : [...CK, [e, e]];-}+var SK = [["peach", "Peach 代理"], ["direct", "直接连接"]];function aLe(e) {+ return SK.some(([t]) => t === e) || !e ? [...SK] : [...SK, [e, e]];+}+function oLe(e) {try {return new URL(e).host || e;} catch {return e;}}-var wK = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function oLe() {- return /* @__PURE__ */ (0, D.jsx)(BV, { source: "github" });+var CK = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function sLe() {+ return /* @__PURE__ */ (0, D.jsx)(zV, { source: "github" });}-function sLe({ source: e, toast: t }) {- let [n, r] = (0, E.useState)(e.network), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(wK[0][0]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = (0, E.useRef)(null);+function cLe({ source: e, toast: t }) {+ let [n, r] = (0, E.useState)(e.network), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(CK[0][0]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = (0, E.useRef)(null);function h() {a(""), s(""), d(""), p(""), m.current && (m.current.value = "");}let g = bt({- mutationFn: (t) => U(GIe, {+ mutationFn: (t) => U(KIe, {source: e.source,network: n,cookie: i,@@ -74910,12 +74910,12 @@ function sLe({ source: e, toast: t }) {revoke: t}),onSuccess: (e, n) => {- W.setQueryData(mK, (t) => t && {+ W.setQueryData(pK, (t) => t && {...t,sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- }), _ = bt({ mutationFn: () => U(KIe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ }), _ = bt({ mutationFn: () => U(qIe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {e.preventDefault(), !v && (_.reset(), g.mutate(!1));}, b = () => {v || (_.reset(), g.mutate(!0));@@ -74934,27 +74934,27 @@ function sLe({ source: e, toast: t }) {}}let C = f || (g.error ? V(g.error) : "") || (_.error ? V(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: e.label,onSubmit: y,aside: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(BV, { source: e.source }), e.login ? /* @__PURE__ */ (0, D.jsx)(dk, {+ children: [/* @__PURE__ */ (0, D.jsx)(zV, { source: e.source }), e.login ? /* @__PURE__ */ (0, D.jsx)(uk, {href: e.login,- children: aLe(e.login)+ children: oLe(e.login)}) : null]}),children: [- /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(ik, { children: /* @__PURE__ */ (0, D.jsx)(nk, {label: "连接方式",- children: /* @__PURE__ */ (0, D.jsx)(hF, {+ children: /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "连接方式",className: "w-44 min-w-0",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: iLe(n).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: aLe(n).map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))@@ -74964,7 +74964,7 @@ function sLe({ source: e, toast: t }) {tone: "warning",children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(jV, {+ children: [/* @__PURE__ */ (0, D.jsx)(AV, {tone: "warning",children: "冷却中"}), /* @__PURE__ */ (0, D.jsxs)("span", { children: [@@ -74974,15 +74974,15 @@ function sLe({ source: e, toast: t }) {] })]})}) : null,- T ? /* @__PURE__ */ (0, D.jsxs)(ok, {+ T ? /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,children: [n === "peach" ? /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(WO, {+ children: /* @__PURE__ */ (0, D.jsx)(UO, {href: "/settings/library#peachProxy",size: "small",- trailingIcon: TO,+ trailingIcon: wO,children: "配置 Peach 代理"})}) : null,@@ -74995,7 +74995,7 @@ function sLe({ source: e, toast: t }) {className: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(jV, {+ children: /* @__PURE__ */ (0, D.jsx)(AV, {tone: e.cookie_saved ? "success" : "neutral",children: e.cookie_saved ? "Cookie 已保存" : "Cookie 未配置"})@@ -75004,20 +75004,20 @@ function sLe({ source: e, toast: t }) {children: e.cookie_saved ? "登录有效性待验证。" : "需要登录时,任选一种方式提供 Cookie。"})]}),- /* @__PURE__ */ (0, D.jsx)(CF, {+ /* @__PURE__ */ (0, D.jsx)(SF, {"aria-label": "提供 Cookie 的方式(二选一)",value: c,onChange: (e) => {l(e), h();},- className: wF,- children: wK.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(uj, {+ className: CF,+ children: CK.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(lj, {value: e,- className: TF,+ className: wF,children: t}, e))}),- c === "paste" ? /* @__PURE__ */ (0, D.jsx)(iM, {+ c === "paste" ? /* @__PURE__ */ (0, D.jsx)(rM, {type: "password",label: "Cookie",autoComplete: "off",@@ -75026,7 +75026,7 @@ function sLe({ source: e, toast: t }) {}) : /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(uk, { children: "Netscape Cookie 文件(.txt)" }),+ /* @__PURE__ */ (0, D.jsx)(lk, { children: "Netscape Cookie 文件(.txt)" }),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [/* @__PURE__ */ (0, D.jsx)(q, {@@ -75052,20 +75052,20 @@ function sLe({ source: e, toast: t }) {]})] }) : null,- C ? /* @__PURE__ */ (0, D.jsx)(lk, { children: C }) : null,+ C ? /* @__PURE__ */ (0, D.jsx)(ck, { children: C }) : null,w.map((t) => /* @__PURE__ */ (0, D.jsx)(J, {tone: t.ok ? "success" : "error",children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex flex-col items-start gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(eH, {+ children: [/* @__PURE__ */ (0, D.jsx)($V, {tone: t.ok ? "success" : "error",children: t.ok ? "可访问" : "连接失败"- }), /* @__PURE__ */ (0, D.jsx)("span", { children: ZIe(t, e.label) })]+ }), /* @__PURE__ */ (0, D.jsx)("span", { children: QIe(t, e.label) })]})}, t.label))]}) : null,- /* @__PURE__ */ (0, D.jsxs)(sk, { children: [+ /* @__PURE__ */ (0, D.jsxs)(ok, { children: [e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: b,@@ -75087,26 +75087,26 @@ function sLe({ source: e, toast: t }) {]});}-function cLe({ toast: e }) {- let [t, n] = (0, E.useState)(""), { running: r, outcome: i, start: a } = PV({- queryKey: hK,- queryFn: ({ signal: e }) => vK(e),- start: () => U(pK, { code: t }),+function lLe({ toast: e }) {+ let [t, n] = (0, E.useState)(""), { running: r, outcome: i, start: a } = NV({+ queryKey: mK,+ queryFn: ({ signal: e }) => _K(e),+ start: () => U(fK, { code: t }),onFinish: (t) => {t.status === "complete" && e(t.result || "封面采集完成");}}), o = (e) => {e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();}, s = a.error ? V(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";- return /* @__PURE__ */ (0, D.jsx)(ik, {+ return /* @__PURE__ */ (0, D.jsx)(rk, {title: "高清封面",onSubmit: o,- children: /* @__PURE__ */ (0, D.jsxs)(ok, { children: [+ children: /* @__PURE__ */ (0, D.jsxs)(ak, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, D.jsx)(iM, {+ children: /* @__PURE__ */ (0, D.jsx)(rM, {"aria-label": "馆藏番号",isRequired: !0,isDisabled: r,@@ -75121,7 +75121,7 @@ function cLe({ toast: e }) {children: "抓取封面"})]}),- r ? /* @__PURE__ */ (0, D.jsx)(XO, { label: "正在抓取封面" }) : null,+ r ? /* @__PURE__ */ (0, D.jsx)(YO, { label: "正在抓取封面" }) : null,s ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: s@@ -75133,11 +75133,11 @@ function cLe({ toast: e }) {] })});}-function lLe({ toast: e }) {- let { query: t, running: n, outcome: r, start: i } = PV({- queryKey: gK,- queryFn: ({ signal: e }) => yK(e),- start: () => U(YIe, {}),+function uLe({ toast: e }) {+ let { query: t, running: n, outcome: r, start: i } = NV({+ queryKey: hK,+ queryFn: ({ signal: e }) => vK(e),+ start: () => U(XIe, {}),jobOf: (e) => e.job,withJob: (e, t) => e && {...e,@@ -75146,47 +75146,47 @@ function lLe({ toast: e }) {onFinish: (t) => {t.status === "complete" && e(t.result || "amane 桥已重建");}- }), a = bt({ mutationFn: () => U(JIe, {}) }), o = t.data;- if (!o) return t.error ? /* @__PURE__ */ (0, D.jsx)(ik, {+ }), a = bt({ mutationFn: () => U(YIe, {}) }), o = t.data;+ if (!o) return t.error ? /* @__PURE__ */ (0, D.jsx)(rk, {id: "amane",title: "amane",- children: /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ children: /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: V(t.error)}) })}) : null;let s = n || i.isPending || a.isPending, c = i.error ? V(i.error) : a.error ? V(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {id: "amane",title: "amane",- aside: /* @__PURE__ */ (0, D.jsx)(dk, {+ aside: /* @__PURE__ */ (0, D.jsx)(uk, {href: o.repository,- leadingIcon: oLe,+ leadingIcon: sLe,children: o.repository}),children: [- /* @__PURE__ */ (0, D.jsxs)(fk, { children: [- /* @__PURE__ */ (0, D.jsx)(pk, {+ /* @__PURE__ */ (0, D.jsxs)(dk, { children: [+ /* @__PURE__ */ (0, D.jsx)(fk, {term: "已安装版本",children: o.installed_version || "未安装"}),- /* @__PURE__ */ (0, D.jsx)(pk, {+ /* @__PURE__ */ (0, D.jsx)(fk, {term: "上游最新版本",children: a.data?.latest ?? "尚未检查"}),- /* @__PURE__ */ (0, D.jsx)(pk, {+ /* @__PURE__ */ (0, D.jsx)(fk, {term: "运行环境",children: o.installed ? "已安装" : "未安装"}),- /* @__PURE__ */ (0, D.jsxs)(pk, {+ /* @__PURE__ */ (0, D.jsxs)(fk, {term: "内置站点",children: [o.sites.length.toLocaleString(), " 个"]})] }),- /* @__PURE__ */ (0, D.jsxs)(ok, {+ /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,children: [- o.sites.length ? /* @__PURE__ */ (0, D.jsx)(mk, {+ o.sites.length ? /* @__PURE__ */ (0, D.jsx)(pk, {summary: "查看内置站点",children: /* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",@@ -75196,7 +75196,7 @@ function lLe({ toast: e }) {o.problem ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: o.problem- }) : /* @__PURE__ */ (0, D.jsxs)(ck, { children: [+ }) : /* @__PURE__ */ (0, D.jsxs)(sk, { children: ["已安装版本:",o.installed_version || "未安装","。amane(",@@ -75205,7 +75205,7 @@ function lLe({ toast: e }) {o.version," 版本,不随上游自动升级。"] }),- n ? /* @__PURE__ */ (0, D.jsx)(XO, { label: "正在重建运行环境" }) : null,+ n ? /* @__PURE__ */ (0, D.jsx)(YO, { label: "正在重建运行环境" }) : null,c ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: c@@ -75216,7 +75216,7 @@ function lLe({ toast: e }) {}) : null]}),- /* @__PURE__ */ (0, D.jsxs)(sk, { children: [/* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsxs)(ok, { children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: () => {s || a.mutate();@@ -75234,24 +75234,24 @@ function lLe({ toast: e }) {]});}-function uLe({ toast: e }) {+function dLe({ toast: e }) {let t = yt({- queryKey: mK,- queryFn: ({ signal: e }) => _K(e)+ queryKey: pK,+ queryFn: ({ signal: e }) => gK(e)}), n = t.data;- return n ? /* @__PURE__ */ (0, D.jsxs)(ZO, { children: [+ return n ? /* @__PURE__ */ (0, D.jsxs)(XO, { children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "高清图片可能要经代理才能下载,先检查连接。"}),- /* @__PURE__ */ (0, D.jsx)(cLe, { toast: e }),- /* @__PURE__ */ (0, D.jsx)(nLe, { receipt: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, D.jsx)(sLe, {+ /* @__PURE__ */ (0, D.jsx)(lLe, { toast: e }),+ /* @__PURE__ */ (0, D.jsx)(rLe, { receipt: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, D.jsx)(cLe, {source: t,toast: e}, t.source)),- /* @__PURE__ */ (0, D.jsx)(lLe, { toast: e })- ] }) : /* @__PURE__ */ (0, D.jsx)(ZO, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ /* @__PURE__ */ (0, D.jsx)(uLe, { toast: e })+ ] }) : /* @__PURE__ */ (0, D.jsx)(XO, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "采集来源读取失败",children: t.error ? V(t.error) : "读取采集来源失败"@@ -75259,27 +75259,27 @@ function uLe({ toast: e }) {}//#endregion//#region src/react/search/search.ts-var TK = /* @__PURE__ */ new Set([+var wK = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), EK = /* @__PURE__ */ new Set([+]), TK = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), DK = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function dLe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), EK = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function fLe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {...e,index: c++};return l.push(t), t;- }, d = t.filter((t) => !e || DK(t).includes(DK(e)));+ }, d = t.filter((t) => !e || EK(t).includes(EK(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -75300,8 +75300,8 @@ function dLe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !EK.has(e.kind)),- right: e.filter((e) => EK.has(e.kind)),+ left: e.filter((e) => !TK.has(e.kind)),+ right: e.filter((e) => TK.has(e.kind)),empty: !1,options: l};@@ -75351,7 +75351,7 @@ function dLe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !EK.has(e.kind)).map(h), _ = m.filter((e) => EK.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !TK.has(e.kind)).map(h), _ = m.filter((e) => TK.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -75361,17 +75361,17 @@ function dLe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function fLe(e, t, n = Math.random) {+function pLe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => DK(t) === DK(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => EK(t) === EK(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx-var pLe = () => ({+var mLe = () => ({history: [],pool: [],poolRequest: 0,@@ -75389,7 +75389,7 @@ var pLe = () => ({active: -1,reveal: !1,rewind: !1-}), OK = (e) => dLe({+}), DK = (e) => fLe({query: e.query,history: e.history,picks: e.picks,@@ -75398,18 +75398,18 @@ var pLe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), mLe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), kK = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {+}), hLe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), OK = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })});-function hLe(e) {+function gLe(e) {let t = (0, E.useRef)(e);t.current = e;let n = (0, E.useRef)(null);- n.current ??= pLe();+ n.current ??= mLe();let r = n.current, i = (0, E.useRef)(null), [, a] = (0, E.useReducer)((e) => e + 1, 0), o = (0, E.useRef)(null);- o.current ??= gLe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= _Le(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, E.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();@@ -75422,7 +75422,7 @@ function hLe(e) {let e = i.current?.closest("[data-search-menu]");r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;});- let c = OK(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, D.jsx)(vLe, {+ let c = DK(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, D.jsx)(yLe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -75435,7 +75435,7 @@ function hLe(e) {children: [/* @__PURE__ */ (0, D.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, D.jsx)("a", {href: e.href,- onMouseDown: AK,+ onMouseDown: kK,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -75454,7 +75454,7 @@ function hLe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, D.jsx)(_Le, {+ c.tabs ? /* @__PURE__ */ (0, D.jsx)(vLe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -75481,7 +75481,7 @@ function hLe(e) {]});}-function gLe(e, t, n, r) {+function _Le(e, t, n, r) {let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {t.history = n.slice(0, e().historyLimit);}, c = async () => {@@ -75492,7 +75492,7 @@ function gLe(e, t, n, r) {t.history = Array.isArray(e.items) ? e.items.map(String) : [];} catch {}}, l = (t) => {- t && e().historyLimit && (s([t, ...o().filter((e) => DK(e) !== DK(t))]), U("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => EK(e) !== EK(t))]), U("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -75538,9 +75538,9 @@ function gLe(e, t, n, r) {let i = n();i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {- t.query = i().value.trim(), t.picks = t.query ? [] : fLe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : pLe(t.pool, o()), t.active = -1;let a = n();- a && (mLe(OK(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (hLe(DK(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -75552,7 +75552,7 @@ function gLe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {a() && t.kind === e && h();}));- }, v = () => p() ? OK(t).options : [], y = (e) => {+ }, v = () => p() ? DK(t).options : [], y = (e) => {let n = v();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, b = (t, n) => {@@ -75561,7 +75561,7 @@ function gLe(e, t, n, r) {}, x = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, S = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && TK.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && wK.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -75607,13 +75607,13 @@ function gLe(e, t, n, r) {await U("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => DK(t) !== DK(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => EK(t) !== EK(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function _Le({ tabs: e, kind: t, onPick: n, wire: r }) {+function vLe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, E.useRef)(null);(0, E.useLayoutEffect)(() => {r(i.current);@@ -75627,9 +75627,9 @@ function _Le({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, D.jsx)(LW, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, D.jsx)(IW, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, D.jsxs)(_O, {+ return /* @__PURE__ */ (0, D.jsxs)(gO, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -75638,8 +75638,8 @@ function _Le({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var AK = (e) => e.preventDefault();-function vLe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var kK = (e) => e.preventDefault();+function yLe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -75651,33 +75651,33 @@ function vLe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: AK,+ onMouseDown: kK,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, D.jsx)(kK, { name: "chevron-right" })+ /* @__PURE__ */ (0, D.jsx)(OK, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, D.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, D.jsx)(kK, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, D.jsx)(OK, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, D.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: AK,+ onMouseDown: kK,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, D.jsx)(kK, { name: "x" })+ children: /* @__PURE__ */ (0, D.jsx)(OK, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = TK.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = wK.has(c) ? c : void 0;if (["asset","jav",@@ -75691,8 +75691,8 @@ function vLe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "work","data-open-item": c === "asset" ? s.id : void 0,...o,- onMouseDown: AK,- children: [/* @__PURE__ */ (0, D.jsx)(jK, {+ onMouseDown: kK,+ children: [/* @__PURE__ */ (0, D.jsx)(AK, {card: s.card,helpers: n}), /* @__PURE__ */ (0, D.jsxs)("span", {@@ -75717,9 +75717,9 @@ function vLe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: AK,+ onMouseDown: kK,children: [- /* @__PURE__ */ (0, D.jsx)(MK, {+ /* @__PURE__ */ (0, D.jsx)(jK, {item: s,kind: c}),@@ -75742,11 +75742,11 @@ function vLe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-open-work": e.id,"aria-label": `打开 ${e.code || s.value}`,- onMouseDown: AK,+ onMouseDown: kK,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, D.jsx)(jK, {+ children: /* @__PURE__ */ (0, D.jsx)(AK, {card: e,helpers: n})@@ -75760,7 +75760,7 @@ function vLe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, D.jsx)(MK, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, D.jsx)(jK, {item: s,kind: c}) : null,@@ -75773,13 +75773,13 @@ function vLe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function jK({ card: e, helpers: t }) {+function AK({ card: e, helpers: t }) {return /* @__PURE__ */ (0, D.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function MK({ item: e, kind: t }) {+function jK({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, D.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -75799,31 +75799,31 @@ function MK({ item: e, kind: t }) {}//#endregion//#region src/react/settings/configuration.ts-var NK = ["configuration"], PK = (e) => H(SB, e);-async function yLe(e) {+var MK = ["configuration"], NK = (e) => H(xB, e);+async function bLe(e) {await W.fetchQuery({- queryKey: NK,- queryFn: () => PK(e)+ queryKey: MK,+ queryFn: () => NK(e)});}//#endregion//#region src/react/settings/configuration-panel.ts-var FK = "flex flex-col gap-6";-function IK(e) {+var PK = "flex flex-col gap-6";+function FK(e) {return e ? {- className: e.active ? `${FK} ui-board-group-active` : FK,+ className: e.active ? `${PK} ui-board-group-active` : PK,"data-board-group": String(e.index),id: e.id,role: "tabpanel","aria-labelledby": e.labelledBy- } : { className: FK };+ } : { className: PK };}//#endregion//#region src/react/settings/userscript-probe.ts-function bLe() {+function xLe() {let e = (0, E.useRef)(null), [t, n] = (0, E.useState)(0), [r, i] = (0, E.useState)("checking");return (0, E.useEffect)(() => {- let t = PE(), n = !1, r = () => e.current?.contentWindow?.postMessage({+ let t = NE(), n = !1, r = () => e.current?.contentWindow?.postMessage({type: "peach-userscript:probe",nonce: t}, window.location.origin), a = (r) => {@@ -75850,13 +75850,13 @@ function bLe() {}//#endregion//#region src/react/settings/userscript-status.tsx-function xLe(e, t) {+function SLe(e, t) {let n = e.split(".").map(Number), r = t.split(".").map(Number);for (let e = 0; e < 3; e++) if (n[e] !== r[e]) return n[e] > r[e];return !0;}-function SLe({ enabled: e, release: t }) {- let { frame: n, attempt: r, status: i, retry: a } = bLe(), o = typeof i == "object", s = o && !xLe(i.version, t.minimum_version), c = i === "checking" ? "progress" : i === "missing" ? "neutral" : s || !i.paired ? "warning" : "success", l = i === "checking" ? "检测中" : i === "missing" ? "未检测到" : s ? "需更新" : i.paired ? "已连接" : "待配对";+function CLe({ enabled: e, release: t }) {+ let { frame: n, attempt: r, status: i, retry: a } = xLe(), o = typeof i == "object", s = o && !SLe(i.version, t.minimum_version), c = i === "checking" ? "progress" : i === "missing" ? "neutral" : s || !i.paired ? "warning" : "success", l = i === "checking" ? "检测中" : i === "missing" ? "未检测到" : s ? "需更新" : i.paired ? "已连接" : "待配对";return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("iframe", {ref: n,title: "Peach 用户脚本检测",@@ -75865,7 +75865,7 @@ function SLe({ enabled: e, release: t }) {}, r), /* @__PURE__ */ (0, D.jsxs)("div", {"aria-live": "polite","data-userscript-status": "",- className: GO({+ className: WO({variant: "raised",bordered: "line",className: "flex flex-col gap-3"@@ -75876,7 +75876,7 @@ function SLe({ enabled: e, release: t }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-medium text-text-primary",children: "Peach 用户脚本"- }), /* @__PURE__ */ (0, D.jsx)(eH, {+ }), /* @__PURE__ */ (0, D.jsx)($V, {tone: c,children: l})]@@ -75890,7 +75890,7 @@ function SLe({ enabled: e, release: t }) {children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-regular text-text-secondary",children: "浏览器添加"- }), /* @__PURE__ */ (0, D.jsx)(jV, {+ }), /* @__PURE__ */ (0, D.jsx)(AV, {tone: e ? "success" : "neutral",children: e ? "已启用" : "未启用"})]@@ -75901,7 +75901,7 @@ function SLe({ enabled: e, release: t }) {}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [i === "missing" || s ? /* @__PURE__ */ (0, D.jsx)(dk, {+ children: [i === "missing" || s ? /* @__PURE__ */ (0, D.jsx)(uk, {href: t.install_url,children: s ? "更新用户脚本" : "安装 Peach 用户脚本"}) : null, /* @__PURE__ */ (0, D.jsx)(q, {@@ -75917,26 +75917,26 @@ function SLe({ enabled: e, release: t }) {}//#endregion//#region src/react/settings/jav-browser-settings.tsx-var LK = "/api/configuration/jav-browser";-function CLe({ receipt: e, refreshKey: t }) {+var IK = "/api/configuration/jav-browser";+function wLe({ receipt: e, refreshKey: t }) {let n = yt({queryKey: ["jav-browser-settings", t],- queryFn: ({ signal: e }) => H(LK, e),+ queryFn: ({ signal: e }) => H(IK, e),refetchOnMount: "always",refetchOnWindowFocus: "always"});- return n.error && !n.data ? /* @__PURE__ */ (0, D.jsx)(lk, { children: V(n.error) }) : n.isFetching && !n.data ? /* @__PURE__ */ (0, D.jsx)(XO, { label: "正在读取浏览器添加设置" }) : n.data ? /* @__PURE__ */ (0, D.jsx)(wLe, {+ return n.error && !n.data ? /* @__PURE__ */ (0, D.jsx)(ck, { children: V(n.error) }) : n.isFetching && !n.data ? /* @__PURE__ */ (0, D.jsx)(YO, { label: "正在读取浏览器添加设置" }) : n.data ? /* @__PURE__ */ (0, D.jsx)(TLe, {initial: n.data,receipt: e}) : null;}-function wLe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.provider), [o, s] = (0, E.useState)(""), c = ek();+function TLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.provider), [o, s] = (0, E.useState)(""), c = $O();(0, E.useEffect)(() => {r(e), a((t) => e.providers.some((e) => e.key === t) ? t : e.provider), e.enabled || s("");}, [e]);let l = (e) => {- c.run(e, (t) => U(LK, {+ c.run(e, (t) => U(IK, {action: e,provider: i}, "POST", t), (n) => {@@ -75944,16 +75944,16 @@ function wLe({ initial: e, receipt: t }) {r(o), a(o.provider), s(i), t(e === "disable" ? "已关闭浏览器添加" : "已生成专用令牌");});}, u = n.providers.some((e) => e.key === i && e.configured && e.target);- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "浏览器添加 JAV",- children: [/* @__PURE__ */ (0, D.jsxs)(ok, { children: [- /* @__PURE__ */ (0, D.jsx)(SLe, {+ children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [+ /* @__PURE__ */ (0, D.jsx)(CLe, {enabled: n.enabled,release: n.userscript}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: "浏览器添加的下载渠道" }), /* @__PURE__ */ (0, D.jsx)(hF, {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: "浏览器添加的下载渠道" }), /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "浏览器添加的下载渠道",selectedKey: i || null,placeholder: "暂无可用渠道",@@ -75961,27 +75961,27 @@ function wLe({ initial: e, receipt: t }) {e !== null && a(String(e));},isDisabled: !n.providers.length || !!c.busy,- children: n.providers.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: n.providers.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, D.jsx)(Dk, {+ children: /* @__PURE__ */ (0, D.jsx)(Ek, {source: e.key,label: e.label})}, e.key))})]}),- u ? null : /* @__PURE__ */ (0, D.jsx)(ck, { children: "请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。" }),- n.problems?.map((e) => /* @__PURE__ */ (0, D.jsx)(ck, { children: e }, e)),- n.enabled && n.active_provider && !n.providers.some((e) => e.key === n.active_provider) ? /* @__PURE__ */ (0, D.jsx)(ck, { children: "已启用的下载渠道不可用,请选择渠道并更新令牌。" }) : null,- /* @__PURE__ */ (0, D.jsx)(iM, {+ u ? null : /* @__PURE__ */ (0, D.jsx)(sk, { children: "请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。" }),+ n.problems?.map((e) => /* @__PURE__ */ (0, D.jsx)(sk, { children: e }, e)),+ n.enabled && n.active_provider && !n.providers.some((e) => e.key === n.active_provider) ? /* @__PURE__ */ (0, D.jsx)(sk, { children: "已启用的下载渠道不可用,请选择渠道并更新令牌。" }) : null,+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "Peach 地址",value: window.location.origin,isReadOnly: !0,autoComplete: "off"}),o ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "浏览器添加专用令牌",type: "password",value: o,@@ -76001,10 +76001,10 @@ function wLe({ initial: e, receipt: t }) {...Y(c.busy === "copy"),children: "复制配对信息"}) }),- /* @__PURE__ */ (0, D.jsx)(ck, { children: "在用户脚本设置的「Peach 地址」中粘贴配对信息,即可填好地址与令牌。" })+ /* @__PURE__ */ (0, D.jsx)(sk, { children: "在用户脚本设置的「Peach 地址」中粘贴配对信息,即可填好地址与令牌。" })] }) : null,- c.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: c.error }) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(sk, { children: [n.enabled ? /* @__PURE__ */ (0, D.jsx)(q, {+ c.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: c.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsxs)(ok, { children: [n.enabled ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",type: "button",disabled: !!c.busy,@@ -76021,17 +76021,17 @@ function wLe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/download-settings.tsx-var TLe = "/api/configuration/downloads", RK = "/api/configuration/downloads/check", ELe = "/api/configuration/downloads/folder", DLe = "/api/configuration/downloads/pikpak/login", OLe = "/api/configuration/downloads/pikpak/logout", zK = "/api/configuration/downloads/pikpak/browser-login", BK = 2e3, kLe = X_e("pikpak");-function ALe({ initial: e, receipt: t, panel: n }) {+var ELe = "/api/configuration/downloads", LK = "/api/configuration/downloads/check", DLe = "/api/configuration/downloads/folder", OLe = "/api/configuration/downloads/pikpak/login", kLe = "/api/configuration/downloads/pikpak/logout", RK = "/api/configuration/downloads/pikpak/browser-login", zK = 2e3, ALe = Z_e("pikpak");+function jLe({ initial: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, D.jsx)("div", {- ...IK(n),- children: /* @__PURE__ */ (0, D.jsx)(jLe, {+ ...FK(n),+ children: /* @__PURE__ */ (0, D.jsx)(MLe, {initial: e,receipt: t})});}-function jLe({ initial: e, receipt: t }) {+function MLe({ initial: e, receipt: t }) {let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)("");(0, E.useEffect)(() => {r((t) => ({@@ -76042,20 +76042,20 @@ function jLe({ initial: e, receipt: t }) {}, [e.media_sources, e.pikpak_roots]);let o = n.media_sources ?? [], s = o.includes("pikpak"), c = o.some((e) => Lt.includes(e)), l = s && (n.pikpak.logged_in || !!i.trim());return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- c ? /* @__PURE__ */ (0, D.jsx)(MLe, {+ c ? /* @__PURE__ */ (0, D.jsx)(NLe, {state: n,settle: r,receipt: t,pikpakAccount: l}) : null,- s ? /* @__PURE__ */ (0, D.jsx)(PLe, {+ s ? /* @__PURE__ */ (0, D.jsx)(FLe, {state: n,settle: r,receipt: t,username: i,setUsername: a}) : null,- /* @__PURE__ */ (0, D.jsx)(CLe, {+ /* @__PURE__ */ (0, D.jsx)(wLe, {receipt: t,refreshKey: JSON.stringify([n.media_sources,@@ -76066,8 +76066,8 @@ function jLe({ initial: e, receipt: t }) {})] });}-function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {- let [i, a] = (0, E.useState)(e.config), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(String(e.config.wait_hours)), [u, d] = (0, E.useState)(null), [f, p] = (0, E.useState)(""), [m, h] = (0, E.useState)(VK), [g, _] = (0, E.useState)(""), [v, y] = (0, E.useState)(!1), b = ek(), x = e.media_sources ?? [], S = x.includes("115"), C = x.includes("pikpak"), w = (e) => i.targets[e] ?? "", T = (e, t) => a({+function NLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {+ let [i, a] = (0, E.useState)(e.config), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(String(e.config.wait_hours)), [u, d] = (0, E.useState)(null), [f, p] = (0, E.useState)(""), [m, h] = (0, E.useState)(BK), [g, _] = (0, E.useState)(""), [v, y] = (0, E.useState)(!1), b = $O(), x = e.media_sources ?? [], S = x.includes("115"), C = x.includes("pikpak"), w = (e) => i.targets[e] ?? "", T = (e, t) => a({...i,targets: {...i.targets,@@ -76096,8 +76096,8 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {target: !e.config.targets[115],root: !e.config.pikpak_root};- b.run("auto", (e) => H(RK, e), (e) => k(e, t), (e) => _(V(e)));- }, []), /* @__PURE__ */ (0, D.jsxs)(ik, {+ b.run("auto", (e) => H(LK, e), (e) => k(e, t), (e) => _(V(e)));+ }, []), /* @__PURE__ */ (0, D.jsxs)(rk, {title: "云下载",onSubmit: (e) => {if (e.preventDefault(), O) {@@ -76110,18 +76110,18 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {token: o,pikpak_account: r};- b.run("save", (e) => U(TLe, f, "POST", e), (e) => {+ b.run("save", (e) => U(ELe, f, "POST", e), (e) => {let { report: r, ...i } = e;t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? k(r, {address: !i.config.clouddrive_address,target: u,root: !i.config.pikpak_root- }, i.config.targets[115] ?? "") : (d(null), p(""), h(VK), y(!1), _("")), n("已保存配置");+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(BK), y(!1), _("")), n("已保存配置");}, (e) => _(V(e)));},children: [- /* @__PURE__ */ (0, D.jsxs)(ok, { children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsxs)(ak, { children: [+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "CloudDrive2 地址",placeholder: "留空自动查找",autoComplete: "off",@@ -76133,7 +76133,7 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {clouddrive_address: e})}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "CloudDrive2 API 令牌",type: "password",autoComplete: "off",@@ -76144,8 +76144,8 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: s}),- S ? /* @__PURE__ */ (0, D.jsx)(iM, {- label: /* @__PURE__ */ (0, D.jsx)(Dk, {+ S ? /* @__PURE__ */ (0, D.jsx)(rM, {+ label: /* @__PURE__ */ (0, D.jsx)(Ek, {source: "115",label: "115 目标目录"}),@@ -76159,8 +76159,8 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: (e) => T("115", e)}) : null,- C ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(iM, {- label: /* @__PURE__ */ (0, D.jsx)(Dk, {+ C ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(rM, {+ label: /* @__PURE__ */ (0, D.jsx)(Ek, {source: "pikpak",label: "PikPak 目标目录"}),@@ -76173,10 +76173,10 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {onChange: (e) => T("pikpak", e)}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: /* @__PURE__ */ (0, D.jsx)(Dk, {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: /* @__PURE__ */ (0, D.jsx)(Ek, {source: "pikpak",label: "PikPak 根目录对应的媒体目录"- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, D.jsx)(hF, {+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "PikPak 根目录对应的媒体目录",selectedKey: i.pikpak_root || null,isDisabled: !e.available,@@ -76185,13 +76185,13 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {...i,pikpak_root: e === null ? "" : String(e)}),- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: e}, e))- }) : /* @__PURE__ */ (0, D.jsx)(ck, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]+ }) : /* @__PURE__ */ (0, D.jsx)(sk, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]})] }) : null,- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "等待上限(小时)",type: "number",inputMode: "numeric",@@ -76202,11 +76202,11 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {onChange: l})] }),- b.busy === "auto" ? /* @__PURE__ */ (0, D.jsx)(ok, {+ b.busy === "auto" ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(XO, { label: "正在检查 CloudDrive2" })+ children: /* @__PURE__ */ (0, D.jsx)(YO, { label: "正在检查 CloudDrive2" })}) : null,- u ? /* @__PURE__ */ (0, D.jsx)(NLe, {+ u ? /* @__PURE__ */ (0, D.jsx)(PLe, {report: u,detected: f,suggested: m,@@ -76218,7 +76218,7 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- b.run("folder", (e) => U(ELe, t, "POST", e), (t) => {+ b.run("folder", (e) => U(DLe, t, "POST", e), (t) => {d(t), h((t) => ({...t,target: {@@ -76230,11 +76230,11 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {} : void 0,creating: b.busy === "folder"}) : null,- g || b.error ? /* @__PURE__ */ (0, D.jsx)(ok, {+ g || b.error ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: g || b.error })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: g || b.error })}) : null,- /* @__PURE__ */ (0, D.jsxs)(sk, {+ /* @__PURE__ */ (0, D.jsxs)(ok, {status: e.available ? void 0 : "云下载只在允许修改数据库的设备上可用。",children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -76250,7 +76250,7 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- b.run("check", (e) => U(RK, t, "POST", e), (t) => k(t, e), (e) => _(V(e)));+ b.run("check", (e) => U(LK, t, "POST", e), (t) => k(t, e), (e) => _(V(e)));},disabled: !e.available,...Y(b.busy === "check"),@@ -76265,29 +76265,29 @@ function MLe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {]});}-var VK = {+var BK = {target: null,root: "",saved: !1};-function NLe({ report: e, detected: t, suggested: n, create: r, creating: i }) {+function PLe({ report: e, detected: t, suggested: n, create: r, creating: i }) {let a = n.target, o = !!(t || a || n.root || e.permissions.length || e.folder || e.quota);- return !o && !e.problems.length ? null : /* @__PURE__ */ (0, D.jsxs)(ok, {+ return !o && !e.problems.length ? null : /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,- children: [o ? /* @__PURE__ */ (0, D.jsxs)(fk, { children: [- t ? /* @__PURE__ */ (0, D.jsx)(pk, {+ children: [o ? /* @__PURE__ */ (0, D.jsxs)(dk, { children: [+ t ? /* @__PURE__ */ (0, D.jsx)(fk, {term: "CloudDrive2 地址",children: `探测到 ${t},保存配置后生效`}) : null,- a?.exists ? /* @__PURE__ */ (0, D.jsx)(pk, {- term: /* @__PURE__ */ (0, D.jsx)(Dk, {+ a?.exists ? /* @__PURE__ */ (0, D.jsx)(fk, {+ term: /* @__PURE__ */ (0, D.jsx)(Ek, {source: "115",label: "115 目标目录"}),children: n.saved ? `已根据媒体库目录填入 ${a.path}` : `根据媒体库目录填入 ${a.path},保存配置后生效`}) : null,- a && !a.exists ? /* @__PURE__ */ (0, D.jsxs)(pk, {- term: /* @__PURE__ */ (0, D.jsx)(Dk, {+ a && !a.exists ? /* @__PURE__ */ (0, D.jsxs)(fk, {+ term: /* @__PURE__ */ (0, D.jsx)(Ek, {source: "115",label: "115 目标目录"}),@@ -76299,63 +76299,63 @@ function NLe({ report: e, detected: t, suggested: n, create: r, creating: i }) {children: "新建这个目录"}) : null]}) : null,- n.root ? /* @__PURE__ */ (0, D.jsx)(pk, {- term: /* @__PURE__ */ (0, D.jsx)(Dk, {+ n.root ? /* @__PURE__ */ (0, D.jsx)(fk, {+ term: /* @__PURE__ */ (0, D.jsx)(Ek, {source: "pikpak",label: "PikPak 根目录"}),children: `根据媒体库目录填入 ${n.root},保存配置后生效`}) : null,- e.permissions.length ? /* @__PURE__ */ (0, D.jsx)(pk, {+ e.permissions.length ? /* @__PURE__ */ (0, D.jsx)(fk, {term: "离线权限",- children: e.missing.length ? e.missing.map((e) => /* @__PURE__ */ (0, D.jsx)(BO, {+ children: e.missing.length ? e.missing.map((e) => /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "yellow",children: `缺 ${e}`- }, e)) : /* @__PURE__ */ (0, D.jsx)(BO, {+ }, e)) : /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "lime",children: "齐全"})}) : null,- e.folder ? /* @__PURE__ */ (0, D.jsx)(pk, {+ e.folder ? /* @__PURE__ */ (0, D.jsx)(fk, {term: "目标目录",children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`}) : null,- e.quota ? /* @__PURE__ */ (0, D.jsx)(pk, {- term: /* @__PURE__ */ (0, D.jsx)(Dk, {+ e.quota ? /* @__PURE__ */ (0, D.jsx)(fk, {+ term: /* @__PURE__ */ (0, D.jsx)(Ek, {source: "115",label: "115 离线配额"}),children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`}) : null- ] }) : null, e.problems.map((e) => /* @__PURE__ */ (0, D.jsx)(lk, { children: e }, e))]+ ] }) : null, e.problems.map((e) => /* @__PURE__ */ (0, D.jsx)(ck, { children: e }, e))]});}-function PLe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {- let [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(!1), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(""), h = ek(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";+function FLe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {+ let [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(!1), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(""), h = $O(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";(0, E.useEffect)(() => {if (!v) return;let e = new AbortController(), r, i = async () => {try {- let r = await H(zK, e.signal);+ let r = await H(RK, e.signal);if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;} catch (t) {if (e.signal.aborted) return;f(V(t));}- r = setTimeout(i, BK);+ r = setTimeout(i, zK);};- return r = setTimeout(i, BK), () => {+ return r = setTimeout(i, zK), () => {e.abort(), clearTimeout(r);};}, [v]);let y = () => {- m(""), h.run("browser", (e) => U(zK, {}, "POST", e), (e) => {+ m(""), h.run("browser", (e) => U(RK, {}, "POST", e), (e) => {t(e), f("");}, (e) => f(V(e)));}, b = () => {- h.run("cancel", (e) => U(`${zK}/cancel`, {}, "POST", e), (e) => {+ h.run("cancel", (e) => U(`${RK}/cancel`, {}, "POST", e), (e) => {t(e), f(""), m(e.pikpak_browser.message);}, (e) => f(V(e)));}, x = (e) => {@@ -76365,15 +76365,15 @@ function PLe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {password: a,remember: s};- h.run("login", (e) => U(DLe, i, "POST", e), (e) => {+ h.run("login", (e) => U(OLe, i, "POST", e), (e) => {t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");}, (e) => f(V(e)));}, S = () => {- h.run("logout", (e) => U(OLe, {}, "POST", e), (e) => {+ h.run("logout", (e) => U(kLe, {}, "POST", e), (e) => {t(e), f(""), n("已登出 PikPak");}, (e) => f(V(e)));}, C = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "账号",placeholder: "邮箱或手机号",autoComplete: "username",@@ -76382,7 +76382,7 @@ function PLe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: i}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "密码",type: "password",autoComplete: "current-password",@@ -76391,7 +76391,7 @@ function PLe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: o}),- /* @__PURE__ */ (0, D.jsx)(EN, {+ /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: s,isDisabled: !e.available,onChange: c,@@ -76402,7 +76402,7 @@ function PLe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {title: "需要人机验证",extra: /* @__PURE__ */ (0, D.jsx)("div", {className: "pt-2",- children: /* @__PURE__ */ (0, D.jsx)(dk, {+ children: /* @__PURE__ */ (0, D.jsx)(uk, {href: l,children: "打开 PikPak 验证页"})@@ -76416,34 +76416,34 @@ function PLe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {...Y(h.busy === "login"),children: "登录"}), T = _.state === "timeout" || _.state === "failed";- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "PikPak 账号",- icon: /* @__PURE__ */ (0, D.jsx)(kLe, {}),+ icon: /* @__PURE__ */ (0, D.jsx)(ALe, {}),onSubmit: x,- aside: /* @__PURE__ */ (0, D.jsx)(jV, {+ aside: /* @__PURE__ */ (0, D.jsx)(AV, {tone: g.logged_in ? "success" : v ? "progress" : T ? "error" : "neutral",children: g.logged_in ? "已登录" : v ? "等待登录" : T ? "登录未完成" : "待登录"}),children: [- g.logged_in ? /* @__PURE__ */ (0, D.jsxs)(fk, { children: [/* @__PURE__ */ (0, D.jsx)(pk, {+ g.logged_in ? /* @__PURE__ */ (0, D.jsxs)(dk, { children: [/* @__PURE__ */ (0, D.jsx)(fk, {term: "账号",children: g.username || "已登录"- }), g.method === "browser" ? /* @__PURE__ */ (0, D.jsx)(pk, {+ }), g.method === "browser" ? /* @__PURE__ */ (0, D.jsx)(fk, {term: "登录方式",children: "浏览器登录,由 Peach 续期"- }) : /* @__PURE__ */ (0, D.jsx)(pk, {+ }) : /* @__PURE__ */ (0, D.jsx)(fk, {term: "密码",children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"- })] }) : /* @__PURE__ */ (0, D.jsxs)(ok, { children: [p ? T ? /* @__PURE__ */ (0, D.jsx)(lk, { children: p }) : /* @__PURE__ */ (0, D.jsx)(ck, {+ })] }) : /* @__PURE__ */ (0, D.jsxs)(ak, { children: [p ? T ? /* @__PURE__ */ (0, D.jsx)(ck, { children: p }) : /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: p}) : null, C] }),- d || h.error ? /* @__PURE__ */ (0, D.jsx)(ok, {+ d || h.error ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: d || h.error })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: d || h.error })}) : null,- /* @__PURE__ */ (0, D.jsx)(sk, {- status: !g.logged_in && v ? /* @__PURE__ */ (0, D.jsx)(XO, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,+ /* @__PURE__ */ (0, D.jsx)(ok, {+ status: !g.logged_in && v ? /* @__PURE__ */ (0, D.jsx)(YO, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,children: g.logged_in ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: S,@@ -76469,34 +76469,150 @@ function PLe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {});}//#endregion+//#region src/react/settings/storage-settings.tsx+var VK = "/api/configuration/storage", ILe = 1500, LLe = 864e5, RLe = (e) => e instanceof wn && e.body?.errors?.target || V(e);+function zLe(e) {+ if (e.free_bytes === null || e.total_bytes === null) return "未取得";+ let t = `${pn(e.free_bytes)} 可用,共 ${pn(e.total_bytes)}`;+ return e.system_drive ? `${t}(系统盘)` : t;+}+function BLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(""), o = $O(), s = n.job.state !== "idle", c = (0, E.useRef)(s);+ (0, E.useEffect)(() => {+ if (!s) return;+ let e = new AbortController(), t = setTimeout(() => {+ H(VK, e.signal).then(r, () => {+ e.signal.aborted || r((e) => ({ ...e }));+ });+ }, ILe);+ return () => {+ e.abort(), clearTimeout(t);+ };+ }, [n]), (0, E.useEffect)(() => {+ s ? c.current = !0 : c.current && (c.current = !1, n.job.error || t(n.job.message || "已统计占用空间"));+ }, [s]);+ let l = () => void o.run("measure", (e) => U(`${VK}/measure`, {}, "POST", e), r), u = (e) => void Ys({+ title: `清理${e.label}`,+ body: `将删除 ${pn(e.reclaimable)} 的${e.label},${e.description}。`,+ confirmLabel: `清理${e.label}`,+ danger: e.key === "backups",+ onConfirm: async () => r(await U(`${VK}/clean`, { category: e.key }))+ }), d = () => void o.run("relocate", async (e) => {+ let t = (await U(SB, { initial: n.data_root }, "POST", e)).path;+ t && await Ys({+ title: "迁移数据目录",+ body: `将 ${n.usage ? pn(n.usage.total_bytes) : ""} 数据从 ${n.data_root} 移到 ${t}。迁移期间 Peach 会退出,完成后自动重新打开;原位置的数据在新位置核对无误后删除。`,+ confirmLabel: "迁移数据目录",+ onConfirm: async () => {+ try {+ a((await U(`${VK}/relocate`, { target: t })).message);+ } catch (e) {+ throw Error(RLe(e));+ }+ }+ });+ }, () => void 0), f = n.usage, p = n.relocation.last, m = p && (p.state === "error" || (p.notes?.length ?? 0) > 0 || Date.now() - p.finished_at * 1e3 < LLe), h = i || (n.job.state === "measuring" ? "正在统计占用空间…" : n.job.state === "cleaning" ? "正在清理…" : f ? `共 ${pn(f.total_bytes)},${f.total_files.toLocaleString()} 个文件` : ""), g = s || !!i;+ return /* @__PURE__ */ (0, D.jsxs)(rk, {+ id: "storageSettings",+ title: "存储空间",+ children: [+ /* @__PURE__ */ (0, D.jsxs)(dk, { children: [/* @__PURE__ */ (0, D.jsx)(fk, {+ term: "数据目录",+ children: /* @__PURE__ */ (0, D.jsx)(jV, {+ path: n.data_root,+ className: "text-body-regular text-text-primary",+ onRevealed: t+ })+ }), /* @__PURE__ */ (0, D.jsx)(fk, {+ term: "所在磁盘",+ children: zLe(n)+ })] }),+ f ? /* @__PURE__ */ (0, D.jsx)(ik, { children: f.categories.map((e) => /* @__PURE__ */ (0, D.jsx)(nk, {+ label: e.label,+ description: e.cleanable && e.description ? e.description : void 0,+ children: /* @__PURE__ */ (0, D.jsxs)("div", {+ className: "flex shrink-0 items-center gap-3",+ children: [/* @__PURE__ */ (0, D.jsx)("span", {+ className: "text-body-regular text-text-secondary tabular-nums",+ children: pn(e.bytes)+ }), e.cleanable && e.reclaimable > 0 ? (() => {+ let t = n.job.state === "cleaning" && n.job.category === e.key;+ return /* @__PURE__ */ (0, D.jsxs)(q, {+ variant: "secondary",+ disabled: g && !t,+ ...Y(t),+ onClick: () => u(e),+ children: ["清理 ", pn(e.reclaimable)]+ });+ })() : null]+ })+ }, e.key)) }) : /* @__PURE__ */ (0, D.jsx)(ak, {+ divided: !0,+ children: /* @__PURE__ */ (0, D.jsx)(sk, { children: "统计后显示各类数据的占用,并可清理缓存与旧备份。" })+ }),+ !n.relocation.available || n.job.error || o.error || m ? /* @__PURE__ */ (0, D.jsxs)(ak, {+ divided: !0,+ children: [+ n.relocation.available ? null : /* @__PURE__ */ (0, D.jsx)(sk, { children: n.relocation.message }),+ n.job.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: n.job.message }) : null,+ o.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: o.error }) : null,+ m && p ? p.state === "error" ? /* @__PURE__ */ (0, D.jsx)(ck, { children: p.message }) : /* @__PURE__ */ (0, D.jsx)(sk, { children: [p.message, ...p.notes ?? []].join(";") }) : null+ ]+ }) : null,+ /* @__PURE__ */ (0, D.jsxs)(ok, {+ status: h ? /* @__PURE__ */ (0, D.jsx)("p", {+ role: i ? "status" : void 0,+ children: h+ }) : null,+ children: [/* @__PURE__ */ (0, D.jsx)(q, {+ variant: "secondary",+ disabled: g || !n.relocation.available || !f,+ onClick: d,+ ...Y(o.busy === "relocate"),+ children: "更改位置"+ }), /* @__PURE__ */ (0, D.jsx)(q, {+ disabled: !!i || n.job.state === "cleaning",+ onClick: l,+ ...Y(o.busy === "measure" || n.job.state === "measuring"),+ children: f ? "重新统计" : "统计占用"+ })]+ })+ ]+ });+}+//#endregion//#region src/react/settings/maintenance-settings.tsx-var FLe = [+var VLe = [["6", "每 6 小时"],["24", "每天"],["168", "每周"]];-function ILe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {+function HLe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- ...IK(r),+ ...FK(r),children: [- /* @__PURE__ */ (0, D.jsx)(zLe, { facts: e.facts }),- /* @__PURE__ */ (0, D.jsx)(LLe, {+ /* @__PURE__ */ (0, D.jsx)(GLe, { facts: e.facts }),+ e.storage ? /* @__PURE__ */ (0, D.jsx)(BLe, {+ initial: e.storage,+ receipt: t+ }) : null,+ /* @__PURE__ */ (0, D.jsx)(ULe, {receipt: t,reopenTutorial: n}),- e.uninstall ? /* @__PURE__ */ (0, D.jsx)(BLe, {+ e.uninstall ? /* @__PURE__ */ (0, D.jsx)(KLe, {uninstall: e.uninstall,receipt: t}) : null]});}-function LLe({ receipt: e, reopenTutorial: t }) {- let n = ek();+function ULe({ receipt: e, reopenTutorial: t }) {+ let n = $O();return /* @__PURE__ */ (0, D.jsx)("section", {"aria-label": "安装教程",className: "w-full",- children: /* @__PURE__ */ (0, D.jsxs)(tk, { children: [/* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(rk, {+ children: /* @__PURE__ */ (0, D.jsxs)(ek, { children: [/* @__PURE__ */ (0, D.jsx)(ik, { children: /* @__PURE__ */ (0, D.jsx)(nk, {label: "安装教程",children: /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -76504,62 +76620,62 @@ function LLe({ receipt: e, reopenTutorial: t }) {...Y(n.busy === "reopen"),children: "重新打开教程"})- }) }), n.error ? /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(lk, { children: n.error }) }) : null] })+ }) }), n.error ? /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(ck, { children: n.error }) }) : null] })});}-function RLe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.mode), [i, a] = (0, E.useState)(e.interval_hours), o = ek(e.error), s = (r) => {+function WLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.mode), [i, a] = (0, E.useState)(e.interval_hours), o = $O(e.error), s = (r) => {r.preventDefault(), e.available && o.run("save", (e) => U("/api/configuration/automatic-updates", {mode: n,interval_hours: i}, "POST", e), () => t("已保存配置"));}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {id: "automaticUpdates",title: "自动更新",onSubmit: s,children: [- /* @__PURE__ */ (0, D.jsxs)(ak, { children: [- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsxs)(ik, { children: [+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "自动检查新版本",- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "自动检查新版本",isSelected: n !== "off",isDisabled: !e.available,onChange: (e) => r(e ? "check" : "off")})}),- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "自动下载更新",- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "自动下载更新",isSelected: n === "download",isDisabled: !e.available || !e.download_available || n === "off",onChange: (e) => r(e ? "download" : "check")})}),- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "检查频率",description: c,- children: /* @__PURE__ */ (0, D.jsx)(hF, {+ children: /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "检查频率",selectedKey: String(i),isDisabled: !e.available,onSelectionChange: (e) => {e !== null && a(Number(e));},- children: FLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: VLe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))})})] }),- o.error ? /* @__PURE__ */ (0, D.jsx)(ok, {+ o.error ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: o.error })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: o.error })}) : null,- /* @__PURE__ */ (0, D.jsx)(sk, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",disabled: !e.available,...Y(o.busy === "save"),@@ -76568,19 +76684,19 @@ function RLe({ initial: e, receipt: t }) {]});}-function zLe({ facts: e }) {- return /* @__PURE__ */ (0, D.jsx)(ik, {+function GLe({ facts: e }) {+ return /* @__PURE__ */ (0, D.jsx)(rk, {title: "运行信息",- children: /* @__PURE__ */ (0, D.jsx)(fk, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(pk, {+ children: /* @__PURE__ */ (0, D.jsx)(dk, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(fk, {term: e.term,- children: [e.value, e.download_url ? /* @__PURE__ */ (0, D.jsx)(dk, {+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, D.jsx)(uk, {href: e.download_url,children: e.download_label}) : null]}, e.term)) })});}-function BLe({ uninstall: e, receipt: t }) {+function KLe({ uninstall: e, receipt: t }) {let [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(""), o = () => void Ys({title: "卸载 Peach",danger: !0,@@ -76594,33 +76710,33 @@ function BLe({ uninstall: e, receipt: t }) {a(e.message);}}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {id: "uninstallPeach",title: "卸载 Peach",children: [- e.available ? /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(ck, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) }) : null,- /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(rk, {+ e.available ? /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(sk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) }) : null,+ /* @__PURE__ */ (0, D.jsx)(ik, { children: /* @__PURE__ */ (0, D.jsx)(nk, {label: "完全卸载",description: "同时删除设置、本地数据库、观看记录、凭据和缓存",- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "完全卸载",isSelected: n,isDisabled: !e.full_available || !!i,onChange: r})}) }),- /* @__PURE__ */ (0, D.jsx)(ok, {+ /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(mk, {+ children: /* @__PURE__ */ (0, D.jsx)(pk, {summary: "数据目录",- children: c.map((e) => /* @__PURE__ */ (0, D.jsx)(MV, {+ children: c.map((e) => /* @__PURE__ */ (0, D.jsx)(jV, {path: e,className: "text-body-2-regular text-text-secondary",onRevealed: t}, e))})}),- /* @__PURE__ */ (0, D.jsx)(sk, {+ /* @__PURE__ */ (0, D.jsx)(ok, {status: s ? /* @__PURE__ */ (0, D.jsx)("p", {role: i ? "status" : void 0,children: s@@ -76644,16 +76760,16 @@ var HK = /* @__PURE__ */ new Set(["preparing","restarting","installing"-]), VLe = [+]), qLe = [65,75,90], UK = 120;-function HLe({ initial: e, initialJob: t }) {+function JLe({ initial: e, initialJob: t }) {let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(t || {state: "idle",progress: 0- }), [o, s] = (0, E.useState)(""), c = ek(), l = (0, E.useRef)(!1), u = (0, E.useRef)(!0), d = HK.has(i.state);+ }), [o, s] = (0, E.useState)(""), c = $O(), l = (0, E.useRef)(!1), u = (0, E.useRef)(!0), d = HK.has(i.state);(0, E.useEffect)(() => (u.current = !0, () => {u.current = !1;}), []);@@ -76699,66 +76815,66 @@ function HLe({ initial: e, initialJob: t }) {state: "error"}), c.setError(V(t));}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "检查更新",- aside: /* @__PURE__ */ (0, D.jsx)(jV, {+ aside: /* @__PURE__ */ (0, D.jsx)(AV, {tone: g || n.state === "error" || i.state === "error" ? "error" : d ? "progress" : n.state === "available" ? "warning" : n.state === "unchecked" ? "neutral" : "success",children: g || n.state === "error" || i.state === "error" ? "检查未完成" : d ? "准备更新中" : i.state === "ready" ? "可安装" : n.state === "available" ? "有可用更新" : n.state === "unchecked" ? "尚未检查" : "检查完成"}),children: [- /* @__PURE__ */ (0, D.jsxs)(fk, { children: [- /* @__PURE__ */ (0, D.jsx)(pk, {+ /* @__PURE__ */ (0, D.jsxs)(dk, { children: [+ /* @__PURE__ */ (0, D.jsx)(fk, {term: "当前版本",children: n.current_version}),- /* @__PURE__ */ (0, D.jsx)(pk, {+ /* @__PURE__ */ (0, D.jsx)(fk, {term: "安装方式",children: n.installation}),- /* @__PURE__ */ (0, D.jsx)(pk, {+ /* @__PURE__ */ (0, D.jsx)(fk, {term: "更新通道",children: n.channel}),- /* @__PURE__ */ (0, D.jsx)(pk, {+ /* @__PURE__ */ (0, D.jsx)(fk, {term: "最新版本",children: n.latest_version || "未取得"}),- n.package_kind ? /* @__PURE__ */ (0, D.jsxs)(pk, {+ n.package_kind ? /* @__PURE__ */ (0, D.jsxs)(fk, {term: "下载内容",children: [n.package_kind === "update" ? "应用更新包" : "应用与工具", n.asset_size ? ` · ${(n.asset_size / 1048576).toFixed(1)} MB` : ""]}) : null] }),- n.package_kind === "update" ? /* @__PURE__ */ (0, D.jsx)(ck, { children: "应用更新包复用已安装工具;工具缺失、损坏或版本变化时会另行下载所需工具包。" }) : n.package_kind === "full" ? /* @__PURE__ */ (0, D.jsx)(ck, { children: "本次更新包含媒体工具。" }) : null,- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, D.jsxs)(ok, {+ n.package_kind === "update" ? /* @__PURE__ */ (0, D.jsx)(sk, { children: "应用更新包复用已安装工具;工具缺失、损坏或版本变化时会另行下载所需工具包。" }) : n.package_kind === "full" ? /* @__PURE__ */ (0, D.jsx)(sk, { children: "本次更新包含媒体工具。" }) : null,+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,children: [- n.checked_at ? /* @__PURE__ */ (0, D.jsxs)(ck, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,+ n.checked_at ? /* @__PURE__ */ (0, D.jsxs)(sk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,n.state === "available" && !g ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "info",title: "有可用更新",children: n.message- }) : g || n.state === "error" ? /* @__PURE__ */ (0, D.jsx)(lk, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, D.jsx)(ck, {+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, D.jsx)(ck, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: n.message}),- i.state === "error" ? /* @__PURE__ */ (0, D.jsx)(lk, { children: i.message }) : null,+ i.state === "error" ? /* @__PURE__ */ (0, D.jsx)(ck, { children: i.message }) : null,i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, D.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)($O, {+ /* @__PURE__ */ (0, D.jsx)(QO, {label: "更新准备进度",value: i.progress,- stops: VLe+ stops: qLe}),- /* @__PURE__ */ (0, D.jsxs)(ck, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),- /* @__PURE__ */ (0, D.jsx)(ck, { children: _ })+ /* @__PURE__ */ (0, D.jsxs)(sk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),+ /* @__PURE__ */ (0, D.jsx)(sk, { children: _ })]}) : null]}),- /* @__PURE__ */ (0, D.jsxs)(sk, {- status: /* @__PURE__ */ (0, D.jsx)(dk, {+ /* @__PURE__ */ (0, D.jsxs)(ok, {+ status: /* @__PURE__ */ (0, D.jsx)(uk, {href: n.release_url,children: "查看发布页"}),@@ -76788,11 +76904,11 @@ function HLe({ initial: e, initialJob: t }) {}//#endregion//#region src/react/settings/remote-reporting-settings.tsx-function ULe({ value: e, onChange: t, busy: n = !1 }) {- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(rk, {+function YLe({ value: e, onChange: t, busy: n = !1 }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(ik, { children: /* @__PURE__ */ (0, D.jsx)(nk, {label: "发送版本统计与错误诊断(推荐)",description: "上传版本、系统信息、故障类型、代码位置与发生次数。",- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "发送版本统计与错误诊断(推荐)",isSelected: e.usage && e.errors,onChange: (n) => t({@@ -76802,17 +76918,17 @@ function ULe({ value: e, onChange: t, busy: n = !1 }) {}),...Y(n)})- }) }), e.available ? null : /* @__PURE__ */ (0, D.jsx)(ok, {+ }) }), e.available ? null : /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,children: /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(jV, { children: "上传服务未配置" })+ children: /* @__PURE__ */ (0, D.jsx)(AV, { children: "上传服务未配置" })})})] });}-function WLe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), i = ek();- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(ULe, {+function XLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), i = $O();+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(YLe, {value: n,busy: i.busy === "save",onChange: (e) => {@@ -76823,15 +76939,15 @@ function WLe({ initial: e, receipt: t }) {r(e), t("已保存诊断选项");});}- }), i.error ? /* @__PURE__ */ (0, D.jsx)(ok, {+ }), i.error ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: i.error })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: i.error })}) : null] });}//#endregion//#region src/react/settings/library-sharing-settings.tsx-function GLe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(null), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(!1), u = (0, E.useMemo)(() => i ? JSON.stringify(i.data, null, 2) : "", [i]), d = ek(), f = (e) => void d.run("save", (t) => U("/api/configuration/library-sharing", {+function ZLe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(null), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(!1), u = (0, E.useMemo)(() => i ? JSON.stringify(i.data, null, 2) : "", [i]), d = $O(), f = (e) => void d.run("save", (t) => U("/api/configuration/library-sharing", {enabled: e,schema: n.schema,consent: c,@@ -76848,54 +76964,54 @@ function GLe({ initial: e, receipt: t }) {}};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(ik, { children: /* @__PURE__ */ (0, D.jsx)(nk, {label: "上传馆藏与口味明细",description: n.notice,- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "上传馆藏与口味明细",isSelected: n.enabled,onChange: (e) => e ? s(!0) : f(!1),...Y(d.busy === "save")})}) }),- n.available ? null : /* @__PURE__ */ (0, D.jsx)(ok, {+ n.available ? null : /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,children: /* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(jV, { children: "上传服务未配置" })+ children: /* @__PURE__ */ (0, D.jsx)(AV, { children: "上传服务未配置" })})}),- n.enabled && n.last_attempt?.status === "failed" ? /* @__PURE__ */ (0, D.jsxs)(ok, {+ n.enabled && n.last_attempt?.status === "failed" ? /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(jV, {+ children: /* @__PURE__ */ (0, D.jsx)(AV, {tone: n.last_attempt.attempted ? "error" : "warning",children: n.last_attempt.attempted ? "上传失败" : "待重新准备"})- }), /* @__PURE__ */ (0, D.jsx)(lk, { children: n.last_attempt.attempted ? "馆藏与口味上传失败,本周不再发送。" : "馆藏与口味上传未完成,将自动重新准备。" })]+ }), /* @__PURE__ */ (0, D.jsx)(ck, { children: n.last_attempt.attempted ? "馆藏与口味上传失败,本周不再发送。" : "馆藏与口味上传未完成,将自动重新准备。" })]}) : null,- n.enabled && n.last_attempt?.status === "waiting-data" ? /* @__PURE__ */ (0, D.jsxs)(ok, {+ n.enabled && n.last_attempt?.status === "waiting-data" ? /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(jV, { children: "等待数据" })- }), /* @__PURE__ */ (0, D.jsx)(ck, { children: "等待可分析的馆藏或偏好数据。" })]+ children: /* @__PURE__ */ (0, D.jsx)(AV, { children: "等待数据" })+ }), /* @__PURE__ */ (0, D.jsx)(sk, { children: "等待可分析的馆藏或偏好数据。" })]}) : null,- n.enabled && n.last_attempt?.status === "unknown" ? /* @__PURE__ */ (0, D.jsxs)(ok, {+ n.enabled && n.last_attempt?.status === "unknown" ? /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, D.jsx)(jV, {+ children: /* @__PURE__ */ (0, D.jsx)(AV, {tone: "warning",children: "结果未取得"})- }), /* @__PURE__ */ (0, D.jsx)(ck, { children: "未取得上传结果,本周不再发送。" })]+ }), /* @__PURE__ */ (0, D.jsx)(sk, { children: "未取得上传结果,本周不再发送。" })]}) : null,- i ? /* @__PURE__ */ (0, D.jsxs)(ok, {+ i ? /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,children: [- /* @__PURE__ */ (0, D.jsxs)(ck, { children: [+ /* @__PURE__ */ (0, D.jsxs)(sk, { children: ["当前预览包含 ",i.data.library.length," 部有编号作品、",@@ -76904,34 +77020,34 @@ function GLe({ initial: e, receipt: t }) {(i.bytes / 1024).toFixed(1)," KiB。不含账号、设备、文件路径和浏览器历史记录等个人数据。"] }),- /* @__PURE__ */ (0, D.jsx)(mk, {+ /* @__PURE__ */ (0, D.jsx)(pk, {summary: "上传数据预览",defaultOpen: !0,- children: /* @__PURE__ */ (0, D.jsx)(qO, {+ children: /* @__PURE__ */ (0, D.jsx)(KO, {code: u,language: "json",label: "馆藏与口味上传预览",maxCharacters: 24e3})}),- u.length > 24e3 ? /* @__PURE__ */ (0, D.jsx)(ck, { children: "显示前 24,000 个字符,下载可查看完整内容。" }) : null,+ u.length > 24e3 ? /* @__PURE__ */ (0, D.jsx)(sk, { children: "显示前 24,000 个字符,下载可查看完整内容。" }) : null,/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: p,children: "下载完整预览"}),- n.enabled ? null : /* @__PURE__ */ (0, D.jsx)(EN, {+ n.enabled ? null : /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: c,onChange: l,children: "我已查看上传预览,同意上传馆藏与口味明细"})]}) : null,- d.error ? /* @__PURE__ */ (0, D.jsx)(ok, {+ d.error ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: d.error })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: d.error })}) : null,- /* @__PURE__ */ (0, D.jsxs)(sk, { children: [+ /* @__PURE__ */ (0, D.jsxs)(ok, { children: [o && !n.enabled ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: () => {@@ -76961,42 +77077,42 @@ function GLe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/general-settings.tsx-function KLe({ data: e, receipt: t, panel: n }) {+function QLe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- ...IK(n),+ ...FK(n),children: [- e.remote_reporting || e.library_sharing ? /* @__PURE__ */ (0, D.jsxs)(ik, {+ e.remote_reporting || e.library_sharing ? /* @__PURE__ */ (0, D.jsxs)(rk, {id: "librarySharing",title: "数据上传",- children: [e.remote_reporting ? /* @__PURE__ */ (0, D.jsx)(WLe, {+ children: [e.remote_reporting ? /* @__PURE__ */ (0, D.jsx)(XLe, {initial: e.remote_reporting,receipt: t}) : null, e.library_sharing ? /* @__PURE__ */ (0, D.jsx)("div", {className: "border-t border-separator-border",- children: /* @__PURE__ */ (0, D.jsx)(GLe, {+ children: /* @__PURE__ */ (0, D.jsx)(ZLe, {initial: e.library_sharing,receipt: t})}) : null]}) : null,- e.startup ? /* @__PURE__ */ (0, D.jsx)(qLe, {+ e.startup ? /* @__PURE__ */ (0, D.jsx)($Le, {startup: e.startup,receipt: t}) : null,- e.automatic_updates ? /* @__PURE__ */ (0, D.jsx)(RLe, {+ e.automatic_updates ? /* @__PURE__ */ (0, D.jsx)(WLe, {initial: e.automatic_updates,receipt: t}) : null,- e.updates ? /* @__PURE__ */ (0, D.jsx)(HLe, {+ e.updates ? /* @__PURE__ */ (0, D.jsx)(JLe, {initial: e.updates,initialJob: e.update_job}) : null]});}-function qLe({ startup: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.enabled), [i, a] = (0, E.useState)(e.silent), [o, s] = (0, E.useState)(e.desktop), c = ek(), l = e.available && !e.desktop_message;- return /* @__PURE__ */ (0, D.jsxs)(ik, {+function $Le({ startup: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.enabled), [i, a] = (0, E.useState)(e.silent), [o, s] = (0, E.useState)(e.desktop), c = $O(), l = e.available && !e.desktop_message;+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "开机自启",onSubmit: (r) => {r.preventDefault(), e.available && c.run("save", (e) => U("/api/configuration/startup", {@@ -77006,29 +77122,29 @@ function qLe({ startup: e, receipt: t }) {}, "POST", e), () => t("已保存配置"));},children: [- /* @__PURE__ */ (0, D.jsxs)(ak, { children: [- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsxs)(ik, { children: [+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "开机后启动 Peach",- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "开机后启动 Peach",isSelected: n,isDisabled: !e.available,onChange: r})}),- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "只启动托盘,不打开网页",- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "只启动托盘,不打开网页",isSelected: i,isDisabled: !e.available || !n,onChange: a})}),- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "在桌面创建快捷方式",description: e.desktop_message || void 0,- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "在桌面创建快捷方式",isSelected: o,isDisabled: !l,@@ -77036,11 +77152,11 @@ function qLe({ startup: e, receipt: t }) {})})] }),- e.message || c.error ? /* @__PURE__ */ (0, D.jsxs)(ok, {+ e.message || c.error ? /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,- children: [e.message ? /* @__PURE__ */ (0, D.jsx)(ck, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: c.error }) : null]+ children: [e.message ? /* @__PURE__ */ (0, D.jsx)(sk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, D.jsx)(sk, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",disabled: !e.available,...Y(c.busy === "save"),@@ -77051,7 +77167,7 @@ function qLe({ startup: e, receipt: t }) {}//#endregion//#region src/react/restart-redirect.ts-var WK = 8e3, JLe = [+var WK = 8e3, eRe = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -77070,34 +77186,34 @@ var WK = 8e3, JLe = [read: "256 / 128 KB",task: "2 个起步"}-], YLe = [+], tRe = [["cache", "缓存上限"],["read", "读取长度(默认 / 最小)"],["task", "同时处理视频"]];-function XLe() {+function nRe() {return /* @__PURE__ */ (0, D.jsx)("div", {className: "@container flex flex-col gap-3",- children: /* @__PURE__ */ (0, D.jsxs)(mk, {+ children: /* @__PURE__ */ (0, D.jsxs)(pk, {summary: "CloudDrive 设置帮助",children: [- /* @__PURE__ */ (0, D.jsxs)(ck, { children: ["先将 CloudDrive2 或 OpenList 中的网盘挂载为本机文件夹,再在这里选择。", /* @__PURE__ */ (0, D.jsx)(dk, {+ /* @__PURE__ */ (0, D.jsxs)(sk, { children: ["先将 CloudDrive2 或 OpenList 中的网盘挂载为本机文件夹,再在这里选择。", /* @__PURE__ */ (0, D.jsx)(uk, {href: "https://www.clouddrive2.com/help.html",children: "挂载帮助"})] }),- /* @__PURE__ */ (0, D.jsx)(ck, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),- /* @__PURE__ */ (0, D.jsx)(ck, { children: "文件操作需要挂载工具和网盘账号授予写入权限。光鸭云盘的上传、建文件夹、改名和移动需要 CloudDrive2 v1.1.0 或更高版本,删除和复制暂不支持。" }),+ /* @__PURE__ */ (0, D.jsx)(sk, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),+ /* @__PURE__ */ (0, D.jsx)(sk, { children: "文件操作需要挂载工具和网盘账号授予写入权限。光鸭云盘的上传、建文件夹、改名和移动需要 CloudDrive2 v1.1.0 或更高版本,删除和复制暂不支持。" }),/* @__PURE__ */ (0, D.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",- children: JLe.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {+ children: eRe.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-medium text-text-primary",children: e.name}), /* @__PURE__ */ (0, D.jsx)("dl", {className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",- children: YLe.map(([t, n]) => /* @__PURE__ */ (0, D.jsxs)("div", {+ children: tRe.map(([t, n]) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col",children: [/* @__PURE__ */ (0, D.jsx)("dt", {className: "text-caption-1-regular text-text-secondary",@@ -77118,7 +77234,7 @@ function XLe() {/* @__PURE__ */ (0, D.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })]}),- /* @__PURE__ */ (0, D.jsx)(ck, { children: /* @__PURE__ */ (0, D.jsx)(dk, {+ /* @__PURE__ */ (0, D.jsx)(sk, { children: /* @__PURE__ */ (0, D.jsx)(uk, {href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",children: "完整配置与调优说明"}) })@@ -77132,7 +77248,7 @@ var GK = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"自动补全","仅使用本地资料","自定义"-], ZLe = [+], rRe = [["读本地 NFO 和图片","✓",@@ -77163,12 +77279,12 @@ var GK = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], QLe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", qK = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", JK = "disabled data-skeleton-action", YK = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, XK = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, ZK = (e, t = "primary") => No({+], iRe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", qK = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", JK = "disabled data-skeleton-action", YK = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, XK = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, ZK = (e, t = "primary") => No({label: e,variant: t,attrs: JK-}), $Le = (e) => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${e}</div>`, QK = (e) => `<div class="flex flex-col gap-4 py-4 pr-3">${e}</div>`, $K = (e, t, n = "") => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? $Le(n) : ""}</div></section>`, eq = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`, tq = "peach.configuration.media-shape.v1", nq = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。";-function eRe(e) {+}), aRe = (e) => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${e}</div>`, QK = (e) => `<div class="flex flex-col gap-4 py-4 pr-3">${e}</div>`, $K = (e, t, n = "") => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? aRe(n) : ""}</div></section>`, eq = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`, tq = "peach.configuration.media-shape.v1", nq = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。";+function oRe(e) {try {localStorage.setItem(tq, JSON.stringify(e));} catch {}@@ -77191,7 +77307,7 @@ function aq(e, t) {return t;}}-function tRe() {+function sRe() {try {let e = JSON.parse(localStorage.getItem(tq) || "null"), t = Array.isArray(e?.folders) ? e.folders.filter((e) => Number.isInteger(e) && e > 0).slice(0, 12) : [];if (t.length) return {@@ -77206,33 +77322,33 @@ function tRe() {discovery: !1};}-var oq = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, nRe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+var oq = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, cRe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3"><div class="flex items-start gap-2"><span class="min-w-0 flex-1">${XK()}</span>${No({glyph: "folder-search",variant: "secondary",attrs: JK})}</div><div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${oq("来源", Fo(YK("6em")), "w-full @lg:w-60")}${oq("读取策略", Fo(YK("4em")), "w-full @lg:w-32")}${e > 1 ? oq("移到媒体库", Fo(YK("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, rRe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">+ </div>`, lRe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2"><div data-library-head>${No({label: "自动识别",variant: "secondary",attrs: JK})}${XK()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Fo(YK("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${nRe(t).repeat(e)}<div class="flex">${No({+ <div data-library-folders>${cRe(t).repeat(e)}<div class="flex">${No({label: "添加文件夹",variant: "secondary",attrs: JK-})}</div></div></div>`, iRe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${GK}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, aRe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>", sq = () => {- let e = tRe();- return $K("媒体库与目录", QK(`${iRe}<div class="flex flex-col gap-4">${e.folders.map((t) => rRe(t, e.folders.length)).join("")}</div>+})}</div></div></div>`, uRe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${GK}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, dRe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>", sq = () => {+ let e = sRe();+ return $K("媒体库与目录", QK(`${uRe}<div class="flex flex-col gap-4">${e.folders.map((t) => lRe(t, e.folders.length)).join("")}</div><div class="self-start">${ZK("添加媒体库", "secondary")}</div><p class="text-body-2-regular text-text-secondary">${qK}</p>- ${e.cloud ? aRe : ""}<span class="text-body-medium text-text-primary">${YK("15em")}</span>`), `<span class="mr-auto min-w-0 text-body-2-regular text-text-secondary">保存后 Peach 会重新启动。</span>${ZK("保存配置")}`) + (e.cloud ? $K("CloudDrive 代理", QK(`<p class="text-body-2-regular text-text-secondary">${nq}</p><span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${aq("cloud-proxy", 96)}px"></span>`), ZK("重新读取", "secondary")) : "") + (e.discovery ? `<div class="overflow-hidden" style="height:${aq("push-discovery", 323)}px">${$K("自动发现新文件", QK(`<span class="flex min-h-6 items-center text-body-regular text-text-secondary">${YK("8em")}</span>`) + eq("发现新文件后自动入库") + eq("监视本机文件夹") + eq("接收 CloudDrive2 通知"), ZK("保存配置"))}</div>` : "") + $K("视频预览", eq("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select") + eq("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + eq("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select")) + $K("视频播放", eq("播放编解码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select"));+ ${e.cloud ? dRe : ""}<span class="text-body-medium text-text-primary">${YK("15em")}</span>`), `<span class="mr-auto min-w-0 text-body-2-regular text-text-secondary">保存后 Peach 会重新启动。</span>${ZK("保存配置")}`) + (e.cloud ? $K("CloudDrive 代理", QK(`<p class="text-body-2-regular text-text-secondary">${nq}</p><span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${aq("cloud-proxy", 96)}px"></span>`), ZK("重新读取", "secondary")) : "") + (e.discovery ? `<div class="overflow-hidden" style="height:${aq("push-discovery", 323)}px">${$K("自动发现新文件", QK(`<span class="flex min-h-6 items-center text-body-regular text-text-secondary">${YK("8em")}</span>`) + eq("发现新文件后自动入库") + eq("监视本机文件夹") + eq("接收 CloudDrive2 通知"), ZK("保存配置"))}</div>` : "") + $K("视频预览", eq("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select") + eq("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + eq("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select")) + $K("视频播放", eq("播放编解码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select"));};-function oRe(e) {+function fRe(e) {switch (e) {- case "系统诊断": return sW();+ case "系统诊断": return oW();case "媒体库与入库": return sq();case "来源与订阅": return `<div>${ZK("采集来源与登录状态", "secondary")}</div>` + $K("来源凭据", QK(`${YK("40%")}${XK()}${YK("70%")}`)) + $K("作品资料站点", QK(`${XK()}${XK()}`), ZK("保存配置")) + $K("资源搜索", QK(`${YK("40%")}${XK()}`)) + $K("关注采集", eq("首次采集范围", "", "ui-configuration-skeleton-select") + eq("头像刷新") + eq("favicon 刷新"));case "下载渠道": return $K("云下载", QK(`${YK("35%")}${XK()}${XK()}${XK()}${XK()}`), ZK("保存配置")) + $K("PikPak 账号", QK(`${XK()}${XK()}`), ZK("登录账号"));@@ -77241,19 +77357,19 @@ function oRe(e) {default: return sq();}}-function sRe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(ON).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${oRe(e)}</div></div></div>`;+function pRe(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(DN).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${fRe(e)}</div></div></div>`;}//#endregion//#region src/react/settings/cloud-proxy-settings.tsx-var cq = "/api/configuration/cloud-proxies", cRe = [+var cq = "/api/configuration/cloud-proxies", mRe = [["direct", "直连"],["system", "跟随系统"],["http", "HTTP 代理"],["socks5", "SOCKS5 代理"]];-function lRe({ receipt: e }) {- let [t, n] = (0, E.useState)(null), [r, i] = (0, E.useState)(!0), a = (0, E.useRef)(/* @__PURE__ */ new Set()), o = (0, E.useRef)(/* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(!1), l = (0, E.useRef)(() => void 0), u = ek(), d = () => {+function hRe({ receipt: e }) {+ let [t, n] = (0, E.useState)(null), [r, i] = (0, E.useState)(!0), a = (0, E.useRef)(/* @__PURE__ */ new Set()), o = (0, E.useRef)(/* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(!1), l = (0, E.useRef)(() => void 0), u = $O(), d = () => {o.current.size || u.run("refresh", (e) => H(cq, e), (e) => {a.current.clear(), n(e), i(!1);}, (e) => {@@ -77270,9 +77386,9 @@ function lRe({ receipt: e }) {let f = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {!r && f.current && iq("cloud-proxy", f.current.offsetHeight);- }, [r, t]), /* @__PURE__ */ (0, D.jsxs)(ik, {+ }, [r, t]), /* @__PURE__ */ (0, D.jsxs)(rk, {title: "CloudDrive 代理",- children: [/* @__PURE__ */ (0, D.jsxs)(ok, { children: [/* @__PURE__ */ (0, D.jsx)(ck, { children: nq }), /* @__PURE__ */ (0, D.jsxs)("div", {+ children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [/* @__PURE__ */ (0, D.jsx)(sk, { children: nq }), /* @__PURE__ */ (0, D.jsxs)("div", {ref: f,className: "flex min-w-0 flex-col gap-4",children: [@@ -77291,22 +77407,26 @@ function lRe({ receipt: e }) {children: [u.error," ",- /* @__PURE__ */ (0, D.jsx)(WO, {+ /* @__PURE__ */ (0, D.jsx)(UO, {href: "/settings/downloads",size: "small",children: "下载设置"})]}) : null,- t?.accounts.length === 0 && !t.unlinked?.length ? /* @__PURE__ */ (0, D.jsx)(ck, { children: "还没有使用 CloudDrive 的媒体库。" }) : null,+ t?.configured === !1 ? /* @__PURE__ */ (0, D.jsxs)(sk, { children: ["填写 CloudDrive2 地址和 API 令牌后,在这里设置各网盘账号的代理。 ", /* @__PURE__ */ (0, D.jsx)(UO, {+ href: "/settings/downloads",+ size: "small",+ children: "下载设置"+ })] }) : t?.accounts.length === 0 && !t.unlinked?.length ? /* @__PURE__ */ (0, D.jsx)(sk, { children: "还没有使用 CloudDrive 的媒体库。" }) : null,t?.unlinked?.map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(uk, { children: /* @__PURE__ */ (0, D.jsxs)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(lk, { children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: JV(e.location) }), e.name]- }) }), /* @__PURE__ */ (0, D.jsx)(ck, { children: "尚未匹配 CloudDrive 账号" })]+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: qV(e.location) }), e.name]+ }) }), /* @__PURE__ */ (0, D.jsx)(sk, { children: "尚未匹配 CloudDrive 账号" })]}, e.root)),- t?.accounts.map((t) => /* @__PURE__ */ (0, D.jsx)(uRe, {+ t?.accounts.map((t) => /* @__PURE__ */ (0, D.jsx)(gRe, {initial: t,receipt: e,onDirty: () => a.current.add(t.id),@@ -77321,7 +77441,7 @@ function lRe({ receipt: e }) {}}, t.id + t.revision))]- })] }), /* @__PURE__ */ (0, D.jsx)(sk, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ })] }), /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",disabled: s,onClick: d,@@ -77330,8 +77450,8 @@ function lRe({ receipt: e }) {}) })]});}-function uRe({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {- let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)([]), l = a.libraries?.map((e) => e.name).join("、") || a.name, u = ek(), d = (e, t) => {+function gRe({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {+ let [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)([]), l = a.libraries?.map((e) => e.name).join("、") || a.name, u = $O(), d = (e, t) => {o((n) => ({...n,[e]: t@@ -77351,11 +77471,11 @@ function uRe({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {},className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",children: [- /* @__PURE__ */ (0, D.jsx)(uk, { children: /* @__PURE__ */ (0, D.jsxs)("span", {+ /* @__PURE__ */ (0, D.jsx)(lk, { children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: JV(a.libraries?.[0]?.location || (a.cloud === "115open" ? "115" : a.cloud.toLowerCase())) }), l]+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: qV(a.libraries?.[0]?.location || (a.cloud === "115open" ? "115" : a.cloud.toLowerCase())) }), l]}) }),- /* @__PURE__ */ (0, D.jsxs)(ck, { children: [+ /* @__PURE__ */ (0, D.jsxs)(sk, { children: [a.name," · ",a.path@@ -77372,7 +77492,7 @@ function uRe({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {disabled: !a.writable || !!u.busy,onChange: (e) => d("api", e)}),- a.writable ? null : /* @__PURE__ */ (0, D.jsx)(ck, { children: "API 令牌需要“修改云盘”权限才能保存。" }),+ a.writable ? null : /* @__PURE__ */ (0, D.jsx)(sk, { children: "API 令牌需要“修改云盘”权限才能保存。" }),u.error ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "没有保存",@@ -77395,8 +77515,8 @@ function lq({ label: e, value: t, disabled: n, onChange: r }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(uk, { children: e }),- /* @__PURE__ */ (0, D.jsxs)(hF, {+ /* @__PURE__ */ (0, D.jsx)(lk, { children: e }),+ /* @__PURE__ */ (0, D.jsxs)(mF, {"aria-label": e,selectedKey: t.mode,isDisabled: n,@@ -77406,17 +77526,17 @@ function lq({ label: e, value: t, disabled: n, onChange: r }) {mode: String(e)});},- children: [t.mode === "unknown" ? /* @__PURE__ */ (0, D.jsx)(gF, {+ children: [t.mode === "unknown" ? /* @__PURE__ */ (0, D.jsx)(hF, {id: "unknown",children: "无法识别的代理类型"- }) : null, cRe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ }) : null, mRe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))]}),i ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap gap-3",- children: [/* @__PURE__ */ (0, D.jsx)(iM, {+ children: [/* @__PURE__ */ (0, D.jsx)(rM, {className: "min-w-40 flex-1",label: `${e}地址`,value: t.host,@@ -77426,7 +77546,7 @@ function lq({ label: e, value: t, disabled: n, onChange: r }) {...t,host: e})- }), /* @__PURE__ */ (0, D.jsx)(iM, {+ }), /* @__PURE__ */ (0, D.jsx)(rM, {className: "w-full sm:w-28",label: `${e}端口`,value: t.port ? String(t.port) : "",@@ -77437,10 +77557,10 @@ function lq({ label: e, value: t, disabled: n, onChange: r }) {port: Number(e)})})]- }), /* @__PURE__ */ (0, D.jsxs)(mk, {+ }), /* @__PURE__ */ (0, D.jsxs)(pk, {summary: "代理认证",children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: `${e}用户名`,value: t.username,autoComplete: "off",@@ -77450,7 +77570,7 @@ function lq({ label: e, value: t, disabled: n, onChange: r }) {username: e})}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: `${e}密码`,type: "password",value: t.password || "",@@ -77462,7 +77582,7 @@ function lq({ label: e, value: t, disabled: n, onChange: r }) {password: e})}),- t.password_set ? /* @__PURE__ */ (0, D.jsx)(EN, {+ t.password_set ? /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: !!t.clear_password,isDisabled: n,onChange: (e) => r({@@ -77527,7 +77647,7 @@ function dq(e) {return t ? [t, "自动识别"] : ["hard-drive", "默认"];}var fq = "auto";-function dRe({ value: e, label: t, kind: n = "local", onChange: r }) {+function _Re({ value: e, label: t, kind: n = "local", onChange: r }) {let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(e), [l, u] = dq(n);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(q, {ref: i,@@ -77542,34 +77662,34 @@ function dRe({ value: e, label: t, kind: n = "local", onChange: r }) {children: /* @__PURE__ */ (0, D.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: e || l }), ((e) => e && uq.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: e || l }), ((e) => e && uq.find(([t]) => t === e)?.[1] || u)(e)]})- }), /* @__PURE__ */ (0, D.jsx)(UA, {+ }), /* @__PURE__ */ (0, D.jsx)(HA, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom start",offset: 4,- className: yN,- children: /* @__PURE__ */ (0, D.jsxs)(nj, {+ className: vN,+ children: /* @__PURE__ */ (0, D.jsxs)(tj, {"aria-label": `${t}可选图标`,className: "flex w-72 flex-col gap-3 outline-none",children: [- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(iA, {slot: "title",className: "px-1 text-body-medium text-text-primary",children: "选择媒体库图标"}),- /* @__PURE__ */ (0, D.jsx)(lj, {+ /* @__PURE__ */ (0, D.jsx)(cj, {"aria-label": "可选图标",value: s || fq,onChange: (e) => c(e === fq ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: uq.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(uj, {+ children: uq.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(lj, {value: e || fq,"aria-label": e ? t : u,className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",- children: /* @__PURE__ */ (0, D.jsx)(hk, { mark: e || l })+ children: /* @__PURE__ */ (0, D.jsx)(mk, { mark: e || l })}, e || fq))}),/* @__PURE__ */ (0, D.jsxs)("div", {@@ -77621,11 +77741,11 @@ var pq = ["逐项选择要做的步骤"]];-function fRe() {+function vRe() {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-policy-legend": "",className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, D.jsx)(ck, { children: GK }), /* @__PURE__ */ (0, D.jsxs)(mk, {+ children: [/* @__PURE__ */ (0, D.jsx)(sk, { children: GK }), /* @__PURE__ */ (0, D.jsxs)(pk, {summary: "三种处理方式对比",children: [/* @__PURE__ */ (0, D.jsxs)("table", {"data-policy-matrix": "",@@ -77636,7 +77756,7 @@ function fRe() {}), KK.map((e) => /* @__PURE__ */ (0, D.jsx)("th", {scope: "col",children: e- }, e))] }) }), /* @__PURE__ */ (0, D.jsx)("tbody", { children: ZLe.map(([e, ...t]) => /* @__PURE__ */ (0, D.jsxs)("tr", { children: [/* @__PURE__ */ (0, D.jsx)("th", {+ }, e))] }) }), /* @__PURE__ */ (0, D.jsx)("tbody", { children: rRe.map(([e, ...t]) => /* @__PURE__ */ (0, D.jsxs)("tr", { children: [/* @__PURE__ */ (0, D.jsx)("th", {scope: "row",children: e}), t.map((e, t) => /* @__PURE__ */ (0, D.jsx)("td", {@@ -77649,12 +77769,12 @@ function fRe() {children: "—"}) : e}, KK[t]))] }, e)) })]- }), /* @__PURE__ */ (0, D.jsx)(ck, { children: QLe })]+ }), /* @__PURE__ */ (0, D.jsx)(sk, { children: iRe })]})]});}-function pRe({ name: e, value: t, onChange: n }) {- return /* @__PURE__ */ (0, D.jsx)(mz, {+function yRe({ name: e, value: t, onChange: n }) {+ return /* @__PURE__ */ (0, D.jsx)(pz, {className: "w-full","aria-label": `${e} 处理方式`,selectedKey: t,@@ -77664,7 +77784,7 @@ function pRe({ name: e, value: t, onChange: n }) {children: hq.find(([e]) => e === t)?.[1]}),onSelectionChange: (e) => n(String(e)),- children: hq.map(([e, t, n]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: hq.map(([e, t, n]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,textValue: t,children: /* @__PURE__ */ (0, D.jsxs)("span", {@@ -77677,15 +77797,15 @@ function pRe({ name: e, value: t, onChange: n }) {}, e))});}-function mRe({ name: e, value: t, onChange: n }) {- return /* @__PURE__ */ (0, D.jsx)(mk, {+function bRe({ name: e, value: t, onChange: n }) {+ return /* @__PURE__ */ (0, D.jsx)(pk, {defaultOpen: !0,summary: `${e} 的处理步骤(${t.length}/${pq.length})`,children: /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-wrap gap-x-6 gap-y-2",role: "group","aria-label": `${e} 处理步骤`,- children: pq.map(([e, r]) => /* @__PURE__ */ (0, D.jsx)(EN, {+ children: pq.map(([e, r]) => /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: t.includes(e),onChange: (r) => n(r ? [...t, e] : t.filter((t) => t !== e)),children: r@@ -77693,9 +77813,9 @@ function mRe({ name: e, value: t, onChange: n }) {})});}-function hRe({ id: e, name: t, value: n, onChange: r }) {- let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), s = lE.find(([e]) => e === n)?.[1] || "无颜色", c = (t) => {- r(t), iTe(e, t), o(!1);+function xRe({ id: e, name: t, value: n, onChange: r }) {+ let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), s = cE.find(([e]) => e === n)?.[1] || "无颜色", c = (t) => {+ r(t), aTe(e, t), o(!1);};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("button", {ref: i,@@ -77725,16 +77845,16 @@ function hRe({ id: e, name: t, value: n, onChange: r }) {/* @__PURE__ */ (0, D.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, D.jsx)(CS, {- getContainer: () => vI(i.current),- children: /* @__PURE__ */ (0, D.jsx)(UA, {+ getContainer: () => _I(i.current),+ children: /* @__PURE__ */ (0, D.jsx)(HA, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom start",offset: 8,containerPadding: 12,- className: yN,- children: /* @__PURE__ */ (0, D.jsxs)(nj, {+ className: vN,+ children: /* @__PURE__ */ (0, D.jsxs)(tj, {"aria-label": `${t || "未命名媒体库"} 来源色`,className: "outline-none",children: [/* @__PURE__ */ (0, D.jsx)("p", {@@ -77756,7 +77876,7 @@ function hRe({ id: e, name: t, value: n, onChange: r }) {"data-library-none": "","aria-hidden": "true"})- }), lE.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)("button", {+ }), cE.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glow-chip": "","aria-pressed": e === n,@@ -77776,9 +77896,9 @@ function hRe({ id: e, name: t, value: n, onChange: r }) {}//#endregion//#region src/react/settings/push-discovery-settings.tsx-var gRe = "/api/configuration/push-discovery", _Re = "/api/configuration/push-discovery/secret";-function vRe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.prefixes), [o, s] = (0, E.useState)(""), c = ek(), l = n.media_roots, [u, d] = (0, E.useState)(e), f = (e, n) => {+var SRe = "/api/configuration/push-discovery", CRe = "/api/configuration/push-discovery/secret";+function wRe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.prefixes), [o, s] = (0, E.useState)(""), c = $O(), l = n.media_roots, [u, d] = (0, E.useState)(e), f = (e, n) => {r(e), d(e), a(e.prefixes), s(""), t(n);}, p = (e, t) => a((n) => n.map((n, r) => r === e ? {...n,@@ -77791,30 +77911,30 @@ function vRe({ initial: e, receipt: t }) {cloud: n.cloud,prefixes: i};- c.run("save", (e) => U(gRe, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(V(e)));+ c.run("save", (e) => U(SRe, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(V(e)));}, h = () => {- c.run("secret", (e) => U(_Re, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(V(e)));+ c.run("secret", (e) => U(CRe, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(V(e)));}, g = `已入库 ${u.queue.ingested} 个文件` + (u.queue.failed ? `,${u.queue.failed} 个入库失败` : "") + (u.queue.pending ? `,队列里还有 ${u.queue.pending} 条` : ""), _ = u.local_running ? `正在监视 ${u.local_roots.join("、")}` : u.local_message || "没有运行";- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {id: "pushDiscovery",title: "自动发现新文件",onSubmit: m,children: [- /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsxs)("div", {+ /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-regular text-text-secondary",children: "本机监视"- }), /* @__PURE__ */ (0, D.jsx)(jV, {+ }), /* @__PURE__ */ (0, D.jsx)(AV, {tone: !u.enabled || !u.watch_local ? "neutral" : u.local_running ? "progress" : "warning",children: !u.enabled || !u.watch_local ? "未启用" : u.local_running ? "运行中" : "未运行"})]}) }),- /* @__PURE__ */ (0, D.jsxs)(ak, { children: [- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsxs)(ik, { children: [+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "发现新文件后自动入库",description: u.enabled ? g : void 0,- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "发现新文件后自动入库",isSelected: n.enabled,isDisabled: !n.available,@@ -77824,10 +77944,10 @@ function vRe({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "监视本机文件夹",description: u.enabled && u.watch_local ? _ : void 0,- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "监视本机文件夹",isSelected: n.watch_local,isDisabled: !n.available || !n.enabled,@@ -77837,9 +77957,9 @@ function vRe({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "接收 CloudDrive2 通知",- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "接收 CloudDrive2 通知",isSelected: n.cloud,isDisabled: !n.available || !n.enabled,@@ -77849,12 +77969,12 @@ function vRe({ initial: e, receipt: t }) {})})}),- u.enabled && u.cloud ? /* @__PURE__ */ (0, D.jsx)(rk, {+ u.enabled && u.cloud ? /* @__PURE__ */ (0, D.jsx)(nk, {label: "Webhook 配置",description: u.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : u.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的局域网地址才能生成。"}) : null] }),- u.enabled && u.queue.last_error ? /* @__PURE__ */ (0, D.jsx)(ok, {+ u.enabled && u.queue.last_error ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",@@ -77862,29 +77982,29 @@ function vRe({ initial: e, receipt: t }) {children: u.queue.last_error})}) : null,- u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, D.jsx)(ok, {+ u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,children: /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-col gap-3",- children: /* @__PURE__ */ (0, D.jsxs)(mk, {+ children: /* @__PURE__ */ (0, D.jsxs)(pk, {summary: "查看配置",- children: [/* @__PURE__ */ (0, D.jsx)(qO, {+ children: [/* @__PURE__ */ (0, D.jsx)(KO, {code: u.config_toml,language: "toml",label: "CloudDrive2 配置",bounded: !1,copyLabel: "复制配置",onCopy: () => t("已复制 CloudDrive2 配置")- }), /* @__PURE__ */ (0, D.jsx)(ck, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]+ }), /* @__PURE__ */ (0, D.jsx)(sk, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]})})}) : null,- n.enabled && n.cloud ? /* @__PURE__ */ (0, D.jsx)(ok, {+ n.enabled && n.cloud ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsx)(uk, { children: "云端路径前缀" }),+ /* @__PURE__ */ (0, D.jsx)(lk, { children: "云端路径前缀" }),/* @__PURE__ */ (0, D.jsx)("div", {role: "group","aria-label": "云端路径前缀",@@ -77892,7 +78012,7 @@ function vRe({ initial: e, receipt: t }) {children: i.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {className: "min-w-0 flex-1","aria-label": `云端路径前缀 ${t + 1}`,placeholder: "/115",@@ -77901,14 +78021,14 @@ function vRe({ initial: e, receipt: t }) {value: e.prefix,onChange: (e) => p(t, { prefix: e })}),- /* @__PURE__ */ (0, D.jsx)(mz, {+ /* @__PURE__ */ (0, D.jsx)(pz, {"aria-label": `前缀 ${t + 1} 对应的媒体根`,prefix: "对应目录",selectedKey: e.root,onSelectionChange: (e) => {e !== null && p(t, { root: String(e) });},- children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: e}, e))@@ -77916,7 +78036,7 @@ function vRe({ initial: e, receipt: t }) {/* @__PURE__ */ (0, D.jsx)(q, {variant: "danger",iconOnly: !0,- leadingIcon: AO,+ leadingIcon: kO,"aria-label": "移除这一条",onClick: () => a((e) => e.filter((e, n) => n !== t))})@@ -77934,11 +78054,11 @@ function vRe({ initial: e, receipt: t }) {]})}) : null,- o || c.error ? /* @__PURE__ */ (0, D.jsx)(ok, {+ o || c.error ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: o || c.error })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: o || c.error })}) : null,- /* @__PURE__ */ (0, D.jsxs)(sk, { children: [u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsxs)(ok, { children: [u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",onClick: h,disabled: !n.available,@@ -77955,18 +78075,18 @@ function vRe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/media-settings.tsx-var yRe = (e) => qV.find(([t]) => t === e)?.[1] ?? e, gq = (e) => e.library_icon || dq(e.location)[0], bRe = async (e) => (await U(CB, { initial: e })).path, _q = (e) => ({+var TRe = (e) => KV.find(([t]) => t === e)?.[1] ?? e, gq = (e) => e.library_icon || dq(e.location)[0], ERe = async (e) => (await U(SB, { initial: e })).path, _q = (e) => ({library_id: e.library_id,library: e.library,library_icon: e.library_icon,library_color: e.library_color,library_policy: e.library_policy,library_stages: e.library_stages-}), xRe = (e) => e.library_stages ? mq.filter((t) => e.library_stages.split(",").includes(t)) : [], vq = (e = "") => ({+}), DRe = (e) => e.library_stages ? mq.filter((t) => e.library_stages.split(",").includes(t)) : [], vq = (e = "") => ({path: e,location: "local",root: "",- library_id: PE(),+ library_id: NE(),library: "",library_icon: "",library_color: "",@@ -77975,7 +78095,7 @@ var yRe = (e) => qV.find(([t]) => t === e)?.[1] ?? e, gq = (e) => e.library_iconcost: "free"});function yq(e) {- let t = e.media_sources?.filter((e) => qV.some(([t]) => t === e.location));+ let t = e.media_sources?.filter((e) => KV.some(([t]) => t === e.location));return t?.length ? t.map((e) => ({path: e.path,location: e.location,@@ -77986,18 +78106,18 @@ function yq(e) {library_policy: e.library_policy || "auto",library_stages: e.library_stages || "",root_id: e.root_id,- library_id: e.library_id || PE(),+ library_id: e.library_id || NE(),cost: e.cost ?? zt(e.location)})) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => vq(e));}-var SRe = (e) => !(e instanceof wn) || e.status !== 400 ? null : e.body?.errors ?? null;-function CRe({ data: e, receipt: t, panel: n }) {- let r = !!e.media_sources?.some((e) => YV(e.location));+var ORe = (e) => !(e instanceof wn) || e.status !== 400 ? null : e.body?.errors ?? null;+function kRe({ data: e, receipt: t, panel: n }) {+ let r = !!e.media_sources?.some((e) => JV(e.location));(0, E.useEffect)(() => {if (!e.editable) return;let t = /* @__PURE__ */ new Map();for (let n of yq(e)) t.set(n.library_id, (t.get(n.library_id) ?? 0) + 1);- eRe({+ oRe({folders: [...t.values()],cloud: r,discovery: !!e.push_discovery@@ -78007,9 +78127,9 @@ function CRe({ data: e, receipt: t, panel: n }) {return (0, E.useLayoutEffect)(() => {i.current && iq("push-discovery", i.current.offsetHeight);}), /* @__PURE__ */ (0, D.jsxs)("div", {- ...IK(n),+ ...FK(n),children: [- e.editable ? /* @__PURE__ */ (0, D.jsx)(wRe, {+ e.editable ? /* @__PURE__ */ (0, D.jsx)(ARe, {data: e,receipt: t}) : /* @__PURE__ */ (0, D.jsx)(J, {@@ -78017,11 +78137,11 @@ function CRe({ data: e, receipt: t, panel: n }) {title: "只读",children: e.notice}),- e.editable ? null : /* @__PURE__ */ (0, D.jsx)(TRe, { data: e }),- r ? /* @__PURE__ */ (0, D.jsx)(lRe, { receipt: t }) : null,+ e.editable ? null : /* @__PURE__ */ (0, D.jsx)(jRe, { data: e }),+ r ? /* @__PURE__ */ (0, D.jsx)(hRe, { receipt: t }) : null,e.push_discovery ? /* @__PURE__ */ (0, D.jsx)("div", {ref: i,- children: /* @__PURE__ */ (0, D.jsx)(vRe, {+ children: /* @__PURE__ */ (0, D.jsx)(wRe, {initial: e.push_discovery,receipt: t})@@ -78029,14 +78149,14 @@ function CRe({ data: e, receipt: t, panel: n }) {]});}-function wRe({ data: e, receipt: t }) {- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = YAe({+function ARe({ data: e, receipt: t }) {+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = XAe({initial: () => yq(e),blank: () => vq(),- pickFolder: bRe,+ pickFolder: ERe,describe: V- }), [d, f] = (0, E.useState)(!1), [p, m] = (0, E.useState)(!1), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(null), y = (0, E.useRef)(e.revision), b = ek();- _I();+ }), [d, f] = (0, E.useState)(!1), [p, m] = (0, E.useState)(!1), [h, g] = (0, E.useState)(""), [_, v] = (0, E.useState)(null), y = (0, E.useRef)(e.revision), b = $O();+ gI();let x = (e, t) => {n.forEach((i, a) => {i.library_id === n[e].library_id && r(a, t);@@ -78053,7 +78173,7 @@ function wRe({ data: e, receipt: t }) {r(e, _q(i));return;}- let a = PE();+ let a = NE();r(e, {library_id: a,library: "",@@ -78075,7 +78195,7 @@ function wRe({ data: e, receipt: t }) {m(!0);let e = r.currentTarget;requestAnimationFrame(() => e.querySelector(`[data-media-read-policy="${i}"] button`)?.focus());- } else g(""), b.run("save", (t) => U(SB, {+ } else g(""), b.run("save", (t) => U(xB, {revision: y.current,media_dirs: n.map((e) => e.path),...e.media_sources ? { media_sources: n } : {},@@ -78084,18 +78204,18 @@ function wRe({ data: e, receipt: t }) {}, "POST", t), (e) => {y.current = e.revision, s([]), t("已保存配置"), v(e);}, (e) => {- let t = SRe(e);+ let t = ORe(e);s(t?.media_dirs ?? []), (!t || t.port) && g(t?.port || V(e));});};- if (_) return /* @__PURE__ */ (0, D.jsx)(ik, {+ if (_) return /* @__PURE__ */ (0, D.jsx)(rk, {title: "媒体库与目录",- children: /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsxs)(J, {+ children: /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsxs)(J, {tone: "success",title: "配置已保存",children: ["Peach 正在重新启动。稍后自动跳转,或点击",- /* @__PURE__ */ (0, D.jsx)(WO, {+ /* @__PURE__ */ (0, D.jsx)(UO, {href: _.url,size: "small",children: "进入馆藏"@@ -78104,12 +78224,12 @@ function wRe({ data: e, receipt: t }) {]}) })});- let k = (t) => e.media_sources?.find((e) => e.root_id === t.root_id && e.path === t.path), A = n.some((e) => YV(e.location)), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ let k = (t) => e.media_sources?.find((e) => e.root_id === t.root_id && e.path === t.path), A = n.some((e) => JV(e.location)), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "媒体库与目录",onSubmit: O,- children: [/* @__PURE__ */ (0, D.jsxs)(ok, { children: [- /* @__PURE__ */ (0, D.jsx)(fRe, {}),+ children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [+ /* @__PURE__ */ (0, D.jsx)(vRe, {}),/* @__PURE__ */ (0, D.jsx)("div", {role: "group","aria-label": "媒体库与目录",@@ -78122,7 +78242,7 @@ function wRe({ data: e, receipt: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-library-block": "","data-library-key": e.library_id,- className: GO({+ className: WO({variant: "raised",padding: "none",className: "flex flex-col p-2"@@ -78132,13 +78252,13 @@ function wRe({ data: e, receipt: t }) {/* @__PURE__ */ (0, D.jsxs)("div", {"data-library-head": "",children: [- /* @__PURE__ */ (0, D.jsx)(dRe, {+ /* @__PURE__ */ (0, D.jsx)(_Re, {label: `${f} 图标`,value: e.library_icon,kind: e.location,onChange: (e) => x(t, { library_icon: e })}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {className: "w-full","aria-label": `${f} 名称`,maxLength: 80,@@ -78146,13 +78266,13 @@ function wRe({ data: e, receipt: t }) {value: e.library,onChange: (e) => x(t, { library: e })}),- /* @__PURE__ */ (0, D.jsx)(hRe, {+ /* @__PURE__ */ (0, D.jsx)(xRe, {id: e.library_id,name: e.library,value: e.library_color,onChange: (e) => x(t, { library_color: e })}),- /* @__PURE__ */ (0, D.jsx)(pRe, {+ /* @__PURE__ */ (0, D.jsx)(yRe, {name: f,value: d,onChange: (n) => x(t, {@@ -78162,16 +78282,16 @@ function wRe({ data: e, receipt: t }) {})]}),- d === "custom" ? /* @__PURE__ */ (0, D.jsx)(mRe, {+ d === "custom" ? /* @__PURE__ */ (0, D.jsx)(bRe, {name: f,- value: xRe(e),+ value: DRe(e),onChange: (e) => x(t, { library_stages: mq.filter((t) => e.includes(t)).join(",") })}) : null,/* @__PURE__ */ (0, D.jsxs)("div", {"data-library-folders": "",role: "group","aria-label": `${f} 的文件夹`,- children: [s.map(({ row: t, index: i }) => /* @__PURE__ */ (0, D.jsx)(XAe, {+ children: [s.map(({ row: t, index: i }) => /* @__PURE__ */ (0, D.jsx)(ZAe, {label: `媒体目录 ${i + 1}`,path: t.path,onPath: (e) => r(i, { path: e }),@@ -78181,8 +78301,8 @@ function wRe({ data: e, receipt: t }) {onPick: () => void l(i),onRemove: n.length > 1 ? () => a(i) : void 0,status: k(t) ? /* @__PURE__ */ (0, D.jsx)(bq, { online: k(t)?.online }) : null,- children: /* @__PURE__ */ (0, D.jsxs)(KAe, { children: [- /* @__PURE__ */ (0, D.jsx)(ZAe, {+ children: /* @__PURE__ */ (0, D.jsxs)(qAe, { children: [+ /* @__PURE__ */ (0, D.jsx)(QAe, {index: i,value: t.location,onChange: (e) => r(i, {@@ -78190,16 +78310,16 @@ function wRe({ data: e, receipt: t }) {cost: e === "local" ? "free" : ""})}),- /* @__PURE__ */ (0, D.jsx)(qAe, {+ /* @__PURE__ */ (0, D.jsx)(JAe, {index: i,cost: t.cost,onChange: (e) => r(i, { cost: e }),error: p && !t.cost ? "请选择媒体读取策略" : void 0}),- t.root_id && !k(t) ? /* @__PURE__ */ (0, D.jsx)(XV, {+ t.root_id && !k(t) ? /* @__PURE__ */ (0, D.jsx)(YV, {label: "变更方式",className: "w-full @lg:w-auto @lg:flex-1",- children: /* @__PURE__ */ (0, D.jsxs)(hF, {+ children: /* @__PURE__ */ (0, D.jsxs)(mF, {className: "w-full","aria-label": `目录变更方式 ${i + 1}`,placeholder: "选择目录变更方式",@@ -78211,25 +78331,25 @@ function wRe({ data: e, receipt: t }) {change_mode: ""}) : r(i, { change_mode: "relocate" });},- children: [/* @__PURE__ */ (0, D.jsx)(gF, {+ children: [/* @__PURE__ */ (0, D.jsx)(hF, {id: "relocate",children: "重定位此目录,保留文件记录"- }), /* @__PURE__ */ (0, D.jsx)(gF, {+ }), /* @__PURE__ */ (0, D.jsx)(hF, {id: "add",children: "添加另一目录"})]})}) : null,- S.length > 1 ? /* @__PURE__ */ (0, D.jsx)(XV, {+ S.length > 1 ? /* @__PURE__ */ (0, D.jsx)(YV, {label: "移到媒体库",className: "w-full @lg:w-48",- children: /* @__PURE__ */ (0, D.jsxs)(hF, {+ children: /* @__PURE__ */ (0, D.jsxs)(mF, {className: "w-full","aria-label": `目录所属媒体库 ${i + 1}`,selectedKey: t.library_id,renderValue: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: gq(e) }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: gq(e) }), /* @__PURE__ */ (0, D.jsx)("span", {className: "truncate",children: f})]@@ -78237,22 +78357,22 @@ function wRe({ data: e, receipt: t }) {onSelectionChange: (e) => {e && T(i, String(e));},- children: [S.map((e) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: [S.map((e) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e.library_id,textValue: e.library || "未命名媒体库",children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: gq(e) }), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: gq(e) }), /* @__PURE__ */ (0, D.jsx)("span", {className: "truncate",children: e.library || "未命名媒体库"})]})- }, e.library_id)), s.length > 1 ? /* @__PURE__ */ (0, D.jsx)(gF, {+ }, e.library_id)), s.length > 1 ? /* @__PURE__ */ (0, D.jsx)(hF, {id: "new",textValue: "新建媒体库",children: /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: "plus" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "新建媒体库" })]+ children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: "plus" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "新建媒体库" })]})}) : null]})@@ -78284,18 +78404,18 @@ function wRe({ data: e, receipt: t }) {onClick: i,children: "添加媒体库"}),- /* @__PURE__ */ (0, D.jsx)(ck, { children: qK }),- A ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(JAe, {}), /* @__PURE__ */ (0, D.jsx)(XLe, {})] }) : null,- j.map((e) => /* @__PURE__ */ (0, D.jsxs)(ck, { children: [+ /* @__PURE__ */ (0, D.jsx)(sk, { children: qK }),+ A ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(YAe, {}), /* @__PURE__ */ (0, D.jsx)(nRe, {})] }) : null,+ j.map((e) => /* @__PURE__ */ (0, D.jsxs)(sk, { children: ["未检测到 ",e.name,"。",- /* @__PURE__ */ (0, D.jsxs)(dk, {+ /* @__PURE__ */ (0, D.jsxs)(uk, {href: e.download_url,children: ["下载 ", e.name]})] }, e.name)),- /* @__PURE__ */ (0, D.jsx)(EN, {+ /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: d,onChange: f,children: "保存后扫描并补全资料"@@ -78305,7 +78425,7 @@ function wRe({ data: e, receipt: t }) {title: "没有保存",children: h}) : null- ] }), /* @__PURE__ */ (0, D.jsx)(sk, {+ ] }), /* @__PURE__ */ (0, D.jsx)(ok, {status: "保存后 Peach 会重新启动。",children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",@@ -78316,24 +78436,24 @@ function wRe({ data: e, receipt: t }) {});}function bq({ online: e }) {- return /* @__PURE__ */ (0, D.jsx)(eH, { online: e });+ return /* @__PURE__ */ (0, D.jsx)($V, { online: e });}-function TRe({ data: e }) {- let t = e.media_sources, n = ek();- return t ? /* @__PURE__ */ (0, D.jsxs)(ik, {+function jRe({ data: e }) {+ let t = e.media_sources, n = $O();+ return t ? /* @__PURE__ */ (0, D.jsxs)(rk, {title: "挂载状态",children: [- /* @__PURE__ */ (0, D.jsx)(fk, { children: t.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(pk, {- term: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(hk, { mark: JV(e.location) }), yRe(e.location)] }),+ /* @__PURE__ */ (0, D.jsx)(dk, { children: t.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(fk, {+ term: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(mk, { mark: qV(e.location) }), TRe(e.location)] }),children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, D.jsx)(bq, { online: e.online })]}, t)) }),- n.error ? /* @__PURE__ */ (0, D.jsx)(ok, {+ n.error ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: n.error })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: n.error })}) : null,- /* @__PURE__ */ (0, D.jsx)(sk, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",- onClick: () => void n.run("refresh", (e) => PK(e), (e) => W.setQueryData(NK, e)),+ onClick: () => void n.run("refresh", (e) => NK(e), (e) => W.setQueryData(MK, e)),...Y(n.busy === "refresh"),children: "刷新挂载状态"}) })@@ -78347,72 +78467,72 @@ var xq = [["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]-], ERe = [+], MRe = [["off", "关闭"],["precise", "每 10 秒一张"],["coarse", "每 30 秒一张"]];-function DRe({ epoch: e = 0, disabled: t = !1 }) {+function NRe({ epoch: e = 0, disabled: t = !1 }) {let n = yt({- queryKey: jB,- queryFn: ({ signal: e }) => jke(e),+ queryKey: AB,+ queryFn: ({ signal: e }) => Mke(e),refetchOnMount: "always"- }), r = Ike(), i = r.reset;+ }), r = Lke(), i = r.reset;(0, E.useEffect)(() => {i();}, [e, i]);let a = n.data, o = r.error || n.error;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(ik, { children: /* @__PURE__ */ (0, D.jsx)(nk, {label: "时间轴预览",description: "按所选间隔抽帧,仅处理本机磁盘上的视频。",children: /* @__PURE__ */ (0, D.jsx)("div", {id: "videoThumbnailSetting",- children: /* @__PURE__ */ (0, D.jsx)(hF, {+ children: /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "缩略图采集间隔",selectedKey: a?.mode || "off",isDisabled: t || !a || n.isFetching || r.isPending,onSelectionChange: (e) => {e !== null && r.mutate(String(e));},- children: ERe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: MRe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))})})}) }),- r.isPending || a?.status === "running" ? /* @__PURE__ */ (0, D.jsx)(ok, {+ r.isPending || a?.status === "running" ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(ck, {+ children: /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: r.isPending ? "正在保存…" : "正在采集,进度在活动页查看。"})}) : null,- o ? /* @__PURE__ */ (0, D.jsx)(ok, {+ o ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: V(o) })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: V(o) })}) : null] });}-function ORe({ receipt: e }) {- let t = qT();+function PRe({ receipt: e }) {+ let t = KT();(0, E.useSyncExternalStore)(t.subscribe, t.version);let n = yt({- queryKey: OB,- queryFn: ({ signal: e }) => MB(e),+ queryKey: DB,+ queryFn: ({ signal: e }) => jB(e),refetchOnMount: "always"- }), r = NB(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ }), r = MB(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "关注采集",- children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [- /* @__PURE__ */ (0, D.jsx)(kRe, {}),- /* @__PURE__ */ (0, D.jsx)(ARe, {}),- /* @__PURE__ */ (0, D.jsx)(rk, {+ children: [/* @__PURE__ */ (0, D.jsxs)(ik, { children: [+ /* @__PURE__ */ (0, D.jsx)(FRe, {}),+ /* @__PURE__ */ (0, D.jsx)(IRe, {}),+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "首次采集范围",children: /* @__PURE__ */ (0, D.jsx)("div", {id: "followInitialDaysSetting",- children: /* @__PURE__ */ (0, D.jsx)(hF, {+ children: /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "首次采集范围",selectedKey: String(i),isDisabled: n.isFetching || r.isPending,@@ -78421,34 +78541,34 @@ function ORe({ receipt: e }) {typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");} });},- children: xq.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: xq.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))})})}),- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "头像刷新",children: "每 3 个月"}),- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "favicon 刷新",children: "每年"})- ] }), a ? /* @__PURE__ */ (0, D.jsx)(ok, {+ ] }), a ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: V(a) })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: V(a) })}) : null]});}-function kRe() {+function FRe() {let e = yt({- queryKey: kB,- queryFn: ({ signal: e }) => kke(e),+ queryKey: OB,+ queryFn: ({ signal: e }) => Ake(e),refetchOnMount: "always",- refetchInterval: (e) => PB(e.state.data)- }), t = Nke(), n = e.data, r = (0, E.useRef)(MT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, E.useState)("60"), [o, s] = (0, E.useState)(!1);+ refetchInterval: (e) => NB(e.state.data)+ }), t = Pke(), n = e.data, r = (0, E.useRef)(jT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, E.useState)("60"), [o, s] = (0, E.useState)(!1);(0, E.useEffect)(() => {n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));}, [n]);@@ -78457,12 +78577,12 @@ function kRe() {!Number.isInteger(e) || e < 15 || e > 10080 ? s(!0) : (s(!1), n?.enabled && !c && e !== n.interval_minutes && (r.current = e, localStorage.setItem("peach.number.followScheduleSetting", String(e)), t.mutate(e)));}, u = t.error || e.error;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "自动检查更新",children: /* @__PURE__ */ (0, D.jsxs)("div", {id: "followScheduleSetting",className: "flex min-w-0 flex-wrap items-center justify-end gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(TW, {+ children: [/* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "自动检查更新",isSelected: n?.enabled === !0,isDisabled: c,@@ -78471,7 +78591,7 @@ function kRe() {}}), n?.enabled ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, D.jsx)(iM, {+ children: [/* @__PURE__ */ (0, D.jsx)(rM, {type: "number",inputMode: "numeric",name: "follow-interval",@@ -78495,8 +78615,8 @@ function kRe() {}) : null]})}),- o ? /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(lk, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,- t.isPending || n?.running ? /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(ck, {+ o ? /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(ck, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,+ t.isPending || n?.running ? /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: t.isPending ? "正在保存…" : "正在检查来源更新…"}) }) : null,@@ -78505,27 +78625,27 @@ function kRe() {status: n,title: "上次自动检查失败"}),- u ? /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(lk, { children: V(u) }) }) : null+ u ? /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(ck, { children: V(u) }) }) : null] });}-function ARe() {+function IRe() {let e = yt({- queryKey: AB,- queryFn: ({ signal: e }) => Ake(e),+ queryKey: kB,+ queryFn: ({ signal: e }) => jke(e),refetchOnMount: "always",- refetchInterval: (e) => PB(e.state.data)+ refetchInterval: (e) => NB(e.state.data)}).data;if (!e) return null;let t = e.interval_minutes, n = t % 60 ? `每 ${t} 分钟` : `每 ${t / 60} 小时`;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(nk, {label: "订阅源拉取",children: /* @__PURE__ */ (0, D.jsx)("span", {id: "feedScheduleSetting",children: e.available ? e.enabled ? n : "已关闭" : "只在写入端可用"})}),- e.running ? /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(ck, {+ e.running ? /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: "正在拉取订阅源…"}) }) : null,@@ -78537,14 +78657,14 @@ function ARe() {] });}function Sq({ kind: e, status: t, title: n }) {- let r = Fke(e);+ let r = Ike(e);if (!t?.enabled || t.running || !t.last_error) return null;- let i = t.consecutive_failures ?? 0, a = Ek(t.next_run_at), o = [i > 1 ? `已连续失败 ${i} 次` : "", a ? `下一轮 ${a}` : ""].filter(Boolean).join(","), s = [+ let i = t.consecutive_failures ?? 0, a = Tk(t.next_run_at), o = [i > 1 ? `已连续失败 ${i} 次` : "", a ? `下一轮 ${a}` : ""].filter(Boolean).join(","), s = [t.last_error,o,r.error ? `没有重试:${V(r.error)}` : ""].filter(Boolean).join("\n");- return /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ return /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: n,action: /* @__PURE__ */ (0, D.jsx)(q, {@@ -78561,18 +78681,18 @@ function Sq({ kind: e, status: t, title: n }) {//#endregion//#region src/react/settings/media-processing-settings.tsxvar Cq = ["media-processing"];-function jRe({ receipt: e }) {+function LRe({ receipt: e }) {let t = yt({queryKey: Cq,queryFn: ({ signal: e }) => H("/api/media-processing", e)- }), n = ek(), r = ek(), i = n.error || (t.error ? V(t.error) : ""), a = (i, a, o) => {+ }), n = $O(), r = $O(), i = n.error || (t.error ? V(t.error) : ""), a = (i, a, o) => {let s = i === "playback_acceleration" ? r : n;- return /* @__PURE__ */ (0, D.jsx)(rk, {+ return /* @__PURE__ */ (0, D.jsx)(nk, {label: a,description: o,children: /* @__PURE__ */ (0, D.jsx)("div", {id: i === "playback_acceleration" ? "playbackAccelerationSetting" : "previewAccelerationSetting",- children: /* @__PURE__ */ (0, D.jsxs)(hF, {+ children: /* @__PURE__ */ (0, D.jsxs)(mF, {"aria-label": a,selectedKey: t.data?.[i] || "auto",isDisabled: !t.data || t.isFetching || !!s.busy,@@ -78581,10 +78701,10 @@ function jRe({ receipt: e }) {W.setQueryData(Cq, t), e(`已保存${a}`);});},- children: [/* @__PURE__ */ (0, D.jsx)(gF, {+ children: [/* @__PURE__ */ (0, D.jsx)(hF, {id: "auto",children: "自动(硬件优先)"- }), /* @__PURE__ */ (0, D.jsx)(gF, {+ }), /* @__PURE__ */ (0, D.jsx)(hF, {id: "software",children: i === "preview_acceleration" ? "软件解码" : "软件编解码"})]@@ -78592,55 +78712,55 @@ function jRe({ receipt: e }) {})});};- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(rk, {title: "视频预览",children: [- /* @__PURE__ */ (0, D.jsxs)(ak, { children: [a("preview_acceleration", "抽帧解码方式", "用于生成封面、九宫格和时间轴。"), /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsxs)(ik, { children: [a("preview_acceleration", "抽帧解码方式", "用于生成封面、九宫格和时间轴。"), /* @__PURE__ */ (0, D.jsx)(nk, {label: "生成视频预览",description: "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。",- children: /* @__PURE__ */ (0, D.jsx)(TW, {+ children: /* @__PURE__ */ (0, D.jsx)(wW, {"aria-label": "生成视频预览",isSelected: !!t.data && !t.data.metadata_only,isDisabled: !t.data || t.isFetching || !!n.busy,onChange: (t) => void n.run("save", (e) => U("/api/media-processing", { metadata_only: !t }, "POST", e), (t) => {- W.setQueryData(Cq, t), W.invalidateQueries({ queryKey: jB }), W.invalidateQueries({ queryKey: MP }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");+ W.setQueryData(Cq, t), W.invalidateQueries({ queryKey: AB }), W.invalidateQueries({ queryKey: jP }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");})})})] }),- /* @__PURE__ */ (0, D.jsx)(DRe, { disabled: !t.data || t.data.metadata_only || !!n.busy }),- n.busy ? /* @__PURE__ */ (0, D.jsx)(ok, {+ /* @__PURE__ */ (0, D.jsx)(NRe, { disabled: !t.data || t.data.metadata_only || !!n.busy }),+ n.busy ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(ck, {+ children: /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: "正在保存…"})}) : null,- i ? /* @__PURE__ */ (0, D.jsx)(ok, {+ i ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: i })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: i })}) : null]- }), /* @__PURE__ */ (0, D.jsxs)(ik, {+ }), /* @__PURE__ */ (0, D.jsxs)(rk, {title: "视频播放",children: [- /* @__PURE__ */ (0, D.jsx)(ak, { children: a("playback_acceleration", "播放编解码方式", "用于播放时的视频转码。") }),- r.busy ? /* @__PURE__ */ (0, D.jsx)(ok, {+ /* @__PURE__ */ (0, D.jsx)(ik, { children: a("playback_acceleration", "播放编解码方式", "用于播放时的视频转码。") }),+ r.busy ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(ck, {+ children: /* @__PURE__ */ (0, D.jsx)(sk, {role: "status",children: "正在保存…"})}) : null,- r.error ? /* @__PURE__ */ (0, D.jsx)(ok, {+ r.error ? /* @__PURE__ */ (0, D.jsx)(ak, {divided: !0,- children: /* @__PURE__ */ (0, D.jsx)(lk, { children: r.error })+ children: /* @__PURE__ */ (0, D.jsx)(ck, { children: r.error })}) : null]})] });}//#endregion//#region src/react/boardui/components/base/textarea/textarea.tsx-var wq = gO({+var wq = hO({field: ["relative flex w-full flex-col","rounded-2lg",@@ -78667,9 +78787,9 @@ var wq = gO({},footer: "flex w-full items-start justify-between gap-3",count: "ms-auto shrink-0 pt-px text-caption-1-medium text-text-tertiary tabular-nums"-}), MRe = 20;+}), RRe = 20;function Tq({ size: e, rows: t = 3, autoResize: n = !1, maxRows: r, resize: i = "vertical", fieldClassName: a, className: o, ref: s, groupRef: c, onInput: l, ...u }) {- let d = (0, E.useContext)(eM), f = e ?? d.size ?? "medium", p = (0, E.useRef)(null), m = (e) => {+ let d = (0, E.useContext)($j), f = e ?? d.size ?? "medium", p = (0, E.useRef)(null), m = (e) => {p.current = e, typeof s == "function" ? s(e) : s && (s.current = e);}, h = () => {let e = p.current;@@ -78678,29 +78798,29 @@ function Tq({ size: e, rows: t = 3, autoResize: n = !1, maxRows: r, resize: i =e.style.height = "", e.style.maxHeight = "", e.style.overflowY = "";return;}- let i = parseFloat(window.getComputedStyle(e).lineHeight) || MRe, a = r ? r * i : Infinity;+ let i = parseFloat(window.getComputedStyle(e).lineHeight) || RRe, a = r ? r * i : Infinity;e.style.height = "0px";let o = Math.max(e.scrollHeight, t * i);e.style.height = `${Math.min(o, a)}px`, e.style.maxHeight = r ? `${a}px` : "", e.style.overflowY = o > a ? "auto" : "hidden";};- return (0, E.useLayoutEffect)(h), /* @__PURE__ */ (0, D.jsx)(Rve, {+ return (0, E.useLayoutEffect)(h), /* @__PURE__ */ (0, D.jsx)(zve, {ref: c,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => hO(wq.field, wq.fieldSize[f], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", d.fieldClassName, a),- children: /* @__PURE__ */ (0, D.jsx)(pxe, {+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => mO(wq.field, wq.fieldSize[f], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", d.fieldClassName, a),+ children: /* @__PURE__ */ (0, D.jsx)(mxe, {ref: m,rows: t,...u,onInput: (e) => {h(), l?.(e);},- className: hO(wq.textarea, wq.resize[n ? "none" : i], d.inputClassName, o)+ className: mO(wq.textarea, wq.resize[n ? "none" : i], d.inputClassName, o)})});}Tq.displayName = "TextareaBase";function Eq({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize: a, maxRows: o, resize: s, maxLength: c, showCount: l = !1, fieldClassName: u, ref: d, groupRef: f, className: p, value: m, defaultValue: h, onChange: g, ..._ }) {let [v, y] = (0, E.useState)(() => (h ?? "").length), b = m === void 0 ? v : m.length;- return /* @__PURE__ */ (0, D.jsx)(tM, {+ return /* @__PURE__ */ (0, D.jsx)(eM, {..._,value: m,defaultValue: h,@@ -78710,7 +78830,7 @@ function Eq({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResizeclassName: p,"aria-label": _["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: p, isInvalid: m }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- e && /* @__PURE__ */ (0, D.jsx)(Qj, {+ e && /* @__PURE__ */ (0, D.jsx)(Zj, {isRequired: p,isInvalid: m,tooltip: n,@@ -78729,11 +78849,11 @@ function Eq({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize}),(t || l) && /* @__PURE__ */ (0, D.jsxs)("div", {className: wq.footer,- children: [t && /* @__PURE__ */ (0, D.jsx)($j, {+ children: [t && /* @__PURE__ */ (0, D.jsx)(Qj, {isInvalid: m,children: t}), l && /* @__PURE__ */ (0, D.jsx)("span", {- className: hO(wq.count, m && "text-text-error-primary"),+ className: mO(wq.count, m && "text-text-error-primary"),children: c ? `${b}/${c}` : b})]})@@ -78743,22 +78863,22 @@ function Eq({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResizeEq.displayName = "Textarea";//#endregion//#region src/react/settings/code-pattern-settings.tsx-var NRe = "^\\+{3}\\s*(?<code>FC2-PPV-\\d+)\n\\[(?<code>[A-Z]+-\\d+)\\]";-function PRe({ receipt: e }) {+var zRe = "^\\+{3}\\s*(?<code>FC2-PPV-\\d+)\n\\[(?<code>[A-Z]+-\\d+)\\]";+function BRe({ receipt: e }) {let t = yt({- queryKey: OB,- queryFn: ({ signal: e }) => MB(e)- }), [n, r] = (0, E.useState)(null), i = ek(), a = n ?? (t.data?.codePatterns ?? []).join("\n"), o = i.error || (t.error ? V(t.error) : "");- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ queryKey: DB,+ queryFn: ({ signal: e }) => jB(e)+ }), [n, r] = (0, E.useState)(null), i = $O(), a = n ?? (t.data?.codePatterns ?? []).join("\n"), o = i.error || (t.error ? V(t.error) : "");+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "番号识别规则",onSubmit: (t) => {t.preventDefault();let n = a.split("\n").map((e) => e.trim()).filter(Boolean);- i.run("save", (e) => U(wB, { codePatterns: n }, "POST", e), (t) => {- W.setQueryData(OB, t), r(null), e("已保存配置");+ i.run("save", (e) => U(CB, { codePatterns: n }, "POST", e), (t) => {+ W.setQueryData(DB, t), r(null), e("已保存配置");});},- children: [/* @__PURE__ */ (0, D.jsxs)(ok, { children: [/* @__PURE__ */ (0, D.jsx)(ck, { children: "内置规则认不出番号时,按这里的规则从文件名里取。每行一条正则表达式,番号写在 (?<code>…) 里,没有命名组就取第一个括号。规则在下一次处理时对还没有番号的视频生效。" }), /* @__PURE__ */ (0, D.jsx)(Eq, {+ children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [/* @__PURE__ */ (0, D.jsx)(sk, { children: "内置规则认不出番号时,按这里的规则从文件名里取。每行一条正则表达式,番号写在 (?<code>…) 里,没有命名组就取第一个括号。规则在下一次处理时对还没有番号的视频生效。" }), /* @__PURE__ */ (0, D.jsx)(Eq, {id: "codePatternSetting","aria-label": "番号识别规则",rows: 3,@@ -78766,13 +78886,13 @@ function PRe({ receipt: e }) {maxRows: 12,spellCheck: "false",autoComplete: "off",- placeholder: NRe,+ placeholder: zRe,value: a,isDisabled: !t.data,isInvalid: !!o,hint: o || void 0,onChange: r- })] }), /* @__PURE__ */ (0, D.jsx)(sk, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ })] }), /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",...Y(i.busy === "save"),children: "保存配置"@@ -78781,8 +78901,8 @@ function PRe({ receipt: e }) {}//#endregion//#region src/react/settings/password-pair.tsx-function FRe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(iM, {+function VRe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(rM, {id: "access-password",type: "password",label: e,@@ -78795,7 +78915,7 @@ function FRe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmavalidationBehavior: "aria",isInvalid: !a && !!o,hint: a ? s : o || s- }), /* @__PURE__ */ (0, D.jsx)(iM, {+ }), /* @__PURE__ */ (0, D.jsx)(rM, {id: "access-confirm",type: "password",label: "确认访问密码",@@ -78812,13 +78932,13 @@ function FRe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma}//#endregion//#region src/react/settings/access-settings.tsx-var IRe = {+var HRe = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"};-function LRe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)({}), m = (0, E.useRef)(null), h = ek(), g = (e) => {+function URe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)({}), m = (0, E.useRef)(null), h = $O(), g = (e) => {e.preventDefault();let f = {};n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length ? requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : h.run("save", (e) => U("/api/configuration/access", {@@ -78834,25 +78954,25 @@ function LRe({ initial: e, receipt: t }) {let t = e instanceof wn ? e.body : null, n = t?.errors || t?.detail?.errors;n ? p(n) : h.setError(V(e));});- }, _ = IRe[n.mode], v = n.mode !== "locked";- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ }, _ = HRe[n.mode], v = n.mode !== "locked";+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "访问密码",onSubmit: g,children: [/* @__PURE__ */ (0, D.jsx)("div", {ref: m,- children: /* @__PURE__ */ (0, D.jsxs)(ok, { children: [- _ ? /* @__PURE__ */ (0, D.jsx)(ck, { children: _ }) : null,+ children: /* @__PURE__ */ (0, D.jsxs)(ak, { children: [+ _ ? /* @__PURE__ */ (0, D.jsx)(sk, { children: _ }) : null,n.mode === "open" ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "warning",title: "未设置访问密码",children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"}) : null,- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, D.jsx)(EN, {+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: u,onChange: d,children: "关闭访问密码"}) : null,- n.mode === "password" ? /* @__PURE__ */ (0, D.jsx)(iM, {+ n.mode === "password" ? /* @__PURE__ */ (0, D.jsx)(rM, {id: "access-current",type: "password",label: "当前访问密码",@@ -78865,7 +78985,7 @@ function LRe({ initial: e, receipt: t }) {isInvalid: !!f.current_password,hint: f.current_password}) : null,- v ? /* @__PURE__ */ (0, D.jsx)(FRe, {+ v ? /* @__PURE__ */ (0, D.jsx)(VRe, {label: n.mode === "password" ? "新访问密码" : "设置访问密码",password: o,confirmation: c,@@ -78881,9 +79001,9 @@ function LRe({ initial: e, receipt: t }) {title: "访问范围",children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"}) : null,- h.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: h.error }) : null+ h.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: h.error }) : null] })- }), v ? /* @__PURE__ */ (0, D.jsx)(sk, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ }), v ? /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",...Y(h.busy === "save"),children: "保存配置"@@ -78892,27 +79012,27 @@ function LRe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/port-settings.tsx-function RRe({ data: e, receipt: t }) {- let [n, r] = (0, E.useState)(String(e.port)), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(null), c = ek();+function WRe({ data: e, receipt: t }) {+ let [n, r] = (0, E.useState)(String(e.port)), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(null), c = $O();return (0, E.useEffect)(() => {if (!o) return;let e = setTimeout(() => location.assign(o.url), WK);return () => clearTimeout(e);- }, [o]), o ? /* @__PURE__ */ (0, D.jsx)(ik, {+ }, [o]), o ? /* @__PURE__ */ (0, D.jsx)(rk, {title: "本机访问端口",- children: /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsxs)(J, {+ children: /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsxs)(J, {tone: "success",title: "配置已保存",- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, D.jsx)(WO, {+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, D.jsx)(UO, {href: o.url,size: "small",children: "进入馆藏"})]}) })- }) : /* @__PURE__ */ (0, D.jsxs)(ik, {+ }) : /* @__PURE__ */ (0, D.jsxs)(rk, {title: "本机访问端口",onSubmit: (r) => {- r.preventDefault(), a(""), c.run("save", (t) => U(SB, {+ r.preventDefault(), a(""), c.run("save", (t) => U(xB, {revision: e.revision,media_dirs: e.media_dirs,...e.media_sources ? { media_sources: e.media_sources } : {},@@ -78925,7 +79045,7 @@ function RRe({ data: e, receipt: t }) {t?.port ? a(t.port) : c.setError(V(e));});},- children: [/* @__PURE__ */ (0, D.jsxs)(ok, { children: [/* @__PURE__ */ (0, D.jsx)(iM, {+ children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [/* @__PURE__ */ (0, D.jsx)(rM, {id: "configPort",label: "端口",inputMode: "numeric",@@ -78938,7 +79058,7 @@ function RRe({ data: e, receipt: t }) {tone: "error",title: "没有保存",children: c.error- }) : null] }), /* @__PURE__ */ (0, D.jsx)(sk, {+ }) : null] }), /* @__PURE__ */ (0, D.jsx)(ok, {status: "保存后 Peach 会重启,并跳转到新地址。",children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",@@ -78950,19 +79070,19 @@ function RRe({ data: e, receipt: t }) {}//#endregion//#region src/react/settings/tunnel-settings.tsx-var zRe = 2e3, BRe = [["quick", "临时链接"], ["named", "命名隧道"]], VRe = {+var GRe = 2e3, KRe = [["quick", "临时链接"], ["named", "命名隧道"]], qRe = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function HRe({ revision: e, initial: t, receipt: n }) {- let [r, i] = (0, E.useState)(t), [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(t.mode), [l, u] = (0, E.useState)(t.hostname), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)({}), h = ek(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";+function JRe({ revision: e, initial: t, receipt: n }) {+ let [r, i] = (0, E.useState)(t), [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(t.mode), [l, u] = (0, E.useState)(t.hostname), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)({}), h = $O(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";(0, E.useEffect)(() => {if (r.state !== "starting") return;let e = new AbortController(), t = window.setInterval(() => {- PK(e.signal).then((t) => {- !e.signal.aborted && t.tunnel && (W.setQueryData(NK, t), i(t.tunnel), o(t.revision));+ NK(e.signal).then((t) => {+ !e.signal.aborted && t.tunnel && (W.setQueryData(MK, t), i(t.tunnel), o(t.revision));}).catch(() => void 0);- }, zRe);+ }, GRe);return () => {e.abort(), window.clearInterval(t);};@@ -78981,31 +79101,31 @@ function HRe({ revision: e, initial: t, receipt: n }) {n ? m(n) : h.setError(V(e));});};- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {id: "tunnel",title: "Cloudflare 公网入口",onSubmit: (e) => {e.preventDefault(), v("save", g, () => n("已保存配置"));},- aside: /* @__PURE__ */ (0, D.jsx)(jV, {+ aside: /* @__PURE__ */ (0, D.jsx)(AV, {tone: r.error ? "error" : g ? "progress" : "neutral",children: r.error ? "连接失败" : r.state === "running" ? "运行中" : r.state === "starting" ? "连接中" : "已停止"}),- children: [/* @__PURE__ */ (0, D.jsxs)(ok, { children: [- r.named_available ? /* @__PURE__ */ (0, D.jsx)(CF, {+ children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [+ r.named_available ? /* @__PURE__ */ (0, D.jsx)(SF, {"aria-label": "公网入口的形态(二选一)",value: s,isDisabled: g,onChange: (e) => c(e),- className: wF,- children: BRe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(uj, {+ className: CF,+ children: KRe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(lj, {value: e,- className: TF,+ className: wF,children: t}, e))}) : null,- /* @__PURE__ */ (0, D.jsx)(ck, { children: VRe[_ ? "named" : "quick"] }),- _ ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(sk, { children: qRe[_ ? "named" : "quick"] }),+ _ ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(rM, {id: "tunnel-hostname",label: "公开主机名",autoComplete: "off",@@ -79016,7 +79136,7 @@ function HRe({ revision: e, initial: t, receipt: n }) {validationBehavior: "aria",isInvalid: !!p.hostname,hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"- }), /* @__PURE__ */ (0, D.jsx)(iM, {+ }), /* @__PURE__ */ (0, D.jsx)(rM, {id: "tunnel-token",type: "password",label: "隧道令牌",@@ -79036,7 +79156,7 @@ function HRe({ revision: e, initial: t, receipt: n }) {r.state === "running" && r.url ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "info",title: "公网地址",- children: /* @__PURE__ */ (0, D.jsx)(dk, {+ children: /* @__PURE__ */ (0, D.jsx)(uk, {href: r.url,children: r.url})@@ -79046,9 +79166,9 @@ function HRe({ revision: e, initial: t, receipt: n }) {title: "正在连接",children: "正在等待 cloudflared 连上 Cloudflare 边缘。"}) : null,- r.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: r.error }) : null,- h.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: h.error }) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(sk, {+ r.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: r.error }) : null,+ h.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: h.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsxs)(ok, {status: r.enabled ? "Peach 重启后自动恢复。" : void 0,children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: r.named_available ? "secondary" : "primary",@@ -79065,28 +79185,28 @@ function HRe({ revision: e, initial: t, receipt: n }) {}//#endregion//#region src/react/settings/network-settings.tsx-var URe = [+var YRe = [["environment", "系统代理"],["direct", "直连"],["proxy", "自定义"]];-function WRe({ data: e, receipt: t, panel: n }) {+function XRe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- ...IK(n),+ ...FK(n),children: [- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, D.jsx)(RRe, {+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, D.jsx)(WRe, {data: e,receipt: t}) : null,- e.peach_proxy ? /* @__PURE__ */ (0, D.jsx)(GRe, {+ e.peach_proxy ? /* @__PURE__ */ (0, D.jsx)(ZRe, {initial: e.peach_proxy,receipt: t}) : null,- e.access ? /* @__PURE__ */ (0, D.jsx)(LRe, {+ e.access ? /* @__PURE__ */ (0, D.jsx)(URe, {initial: e.access,receipt: t}) : null,- e.tunnel ? /* @__PURE__ */ (0, D.jsx)(HRe, {+ e.tunnel ? /* @__PURE__ */ (0, D.jsx)(JRe, {revision: e.revision,initial: e.tunnel,receipt: t@@ -79094,9 +79214,9 @@ function WRe({ data: e, receipt: t, panel: n }) {]});}-function GRe({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.mode), [o, s] = (0, E.useState)(""), c = ek();- return /* @__PURE__ */ (0, D.jsxs)(ik, {+function ZRe({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.mode), [o, s] = (0, E.useState)(""), c = $O();+ return /* @__PURE__ */ (0, D.jsxs)(rk, {id: "peachProxy",title: "Peach 代理",onSubmit: (e) => {@@ -79108,24 +79228,24 @@ function GRe({ initial: e, receipt: t }) {});},children: [- /* @__PURE__ */ (0, D.jsx)(ak, { children: /* @__PURE__ */ (0, D.jsx)(rk, {+ /* @__PURE__ */ (0, D.jsx)(ik, { children: /* @__PURE__ */ (0, D.jsx)(nk, {label: "连接方式",- children: /* @__PURE__ */ (0, D.jsx)(hF, {+ children: /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "连接方式",selectedKey: i,onSelectionChange: (e) => {e !== null && a(String(e));},- children: URe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: YRe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))})}) }),- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, D.jsxs)(ok, {+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, D.jsxs)(ak, {divided: !0,children: [- i === "proxy" ? /* @__PURE__ */ (0, D.jsx)(iM, {+ i === "proxy" ? /* @__PURE__ */ (0, D.jsx)(rM, {id: "peachProxyAddress",type: "password",label: "代理地址",@@ -79139,10 +79259,10 @@ function GRe({ initial: e, receipt: t }) {title: "需要选择连接方式",children: "已有来源的代理地址不同,请选择公共连接方式。"}) : null,- c.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: c.error }) : null+ c.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, D.jsx)(sk, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",...Y(c.busy === "save"),children: "保存配置"@@ -79152,24 +79272,24 @@ function GRe({ initial: e, receipt: t }) {}//#endregion//#region src/react/follow-manage/credentials.tsx-var KRe = "将清除这个来源在本机和共享副本中的登录凭据。", qRe = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";-function JRe(e, t) {+var QRe = "将清除这个来源在本机和共享副本中的登录凭据。", $Re = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";+function eze(e, t) {return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";}-function YRe({ row: e }) {- if (li(e)) return /* @__PURE__ */ (0, D.jsx)(BO, {+function tze({ row: e }) {+ if (li(e)) return /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "lime",children: "已配置"});let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";- return /* @__PURE__ */ (0, D.jsx)(BO, {+ return /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: t,children: ci[e.requirement] || ""});}-function XRe({ row: e, readOnly: t, toast: n }) {+function nze({ row: e, readOnly: t, toast: n }) {let [r, i] = (0, E.useState)({}), [a, o] = (0, E.useState)(""), s = li(e), c = bt({mutationFn: (t) => Hr(e.provider, t),onSuccess: (e, t) => {@@ -79186,17 +79306,17 @@ function XRe({ row: e, readOnly: t, toast: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, D.jsxs)(ck, { children: [e.why, e.where ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [" ", /* @__PURE__ */ (0, D.jsx)(dk, {+ /* @__PURE__ */ (0, D.jsxs)(sk, { children: [e.why, e.where ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [" ", /* @__PURE__ */ (0, D.jsx)(uk, {href: e.where,children: "获取凭据"})] }) : null] }),- e.howto ? /* @__PURE__ */ (0, D.jsx)(ck, { children: e.howto }) : null,+ e.howto ? /* @__PURE__ */ (0, D.jsx)(sk, { children: e.howto }) : null,/* @__PURE__ */ (0, D.jsx)("div", {className: "flex w-full flex-col gap-3",- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, D.jsx)(iM, {+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, D.jsx)(rM, {type: "password",label: n,- placeholder: JRe(e, n),+ placeholder: eze(e, n),autoComplete: "off",spellCheck: "false",isDisabled: t,@@ -79216,7 +79336,7 @@ function XRe({ row: e, readOnly: t, toast: n }) {...Y(c.isPending),onClick: () => void Ys({title: "清除来源凭据",- body: KRe,+ body: QRe,confirmLabel: "清除来源凭据",danger: !0,onConfirm: () => c.mutateAsync({})@@ -79230,11 +79350,11 @@ function XRe({ row: e, readOnly: t, toast: n }) {children: "保存配置"})]}),- a ? /* @__PURE__ */ (0, D.jsx)(lk, { children: a }) : null,- (e.shared_fields || []).length ? /* @__PURE__ */ (0, D.jsx)(ck, { children: `${e.shared_fields.join("、")} 使用共享副本中的登录信息,本机没有单独保存。清除时,本机和共享副本中的登录信息都会删除。` }) : null,- e.path ? /* @__PURE__ */ (0, D.jsx)(mk, {+ a ? /* @__PURE__ */ (0, D.jsx)(ck, { children: a }) : null,+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, D.jsx)(sk, { children: `${e.shared_fields.join("、")} 使用共享副本中的登录信息,本机没有单独保存。清除时,本机和共享副本中的登录信息都会删除。` }) : null,+ e.path ? /* @__PURE__ */ (0, D.jsx)(pk, {summary: "凭据文件",- children: /* @__PURE__ */ (0, D.jsx)(MV, {+ children: /* @__PURE__ */ (0, D.jsx)(jV, {path: e.path,className: "font-mono text-caption-1-regular text-text-tertiary",onRevealed: n@@ -79243,20 +79363,20 @@ function XRe({ row: e, readOnly: t, toast: n }) {]});}-function ZRe({ row: e, readOnly: t, toast: n }) {+function rze({ row: e, readOnly: t, toast: n }) {let r = /* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "inline-flex size-3.5 shrink-0 items-center justify-center",- children: /* @__PURE__ */ (0, D.jsx)(mW, { provider: e.provider })+ children: /* @__PURE__ */ (0, D.jsx)(pW, { provider: e.provider })}),/* @__PURE__ */ (0, D.jsx)("b", {className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",children: e.provider_label}),- /* @__PURE__ */ (0, D.jsx)(YRe, { row: e }),- e.missing.map((e) => /* @__PURE__ */ (0, D.jsx)(BO, {+ /* @__PURE__ */ (0, D.jsx)(tze, { row: e }),+ e.missing.map((e) => /* @__PURE__ */ (0, D.jsx)(zO, {variant: "caption",color: "rose",children: `缺 ${e}`@@ -79265,15 +79385,15 @@ function ZRe({ row: e, readOnly: t, toast: n }) {});return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, D.jsx)(ck, { children: e.why }) : null]+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, D.jsx)(sk, { children: e.why }) : null]}) : /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",children: [r,- /* @__PURE__ */ (0, D.jsx)(mk, {+ /* @__PURE__ */ (0, D.jsx)(pk, {summary: li(e) ? "修改凭据" : "填写凭据",defaultOpen: e.requirement === "required" && !li(e),- children: /* @__PURE__ */ (0, D.jsx)(XRe, {+ children: /* @__PURE__ */ (0, D.jsx)(nze, {row: e,readOnly: t,toast: n@@ -79282,16 +79402,16 @@ function ZRe({ row: e, readOnly: t, toast: n }) {e.world_readable ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "凭据文件权限过宽",- children: qRe+ children: $Re}) : null]});}-function QRe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {+function ize({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !li(e));- if (!i.length) return /* @__PURE__ */ (0, D.jsx)(YO, {+ if (!i.length) return /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: Gge,+ icon: Kge,title: "没有可配置的来源",children: "已接入的站点及其凭据状态会显示在这里。"});@@ -79318,24 +79438,24 @@ function QRe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {className: "text-body-medium text-text-secondary",children: e.title}), /* @__PURE__ */ (0, D.jsx)("div", {- className: GO({+ className: WO({variant: "outlined",padding: "none",className: "flex flex-col overflow-hidden"}),- children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(ZRe, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(rze, {row: e,readOnly: t,toast: n}, e.provider))})]}, e.title)) });- return r ? /* @__PURE__ */ (0, D.jsx)(ik, {+ return r ? /* @__PURE__ */ (0, D.jsx)(rk, {title: "来源凭据",aside: o || void 0,- children: /* @__PURE__ */ (0, D.jsx)(ok, { children: s })+ children: /* @__PURE__ */ (0, D.jsx)(ak, { children: s })}) : /* @__PURE__ */ (0, D.jsxs)("div", {- className: GO({+ className: WO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -79350,15 +79470,15 @@ function QRe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {}//#endregion//#region src/configuration-copy.ts-var $Re = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", eze = "只填域名,留空用默认地址";+var aze = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", oze = "只填域名,留空用默认地址";//#endregion//#region src/react/settings/entry-links-settings.tsx-function tze({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.sites), i = ek(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+function sze({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.sites), i = $O(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,host: t} : n));- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "作品资料站点",onSubmit: (e) => {e.preventDefault();@@ -79367,11 +79487,11 @@ function tze({ initial: e, receipt: t }) {r(e.sites), t("已保存配置");});},- children: [/* @__PURE__ */ (0, D.jsxs)(ok, { children: [- /* @__PURE__ */ (0, D.jsx)(ck, { children: $Re }),- n.map((e) => /* @__PURE__ */ (0, D.jsx)(iM, {+ children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [+ /* @__PURE__ */ (0, D.jsx)(sk, { children: aze }),+ n.map((e) => /* @__PURE__ */ (0, D.jsx)(rM, {id: `entry-link-${e.key}`,- label: /* @__PURE__ */ (0, D.jsx)(Z_e, {+ label: /* @__PURE__ */ (0, D.jsx)(Q_e, {site: e.key,label: `${e.label} 地址`}),@@ -79381,10 +79501,10 @@ function tze({ initial: e, receipt: t }) {placeholder: e.default_host,onChange: (t) => a(e.key, t),validationBehavior: "aria",- hint: eze+ hint: oze}, e.key)),- i.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, D.jsx)(sk, { children: /* @__PURE__ */ (0, D.jsx)(q, {+ i.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsx)(ok, { children: /* @__PURE__ */ (0, D.jsx)(q, {type: "submit",...Y(i.busy === "save"),children: "保存配置"@@ -79394,27 +79514,27 @@ function tze({ initial: e, receipt: t }) {//#endregion//#region src/react/settings/indexer-settings.tsxvar Dq = "/api/configuration/indexers";-function nze({ receipt: e }) {+function cze({ receipt: e }) {let t = yt({queryKey: ["indexers"],queryFn: ({ signal: e }) => H(Dq, e),refetchOnMount: "always"});- return t.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, D.jsx)(XO, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, D.jsx)(aze, {+ return t.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, D.jsx)(YO, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, D.jsx)(dze, {initial: t.data,receipt: e}) : null;}-function rze(e) {+function lze(e) {try {return new globalThis.URL(e).host;} catch {return e;}}-function ize({ row: e, index: t }) {+function uze({ row: e, index: t }) {let n = [- e.url ? rze(e.url) : "未填地址",+ e.url ? lze(e.url) : "未填地址",e.enabled ? "已启用" : "已停用",e.api_key_set && !e.clear_api_key ? "已保存 API key" : e.api_key ? "API key 待保存" : "没有 API key"];@@ -79429,25 +79549,25 @@ function ize({ row: e, index: t }) {})]});}-function aze({ initial: e, receipt: t }) {- let [n, r] = (0, E.useState)(e.indexers), i = ek(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+function dze({ initial: e, receipt: t }) {+ let [n, r] = (0, E.useState)(e.indexers), i = $O(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,...t} : n));- return /* @__PURE__ */ (0, D.jsxs)(ik, {+ return /* @__PURE__ */ (0, D.jsxs)(rk, {title: "资源搜索",onSubmit: (e) => {e.preventDefault(), i.run("save", (e) => U(Dq, { indexers: n }, "POST", e), (e) => {r(e.indexers), t("已保存索引器");});},- children: [/* @__PURE__ */ (0, D.jsxs)(ok, { children: [- /* @__PURE__ */ (0, D.jsx)(mk, {+ children: [/* @__PURE__ */ (0, D.jsxs)(ak, { children: [+ /* @__PURE__ */ (0, D.jsx)(pk, {summary: "索引器连接帮助",- children: /* @__PURE__ */ (0, D.jsxs)(ck, { children: [+ children: /* @__PURE__ */ (0, D.jsxs)(sk, { children: ["填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。"," ",- /* @__PURE__ */ (0, D.jsx)(dk, {+ /* @__PURE__ */ (0, D.jsx)(uk, {href: "https://github.com/peach-mitao/peach/blob/master/docs/RESOURCE_SEARCH.md",children: "详细配置说明"})@@ -79455,16 +79575,16 @@ function aze({ initial: e, receipt: t }) {}),n.map((e, t) => /* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 border-t border-separator-border pt-2",- children: /* @__PURE__ */ (0, D.jsx)(mk, {+ children: /* @__PURE__ */ (0, D.jsx)(pk, {defaultOpen: !e.url,- summary: /* @__PURE__ */ (0, D.jsx)(ize, {+ summary: /* @__PURE__ */ (0, D.jsx)(uze, {row: e,index: t}),children: /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-col gap-4",children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "名称","aria-label": `索引器 ${t + 1} 名称`,value: e.name,@@ -79472,7 +79592,7 @@ function aze({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { name: t })}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "Torznab 地址","aria-label": `索引器 ${t + 1} Torznab 地址`,value: e.url,@@ -79482,7 +79602,7 @@ function aze({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { url: t })}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "API key","aria-label": `索引器 ${t + 1} API key`,type: "password",@@ -79495,13 +79615,13 @@ function aze({ initial: e, receipt: t }) {/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-x-6 gap-y-2",children: [- /* @__PURE__ */ (0, D.jsx)(EN, {+ /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: e.enabled,isDisabled: !!i.busy,onChange: (t) => a(e.key, { enabled: t }),children: "启用"}),- e.api_key_set ? /* @__PURE__ */ (0, D.jsx)(EN, {+ e.api_key_set ? /* @__PURE__ */ (0, D.jsx)(TN, {isSelected: !!e.clear_api_key,isDisabled: !!i.busy,onChange: (t) => a(e.key, { clear_api_key: t }),@@ -79522,13 +79642,13 @@ function aze({ initial: e, receipt: t }) {})})}, e.key)),- i.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, D.jsxs)(sk, { children: [/* @__PURE__ */ (0, D.jsx)(q, {+ i.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, D.jsxs)(ok, { children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",type: "button",disabled: !!i.busy || n.length >= e.max_indexers,onClick: () => r([...n, {- key: PE(),+ key: NE(),name: "",url: "",enabled: !0,@@ -79544,7 +79664,7 @@ function aze({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/source-settings.tsx-function oze({ data: e, receipt: t, panel: n }) {+function fze({ data: e, receipt: t, panel: n }) {let r = yt({queryKey: Zn,queryFn: ({ signal: e }) => Ar(e),@@ -79552,14 +79672,14 @@ function oze({ data: e, receipt: t, panel: n }) {refetchOnMount: "always"});return /* @__PURE__ */ (0, D.jsxs)("div", {- ...IK(n),+ ...FK(n),children: [- /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(HO, {+ /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(VO, {href: "/sources",variant: "secondary",children: "采集来源与登录状态"}) }),- r.data ? /* @__PURE__ */ (0, D.jsx)(QRe, {+ r.data ? /* @__PURE__ */ (0, D.jsx)(ize, {data: r.data,readOnly: !!e.ledger_read_only,toast: t,@@ -79568,24 +79688,24 @@ function oze({ data: e, receipt: t, panel: n }) {tone: "error",title: "来源凭据未取得",children: V(r.error)- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, D.jsx)(XO, { label: "正在读取来源凭据" }),- e.entry_links ? /* @__PURE__ */ (0, D.jsx)(tze, {+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, D.jsx)(YO, { label: "正在读取来源凭据" }),+ e.entry_links ? /* @__PURE__ */ (0, D.jsx)(sze, {initial: e.entry_links,receipt: t}) : null,- /* @__PURE__ */ (0, D.jsx)(nze, { receipt: t }),- /* @__PURE__ */ (0, D.jsx)(ORe, { receipt: t })+ /* @__PURE__ */ (0, D.jsx)(cze, { receipt: t }),+ /* @__PURE__ */ (0, D.jsx)(PRe, { receipt: t })]});}//#endregion//#region src/react/settings/configuration-page.tsx-function sze({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {+function pze({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {let i = yt({- queryKey: NK,- queryFn: ({ signal: e }) => PK(e)+ queryKey: MK,+ queryFn: ({ signal: e }) => NK(e)}), a = i.data;- return a ? /* @__PURE__ */ (0, D.jsx)(lze, {+ return a ? /* @__PURE__ */ (0, D.jsx)(hze, {data: a,receipt: e,reopenTutorial: t,@@ -79600,9 +79720,9 @@ function sze({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r })})});}-var cze = 0;-function lze({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i }) {- let [a] = (0, E.useState)(() => `board-tabs-${++cze}`), [o, s] = (0, E.useState)(r), c = (0, E.useRef)(null), l = (0, E.useRef)(o);+var mze = 0;+function hze({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i }) {+ let [a] = (0, E.useState)(() => `board-tabs-${++mze}`), [o, s] = (0, E.useState)(r), c = (0, E.useRef)(null), l = (0, E.useRef)(o);(0, E.useEffect)(() => {s(r);}, [r]), (0, E.useLayoutEffect)(() => {@@ -79616,9 +79736,9 @@ function lze({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:window.scrollTo(0, Math.max(0, window.scrollY + t.getBoundingClientRect().top - r));}, [o]);let u = (e) => {- s(e), vP(NN(e), {+ s(e), _P(MN(e), {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state});}, [d, f] = (0, E.useState)(() => matchMedia("(max-width:900px)").matches);(0, E.useEffect)(() => {@@ -79632,24 +79752,24 @@ function lze({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:{title: "媒体库与入库",body: (e) => /* @__PURE__ */ (0, D.jsxs)("div", {- ...IK(e),+ ...FK(e),children: [- /* @__PURE__ */ (0, D.jsx)(CRe, { ...m }),- /* @__PURE__ */ (0, D.jsx)(jRe, { receipt: t }),- /* @__PURE__ */ (0, D.jsx)(PRe, { receipt: t })+ /* @__PURE__ */ (0, D.jsx)(kRe, { ...m }),+ /* @__PURE__ */ (0, D.jsx)(LRe, { receipt: t }),+ /* @__PURE__ */ (0, D.jsx)(BRe, { receipt: t })]})},{title: "来源与订阅",- body: (e) => /* @__PURE__ */ (0, D.jsx)(oze, {+ body: (e) => /* @__PURE__ */ (0, D.jsx)(fze, {...m,panel: e})},...g ? [{title: "下载渠道",- body: (e) => /* @__PURE__ */ (0, D.jsx)(ALe, {+ body: (e) => /* @__PURE__ */ (0, D.jsx)(jLe, {initial: g,receipt: t,panel: e@@ -79657,7 +79777,7 @@ function lze({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:}] : [],...h ? [{title: "网络与访问",- body: (e) => /* @__PURE__ */ (0, D.jsx)(WRe, {+ body: (e) => /* @__PURE__ */ (0, D.jsx)(XRe, {...m,panel: e})@@ -79665,8 +79785,8 @@ function lze({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:{title: "应用与维护",body: (e) => /* @__PURE__ */ (0, D.jsxs)("div", {- ...IK(e),- children: [/* @__PURE__ */ (0, D.jsx)(KLe, { ...m }), /* @__PURE__ */ (0, D.jsx)(ILe, {+ ...FK(e),+ children: [/* @__PURE__ */ (0, D.jsx)(QLe, { ...m }), /* @__PURE__ */ (0, D.jsx)(HLe, {...m,reopenTutorial: n})]@@ -79675,7 +79795,7 @@ function lze({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:{title: "系统诊断",body: (e) => /* @__PURE__ */ (0, D.jsx)("div", {- ...IK(e),+ ...FK(e),children: e.active ? i : null})}@@ -79691,7 +79811,7 @@ function lze({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:return /* @__PURE__ */ (0, D.jsxs)("div", {ref: c,className: "ui-configpage",- children: [/* @__PURE__ */ (0, D.jsx)(_O, {+ children: [/* @__PURE__ */ (0, D.jsx)(gO, {className: "ui-board-local-nav",role: "tablist","aria-label": "配置分区",@@ -79728,7 +79848,7 @@ function lze({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var uze = [+var gze = [["strength","强度",@@ -79755,8 +79875,8 @@ var uze = [100]];-function dze({ host: e, spot: t, index: n, glow: r }) {- let i = gue[n], a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = KO(), [l, u] = (0, E.useState)("all");+function _ze({ host: e, spot: t, index: n, glow: r }) {+ let i = _ue[n], a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = GO(), [l, u] = (0, E.useState)("all");(0, E.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -79769,7 +79889,7 @@ function dze({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = Tue(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), uo(), o.current?.focus();+ r[t].color = Eue(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), uo(), o.current?.focus();};return /* @__PURE__ */ (0, D.jsxs)("div", {"data-glow-stop": t,@@ -79794,7 +79914,7 @@ function dze({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, D.jsx)(KD, { name: "chevron-down" })+ /* @__PURE__ */ (0, D.jsx)(GD, { name: "chevron-down" })]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "popmenu",@@ -79806,7 +79926,7 @@ function dze({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: Sue.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)("button", {+ children: Cue.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -79820,7 +79940,7 @@ function dze({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: Cue.map(([e, t, n]) => /* @__PURE__ */ (0, D.jsx)("button", {+ children: wue.map(([e, t, n]) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -79837,8 +79957,8 @@ function dze({ host: e, spot: t, index: n, glow: r }) {})]});}-function fze({ host: e }) {- let t = e.store.value.homeGlow, n = VT(t.preset);+function vze({ host: e }) {+ let t = e.store.value.homeGlow, n = BT(t.preset);return /* @__PURE__ */ (0, D.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -79857,10 +79977,10 @@ function fze({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, D.jsx)("b", {"data-glow-preset-name": "",- children: vue(t.preset)+ children: yue(t.preset)})]}),- /* @__PURE__ */ (0, D.jsx)(Sde, {+ /* @__PURE__ */ (0, D.jsx)(Cde, {store: e.store,label: "光晕配色"}),@@ -79871,7 +79991,7 @@ function fze({ host: e }) {}),/* @__PURE__ */ (0, D.jsx)("div", {"data-glow-fields": "",- children: uze.map(([r, i, a]) => /* @__PURE__ */ (0, D.jsx)(QIe, {+ children: gze.map(([r, i, a]) => /* @__PURE__ */ (0, D.jsx)($Ie, {field: r,label: i,max: a,@@ -79892,7 +80012,7 @@ function fze({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = kue(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = Aue(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -79911,7 +80031,7 @@ function fze({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, D.jsx)("div", {"data-glow-stops": "",- children: zT.map((n, r) => /* @__PURE__ */ (0, D.jsx)(dze, {+ children: RT.map((n, r) => /* @__PURE__ */ (0, D.jsx)(_ze, {host: e,spot: n,index: r,@@ -79924,7 +80044,7 @@ function fze({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var pze = {+var yze = {batchSizeSetting: {min: 1,max: 200,@@ -79972,8 +80092,8 @@ function kq(e, t) {return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}function Aq({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = pze[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, E.useRef)(0);- d.current ||= MT(Number(localStorage.getItem(Oq(e))), o, s, n && n > 0 ? n : l);+ let a = yze[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, E.useRef)(0);+ d.current ||= jT(Number(localStorage.getItem(Oq(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, E.useState)(n ?? 0), [m, h] = (0, E.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, E.useState)(""), v = (0, E.useRef)(null), y = (0, E.useRef)(i);y.current = i, (0, E.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));@@ -80042,7 +80162,7 @@ function Aq({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {//#endregion//#region src/react/sidebar/sidebar-order.tsfunction jq(e) {- let { mutate: t } = NB();+ let { mutate: t } = MB();return (0, E.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);@@ -80057,8 +80177,8 @@ function Mq(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var mze = "__home__", Nq = (e) => e === "" ? mze : e;-function hze({ host: e }) {+var bze = "__home__", Nq = (e) => e === "" ? bze : e;+function xze({ host: e }) {let t = jq(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, E.useState)(null), [c, l] = (0, E.useState)(!1), [u, d] = (0, E.useState)(null), [f, p] = (0, E.useState)(null), m = (0, E.useRef)(null), h = (0, E.useRef)(null), g = (e, r, i) => {let a = Mq(n, e, r, i);a && t(a);@@ -80120,9 +80240,9 @@ function hze({ host: e }) {/* @__PURE__ */ (0, D.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, D.jsx)(KD, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, D.jsx)(GD, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, D.jsx)(KD, { name: a ?? "" }),+ /* @__PURE__ */ (0, D.jsx)(GD, { name: a ?? "" }),/* @__PURE__ */ (0, D.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, D.jsxs)("span", {@@ -80136,7 +80256,7 @@ function hze({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, D.jsx)(KD, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, D.jsx)(GD, { name: "chevron-up" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -80146,7 +80266,7 @@ function hze({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, D.jsx)(KD, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, D.jsx)(GD, { name: "chevron-down" })}),/* @__PURE__ */ (0, D.jsx)("button", {type: "button",@@ -80158,7 +80278,7 @@ function hze({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, D.jsx)(KD, { name: "eye-off" })+ children: /* @__PURE__ */ (0, D.jsx)(GD, { name: "eye-off" })})]})]@@ -80178,13 +80298,13 @@ function hze({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(KD, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, D.jsx)(GD, { name: v[2] ?? "" }),/* @__PURE__ */ (0, D.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, D.jsx)(KD, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(KD, { name: "check" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, D.jsx)(GD, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(GD, { name: "check" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -80202,7 +80322,7 @@ function hze({ host: e }) {onClick: () => {s(Nq(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, D.jsx)(KD, { name: n ?? "" }), /* @__PURE__ */ (0, D.jsx)("span", { children: t })]+ children: [/* @__PURE__ */ (0, D.jsx)(GD, { name: n ?? "" }), /* @__PURE__ */ (0, D.jsx)("span", { children: t })]}, Nq(e)))}) : null]}), /* @__PURE__ */ (0, D.jsx)("button", {@@ -80226,7 +80346,7 @@ var Pq = [["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], gze = [+], Sze = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -80235,7 +80355,7 @@ var Pq = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], _ze = [["desc", "降序"], ["asc", "升序"]], vze = [[+], Cze = [["desc", "降序"], ["asc", "升序"]], wze = [["cover","官方封面",""@@ -80243,7 +80363,7 @@ var Pq = ["thumbnail","预览图",""-]], yze = [+]], Tze = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -80262,32 +80382,32 @@ var Pq = ["切片","隐藏切片"]-], bze = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Fq = null, Iq = {+], Eze = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Fq = null, Iq = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null}, Lq = 0, Rq = null, zq = /* @__PURE__ */ new Set();-function xze(e) {+function Dze(e) {return zq.add(e), () => {zq.delete(e);};}-function Sze() {+function Oze() {for (let e of [...zq]) e();}function Bq(e) {Iq = {...Iq,...e- }, (0, St.flushSync)(Sze);+ }, (0, St.flushSync)(Oze);}-async function Cze(e) {+async function kze(e) {let t = Iq.epoch, n = await e.configurable();Iq.open && Iq.epoch === t && Bq({ configurable: n });}-function wze(e = "") {+function Aze(e = "") {let t = Fq;if (!t) return;let n = Pq.findIndex(([t]) => t === e);@@ -80296,7 +80416,7 @@ function wze(e = "") {return;}uo(), Lq += 1, Rq ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = Mke();+ let r = Nke();Bq({open: !0,closing: !1,@@ -80305,7 +80425,7 @@ function wze(e = "") {tab: n >= 0 ? n : Iq.tab}), r.then((e) => {e && t.syncRemote(e);- }), Cze(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), kze(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}function Vq(e = !0) {if (!Iq.open || Iq.closing) return;@@ -80319,31 +80439,31 @@ function Vq(e = !0) {};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var Tze = {- open: wze,+var jze = {+ open: Aze,close: Vq,isOpen: () => Iq.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function Eze(e) {- return Fq = e, Tze;+function Mze(e) {+ return Fq = e, jze;}-function Dze() {- let e = (0, E.useSyncExternalStore)(xze, () => Iq);- return Fq ? /* @__PURE__ */ (0, D.jsx)(Aze, {+function Nze() {+ let e = (0, E.useSyncExternalStore)(Dze, () => Iq);+ return Fq ? /* @__PURE__ */ (0, D.jsx)(Ize, {host: Fq,view: e}) : null;}-function Oze(e) {+function Pze(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(bze)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(Eze)].filter((e) => e.getClientRects().length > 0);if (!t.length) return;let n = t[0], r = t[t.length - 1];e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());}var Hq = (e) => `settings-tab-${e}`, Uq = (e) => `settings-group-${e}`;-function kze({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+function Fze({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = (0, E.useRef)(e), l = (0, E.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -80415,7 +80535,7 @@ function kze({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, D.jsx)(KD, { name: n }) : /* @__PURE__ */ (0, D.jsx)(Hme, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, D.jsx)(GD, { name: n }) : /* @__PURE__ */ (0, D.jsx)(Ume, { name: n }), t]}, t)),/* @__PURE__ */ (0, D.jsx)("div", {"data-settings-service": "",@@ -80426,9 +80546,9 @@ function kze({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, D.jsx)(KD, { name: "folder-cog" }),+ /* @__PURE__ */ (0, D.jsx)(GD, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, D.jsx)(KD, { name: "chevron-right" })+ /* @__PURE__ */ (0, D.jsx)(GD, { name: "chevron-right" })]})})@@ -80471,7 +80591,7 @@ function Kq({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, D.jsxs)("span", { children: [/* @__PURE__ */ (0, D.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, D.jsx)("small", { children: t }) : t] }), r]});}-function Aze({ host: e, view: t }) {+function Ize({ host: e, view: t }) {(0, E.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, E.useRef)(null), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = (0, E.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -80503,7 +80623,7 @@ function Aze({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: Oze,+ onKeyDown: Pze,onClick: (e) => {e.target === e.currentTarget && Vq();},@@ -80517,13 +80637,13 @@ function Aze({ host: e, view: t }) {children: [/* @__PURE__ */ (0, D.jsx)("h2", {id: "settingsTitle",children: Pq[t.tab][0]- }), /* @__PURE__ */ (0, D.jsx)(lM, {+ }), /* @__PURE__ */ (0, D.jsx)(cM, {id: "settingsClose",label: "关闭设置",onPress: () => Vq()})]}),- /* @__PURE__ */ (0, D.jsx)(kze, {+ /* @__PURE__ */ (0, D.jsx)(Fze, {tab: t.tab,epoch: d,configurable: t.configurable,@@ -80546,7 +80666,7 @@ function Aze({ host: e, view: t }) {children: [/* @__PURE__ */ (0, D.jsx)(Kq, {title: "主题",- children: /* @__PURE__ */ (0, D.jsx)(xK, {+ children: /* @__PURE__ */ (0, D.jsx)(bK, {id: "themeSetting",name: "theme",legend: "主题",@@ -80592,7 +80712,7 @@ function Aze({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, D.jsx)(fze, { host: e }),+ /* @__PURE__ */ (0, D.jsx)(vze, { host: e }),/* @__PURE__ */ (0, D.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -80604,18 +80724,18 @@ function Aze({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, D.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, D.jsx)(hze, { host: e })+ children: /* @__PURE__ */ (0, D.jsx)(xze, { host: e })})})]})]}),- /* @__PURE__ */ (0, D.jsx)(Mze, {+ /* @__PURE__ */ (0, D.jsx)(Rze, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, D.jsx)(Nze, {+ /* @__PURE__ */ (0, D.jsx)(zze, {host: e,tab: t.tab,epoch: d@@ -80624,7 +80744,7 @@ function Aze({ host: e, view: t }) {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, D.jsx)(Ize, {+ /* @__PURE__ */ (0, D.jsx)(Hze, {host: e,epoch: d}),@@ -80646,7 +80766,7 @@ function Aze({ host: e, view: t }) {title: "口味与记录",children: /* @__PURE__ */ (0, D.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, D.jsx)(HO, {+ children: /* @__PURE__ */ (0, D.jsx)(VO, {variant: "secondary",href: "/taste",onClick: () => Vq(!1),@@ -80674,7 +80794,7 @@ function Aze({ host: e, view: t }) {})});}-function jze(e, t) {+function Lze(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = Yo("arrow-up", "arrow-down", "a", {@@ -80684,7 +80804,7 @@ function jze(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function Mze({ host: e, tab: t, epoch: n }) {+function Rze({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";return /* @__PURE__ */ (0, D.jsxs)(Wq, {index: 1,@@ -80709,19 +80829,19 @@ function Mze({ host: e, tab: t, epoch: n }) {kind: "sort",children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, D.jsx)(SK, {+ children: [/* @__PURE__ */ (0, D.jsx)(xK, {id: "defaultSortSetting",label: "默认排序",- options: gze,+ options: Sze,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, D.jsx)(SK, {+ }), /* @__PURE__ */ (0, D.jsx)(xK, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: _ze,+ options: Cze,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -80729,13 +80849,13 @@ function Mze({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => jze(e, o)+ decorate: (e) => Lze(e, o)})]})}),/* @__PURE__ */ (0, D.jsx)(Kq, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, D.jsx)(xK, {+ children: /* @__PURE__ */ (0, D.jsx)(bK, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -80748,14 +80868,14 @@ function Mze({ host: e, tab: t, epoch: n }) {onChoose: (t) => e.setVideoLayout(t)})}),- /* @__PURE__ */ (0, D.jsx)(Fze, {+ /* @__PURE__ */ (0, D.jsx)(Vze, {host: e,epoch: n})]});}-function Nze({ host: e, tab: t, epoch: n }) {+function zze({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();return /* @__PURE__ */ (0, D.jsxs)(Wq, {index: 2,@@ -80767,11 +80887,11 @@ function Nze({ host: e, tab: t, epoch: n }) {}),/* @__PURE__ */ (0, D.jsx)(Kq, {title: "默认图片",- children: /* @__PURE__ */ (0, D.jsx)(xK, {+ children: /* @__PURE__ */ (0, D.jsx)(bK, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: vze,+ options: wze,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -80807,7 +80927,7 @@ function Nze({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- yze.map(([t, n, r, i]) => /* @__PURE__ */ (0, D.jsx)(Pze, {+ Tze.map(([t, n, r, i]) => /* @__PURE__ */ (0, D.jsx)(Bze, {host: e,id: t,settingKey: n,@@ -80817,8 +80937,8 @@ function Nze({ host: e, tab: t, epoch: n }) {]});}-function Pze({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = NB(), [o, s] = (0, E.useState)(null), c = (0, E.useRef)(null), l = e.store.value, u = (t) => {+function Bze({ host: e, id: t, settingKey: n, label: r, title: i }) {+ let a = MB(), [o, s] = (0, E.useState)(null), c = (0, E.useRef)(null), l = e.store.value, u = (t) => {s(t), Rs(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -80842,7 +80962,7 @@ function Pze({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function Fze({ host: e, epoch: t }) {+function Vze({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Kq, {@@ -80854,7 +80974,7 @@ function Fze({ host: e, epoch: t }) {label: "悬停预览延迟",value: n.hoverDelaySeconds,onApply: (t) => {- n.hoverDelaySeconds = MT(t, 0, 60, 5), r(), e.changed("hoverDelay");+ n.hoverDelaySeconds = jT(t, 0, 60, 5), r(), e.changed("hoverDelay");}}, t)})@@ -80891,8 +81011,8 @@ function Fze({ host: e, epoch: t }) {})] });}-function Ize({ host: e, epoch: t }) {- let n = e.store.value, r = NB();+function Hze({ host: e, epoch: t }) {+ let n = e.store.value, r = MB();return /* @__PURE__ */ (0, D.jsx)(Kq, {title: "搜索记录数量",children: /* @__PURE__ */ (0, D.jsx)("div", {@@ -80902,7 +81022,7 @@ function Ize({ host: e, epoch: t }) {label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = MT(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = jT(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})@@ -80910,7 +81030,7 @@ function Ize({ host: e, epoch: t }) {}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var qq = "__home__", Lze = {+var qq = "__home__", Uze = {creator: 26,tag: 30,tech: 16@@ -80922,7 +81042,7 @@ var qq = "__home__", Lze = {},epoch: 0}, Zq = /* @__PURE__ */ new Set();-function Rze(e) {+function Wze(e) {return Zq.add(e), () => {Zq.delete(e);};@@ -80930,7 +81050,7 @@ function Rze(e) {function Qq() {for (let e of [...Zq]) e();}-var zze = {+var Gze = {render(e) {Xq = {...Xq,@@ -80944,7 +81064,7 @@ var zze = {}, (0, St.flushSync)(Qq);}};-function Bze(e) {+function Kze(e) {return Yq = e, Xq = {...Xq,props: {@@ -80952,26 +81072,26 @@ function Bze(e) {filters: {},latest: null}- }, zze;+ }, Gze;}-function Vze() {- let e = (0, E.useSyncExternalStore)(Rze, () => Xq);- return Yq ? /* @__PURE__ */ (0, D.jsx)(Hze, {+function qze() {+ let e = (0, E.useSyncExternalStore)(Wze, () => Xq);+ return Yq ? /* @__PURE__ */ (0, D.jsx)(Jze, {host: Yq,props: e.props,epoch: e.epoch}) : null;}-function Hze({ host: e, props: t, epoch: n }) {+function Jze({ host: e, props: t, epoch: n }) {let r = (0, E.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, D.jsx)(Uze, {+ /* @__PURE__ */ (0, D.jsx)(Yze, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, D.jsx)(Gze, {+ t.content ? /* @__PURE__ */ (0, D.jsx)(Zze, {host: e,content: t.content,filters: t.filters,@@ -80979,8 +81099,8 @@ function Hze({ host: e, props: t, epoch: n }) {}) : null] });}-function Uze({ host: e, epoch: t, version: n }) {- let r = jq(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = Uk(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || qq : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function Yze({ host: e, epoch: t, version: n }) {+ let r = jq(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, E.useRef)(null), l = (0, E.useRef)(null), u = Hk(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || qq : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, E.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());return [@@ -81036,7 +81156,7 @@ function Uze({ host: e, epoch: t, version: n }) {"data-sidebar-home-logo": "",src: "/peach-logo.png",alt: ""- }) : /* @__PURE__ */ (0, D.jsx)(KD, { name: r }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]+ }) : /* @__PURE__ */ (0, D.jsx)(GD, { name: r }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]}, t || qq))}), v ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)("span", {"data-sidebar-glide": "",@@ -81045,7 +81165,7 @@ function Uze({ host: e, epoch: t, version: n }) {}), v) : null] });}var $q = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function Wze(e) {+function Xze(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -81058,7 +81178,7 @@ function Wze(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function Gze({ host: e, content: t, filters: n, latest: r }) {+function Zze({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, E.useLayoutEffect)(() => {t.kind === "catalog" && ts(e.scroll, "drawer");@@ -81067,8 +81187,8 @@ function Gze({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? Kze(e, t.facets, n, r, i) : qze(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, D.jsx)(Jze, {+ let a = t.kind === "catalog" ? Qze(e, t.facets, n, r, i) : $ze(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, D.jsx)(eBe, {title: e.title,kind: e.kind,active: e.active,@@ -81077,8 +81197,8 @@ function Gze({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function Kze(e, t, n, r, i) {- let a = Wze(r), o = (t, r, i) => {+function Qze(e, t, n, r, i) {+ let a = Xze(r), o = (t, r, i) => {if (!t.length) return null;let o = $q(n, r);return /* @__PURE__ */ (0, D.jsx)(nJ, {@@ -81103,12 +81223,12 @@ function Kze(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, D.jsx)(Xze, {+ body: /* @__PURE__ */ (0, D.jsx)(nBe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: Lze[d],+ limit: Uze[d],filterKey: l,selected: f,counts: a,@@ -81146,7 +81266,7 @@ function Kze(e, t, n, r, i) {} : null];}-function qze(e, t, n) {+function $ze(e, t, n) {let r = t.providers || [], i = $q(n, "provider"), a = new Set(t.selected);return [r.length ? {@@ -81193,7 +81313,7 @@ function eJ(e, t) {} catch {}return n === null ? t : n === "open";}-function Jze({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+function eBe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {let o = (0, E.useRef)(null), s = (0, E.useRef)(null), [c, l] = (0, E.useState)(() => eJ(e, n)), u = (0, E.useRef)(!1);(0, E.useLayoutEffect)(() => {let t = o.current, r = s.current;@@ -81219,7 +81339,7 @@ function Jze({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, D.jsx)(KD, { name: "chevron-right" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, D.jsx)(GD, { name: "chevron-right" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, D.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -81240,8 +81360,8 @@ function Jze({ title: e, kind: t, active: n, index: r, epoch: i, children: a })});}var tJ = (0, E.createContext)(() => {});-function Yze({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, D.jsx)(KD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, D.jsx)("img", {+function tBe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, D.jsx)(GD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, D.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""@@ -81264,7 +81384,7 @@ function nJ({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, D.jsx)(Yze, { dot: e.dot }),+ /* @__PURE__ */ (0, D.jsx)(tBe, { dot: e.dot }),/* @__PURE__ */ (0, D.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -81279,7 +81399,7 @@ function nJ({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function Xze({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+function nBe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {let u = (0, E.useContext)(tJ), [d, f] = (0, E.useState)(null), [p, m] = (0, E.useState)(e);p !== e && (m(e), f(null));let h = (0, E.useRef)(null), g = (0, E.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;@@ -81320,7 +81440,7 @@ function Xze({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, D.jsx)(KD, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, D.jsx)(GD, { name: "chevron-down" })}) : null] });}function rJ({ rows: e, host: t, selected: n, badges: r }) {@@ -81417,7 +81537,7 @@ function aJ({ host: e, filters: t, commit: n = e.setDuration }) {//#endregion//#region src/management-skeletons.tsvar oJ = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", sJ = (e = "60%") => `<span class="${oJ} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, cJ = "disabled data-skeleton-action", lJ = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function Zze() {+function rBe() {let e = ["馆藏视频","看过",@@ -81458,7 +81578,7 @@ function Zze() {</section></div></div>`;}-function Qze() {+function iBe() {let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = ["浏览记录","口味维度",@@ -81514,7 +81634,7 @@ function Qze() {</div></div></div>`;}-function $ze() {+function aBe() {let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4"><span class="${oJ} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span><span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${sJ("70%")}</span>@@ -81542,7 +81662,7 @@ function $ze() {${t.repeat(2)}</div></div>`;}-function eBe() {+function oBe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3"><div class="flex min-w-0 gap-4"><span class="${oJ} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span><div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${sJ("80%")}</h3><p class="text-body-2-regular">${sJ("60%")}</p></div>@@ -81561,18 +81681,18 @@ function eBe() {}//#endregion//#region src/board-skeleton.ts-var uJ = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, tBe = () => `${uJ("80%")}${uJ("48%")}`, dJ = (e, t) => e.repeat(t), fJ = "disabled data-skeleton-action", pJ = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, mJ = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, nBe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", rBe = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var uJ = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, sBe = () => `${uJ("80%")}${uJ("48%")}`, dJ = (e, t) => e.repeat(t), fJ = "disabled data-skeleton-action", pJ = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, mJ = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, cBe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", lBe = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${nBe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${pJ("3em")}</b></div>`).join("")}</div>`, iBe = [+].map((e) => `<div class="${cBe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${pJ("3em")}</b></div>`).join("")}</div>`, uBe = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], aBe = (e = "") => iBe.some(([t]) => t === e) ? e : "list", oBe = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${iBe.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, hJ = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, sBe = ({ table: e, sort: t, dir: n }) => {+], dBe = (e = "") => uBe.some(([t]) => t === e) ? e : "list", fBe = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${uBe.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, hJ = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, pBe = ({ table: e, sort: t, dir: n }) => {let r = En.find(([e]) => e === t)[1];return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${pJ("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${No({glyph: "refresh-cw",@@ -81597,7 +81717,7 @@ var uJ = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, tBecompact: !0,attrs: fJ})}</span></div></div>`;-}, cBe = () => `<span class="flex shrink-0 items-center gap-1">${No({+}, mBe = () => `<span class="flex shrink-0 items-center gap-1">${No({variant: "secondary",size: "small",glyph: "refresh-cw",@@ -81607,7 +81727,7 @@ var uJ = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, tBesize: "small",glyph: "trash",attrs: fJ-})}</span>`, lBe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${hJ()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${pJ("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${mJ(14, 14)}</span>${mJ(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${pJ("113px")}</span>${cBe()}</span></div>`, gJ = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${mJ(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${pJ("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${No({+})}</span>`, hBe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${hJ()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${pJ("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${mJ(14, 14)}</span>${mJ(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${pJ("113px")}</span>${mBe()}</span></div>`, gJ = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${mJ(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${pJ("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${No({variant: "secondary",size: "small",glyph: "refresh-cw",@@ -81624,13 +81744,13 @@ var uJ = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, tBeglyph: "chevron-up",label: "收起",attrs: fJ-})}</span></span></div><div data-source-divider>${dJ(lBe(), e)}</div></section>`, uBe = () => {+})}</span></span></div><div data-source-divider>${dJ(hBe(), e)}</div></section>`, gBe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, dBe = [+}, _Be = [["select", ""],["author", "创作者"],["source", "来源"],@@ -81638,51 +81758,51 @@ var uJ = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, tBe["status", "状态"],["checked", "上次检查"],["actions", ""]-], fBe = {+], vBe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, pBe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", mBe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${dBe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${fBe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${pBe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${dJ(`<tr>${[+}, yBe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", bBe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${_Be.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${vBe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${yBe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${dJ(`<tr>${[hJ(),`<span class="flex min-w-0 items-center gap-2">${mJ(32, 32, !0)}${pJ("5em")}</span>`,pJ("10em"),`<span class="flex items-center gap-1.5">${mJ(14, 14)}${pJ("4em")}</span>`,mJ(48, 24),pJ("113px"),- cBe()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, hBe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${pJ("111px")}</span><div data-toolbar-actions>${Fo(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${mJ(204, 32)}</div></div>`, gBe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${pJ("120px")}</h3>${[+ mBe()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, xBe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${pJ("111px")}</span><div data-toolbar-actions>${Fo(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${mJ(204, 32)}</div></div>`, SBe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${pJ("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${pJ(e)}</span>`).join("")}</div>`, _Be = (e) => {- let t = aBe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${rBe()}<div class="flex flex-col gap-6">${oBe(t)}<div class="flex flex-col gap-4">${gBe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = An(e.followSort, e.followDir), i = e.followPageSize || uBe(), a = n ? mBe(i, r) : `${hJ("全选本页")}<div class="flex flex-col gap-3">${gJ(3)}${gJ(4)}${gJ(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${rBe()}<div class="flex flex-col gap-6">${oBe(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${sBe({+].map((e) => `<span class="text-body-medium">${pJ(e)}</span>`).join("")}</div>`, CBe = (e) => {+ let t = dBe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${lBe()}<div class="flex flex-col gap-6">${fBe(t)}<div class="flex flex-col gap-4">${SBe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = An(e.followSort, e.followDir), i = e.followPageSize || gBe(), a = n ? bBe(i, r) : `${hJ("全选本页")}<div class="flex flex-col gap-3">${gJ(3)}${gJ(4)}${gJ(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${lBe()}<div class="flex flex-col gap-6">${fBe(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${pBe({table: n,...r- })}${a}${hBe(n, i)}</div></div></div></div></div>`;+ })}${a}${xBe(n, i)}</div></div></div></div></div>`;};-function vBe() {- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${uJ("85%")}${uJ("65%")}${dJ(tBe(), 4)}</div></aside></div>`;+function wBe() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${uJ("85%")}${uJ("65%")}${dJ(sBe(), 4)}</div></aside></div>`;}-function yBe(e, t = {}) {+function TBe(e, t = {}) {let n = "";- if (e === "/stats") n = Zze();- else if (e === "/jav") n = MFe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = Qze();- else if (e === "/subscriptions") n = _Be(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in ON) n = sRe(ON[e.split("/")[2]]);+ if (e === "/stats") n = rBe();+ else if (e === "/jav") n = NFe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = iBe();+ else if (e === "/subscriptions") n = CBe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in DN) n = pRe(DN[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${pJ("8em")}</span><span class="text-caption-1-regular">${pJ("14em")}</span>${pJ("60%")}${pJ("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${pJ("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = $ze();- else if (e === "/quality-goals") n = eBe();+ else if (e === "/duplicates") n = aBe();+ else if (e === "/quality-goals") n = oBe();else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${No({label: "新建",attrs: fJ@@ -81692,13 +81812,13 @@ function yBe(e, t = {}) {}//#endregion//#region src/react/follow-detail/follow-detail.ts-var _J = (e) => ["follow-item", e], bBe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, xBe = "/api/follow/save", SBe = "/api/follow/media/hide", CBe = class extends Error {+var _J = (e) => ["follow-item", e], EBe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, DBe = "/api/follow/save", OBe = "/api/follow/media/hide", kBe = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function wBe(e, t) {- let n = await H(bBe(e), t);+async function ABe(e, t) {+ let n = await H(EBe(e), t);for (let t of n.groups || []) {let r = Si(t).find((t) => t.id === e);if (r) return {@@ -81708,9 +81828,9 @@ async function wBe(e, t) {aliases: n.author_aliases || []};}- throw new CBe();+ throw new kBe();}-function TBe(e) {+function jBe(e) {for (let [, t] of W.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = Si(t.group).find((t) => t.id === e);@@ -81721,20 +81841,20 @@ function TBe(e) {}return null;}-async function EBe(e, t) {+async function MBe(e, t) {let n = _J(e.id), r = Ci(e.id), i = W.getQueryData(_i) ? null : W.fetchQuery({queryKey: _i,queryFn: () => vi(t)}), a = r ? {...r,item: r.item- } : W.getQueryData(n) ?? TBe(e.id);+ } : W.getQueryData(n) ?? jBe(e.id);a ? W.setQueryData(n, a) : await W.fetchQuery({queryKey: n,- queryFn: () => wBe(e.id, t)+ queryFn: () => ABe(e.id, t)}), await i;}-function DBe(e, t, n, r) {+function NBe(e, t, n, r) {let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && ji(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);return {embedded: i,@@ -81749,32 +81869,32 @@ function DBe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var OBe = (e) => Si(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), kBe = {+var PBe = (e) => Si(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), FBe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, ABe = {+}, IBe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function jBe(e) {+function LBe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return kBe[t] || t;+ return FBe[t] || t;} catch {return "外部文件页";}}-function MBe(e, t) {- return ABe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function RBe(e, t) {+ return IBe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function NBe(e, t, n = "") {+function zBe(e, t, n = "") {let r = n;!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;@@ -81783,54 +81903,54 @@ function NBe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var PBe = (e) => String(e.name || "").trim(), FBe = (e, t) => e.tag_types?.[t] || "unknown", IBe = /* @__PURE__ */ new Set([+var BBe = (e) => String(e.name || "").trim(), VBe = (e, t) => e.tag_types?.[t] || "unknown", HBe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function LBe(e, t) {- let n = FBe(e, t);- return `r34-${IBe.has(n) ? n : "general"}`;+function UBe(e, t) {+ let n = VBe(e, t);+ return `r34-${HBe.has(n) ? n : "general"}`;}-var RBe = [+var WBe = ["copyright","character","artist","general","metadata"];-function zBe(e, t) {+function GBe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = RBe.indexOf(FBe(e, t));- return n < 0 ? RBe.length : n;+ let n = WBe.indexOf(VBe(e, t));+ return n < 0 ? WBe.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function BBe(e, t) {+function KBe(e, t) {let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);return !r.length && n && r.push(n), r;}-var VBe = (e, t) => ({+var qBe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), HBe = (e) => e?.size ? { size: e.size } : {};-function UBe(e, t) {+}), JBe = (e) => e?.size ? { size: e.size } : {};+function YBe(e, t) {let { images: n, kind: r, src: i, selected: a } = t;return n.length ? n.map((t) => ({src: `/follow-stream?id=${e.id}&media=${t.index}`,thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,name: t.name || e.title,- source: MBe(t, e),- ...HBe(t)+ source: RBe(t, e),+ ...JBe(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: MBe(a, e),- ...HBe(a)+ source: RBe(a, e),+ ...JBe(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -81838,7 +81958,7 @@ function UBe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var WBe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", vJ = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => is(e, {+var XBe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", vJ = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => is(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -81846,7 +81966,7 @@ var WBe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", vJ...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), GBe = [+}), ZBe = ["元数据字段","创作者标签","厂牌 Logo",@@ -81856,14 +81976,14 @@ var WBe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", vJ"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], KBe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">+], QBe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${GBe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${ZBe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, qBe = {- "/data-cleanup": () => DV(),- "/resource-sync": () => DV(),- "/review": () => KBe(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, $Be = {+ "/data-cleanup": () => EV(),+ "/resource-sync": () => EV(),+ "/review": () => QBe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>${vJ("正在读取采集来源", {cards: !0,@@ -81873,22 +81993,22 @@ var WBe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", vJ})}</div>`};function yJ(e, { followLayout: t, followSort: n, followDir: r }) {- return yBe(e, {+ return TBe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (qBe[e] ?? (() => vJ("正在读取页面")))();+ }) || ($Be[e] ?? (() => vJ("正在读取页面")))();}-var JBe = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+var eVe = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";function bJ(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = JBe(t);+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = eVe(t);(!r || r !== n) && (e.innerHTML = t, fs(e));}//#endregion//#region src/react/components/related-section.tsx-function YBe({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function tVe({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, E.useCallback)((e) => {e && (fs(e), t(e));}, [t]);@@ -81901,17 +82021,17 @@ function YBe({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: achildren: "接着看"}), i ? /* @__PURE__ */ (0, D.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, D.jsx)(iI, {+ children: /* @__PURE__ */ (0, D.jsx)(rI, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, D.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, D.jsx)(YO, {+ children: /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: i_e,+ icon: a_e,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -81928,7 +82048,7 @@ function YBe({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a}//#endregion//#region src/react/components/detail-continuation.tsx-function XBe({ queue: e, children: t, editionCards: n }) {+function nVe({ queue: e, children: t, editionCards: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-detail-continuation": "","data-edition-cards": n == null ? void 0 : Math.min(3, n),@@ -82017,7 +82137,7 @@ function xJ({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, D.jsx)(ZBe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, D.jsx)(rVe, {item: e,selected: r === t,onSelect: n,@@ -82036,7 +82156,7 @@ function xJ({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function ZBe({ item: e, selected: t, onSelect: n, render: r }) {+function rVe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(typeof IntersectionObserver > "u");return (0, E.useEffect)(() => {if (!i.current || a) return;@@ -82063,7 +82183,7 @@ function ZBe({ item: e, selected: t, onSelect: n, render: r }) {}//#endregion//#region src/react/follow-detail/follow-related.ts-var QBe = (e, t, n) => [+var iVe = (e, t, n) => ["follow-feed","related",e,@@ -82085,7 +82205,7 @@ function SJ(e, t, n, r) {};}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);}-async function $Be(e, t, n, r) {+async function aVe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...Ai(i),status: "new",@@ -82106,22 +82226,22 @@ async function $Be(e, t, n, r) {}//#endregion//#region src/react/follow-detail/follow-detail-page.tsx-var eVe = (e) => Number(e) > 0, tVe = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var oVe = (e) => Number(e) > 0, sVe = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: z(e) }-}), nVe = z("external-link", "ui-externalmark");-function rVe(e) {+}), cVe = z("external-link", "ui-externalmark");+function lVe(e) {let { id: t, actions: n } = e, r = yt({queryKey: _J(t),- queryFn: ({ signal: e }) => wBe(t, e)+ queryFn: ({ signal: e }) => ABe(t, e)}), i = yt({queryKey: _i,queryFn: ({ signal: e }) => vi(e)}), a = (0, E.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, E.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, D.jsx)(sVe, {+ return r.data ? /* @__PURE__ */ (0, D.jsx)(pVe, {...e,data: r.data,- context: VBe(r.data, a),+ context: qBe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, D.jsx)("div", {@@ -82130,9 +82250,9 @@ function rVe(e) {children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, D.jsx)(oVe, { onClose: n.close }), /* @__PURE__ */ (0, D.jsx)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(fVe, { onClose: n.close }), /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? iVe(r.error) ? /* @__PURE__ */ (0, D.jsx)(aVe, { onBack: n.close }) : /* @__PURE__ */ (0, D.jsx)(iI, {+ children: r.isError ? uVe(r.error) ? /* @__PURE__ */ (0, D.jsx)(dVe, { onBack: n.close }) : /* @__PURE__ */ (0, D.jsx)(rI, {message: Bt(r.error),onRetry: () => void r.refetch()}) : null@@ -82140,8 +82260,8 @@ function rVe(e) {})});}-var iVe = (e) => e instanceof CBe || e instanceof wn && e.status === 404;-function aVe({ onBack: e }) {+var uVe = (e) => e instanceof kBe || e instanceof wn && e.status === 404;+function dVe({ onBack: e }) {return /* @__PURE__ */ (0, D.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -82150,7 +82270,7 @@ function aVe({ onBack: e }) {dangerouslySetInnerHTML: { __html: Wo("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var oVe = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {+var fVe = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -82159,8 +82279,8 @@ var oVe = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: z("x") }});-function sVe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = DBe(c, l, n, i), d = gVe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, E.useState)({+function pVe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = NBe(c, l, n, i), d = SVe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, E.useState)({key: "",kind: ""}), h = {@@ -82180,20 +82300,20 @@ function sVe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? OBe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, D.jsx)(pVe, {+ let g = !u.embedded.length && u.collection ? PBe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, D.jsx)(yVe, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, D.jsx)(pVe, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, D.jsx)(yVe, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, D.jsx)(fVe, {+ }) : /* @__PURE__ */ (0, D.jsx)(vVe, {group: u.collection,itemId: c.id,helpers: o,@@ -82203,14 +82323,14 @@ function sVe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, D.jsx)(lVe, {+ children: [/* @__PURE__ */ (0, D.jsx)(hVe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, D.jsx)(mVe, {+ }, f), /* @__PURE__ */ (0, D.jsx)(bVe, {item: c,data: e,context: t,@@ -82220,9 +82340,9 @@ function sVe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, D.jsx)(XBe, {+ }), /* @__PURE__ */ (0, D.jsx)(nVe, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, D.jsx)(cVe, {+ children: a > 0 ? /* @__PURE__ */ (0, D.jsx)(mVe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -82232,10 +82352,10 @@ function sVe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function cVe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function mVe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = yt({- queryKey: QBe(e.item.id, t, n),- queryFn: ({ signal: r }) => $Be(e, t, n, r)+ queryKey: iVe(e.item.id, t, n),+ queryFn: ({ signal: r }) => aVe(e, t, n, r)}), [s] = (0, E.useState)(() => vJ("正在读取推荐", {cards: !0,className: "related-skeleton"@@ -82248,7 +82368,7 @@ function cVe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }sources: u,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, D.jsx)(YBe, {+ return /* @__PURE__ */ (0, D.jsx)(tVe, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -82258,11 +82378,11 @@ function cVe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, D.jsx)(sU, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, D.jsx)(oU, {variant: "next",group: e,media: t,- authorSources: BBe(e.primary, u),+ authorSources: KBe(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -82275,8 +82395,8 @@ function cVe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function lVe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, E.useRef)(null), p = UBe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, E.useState)(g), b = (0, E.useRef)({+function hVe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, E.useRef)(null), p = YBe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, E.useState)(g), b = (0, E.useRef)({item: e,selected: o}), x = (0, E.useRef)(i.failed);@@ -82290,14 +82410,14 @@ function lVe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, D.jsx)(oVe, { onClose: n.close }),+ /* @__PURE__ */ (0, D.jsx)(fVe, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, D.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void ZH(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void XH(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -82305,7 +82425,7 @@ function lVe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: NF(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: MF(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, D.jsx)("span", { children: "没有可用预览" })]}),u ? /* @__PURE__ */ (0, D.jsx)(xJ, {@@ -82325,7 +82445,7 @@ function lVe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var uVe = ({ kind: e }) => /* @__PURE__ */ (0, D.jsx)("span", {+var gVe = ({ kind: e }) => /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: z(e === "image" ? "image-off" : "play") }});@@ -82339,27 +82459,27 @@ function CJ({ src: e }) {onError: () => n(!0)});}-function dVe(e) {+function _Ve(e) {return (0, E.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function fVe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = ji(e), a = dVe(n);- return /* @__PURE__ */ (0, D.jsx)(ZI, {+function vVe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = ji(e), a = _Ve(n);+ return /* @__PURE__ */ (0, D.jsx)(XI, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${FF(e.primary)} · ${i.length} 个视频`,+ summary: `${PF(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = NBe(e, n, i ? n.provider_label : ""), o = i ? NF(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, D.jsxs)(QI, {+ let i = e.duplicates.includes(n), a = zBe(e, n, i ? n.provider_label : ""), o = i ? MF(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, D.jsxs)(ZI, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, D.jsx)(CJ, { src: n.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(uVe, { kind: "video" }), eVe(n.duration) ? /* @__PURE__ */ (0, D.jsx)("i", {+ pic: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, D.jsx)(CJ, { src: n.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(gVe, { kind: "video" }), oVe(n.duration) ? /* @__PURE__ */ (0, D.jsx)("i", {className: "mono","data-mix-item-duration": "",children: dn(n.duration)@@ -82377,15 +82497,15 @@ function fVe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, D.jsx)("time", {dateTime: n.published_at || "",- children: WF(n)+ children: UF(n)})]})]}, n.id);})});}-function pVe({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = dVe(r), c = [];+function yVe({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = _Ve(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -82395,26 +82515,26 @@ function pVe({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, D.jsx)(ZI, {+ return /* @__PURE__ */ (0, D.jsx)(XI, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${FF(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, D.jsx)(VTe, {+ summary: `${PF(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, D.jsx)(HTe, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, D.jsxs)(QI, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, D.jsxs)(ZI, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, D.jsx)(CJ, { src: n.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(uVe, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, D.jsx)(CJ, { src: n.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(gVe, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, D.jsx)("b", {"data-middle-truncate": "",- children: PBe(n)+ children: BBe(n)}), /* @__PURE__ */ (0, D.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -82422,13 +82542,13 @@ function pVe({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function bVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {let { kind: c, selected: l, src: u } = r, d = {primary: e,variants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = VF(d, e), p = zF(e, BBe(e, t.sources), n), m = p.credited ? "" : e.author && sn(e.author) !== sn(p.author) ? e.author : "", h = HF(e, n), g = zBe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = BF(d, e), p = RF(e, KBe(e, t.sources), n), m = p.credited ? "" : e.author && sn(e.author) !== sn(p.author) ? e.author : "", h = VF(e, n), g = GBe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -82444,7 +82564,7 @@ function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-title": "","data-follow-detail-name": "","data-reveal-line": "",- dangerouslySetInnerHTML: { __html: BF(d, e) + B(FF(e)) }+ dangerouslySetInnerHTML: { __html: zF(d, e) + B(PF(e)) }}), e.url ? /* @__PURE__ */ (0, D.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -82452,7 +82572,7 @@ function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: nVe }+ dangerouslySetInnerHTML: { __html: cVe }}) : null]}),/* @__PURE__ */ (0, D.jsxs)("div", {@@ -82460,8 +82580,8 @@ function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, D.jsx)("span", { children: WF(e) }),- eVe(e.duration) ? /* @__PURE__ */ (0, D.jsx)("span", { children: dn(e.duration) }) : null,+ /* @__PURE__ */ (0, D.jsx)("span", { children: UF(e) }),+ oVe(e.duration) ? /* @__PURE__ */ (0, D.jsx)("span", { children: dn(e.duration) }) : null,f ? /* @__PURE__ */ (0, D.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -82478,7 +82598,7 @@ function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, D.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, D.jsxs)(aU, {+ children: p.entityName ? /* @__PURE__ */ (0, D.jsxs)(iU, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -82510,7 +82630,7 @@ function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, D.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, D.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, D.jsx)(hVe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, D.jsx)(xVe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, D.jsx)("p", {"data-follow-media-issue": "",children: h@@ -82533,9 +82653,9 @@ function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [jBe(e), /* @__PURE__ */ (0, D.jsx)("span", {+ children: [LBe(e), /* @__PURE__ */ (0, D.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: nVe }+ dangerouslySetInnerHTML: { __html: cVe }})]}, e))}) : null,@@ -82635,7 +82755,7 @@ function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...y(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, D.jsx)(CJ, { src: e.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(tVe, { name: "image-off" }), /* @__PURE__ */ (0, D.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, D.jsx)(CJ, { src: e.thumb_url }) : /* @__PURE__ */ (0, D.jsx)(sVe, { name: "image-off" }), /* @__PURE__ */ (0, D.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]}, e.index))})]}) : null,@@ -82649,7 +82769,7 @@ function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button",- "data-tag-cat": LBe(e, t),+ "data-tag-cat": UBe(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -82659,7 +82779,7 @@ function mVe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function hVe({ text: e }) {+function xVe({ text: e }) {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(!1);return (0, E.useLayoutEffect)(() => {let e = t.current;@@ -82682,7 +82802,7 @@ function hVe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function gVe(e, t, n) {+function SVe(e, t, n) {let r = e.id, i = _J(r), [a, o] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;@@ -82702,7 +82822,7 @@ function gVe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && kG(), t.toast(WBe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && OG(), t.toast(XBe(n), { undo: i === "saved" ? void 0 : async () => {await U(Jn, {item: r,to: i@@ -82712,7 +82832,7 @@ function gVe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = bt({- mutationFn: () => U(xBe, { item: r }),+ mutationFn: () => U(DBe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -82720,7 +82840,7 @@ function gVe(e, t, n) {onSettled: () => l("save", !1)}), m = bt({mutationFn: async ({ index: e, hidden: t }) => {- await U(SBe, {+ await U(OBe, {item: r,media: e,hidden: t@@ -82736,12 +82856,12 @@ function gVe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = yt({- queryKey: BFe(r),- queryFn: ({ signal: e }) => UFe(r, e)+ queryKey: VFe(r),+ queryFn: ({ signal: e }) => WFe(r, e)}).data?.want ?? null, g = bt({- mutationFn: async (e) => (e ? await OG([e.id]) : await DG({ follow: r }), !e),+ mutationFn: async (e) => (e ? await DG([e.id]) : await EG({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), kG();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), OG();},onError: d,onSettled: () => l("want", !1)@@ -82781,7 +82901,7 @@ function gVe(e, t, n) {}//#endregion//#region src/react/components/identity-cell.tsx-function _Ve({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function CVe({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, D.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${B(_n(t.name))}</span>` + Ea({@@ -82824,7 +82944,7 @@ function _Ve({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function vVe({ people: e, onOpen: t }) {+function wVe({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "contents",@@ -82858,7 +82978,7 @@ function vVe({ people: e, onOpen: t }) {}//#endregion//#region src/react/components/folded-title.ts-function yVe(e) {+function TVe(e) {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(!1);return (0, E.useLayoutEffect)(() => {let e = t.current;@@ -82919,7 +83039,7 @@ function wJ({ item: e, image: t, thumbnail: n = !1 }) {}//#endregion//#region src/react/item-detail/catalog-picture.tsx-function bVe({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function EVe({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(0);if (n && t > 0 && e.code) return /* @__PURE__ */ (0, D.jsx)(wJ, {item: {@@ -82954,39 +83074,39 @@ function bVe({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}//#endregion//#region src/react/jav-detail/jav-detail.ts-var TJ = (e) => ["jav-detail", e], EJ = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), xVe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), SVe = (e, t) => W.ensureQueryData({+var TJ = (e) => ["jav-detail", e], EJ = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), DVe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), OVe = (e, t) => W.ensureQueryData({queryKey: TJ(e.code),queryFn: () => EJ(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function CVe(e, t) {+function kVe(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}//#endregion//#region src/react/item-detail/external-playback.tsx-var wVe = "peach.external-player.v1", DJ = [+var AVe = "peach.external-player.v1", DJ = [["m3u", "M3U 播放列表"],["vlc-ios", "VLC(iPhone / iPad)"],["iina", "IINA(Mac)"]];-function TVe(e, t, n) {+function jVe(e, t, n) {return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;}-function EVe({ id: e }) {+function MVe({ id: e }) {let [t, n] = (0, E.useState)(() => {try {- return DJ.find(([e]) => e === localStorage.getItem(wVe))?.[0] || "m3u";+ return DJ.find(([e]) => e === localStorage.getItem(AVe))?.[0] || "m3u";} catch {return "m3u";}- }), [r, i] = (0, E.useState)(null), a = ek();- return /* @__PURE__ */ (0, D.jsx)(mk, {+ }), [r, i] = (0, E.useState)(null), a = $O();+ return /* @__PURE__ */ (0, D.jsx)(pk, {summary: "外部播放器 / VR",- children: /* @__PURE__ */ (0, D.jsxs)(ok, { children: [- /* @__PURE__ */ (0, D.jsx)(SK, {+ children: /* @__PURE__ */ (0, D.jsxs)(ak, { children: [+ /* @__PURE__ */ (0, D.jsx)(xK, {id: `external-player-${e}`,label: "此设备的外部播放器",options: DJ,@@ -82996,7 +83116,7 @@ function EVe({ id: e }) {let t = DJ.find(([t]) => t === e)?.[0] || "m3u";n(t);try {- localStorage.setItem(wVe, t);+ localStorage.setItem(AVe, t);} catch {}}}),@@ -83009,32 +83129,32 @@ function EVe({ id: e }) {})),children: "生成播放链接"}),- a.error ? /* @__PURE__ */ (0, D.jsx)(lk, { children: a.error }) : null,+ a.error ? /* @__PURE__ */ (0, D.jsx)(ck, { children: a.error }) : null,r ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("a", {- href: TVe(t, r.url, r.playlist),+ href: jVe(t, r.url, r.playlist),rel: "noreferrer",children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${DJ.find(([e]) => e === t)?.[1]}`}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "网络播放地址",value: r.url,isReadOnly: !0}),- /* @__PURE__ */ (0, D.jsx)(ck, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })+ /* @__PURE__ */ (0, D.jsx)(sk, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null] })}, e);}//#endregion//#region src/react/cover-crop/cover-crop.ts-var DVe = "/api/cover-crop", OVe = (e, t) => U(DVe, {+var NVe = "/api/cover-crop", PVe = (e, t) => U(NVe, {code: e,box: t});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function kVe({ className: e }) {+function FVe({ className: e }) {return /* @__PURE__ */ (0, D.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -83047,7 +83167,7 @@ function kVe({ className: e }) {children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-crop" })});}-function AVe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function IVe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, E.useState)(!1), o = (0, E.useRef)(null);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("button", {ref: o,@@ -83058,15 +83178,15 @@ function AVe({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, D.jsx)(kVe, { className: "size-3.75" })+ children: /* @__PURE__ */ (0, D.jsx)(FVe, { className: "size-3.75" })}), /* @__PURE__ */ (0, D.jsx)(CS, {- getContainer: () => vI(o.current),- children: /* @__PURE__ */ (0, D.jsx)(aM, {+ getContainer: () => _I(o.current),+ children: /* @__PURE__ */ (0, D.jsx)(iM, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, D.jsx)(jVe, {+ children: /* @__PURE__ */ (0, D.jsx)(LVe, {code: e,coverUrl: t,box: n,@@ -83076,9 +83196,9 @@ function AVe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function jVe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)(!0), d = KO(), f = bt({- mutationFn: (t) => OVe(e, t),+function LVe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)(!0), d = GO(), f = bt({+ mutationFn: (t) => PVe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -83090,19 +83210,19 @@ function jVe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : BMe(e, ha);- c(xU(t, e, null));+ } : VMe(e, ha);+ c(bU(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, D.jsx)(oM, { children: /* @__PURE__ */ (0, D.jsx)(kVe, { className: "size-6" }) }),+ /* @__PURE__ */ (0, D.jsx)(aM, { children: /* @__PURE__ */ (0, D.jsx)(FVe, { className: "size-6" }) }),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(aA, {+ /* @__PURE__ */ (0, D.jsx)(iA, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -83117,8 +83237,8 @@ function jVe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, D.jsx)(Lk, {- icon: DO,+ /* @__PURE__ */ (0, D.jsx)(Ik, {+ icon: EO,size: "small","aria-label": "关闭",onClick: i@@ -83128,24 +83248,24 @@ function jVe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, D.jsx)("div", {ref: d,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, D.jsx)(EU, {+ children: /* @__PURE__ */ (0, D.jsx)(TU, {src: t,aspect: l ? ha : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- yU(e) && p(e);+ vU(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, D.jsx)(TW, {+ children: [/* @__PURE__ */ (0, D.jsx)(wW, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(xU(s, a, ha));+ u(e), e && s && a && c(bU(s, a, ha));},children: /* @__PURE__ */ (0, D.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -83180,15 +83300,15 @@ var OJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {}), kJ = ({ html: e }) => /* @__PURE__ */ (0, D.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), MVe = (e) => Number(e) > 0 ? pn(Number(e)) : "大小未知";-function NVe(e) {+}), RVe = (e) => Number(e) > 0 ? pn(Number(e)) : "大小未知";+function zVe(e) {let { queue: t, actions: n } = e, r = yt({- queryKey: t ? rD(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => cD(t, e.helpers, n),+ queryKey: t ? nD(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => sD(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? lD(i, e.id) : t ? null : e.id, o = yt({- queryKey: nD(a ?? 0),- queryFn: ({ signal: e }) => sD(a, e),+ }), i = t && r.data || null, a = i ? cD(i, e.id) : t ? null : e.id, o = yt({+ queryKey: tD(a ?? 0),+ queryFn: ({ signal: e }) => oD(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -83199,9 +83319,9 @@ function NVe(e) {children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, D.jsx)(PVe, { onClose: n.close }), /* @__PURE__ */ (0, D.jsx)("div", {+ children: [/* @__PURE__ */ (0, D.jsx)(BVe, { onClose: n.close }), /* @__PURE__ */ (0, D.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, D.jsx)(iI, {+ children: e ? /* @__PURE__ */ (0, D.jsx)(rI, {message: Bt(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -83211,13 +83331,13 @@ function NVe(e) {})});}- return /* @__PURE__ */ (0, D.jsx)(FVe, {+ return /* @__PURE__ */ (0, D.jsx)(VVe, {...e,- item: gpe(o.data, i),+ item: _pe(o.data, i),queue: i}, o.data.id);}-var PVe = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {+var BVe = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -83226,23 +83346,23 @@ var PVe = ({ onClose: e }) => /* @__PURE__ */ (0, D.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: z("x") }});-function FVe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = ZVe(t, r, i.tagLabel), o = (0, E.useRef)(t);+function VVe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = rHe(t, r, i.tagLabel), o = (0, E.useRef)(t);(0, E.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, E.useEffect)(() => {- n?.kind === "playlist" && U(iD, {+ n?.kind === "playlist" && U(rD, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = Npe(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = _pe(n, t.id);+ let s = Ppe(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = vpe(n, t.id);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, D.jsx)(IVe, {+ children: [/* @__PURE__ */ (0, D.jsx)(HVe, {item: t,gate: s,helpers: i,@@ -83255,22 +83375,22 @@ function FVe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, D.jsx)(VVe, {+ }), /* @__PURE__ */ (0, D.jsx)(qVe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, D.jsx)(XBe, {+ }), /* @__PURE__ */ (0, D.jsx)(nVe, {editionCards: n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, D.jsx)(RVe, {+ queue: n ? /* @__PURE__ */ (0, D.jsx)(WVe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, D.jsx)(XVe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, D.jsx)(nHe, {...e,item: n ? {...t,@@ -83279,7 +83399,7 @@ function FVe(e) {}) : null})] });}-function IVe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function HVe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, E.useState)(t ? "" : "auto"), c = (0, E.useRef)(null), [l, u] = (0, E.useState)(-2), d = (0, E.useRef)(!1), f = yt({queryKey: TJ(e.code || ""),queryFn: ({ signal: t }) => {@@ -83329,7 +83449,7 @@ function IVe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, D.jsx)(PVe, { onClose: r.close }),+ /* @__PURE__ */ (0, D.jsx)(BVe, { onClose: r.close }),h ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("button", {type: "button",@@ -83338,7 +83458,7 @@ function IVe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aonClick: () => g(l === -2 ? m[0].index : -2),children: [/* @__PURE__ */ (0, D.jsx)(OJ, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, D.jsx)(bVe, {+ l === -2 ? null : /* @__PURE__ */ (0, D.jsx)(EVe, {item: e,image: l,source: p.find((e) => e.index === l)?.source@@ -83348,7 +83468,7 @@ function IVe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aposition: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, D.jsx)(bVe, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, D.jsx)(EVe, {item: e,image: t.index === -2 ? m[0].index : t.index,source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,@@ -83374,7 +83494,7 @@ function IVe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, D.jsx)(LVe, {+ t === "offline" ? /* @__PURE__ */ (0, D.jsx)(UVe, {item: e,badge: y,helpers: n,@@ -83385,7 +83505,7 @@ function IVe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, D.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, D.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, D.jsx)(EVe, { id: e.id })+ /* @__PURE__ */ (0, D.jsx)(MVe, { id: e.id })]}) : t === "online" ? /* @__PURE__ */ (0, D.jsxs)("div", {id: "onlineGate",@@ -83407,12 +83527,12 @@ function IVe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, D.jsx)(kJ, { html: y }), /* @__PURE__ */ (0, D.jsxs)("span", { children: ["点此开始拉流 · ", MVe(e.size)] })]+ children: [/* @__PURE__ */ (0, D.jsx)(kJ, { html: y }), /* @__PURE__ */ (0, D.jsxs)("span", { children: ["点此开始拉流 · ", RVe(e.size)] })]}) : null]});}-function LVe({ item: e, badge: t, helpers: n, actions: r }) {+function UVe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -83437,8 +83557,8 @@ function LVe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function RVe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = kpe(e), a = (0, E.useRef)(null), o = BVe(e, t, r), s = (0, E.useRef)(o);+function WVe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Ape(e), a = (0, E.useRef)(null), o = KVe(e, t, r), s = (0, E.useRef)(o);s.current = o;let c = (0, E.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -83446,7 +83566,7 @@ function RVe({ queue: e, itemId: t, helpers: n, actions: r }) {attribute: "data-queue-row",onMove: (e, t, n) => s.current.move(+e, +t, n)}));- }, [n, e.kind]), l = zVe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, D.jsx)("button", {+ }, [n, e.kind]), l = GVe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -83465,7 +83585,7 @@ function RVe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, D.jsx)(ZI, {+ return /* @__PURE__ */ (0, D.jsx)(XI, {kind: e.kind,title: i.title,summary: i.summary,@@ -83474,11 +83594,11 @@ function RVe({ queue: e, itemId: t, helpers: n, actions: r }) {listRef: c,children: e.items.map((i) => {let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, D.jsx)("i", {- className: `javedition ${Dpe[i.edition_label] || "censored"}`,+ className: `javedition ${Ope[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && hpe(i);- return /* @__PURE__ */ (0, D.jsxs)(QI, {+ }) : null, s = e.kind === "playlist" && gpe(i);+ return /* @__PURE__ */ (0, D.jsxs)(ZI, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -83517,14 +83637,14 @@ function RVe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, D.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? dD(i.part_label) : Va(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? uD(i.part_label) : Va(i, n.tagLabel)})]}, i.id);})});}-function zVe(e, t) {- let n = bt({ mutationFn: (t) => U(iD, {+function GVe(e, t) {+ let n = bt({ mutationFn: (t) => U(rD, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -83537,11 +83657,11 @@ function zVe(e, t) {save: (e) => n.mutateAsync(e)});}-function BVe(e, t, n) {- let r = rD({+function KVe(e, t, n) {+ let r = nD({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (W.setQueryData(r, mpe(e)), e), a = (t) => U(iD, {+ }), i = (e) => (W.setQueryData(r, hpe(e)), e), a = (t) => U(rD, {id: e.playlistId,...t}).then((e) => e.playlist), o = bt({@@ -83557,8 +83677,8 @@ function BVe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = jpe(s, t, r, c);- if (Mpe(l, s)) return;+ let l = Mpe(s, t, r, c);+ if (Npe(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -83600,7 +83720,7 @@ function BVe(e, t, n) {}};}-function VVe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function qVe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsx)("div", {"data-stage-side": "",@@ -83608,7 +83728,7 @@ function VVe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, D.jsx)(HVe, {+ /* @__PURE__ */ (0, D.jsx)(JVe, {item: e,queue: t,helpers: r,@@ -83620,7 +83740,7 @@ function VVe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, D.jsx)(WVe, {+ /* @__PURE__ */ (0, D.jsx)(XVe, {item: e,write: n}),@@ -83639,7 +83759,7 @@ function VVe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, D.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, D.jsx)(OJ, { name: "hard-drive" }), /* @__PURE__ */ (0, D.jsx)("span", { children: MVe(e.size) })]+ children: [/* @__PURE__ */ (0, D.jsx)(OJ, { name: "hard-drive" }), /* @__PURE__ */ (0, D.jsx)("span", { children: RVe(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, D.jsxs)("span", {"data-spec-item": "",@@ -83655,25 +83775,25 @@ function VVe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null]}),- /* @__PURE__ */ (0, D.jsx)(GVe, {+ /* @__PURE__ */ (0, D.jsx)(ZVe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, D.jsx)(KVe, {+ /* @__PURE__ */ (0, D.jsx)(QVe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, D.jsx)(sL, {- assetIds: oL([e], r.javImage()),+ /* @__PURE__ */ (0, D.jsx)(oL, {+ assetIds: aL([e], r.javImage()),onComplete: () => {- W.invalidateQueries({ queryKey: nD(e.id) });+ W.invalidateQueries({ queryKey: tD(e.id) });}}),- /* @__PURE__ */ (0, D.jsx)(JVe, { item: e }),- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, D.jsx)(EVe, { id: e.id }, e.id) : null,+ /* @__PURE__ */ (0, D.jsx)(eHe, { item: e }),+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, D.jsx)(MVe, { id: e.id }, e.id) : null,/* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -83767,7 +83887,7 @@ function VVe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})]}),- /* @__PURE__ */ (0, D.jsx)(YVe, {+ /* @__PURE__ */ (0, D.jsx)(tHe, {item: e,open: s,write: n@@ -83791,8 +83911,8 @@ function VVe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function HVe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = yVe(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Ape(e, t);+function JVe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = TVe(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + jpe(e, t);return /* @__PURE__ */ (0, D.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, D.jsxs)("div", {@@ -83819,23 +83939,23 @@ function HVe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, D.jsx)(eF, {})+ children: /* @__PURE__ */ (0, D.jsx)($P, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, D.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, D.jsx)(AVe, {+ children: /* @__PURE__ */ (0, D.jsx)(IVe, {code: e.cover_key || e.code || "",coverUrl: xa(e),box: e.poster_box || null,onSaved: (t) => {W.invalidateQueries({- queryKey: nD(e.id),+ queryKey: tD(e.id),exact: !0- }), rpe((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), ipe((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, D.jsx)(UVe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, D.jsx)(YVe, {id: e.id,actions: r,onStatus: i@@ -83845,7 +83965,7 @@ function HVe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function UVe({ id: e, actions: t, onStatus: n }) {+function YVe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, E.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -83878,15 +83998,15 @@ function UVe({ id: e, actions: t, onStatus: n }) {children: /* @__PURE__ */ (0, D.jsx)(OJ, { name: "folder-sync" })})] });}-function WVe({ item: e, write: t }) {- let n = tD(e.rating);+function XVe({ item: e, write: t }) {+ let n = eD(e.rating);return /* @__PURE__ */ (0, D.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": ipe(e.rating),- children: [/* @__PURE__ */ (0, D.jsx)(Sz, {+ "data-value": ape(e.rating),+ children: [/* @__PURE__ */ (0, D.jsx)(xz, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -83900,14 +84020,14 @@ function WVe({ item: e, write: t }) {}), /* @__PURE__ */ (0, D.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: ape(e.rating)+ children: ope(e.rating)})]});}-function GVe({ item: e, actions: t }) {- let n = (0, E.useMemo)(() => ype(e), [e]), [r, i] = (0, E.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function ZVe({ item: e, actions: t }) {+ let n = (0, E.useMemo)(() => bpe(e), [e]), [r, i] = (0, E.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, D.jsx)(_Ve, {+ return /* @__PURE__ */ (0, D.jsx)(CVe, {kind: e,person: n,onOpen: t.openEntity,@@ -83951,7 +84071,7 @@ function GVe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: wO,+ trailingIcon: CO,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -83970,14 +84090,14 @@ function GVe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, D.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, D.jsx)(vVe, {+ }) : null, /* @__PURE__ */ (0, D.jsx)(wVe, {people: n.series,onOpen: t.openEntity})]});}-function KVe({ item: e, write: t, helpers: n, actions: r }) {- let i = bpe(e, n);+function QVe({ item: e, write: t, helpers: n, actions: r }) {+ let i = xpe(e, n);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-stage-tags": "",id: "detailTags",@@ -83999,14 +84119,14 @@ function KVe({ item: e, write: t, helpers: n, actions: r }) {onClick: () => t.removeTag(e),children: /* @__PURE__ */ (0, D.jsx)(OJ, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, D.jsx)(qVe, {+ }, e.k)), /* @__PURE__ */ (0, D.jsx)($Ve, {item: e,write: t,helpers: n})]});}-function qVe({ item: e, write: t, helpers: n }) {+function $Ve({ item: e, write: t, helpers: n }) {let r = (0, E.useRef)(null), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(!1), [s, c] = (0, E.useState)(!1), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(-1), h = (0, E.useCallback)(() => {i.current && mo(i.current), c(!1);}, []);@@ -84020,7 +84140,7 @@ function qVe({ item: e, write: t, helpers: n }) {clearTimeout(t), document.removeEventListener("pointerdown", e, !0);};}, [s, h]);- let g = s ? Epe(d, n.tagCandidates(), wpe()) : {+ let g = s ? Dpe(d, n.tagCandidates(), Tpe()) : {recent: [],results: [],create: ""@@ -84043,12 +84163,12 @@ function qVe({ item: e, write: t, helpers: n }) {} else if (n.key === "Enter") {n.preventDefault();let r = p >= 0 ? _[p] : null;- r ? v(r, r.n !== -1 && uD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));+ r ? v(r, r.n !== -1 && lD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));}}}, b = -1, x = (t) => {b += 1;- let r = b, i = uD(e, t.k);+ let r = b, i = lD(e, t.k);return /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-pick": t.k,@@ -84145,8 +84265,8 @@ function qVe({ item: e, write: t, helpers: n }) {})]})] });}-function JVe({ item: e }) {- let t = Ppe(e);+function eHe({ item: e }) {+ let t = Fpe(e);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -84180,7 +84300,7 @@ function JVe({ item: e }) {})]});}-function YVe({ item: e, open: t, write: n }) {+function tHe({ item: e, open: t, write: n }) {let [r, i] = (0, E.useState)(e.like_reason || ""), a = (0, E.useRef)(null);(0, E.useEffect)(() => {t && a.current?.focus();@@ -84219,12 +84339,12 @@ function YVe({ item: e, open: t, write: n }) {})]});}-function XVe(e) {+function nHe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = yt({- queryKey: spe(t.id, n),- queryFn: async ({ signal: e }) => (await H(lpe(t.id, n), e)).items || []+ queryKey: cpe(t.id, n),+ queryFn: async ({ signal: e }) => (await H(upe(t.id, n), e)).items || []}), [o] = (0, E.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, D.jsx)(YBe, {+ return /* @__PURE__ */ (0, D.jsx)(tVe, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -84232,7 +84352,7 @@ function XVe(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, D.jsx)(kz, {+ children: a.data ? /* @__PURE__ */ (0, D.jsx)(Oz, {mode: "items",variant: "next",items: a.data,@@ -84248,8 +84368,8 @@ function XVe(e) {}) : /* @__PURE__ */ (0, D.jsx)(kJ, { html: o })});}-function ZVe(e, t, n) {- let r = e.id, i = nD(r), [a, o] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), d = (e, t) => o((n) => {+function rHe(e, t, n) {+ let r = e.id, i = tD(r), [a, o] = (0, E.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => W.getQueryData(i) || e, p = (e) => {@@ -84265,7 +84385,7 @@ function ZVe(e, t, n) {rating: t.rating,o_count: t.o_count};- return eD(r, n), t;+ return $E(r, n), t;}, m = (e, t) => U(e, {id: r,...t@@ -84280,7 +84400,7 @@ function ZVe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(upe, t === void 0 ? { kind: e } : {+ let n = await m(dpe, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -84300,21 +84420,21 @@ function ZVe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = ope(n, e);- await _("rate", r), t.toast(r ? `已评 ${tD(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = spe(n, e);+ await _("rate", r), t.toast(r ? `已评 ${eD(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(Fpe(e, r), { undo: async () => {+ t.toast(Ipe(e, r), { undo: async () => {e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);}),later: () => g("later", "更新稍后看", async () => {- let e = await m(dpe, {});+ let e = await m(fpe, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(dpe, {})).watch_later });+ p({ watch_later: (await m(fpe, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -84324,9 +84444,9 @@ function ZVe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(fpe, { wanted: !e.wanted });+ }), r = await m(ppe, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(fpe, e));+ n(await m(ppe, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -84340,7 +84460,7 @@ function ZVe(e, t, n) {});u("保存中…");try {- o(await m(ppe, {+ o(await m(mpe, {liked: a,reason: i}));@@ -84350,7 +84470,7 @@ function ZVe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(ppe, r));+ o(await m(mpe, r));} });});},@@ -84359,30 +84479,30 @@ function ZVe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => xpe(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(aD, {+ p((t) => Spe(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(iD, {operation: "add",tag: e.k- }), p((t) => Spe(t, e));+ }), p((t) => Cpe(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(aD, {+ let e = await m(iD, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- uD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => Spe(e, {+ lD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => Cpe(e, {k: i,cat: "general"- })), Tpe(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(aD, {+ })), Epe(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(iD, {operation: "remove",tag: i- }), p((e) => xpe(e, i));+ }), p((e) => Spe(e, i));} }));});}@@ -84390,10 +84510,10 @@ function ZVe(e, t, n) {}//#endregion//#region src/react/jav-detail/review-cache.ts-var QVe = "peach.jav-reviews.v1";-function $Ve() {+var iHe = "peach.jav-reviews.v1";+function aHe() {try {- let e = localStorage.getItem(QVe) || "[]";+ let e = localStorage.getItem(iHe) || "[]";if (e.length > 2e6) return [];let t = JSON.parse(e);return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];@@ -84401,21 +84521,21 @@ function $Ve() {return [];}}-function eHe(e, t) {+function oHe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...$Ve().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(QVe, i);+ }, ...aHe().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(iHe, i);} catch {}}-function tHe(e, t) {- let n = $Ve(), r = [], i = Infinity;+function sHe(e, t) {+ let n = aHe(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !PG(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !NG(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -84423,12 +84543,12 @@ function tHe(e, t) {saved: i} : void 0;}-function nHe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && PG(Date.parse(e.checked_at || "") || t, n));+function cHe(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && NG(Date.parse(e.checked_at || "") || t, n));}//#endregion//#region src/react/jav-detail/jav-detail-page.tsx-function rHe(e) {+function lHe(e) {let t = (0, E.useRef)(!1), n = yt({queryKey: TJ(e.code),queryFn: ({ signal: n }) => {@@ -84443,21 +84563,21 @@ function rHe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, D.jsx)(aHe, {+ children: n.data ? /* @__PURE__ */ (0, D.jsx)(dHe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, D.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, D.jsx)(iHe, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, D.jsx)(iI, {+ children: [/* @__PURE__ */ (0, D.jsx)(uHe, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, D.jsx)(rI, {message: V(n.error),onRetry: r}) : null]})});}-var iHe = ({ close: e }) => /* @__PURE__ */ (0, D.jsx)("button", {+var uHe = ({ close: e }) => /* @__PURE__ */ (0, D.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -84466,7 +84586,7 @@ var iHe = ({ close: e }) => /* @__PURE__ */ (0, D.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: z("x") }});-function aHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function dHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, E.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, E.useEffect)(() => {@@ -84486,13 +84606,13 @@ function aHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(t.want_id), p = ek(), m = () => {- p.run("want", async (e) => d ? (await OG([d], e), null) : (await DG({ code: t.code }, e)).want.id, (t) => {+ ], [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(t.want_id), p = $O(), m = () => {+ p.run("want", async (e) => d ? (await DG([d], e), null) : (await EG({ code: t.code }, e)).want.id, (t) => {f(t), W.setQueryData(TJ(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), kG(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), OG(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [@@ -84501,7 +84621,7 @@ function aHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, D.jsx)(iHe, { close: n.close }),+ /* @__PURE__ */ (0, D.jsx)(uHe, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, D.jsxs)("button", {type: "button","data-jav-preview-toggle": "",@@ -84509,7 +84629,7 @@ function aHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: aonClick: () => s(o === -2 ? -1 : -2),children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, D.jsx)(lHe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, D.jsx)(wJ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, D.jsx)(hHe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, D.jsx)(wJ, {item: t,image: o === -1 ? "cover" : String(o)}, o),@@ -84532,8 +84652,8 @@ function aHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, D.jsx)(oHe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, D.jsx)(sHe, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, D.jsx)(fHe, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, D.jsx)(pHe, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, D.jsxs)("div", {className: "mono","data-stage-meta": "",@@ -84548,7 +84668,7 @@ function aHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avalue: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, D.jsx)(cHe, {+ /* @__PURE__ */ (0, D.jsx)(mHe, {item: t,navigate: n.navigate}),@@ -84600,10 +84720,10 @@ function aHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, D.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, D.jsx)(HO, {+ t.source_url ? /* @__PURE__ */ (0, D.jsx)(VO, {"data-button-link": "",variant: "secondary",- trailingIcon: jO,+ trailingIcon: AO,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -84635,12 +84755,12 @@ function aHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: atone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, D.jsx)(uHe, {+ /* @__PURE__ */ (0, D.jsx)(gHe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, D.jsx)(dHe, {+ /* @__PURE__ */ (0, D.jsx)(_He, {item: t,actions: n,readOnly: r@@ -84648,7 +84768,7 @@ function aHe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, D.jsx)(CG, {+ /* @__PURE__ */ (0, D.jsx)(SG, {prefill: l,close: () => u(null),receipt: n.receipt@@ -84664,8 +84784,8 @@ var AJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("span", {title: t,children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: e }), /* @__PURE__ */ (0, D.jsx)("span", { children: n })]}) : null;-function oHe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = yVe(e.title), a = e.title === e.code ? "" : e.title;+function fHe({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = TVe(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, D.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, D.jsx)("h1", {@@ -84692,25 +84812,25 @@ function oHe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, D.jsx)(eF, {})+ children: /* @__PURE__ */ (0, D.jsx)($P, {})})})]});}-function sHe({ score: e, review: t = !1 }) {+function pHe({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"data-item-rating": "","data-jav-rating": "","data-review-rating": t ? "" : void 0,role: "img","aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,- children: [/* @__PURE__ */ (0, D.jsx)(Sz, { value: e }), /* @__PURE__ */ (0, D.jsxs)("span", {+ children: [/* @__PURE__ */ (0, D.jsx)(xz, { value: e }), /* @__PURE__ */ (0, D.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]});}-function cHe({ item: e, navigate: t }) {+function mHe({ item: e, navigate: t }) {let n = (e, n) => t(Qt(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, D.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -84719,14 +84839,14 @@ function cHe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, D.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, D.jsx)(_Ve, {+ children: i.map((r) => /* @__PURE__ */ (0, D.jsx)(CVe, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, D.jsx)(LU, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, D.jsx)(IU, {code: e.code,person: r,detail: !0@@ -84743,7 +84863,7 @@ function cHe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, D.jsx)(vVe, {+ }), /* @__PURE__ */ (0, D.jsx)(wVe, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -84752,11 +84872,11 @@ function cHe({ item: e, navigate: t }) {})]});}-function lHe({ src: e }) {+function hHe({ src: e }) {let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(0);return (0, E.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), zfe(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Bfe(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));@@ -84776,8 +84896,8 @@ function lHe({ src: e }) {}) : null});}-function uHe({ code: e, count: t, released: n }) {- let r = k(), [i, a] = (0, E.useState)(!1), o = (0, E.useMemo)(() => tHe(e, n), [e, n]), s = (0, E.useRef)(!1), c = xt({+function gHe({ code: e, count: t, released: n }) {+ let r = k(), [i, a] = (0, E.useState)(!1), o = (0, E.useMemo)(() => sHe(e, n), [e, n]), s = (0, E.useRef)(!1), c = xt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -84786,12 +84906,12 @@ function uHe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => nHe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => cHe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await xVe(e, n, t, s.current);- if (eHe(e, i), !i.ok || i.cache_stale) {+ let i = await DVe(e, n, t, s.current);+ if (oHe(e, i), !i.ok || i.cache_stale) {let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);if (t?.ok) return {...t,@@ -84801,7 +84921,7 @@ function uHe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: CVe+ getNextPageParam: kVe});(0, E.useEffect)(() => {c.isFetching || (s.current = !1);@@ -84809,10 +84929,10 @@ function uHe({ code: e, count: t, released: n }) {let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? V(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, D.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, D.jsxs)(mk, {+ children: /* @__PURE__ */ (0, D.jsxs)(pk, {trailing: !0,summary: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(Ege, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, D.jsx)(Dge, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -84849,7 +84969,7 @@ function uHe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, D.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, D.jsx)(sHe, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, D.jsx)(pHe, {score: Number(e.score),review: !0}) : null,@@ -84904,21 +85024,21 @@ function uHe({ code: e, count: t, released: n }) {})});}-function dHe({ item: e, actions: t, readOnly: n }) {+function _He({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, E.useState)(!1), a = yt({- queryKey: Ak,+ queryKey: kk,enabled: r,- queryFn: ({ signal: e }) => H(`${kk}?limit=50`, e)+ queryFn: ({ signal: e }) => H(`${Ok}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, E.useState)(!1);return /* @__PURE__ */ (0, D.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, D.jsx)(mk, {+ children: /* @__PURE__ */ (0, D.jsx)(pk, {trailing: !0,summary: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(AJ, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, D.jsx)(BG, {+ children: s ? /* @__PURE__ */ (0, D.jsx)(zG, {want: {id: 0,code: e.code,@@ -84936,19 +85056,19 @@ function dHe({ item: e, actions: t, readOnly: n }) {}//#endregion//#region src/react/stage/stage-player.ts-var MJ = null, NJ = null, PJ = null, FJ = null, IJ = null, LJ = !1, RJ = 0, zJ = null, BJ = () => !1, fHe = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function pHe(e, t) {- MJ = e, BJ = () => t.isOpen(), zJ = () => t.requestClose(), Ede({+var MJ = null, NJ = null, PJ = null, FJ = null, IJ = null, LJ = !1, RJ = 0, zJ = null, BJ = () => !1, vHe = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function yHe(e, t) {+ MJ = e, BJ = () => t.isOpen(), zJ = () => t.requestClose(), Dde({...e.player,stage: () => document.getElementById("stage")- }), Dde({+ }), Ode({inMiniplayer: (e) => NJ?.player === e,kind: (e) => NJ?.player === e ? NJ.kind : PJ?.kind ?? FJ?.kind ?? "item",expand: () => XJ(),- toMiniplayer: () => jHe()- }), mHe || (mHe = !0, addEventListener("pagehide", () => RE()));+ toMiniplayer: () => LHe()+ }), bHe || (bHe = !0, addEventListener("pagehide", () => LE()));}-var mHe = !1;+var bHe = !1;function VJ() {if (!MJ) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");return MJ;@@ -84956,10 +85076,10 @@ function VJ() {function HJ(e) {FJ = e;}-var hHe = () => FJ;+var xHe = () => FJ;function UJ(e, t) {- let { kind: n, item: r, media: i = null } = t, a = fHe(n, r.id, i?.index ?? null);- if (NJ && NJ.key === a) return _He(e, NJ);+ let { kind: n, item: r, media: i = null } = t, a = vHe(n, r.id, i?.index ?? null);+ if (NJ && NJ.key === a) return CHe(e, NJ);NJ && YJ();let o = {player: null,@@ -84971,7 +85091,7 @@ function UJ(e, t) {PJ = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = GE(s, {+ let c = WE(s, {kind: n,item: r,media: i,@@ -84984,10 +85104,10 @@ function UJ(e, t) {});return () => {let e = !!o.player && NJ?.player === o.player;- PJ === o && (PJ = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), RE());+ PJ === o && (PJ = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), LE());};}-async function gHe(e, t, n) {+async function SHe(e, t, n) {let r = await Ut(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");@@ -85008,12 +85128,12 @@ async function gHe(e, t, n) {autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && FJ === a && vHe(!0), o(), FJ === a && HJ(null));+ s || (s = !0, e && FJ === a && wHe(!0), o(), FJ === a && HJ(null));};}-function _He(e, t) {+function CHe(e, t) {let { player: n } = t;- qJ(t), NJ = null, JJ(), n.el().classList.remove("vjs-peach-mini"), Ife(e), e.append(n.el()), _E(n);+ qJ(t), NJ = null, JJ(), n.el().classList.remove("vjs-peach-mini"), Lfe(e), e.append(n.el()), gE(n);let r = {player: n,kind: t.kind,@@ -85022,22 +85142,22 @@ function _He(e, t) {key: t.key};PJ = r;- let i = Lfe(n, e);- return vE(n), () => {- PJ === r && (PJ = null), i(), NJ?.player !== n && (gE() === n && _E(null), NE(n), RE());+ let i = Rfe(n, e);+ return _E(n), () => {+ PJ === r && (PJ = null), i(), NJ?.player !== n && (hE() === n && gE(null), ME(n), LE());};}var WJ = () => {let e = PJ?.player;return e && !e.isDisposed() ? e : null;};-function vHe(e) {+function wHe(e) {let t = LJ;LJ = !1, NJ?.pending && YJ();let n = PJ, r = n?.player, i = FJ;if (!n || !r || r.isDisposed() || !i || !IJ) return;let a = VJ().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && AHe({+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && IHe({player: r,kind: n.kind,item: n.item,@@ -85045,20 +85165,20 @@ function vHe(e) {key: n.key}, i);}-function yHe(e, t) {+function THe(e, t) {LJ = !1, NJ && (NJ.kind === e && NJ.item.id === t ? (NJ.pending = !0, JJ()) : YJ());}-function bHe(e) {- IJ = e, IJ && DHe();+function EHe(e) {+ IJ = e, IJ && NHe();}var GJ = () => !!NJ && !NJ.pending && !NJ.player.isDisposed();-function xHe() {+function DHe() {return GJ() ? IJ?.frame.querySelector("video") ?? null : null;}-function SHe() {- return BJ() ? document.getElementById("stage")?.querySelector("video") ?? null : WJ()?.el().querySelector("video") ?? xHe();+function OHe() {+ return BJ() ? document.getElementById("stage")?.querySelector("video") ?? null : WJ()?.el().querySelector("video") ?? DHe();}-function CHe(e) {+function kHe(e) {IJ && (IJ.title.textContent = e.title || "", IJ.sub.textContent = e.sub || "", IJ.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}function KJ(e = NJ?.item) {@@ -85066,25 +85186,25 @@ function KJ(e = NJ?.item) {let t = IJ.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;IJ.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function wHe() {+function AHe() {let e = NJ?.player;if (!e || e.isDisposed() || !IJ) return;let t = e.paused();IJ.play.setAttribute("aria-label", t ? "播放" : "暂停"), IJ.play.querySelector("[data-icon-swap]") || (IJ.play.innerHTML = Yo("player-pause", "player-play", t ? "b" : "a")), Xo(IJ.play, t ? "b" : "a");}-function THe() {+function jHe() {let e = NJ?.player;if (!e || e.isDisposed() || !IJ) return;let t = un(NJ?.item.duration) || un(e.duration());IJ.time.textContent = `${fn(e.currentTime())} / ${t ? fn(t) : "0:00"}`;}-var EHe = () => Math.max(1, Number(VJ().player.settings().seekSeconds) || 10);-function DHe() {+var MHe = () => Math.max(1, Number(VJ().player.settings().seekSeconds) || 10);+function NHe() {if (!IJ || !MJ) return;- let e = EHe();+ let e = MHe();for (let [t, n] of [[IJ.back, `后退 ${e} 秒`], [IJ.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;}-function OHe(e) {+function PHe(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -85096,16 +85216,16 @@ function OHe(e) {"play","pause","ended"- ], wHe), t([+ ], AHe), t(["timeupdate","durationchange","loadedmetadata"- ], THe), t("loadedmetadata", () => KJ()), wHe(), THe(), KJ(), DHe();+ ], jHe), t("loadedmetadata", () => KJ()), AHe(), jHe(), KJ(), NHe();}function qJ(e) {e.off.forEach((e) => e()), e.off = [];}-function kHe() {+function FHe() {let e = IJ?.root;if (!e) return;let t = e.hidden;@@ -85126,7 +85246,7 @@ function JJ() {e.style.transform = "";}}-function AHe(e, t) {+function IHe(e, t) {if (!IJ) return;let n = {...e,@@ -85134,45 +85254,45 @@ function AHe(e, t) {off: [],pending: !1};- NJ = n, RJ++, e.player.el().classList.add("vjs-peach-mini"), IJ.frame.prepend(e.player.el()), CHe(t), OHe(n), kHe(), vE(e.player);+ NJ = n, RJ++, e.player.el().classList.add("vjs-peach-mini"), IJ.frame.prepend(e.player.el()), kHe(t), PHe(n), FHe(), _E(e.player);}function YJ() {let e = NJ;e && qJ(e), NJ = null, RJ++;let t = e?.player ?? null;- t && gE() === t && _E(null), NE(t), t && RE(), IJ?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), hE(), JJ();+ t && hE() === t && gE(null), ME(t), t && LE(), IJ?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), mE(), JJ();}function XJ() {if (!GJ() || !NJ) return;let { kind: e, item: t, mediaIndex: n } = NJ;VJ().expand(e, t.id, n);}-function jHe() {+function LHe() {GJ() && !BJ() ? XJ() : BJ() && WJ() && zJ && (LJ = !0, zJ());}-function MHe() {+function RHe() {let e = NJ?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function NHe(e) {+function zHe(e) {let t = NJ?.player;if (!t || t.isDisposed()) return;- let n = un(t.duration()) || un(NJ?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + EHe() * e);+ let n = un(t.duration()) || un(NJ?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + MHe() * e);t.currentTime(n ? Math.min(n, r) : r);}-function PHe(e) {+function BHe(e) {return !(!GJ() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || VJ().sourceOffline(String(e.root_id || e.location || "")));}-async function FHe(e) {+async function VHe(e) {if (!GJ() || !NJ || !IJ) return;let t = ++RJ, n = await Ut(`/api/item?id=${e}`).catch(() => null);if (t !== RJ || !GJ() || !NJ || !IJ || !n || n.error) return;- if (!PHe(n)) {+ if (!BHe(n)) {VJ().openItem(e);return;}let r = NJ;- qJ(r), gE() === r.player && _E(null), NE(r.player), RE(), IJ.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ qJ(r), hE() === r.player && gE(null), ME(r.player), LE(), IJ.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", IJ.frame.prepend(i);let a = {@@ -85181,14 +85301,14 @@ async function FHe(e) {title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- CHe(a), GE(i, {+ kHe(a), WE(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {if (t !== RJ) {- r && gE() === r && _E(null), NE(r);+ r && hE() === r && gE(null), ME(r);return;}if (!r) {@@ -85201,12 +85321,12 @@ async function FHe(e) {kind: "item",item: n,mediaIndex: null,- key: fHe("item", n.id, null),+ key: vHe("item", n.id, null),meta: a,off: [],pending: !1};- NJ = i, OHe(i);+ NJ = i, PHe(i);}}), KJ(n);}@@ -85216,11 +85336,11 @@ var ZJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })-}), IHe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, QJ = (e) => (t) => {+}), HHe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, QJ = (e) => (t) => {t.stopPropagation(), e();-}, LHe = (0, E.memo)(function() {+}, UHe = (0, E.memo)(function() {let e = (0, E.useRef)(null), t = (0, E.useRef)(null), n = (0, E.useRef)(null), r = (0, E.useRef)(null), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)(null), c = (0, E.useRef)(null), l = (0, E.useRef)(null);- return (0, E.useLayoutEffect)(() => (bHe({+ return (0, E.useLayoutEffect)(() => (EHe({root: e.current,frame: n.current,play: r.current,@@ -85230,7 +85350,7 @@ var ZJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => bHe(null)), []), (0, E.useEffect)(() => zHe(e.current, t.current), []), /* @__PURE__ */ (0, D.jsx)("aside", {+ }), () => EHe(null)), []), (0, E.useEffect)(() => GHe(e.current, t.current), []), /* @__PURE__ */ (0, D.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -85270,7 +85390,7 @@ var ZJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: QJ(() => NHe(-1)),+ onClick: QJ(() => zHe(-1)),children: /* @__PURE__ */ (0, D.jsx)(ZJ, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, D.jsx)("button", {@@ -85280,15 +85400,15 @@ var ZJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: QJ(MHe),- dangerouslySetInnerHTML: IHe+ onClick: QJ(RHe),+ dangerouslySetInnerHTML: HHe}),/* @__PURE__ */ (0, D.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: QJ(() => NHe(1)),+ onClick: QJ(() => zHe(1)),children: /* @__PURE__ */ (0, D.jsx)(ZJ, { name: "rotate-cw" })}),/* @__PURE__ */ (0, D.jsx)("span", {@@ -85320,7 +85440,7 @@ var ZJ = ({ name: e }) => /* @__PURE__ */ (0, D.jsx)("svg", {})});});-function RHe(e, t, n) {+function WHe(e, t, n) {let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {left: r.left - t,top: r.top - n@@ -85342,7 +85462,7 @@ function RHe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function zHe(e, t) {+function GHe(e, t) {let n = null, r = (e) => {if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {n = {@@ -85368,7 +85488,7 @@ function zHe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), RHe(e, i.dx, i.dy));+ }, 0), WHe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -85388,33 +85508,33 @@ function sY() {if (!$J) throw Error("舞台还没有接上宿主(configureStage)");return $J;}-function BHe(e) {+function KHe(e) {return tY.add(e), () => {tY.delete(e);};}-function VHe() {+function qHe() {for (let e of [...tY]) e();}function cY() {- (0, St.flushSync)(VHe);+ (0, St.flushSync)(qHe);}-function HHe({ view: e }) {- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [e ? /* @__PURE__ */ (0, D.jsx)(GHe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, D.jsx)(LHe, {})] });+function JHe({ view: e }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [e ? /* @__PURE__ */ (0, D.jsx)(ZHe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, D.jsx)(UHe, {})] });}-var UHe = () => /* @__PURE__ */ (0, D.jsx)("div", {+var YHe = () => /* @__PURE__ */ (0, D.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: vBe() }+ dangerouslySetInnerHTML: { __html: wBe() }});-function WHe(e) {+function XHe(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function GHe({ view: e }) {+function ZHe({ view: e }) {let t = (0, E.useRef)(null);(0, E.useLayoutEffect)(() => {let e = t.current, n = (t) => {@@ -85422,7 +85542,7 @@ function GHe({ view: e }) {};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, D.jsx)(NVe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, D.jsx)(rHe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, D.jsx)(rVe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, D.jsx)(zVe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, D.jsx)(lHe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, D.jsx)(lVe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, D.jsxs)("dialog", {ref: t,id: "stage",@@ -85433,17 +85553,17 @@ function GHe({ view: e }) {e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), lY());},onPointerDown: (e) => {- aY = WHe(e);+ aY = XHe(e);},onClick: (e) => {- aY && WHe(e) && lY();+ aY && XHe(e) && lY();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, D.jsx)(UHe, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, D.jsx)(YHe, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, D.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, D.jsx)(UHe, {})+ children: /* @__PURE__ */ (0, D.jsx)(YHe, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, D.jsx)("div", {"data-stage-scroll": "",@@ -85458,11 +85578,11 @@ function GHe({ view: e }) {function lY() {eY && !iY && (iY = !0, eY.request.actions.close());}-function KHe(e, t) {+function QHe(e, t) {let n = oY();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function qHe(e) {+function $He(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -85489,7 +85609,7 @@ function qHe(e) {item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), KHe(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), QHe(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},@@ -85518,7 +85638,7 @@ function qHe(e) {item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), KHe(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), QHe(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},@@ -85539,7 +85659,7 @@ function qHe(e) {}};}-function JHe(e, t) {+function eUe(e, t) {let n = e.querySelector(":scope > [data-stage-fade]");e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");let r = 0, i = () => {@@ -85556,28 +85676,28 @@ function uY(e) {let t = oY();return !eY || eY.content.kind !== e || iY || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function YHe(e) {+async function tUe(e) {let t = uY(e.kind);if (t) {- await ZHe(e, t);+ await rUe(e, t);return;}- eY && $He({ miniplayer: !1 });+ eY && aUe({ miniplayer: !1 });let n = ++nY, r = new AbortController();- rY = r, iY = !1, aY = !1, e.kind === "jav" ? YJ() : yHe(e.kind, e.id ?? NaN);- let i = qHe(e);+ rY = r, iY = !1, aY = !1, e.kind === "jav" ? YJ() : THe(e.kind, e.id ?? NaN);+ let i = $He(e);eY = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? vpe(i.props, r.signal) : i.kind === "jav" ? SVe(i.props, r.signal) : EBe(i.props, r.signal);+ let a = i.kind === "item" ? ype(i.props, r.signal) : i.kind === "jav" ? OVe(i.props, r.signal) : MBe(i.props, r.signal);if (n !== nY || eY?.request !== e) {await a.catch(() => {});return;}- let o = XHe(i);+ let o = nUe(i);eY = {...eY,phase: o ? "content" : "skeleton"@@ -85598,31 +85718,31 @@ async function YHe(e) {eY = {...eY,phase: c ? "content" : "reveal"- }, cY(), c || JHe(s, n), ns(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, cY(), c || eUe(s, n), ns(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();}-function XHe(e) {+function nUe(e) {if (e.kind === "jav") return !!W.getQueryData(TJ(e.props.code));if (e.kind === "follow") return !!W.getQueryData(_J(e.props.id));- let { queue: t, id: n } = e.props, r = t ? W.getQueryData(rD(t)) : null;+ let { queue: t, id: n } = e.props, r = t ? W.getQueryData(nD(t)) : null;if (t && !r) return !1;- let i = r ? lD(r, n) : n;- return i != null && !!W.getQueryData(nD(i));+ let i = r ? cD(r, n) : n;+ return i != null && !!W.getQueryData(tD(i));}-async function ZHe(e, t) {+async function rUe(e, t) {let n = ++nY;rY?.abort();let r = new AbortController();rY = r, aY = !1;- let i = qHe(e);+ let i = $He(e);try {- i.kind === "item" ? await vpe(i.props, r.signal) : i.kind === "jav" ? await SVe(i.props, r.signal) : await EBe(i.props, r.signal);+ i.kind === "item" ? await ype(i.props, r.signal) : i.kind === "jav" ? await OVe(i.props, r.signal) : await MBe(i.props, r.signal);} catch {if (r.signal.aborted) return;}if (n !== nY || !eY || uY(e.kind) !== t) return;- e.kind === "jav" ? YJ() : yHe(e.kind, e.id ?? NaN), Nc(t), hE(), eY = {+ e.kind === "jav" ? YJ() : THe(e.kind, e.id ?? NaN), Nc(t), mE(), eY = {...eY,request: e,content: i,@@ -85631,7 +85751,7 @@ async function ZHe(e, t) {let a = document.activeElement;(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}-function QHe() {+function iUe() {let e = oY();return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {let n = 0, r = () => {@@ -85642,12 +85762,12 @@ function QHe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function $He({ miniplayer: e = !0 } = {}) {- if (nY++, rY?.abort(), rY = null, vHe(e), !eY) return;+function aUe({ miniplayer: e = !0 } = {}) {+ if (nY++, rY?.abort(), rY = null, wHe(e), !eY) return;let t = oY();- t && Nc(t), hE(), t?.open && t.close(), eY = null, iY = !1, aY = !1, cY(), HJ(null), document.body.removeAttribute("data-detail-open");+ t && Nc(t), mE(), t?.open && t.close(), eY = null, iY = !1, aY = !1, cY(), HJ(null), document.body.removeAttribute("data-detail-open");}-function eUe(e) {+function oUe(e) {eY && (eY = {...eY,content: eY.content.kind === "item" ? {@@ -85665,62 +85785,62 @@ function eUe(e) {}}, cY());}-function tUe() {- let e = hHe(), t = e?.kind === "item" ? e.item : null, n = t ? Ra(t, sY().player.settings().javImage) : "";+function sUe() {+ let e = xHe(), t = e?.kind === "item" ? e.item : null, n = t ? Ra(t, sY().player.settings().javImage) : "";if (!n) return;let r = WJ();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var nUe = {- open: YHe,- update: eUe,- exit: QHe,- dispose: $He,+var cUe = {+ open: tUe,+ update: oUe,+ exit: iUe,+ dispose: aUe,requestClose: lY,- repaintPoster: tUe,+ repaintPoster: sUe,isOpen: () => !!eY,showing: () => eY && uY(eY.content.kind) ? eY.content.kind : null,- activeVideo: () => SHe(),- mountWallPlayer: gHe,+ activeVideo: () => OHe(),+ mountWallPlayer: SHe,toggleTheater: () => {- eY && ife(!sY().player.settings().theaterMode);+ eY && afe(!sY().player.settings().theaterMode);},- toggleMiniplayer: () => jHe(),+ toggleMiniplayer: () => LHe(),closeMiniplayer: () => YJ(),miniplayerActive: () => GJ(),- miniplayerTakesCard: (e) => PHe(e),+ miniplayerTakesCard: (e) => BHe(e),miniplayerPlay: (e) => {- FHe(e);+ VHe(e);}};-function rUe(e) {- return $J = e, pHe(e, {+function lUe(e) {+ return $J = e, yHe(e, {isOpen: () => !!eY,requestClose: lY- }), nUe;+ }), cUe;}-function iUe() {- let e = (0, E.useSyncExternalStore)(BHe, () => eY);- return $J ? /* @__PURE__ */ (0, D.jsx)(HHe, { view: e }) : null;+function uUe() {+ let e = (0, E.useSyncExternalStore)(KHe, () => eY);+ return $J ? /* @__PURE__ */ (0, D.jsx)(JHe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts-var aUe = "/api/stats", oUe = ["stats"], sUe = (e) => H(aUe, e);-async function cUe(e) {+var dUe = "/api/stats", fUe = ["stats"], pUe = (e) => H(dUe, e);+async function mUe(e) {await W.fetchQuery({- queryKey: oUe,- queryFn: () => sUe(e)+ queryKey: fUe,+ queryFn: () => pUe(e)});}-var dY = (e) => e != null && Number.isFinite(e), fY = (e) => dY(e) ? e.toLocaleString() : "未取得", lUe = (e, t) => dY(e) && dY(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, pY = (e, t) => {- let n = lUe(e, t);+var dY = (e) => e != null && Number.isFinite(e), fY = (e) => dY(e) ? e.toLocaleString() : "未取得", hUe = (e, t) => dY(e) && dY(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, pY = (e, t) => {+ let n = hUe(e, t);return !n && dY(e) && e > 0 && dY(t) && t > 0 ? "<1%" : `${n}%`;-}, uUe = (e) => {+}, gUe = (e) => {if (!dY(e)) return "未取得";let t = Math.max(0, e);return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;-}, dUe = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, fUe = (e) => (e.max_reached || 0) * 100, pUe = (e) => e.kind === "online" ? "在线直接观看" : dUe(e) < fUe(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", mUe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function hUe(e, t = 6) {+}, _Ue = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, vUe = (e) => (e.max_reached || 0) * 100, yUe = (e) => e.kind === "online" ? "在线直接观看" : _Ue(e) < vUe(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", bUe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function xUe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);@@ -85730,7 +85850,7 @@ function hUe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var gUe = (e) => Math.max(1, ...e) * 1.1, _Ue = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, vUe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), yUe = {+var SUe = (e) => Math.max(1, ...e) * 1.1, CUe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, wUe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), TUe = {video: "视频",image: "图片",illustration: "插画",@@ -85738,18 +85858,18 @@ var gUe = (e) => Math.max(1, ...e) * 1.1, _Ue = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, bUe = (e) => e.map((e) => ({- name: yUe[e.k] ?? e.k,+}, EUe = (e) => e.map((e) => ({+ name: TUe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), xUe = {+})).sort((e, t) => t.value - e.value), DUe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, SUe = (e, t = {}) => e.map((e) => ({+}, OUe = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), CUe = (e) => SUe(e, xUe), wUe = [+})), kUe = (e) => OUe(e, DUe), AUe = [[1,1,@@ -85785,26 +85905,26 @@ var gUe = (e) => Math.max(1, ...e) * 1.1, _Ue = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], TUe = (e) => wUe.map(([t, n, r]) => ({+], jUe = (e) => AUe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)-})), EUe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");+})), MUe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");function mY(e) {- return typeof e == "string" && EUe.includes(e);+ return typeof e == "string" && MUe.includes(e);}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js-var DUe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));-function OUe(e) {- return typeof e == "string" && DUe.has(e);+var NUe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));+function PUe(e) {+ return typeof e == "string" && NUe.has(e);}-function kUe(e) {+function FUe(e) {return typeof e == "string" && e.startsWith("data-");}function hY(e) {if (typeof e != "object" || !e) return {};var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (OUe(n) || kUe(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (PUe(n) || FUe(n)) && (t[n] = e[n]);return t;}function gY(e) {@@ -85819,15 +85939,15 @@ function gY(e) {//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.jsfunction _Y(e) {var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (OUe(n) || kUe(n) || mY(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (PUe(n) || FUe(n) || mY(n)) && (t[n] = e[n]);return t;}-function AUe(e) {+function IUe(e) {return e == null ? null : /*#__PURE__*/ (0, E.isValidElement)(e) ? _Y(e.props) : typeof e == "object" && !Array.isArray(e) ? _Y(e) : null;}//#endregion//#region node_modules/recharts/es6/container/Surface.js-var jUe = [+var LUe = ["children","width","height",@@ -85846,16 +85966,16 @@ function vY() {return e;}, vY.apply(null, arguments);}-function MUe(e, t) {+function RUe(e, t) {if (e == null) return {};- var n, r, i = NUe(e, t);+ var n, r, i = zUe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function NUe(e, t) {+function zUe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -85865,7 +85985,7 @@ function NUe(e, t) {return n;}var yY = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = MUe(e, jUe), d = a || {+ var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = RUe(e, LUe), d = a || {width: r,height: i,x: 0,@@ -85879,7 +85999,7 @@ var yY = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,ref: t}), /*#__PURE__*/ E.createElement("title", null, c), /*#__PURE__*/ E.createElement("desc", null, l), n);-}), PUe = ["children", "className"];+}), BUe = ["children", "className"];function bY() {return bY = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -85889,16 +86009,16 @@ function bY() {return e;}, bY.apply(null, arguments);}-function FUe(e, t) {+function VUe(e, t) {if (e == null) return {};- var n, r, i = IUe(e, t);+ var n, r, i = HUe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function IUe(e, t) {+function HUe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -85908,7 +86028,7 @@ function IUe(e, t) {return n;}var xY = /*#__PURE__*/ E.forwardRef((e, t) => {- var n = e.children, r = e.className, i = FUe(e, PUe), a = Uv("recharts-layer", r);+ var n = e.children, r = e.className, i = VUe(e, BUe), a = Uv("recharts-layer", r);return /*#__PURE__*/ E.createElement("g", bY({ className: a }, _Y(i), { ref: t }), n);});//#endregion@@ -85918,12 +86038,12 @@ function SY(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs-var LUe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;-function RUe(e) {+var UUe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;+function WUe(e) {switch (typeof e) {case "number":case "symbol": return !1;- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : LUe.test(e);+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : UUe.test(e);default: return !1;}}@@ -85939,12 +86059,12 @@ function wY(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toString.mjs-function zUe(e) {- return e == null ? "" : BUe(e);+function GUe(e) {+ return e == null ? "" : KUe(e);}-function BUe(e) {+function KUe(e) {if (typeof e == "string") return e;- if (Array.isArray(e)) return e.map(BUe).join(",");+ if (Array.isArray(e)) return e.map(KUe).join(",");if (wY(e)) return e.toString();let t = e + "";return t === "0" && Object.is(Number(e), -0) ? "-0" : t;@@ -85954,7 +86074,7 @@ function BUe(e) {function TY(e) {if (Array.isArray(e)) return e.map(CY);if (typeof e == "symbol") return [e];- e = zUe(e);+ e = GUe(e);let t = [], n = e.length;if (n === 0) return t;let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;@@ -85988,7 +86108,7 @@ function EY(e, t, n) {case "string": {if (SY(t)) return n;let r = e[t];- return r === void 0 ? RUe(t) && !Object.hasOwn(e, t) ? EY(e, TY(t), n) : n : r;+ return r === void 0 ? WUe(t) && !Object.hasOwn(e, t) ? EY(e, TY(t), n) : n : r;}case "number":case "symbol": {@@ -85997,14 +86117,14 @@ function EY(e, t, n) {return r === void 0 ? n : r;}default: {- if (Array.isArray(t)) return VUe(e, t, n);+ if (Array.isArray(t)) return qUe(e, t, n);if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), SY(t)) return n;let r = e[t];return r === void 0 ? n : r;}}}-function VUe(e, t, n) {+function qUe(e, t, n) {if (t.length === 0) return n;let r = e;for (let e = 0; e < t.length; e++) {@@ -86015,9 +86135,9 @@ function VUe(e, t, n) {}//#endregion//#region node_modules/recharts/es6/util/round.js-var HUe = 4;+var JUe = 4;function DY(e) {- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : HUe), n = Math.round(e * t) / t;+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : JUe), n = Math.round(e * t) / t;return Object.is(n, -0) ? 0 : n;}function OY(e) {@@ -86029,8 +86149,8 @@ function OY(e) {}//#endregion//#region node_modules/recharts/es6/util/DataUtils.js-var kY = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, AY = (e) => typeof e == "number" && e != +e, jY = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, MY = (e) => (typeof e == "number" || e instanceof Number) && !AY(e), NY = (e) => MY(e) || typeof e == "string", UUe = 0, PY = (e) => {- var t = ++UUe;+var kY = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, AY = (e) => typeof e == "number" && e != +e, jY = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, MY = (e) => (typeof e == "number" || e instanceof Number) && !AY(e), NY = (e) => MY(e) || typeof e == "string", YUe = 0, PY = (e) => {+ var t = ++YUe;return `${e || ""}${t}`;}, FY = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];@@ -86042,7 +86162,7 @@ var kY = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, AY = (e) => typeof e == "number" &i = t * parseFloat(e.slice(0, a)) / 100;} else i = +e;return AY(i) && (i = n), r && t != null && i > t && (i = t), i;-}, WUe = (e) => {+}, XUe = (e) => {if (!Array.isArray(e)) return !1;for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;else return !0;@@ -86051,7 +86171,7 @@ var kY = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, AY = (e) => typeof e == "number" &function IY(e, t, n) {return MY(e) && MY(t) ? DY(e + n * (t - e)) : t;}-function GUe(e, t, n) {+function ZUe(e, t, n) {if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : EY(e, t)) === n);}var LY = (e) => e == null, RY = (e) => LY(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;@@ -86073,7 +86193,7 @@ function VY(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js-function KUe(e, t) {+function QUe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -86086,27 +86206,27 @@ function KUe(e, t) {function HY(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? KUe(Object(n), !0).forEach(function(t) {- qUe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KUe(Object(n)).forEach(function(t) {+ t % 2 ? QUe(Object(n), !0).forEach(function(t) {+ $Ue(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QUe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function qUe(e, t, n) {- return (t = JUe(t)) in e ? Object.defineProperty(e, t, {+function $Ue(e, t, n) {+ return (t = eWe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function JUe(e) {- var t = YUe(e, "string");+function eWe(e) {+ var t = tWe(e, "string");return typeof t == "symbol" ? t : t + "";}-function YUe(e, t) {+function tWe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -86116,7 +86236,7 @@ function YUe(e, t) {}return (t === "string" ? String : Number)(e);}-var XUe = (e) => {+var nWe = (e) => {var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = VY(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;if (n === "top") {var D = {@@ -86209,18 +86329,18 @@ var XUe = (e) => {horizontalAnchor: "middle",verticalAnchor: "middle"}, j);-}, ZUe = [+}, rWe = ["top","left","right","bottom"];function UY(e) {- return e == null ? !1 : typeof e == "object" || ZUe.includes(e);+ return e == null ? !1 : typeof e == "object" || rWe.includes(e);}//#endregion//#region node_modules/recharts/es6/context/legendPortalContext.js-var QUe = /*#__PURE__*/ (0, E.createContext)(null), $Ue = () => (0, E.useContext)(QUe);+var iWe = /*#__PURE__*/ (0, E.createContext)(null), aWe = () => (0, E.useContext)(iWe);//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.jsfunction WY(e) {@@ -86230,26 +86350,26 @@ function WY(e) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js-var eWe = Math.cos, GY = Math.sin, KY = Math.sqrt, qY = Math.PI;+var oWe = Math.cos, GY = Math.sin, KY = Math.sqrt, qY = Math.PI;qY / 2;-var JY = 2 * qY, YY = Math.PI, XY = 2 * YY, ZY = 1e-6, tWe = XY - ZY;-function nWe(e) {+var JY = 2 * qY, YY = Math.PI, XY = 2 * YY, ZY = 1e-6, sWe = XY - ZY;+function cWe(e) {this._ += e[0];for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];}-function rWe(e) {+function lWe(e) {let t = Math.floor(e);if (!(t >= 0)) throw Error(`invalid digits: ${e}`);- if (t > 15) return nWe;+ if (t > 15) return cWe;let n = 10 ** t;return function(e) {this._ += e[0];for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];};}-var iWe = class {+var uWe = class {constructor(e) {- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? nWe : rWe(e);+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? cWe : lWe(e);}moveTo(e, t) {this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;@@ -86281,7 +86401,7 @@ var iWe = class {arc(e, t, n, r, i, a) {if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > ZY || Math.abs(this._y1 - l) > ZY) && this._append`L${c},${l}`, n && (d < 0 && (d = d % XY + XY), d > tWe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > ZY && this._append`A${n},${n},0,${+(d >= YY)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > ZY || Math.abs(this._y1 - l) > ZY) && this._append`L${c},${l}`, n && (d < 0 && (d = d % XY + XY), d > sWe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > ZY && this._append`A${n},${n},0,${+(d >= YY)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);}rect(e, t, n, r) {this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;@@ -86290,7 +86410,7 @@ var iWe = class {return this._;}};-iWe.prototype;+uWe.prototype;//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.jsfunction QY(e) {@@ -86304,7 +86424,7 @@ function QY(e) {t = e;}return e;- }, () => new iWe(t);+ }, () => new uWe(t);}Array.prototype.slice;function $Y(e) {@@ -86312,10 +86432,10 @@ function $Y(e) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js-function aWe(e) {+function dWe(e) {this._context = e;}-aWe.prototype = {+dWe.prototype = {areaStart: function() {this._line = 0;},@@ -86339,21 +86459,21 @@ aWe.prototype = {}};function eX(e) {- return new aWe(e);+ return new dWe(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js-function oWe(e) {+function fWe(e) {return e[0];}-function sWe(e) {+function pWe(e) {return e[1];}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js-function cWe(e, t) {+function mWe(e, t) {var n = WY(!0), r = null, i = eX, a = null, o = QY(s);- e = typeof e == "function" ? e : e === void 0 ? oWe : WY(e), t = typeof t == "function" ? t : t === void 0 ? sWe : WY(t);+ e = typeof e == "function" ? e : e === void 0 ? fWe : WY(e), t = typeof t == "function" ? t : t === void 0 ? pWe : WY(t);function s(s) {var c, l = (s = $Y(s)).length, u, d = !1, f;for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));@@ -86375,7 +86495,7 @@ function cWe(e, t) {//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.jsfunction tX(e, t, n) {var r = null, i = WY(!0), a = null, o = eX, s = null, c = QY(l);- e = typeof e == "function" ? e : e === void 0 ? oWe : WY(+e), t = typeof t == "function" ? t : WY(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? sWe : WY(+n);+ e = typeof e == "function" ? e : e === void 0 ? fWe : WY(+e), t = typeof t == "function" ? t : WY(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? pWe : WY(+n);function l(l) {var u, d, f, p = (l = $Y(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {@@ -86391,7 +86511,7 @@ function tX(e, t, n) {if (g) return s = null, g + "" || null;}function u() {- return cWe().defined(i).curve(o).context(a);+ return mWe().defined(i).curve(o).context(a);}return l.x = function(t) {return arguments.length ? (e = typeof t == "function" ? t : WY(+t), r = null, l) : e;@@ -86421,7 +86541,7 @@ function tX(e, t, n) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js-var lWe = class {+var hWe = class {constructor(e, t) {this._context = e, this._x = t;}@@ -86448,44 +86568,44 @@ var lWe = class {this._x0 = e, this._y0 = t;}};-function uWe(e) {- return new lWe(e, !0);+function gWe(e) {+ return new hWe(e, !0);}-function dWe(e) {- return new lWe(e, !1);+function _We(e) {+ return new hWe(e, !1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.jsvar nX = { draw(e, t) {let n = KY(t / qY);e.moveTo(n, 0), e.arc(0, 0, n, 0, JY);-} }, fWe = { draw(e, t) {+} }, vWe = { draw(e, t) {let n = KY(t / 5) / 2;e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();-} }, pWe = KY(1 / 3), mWe = pWe * 2, hWe = { draw(e, t) {- let n = KY(t / mWe), r = n * pWe;+} }, yWe = KY(1 / 3), bWe = yWe * 2, xWe = { draw(e, t) {+ let n = KY(t / bWe), r = n * yWe;e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();-} }, gWe = { draw(e, t) {+} }, SWe = { draw(e, t) {let n = KY(t), r = -n / 2;e.rect(r, r, n, n);-} }, _We = .8908130915292852, vWe = GY(qY / 10) / GY(7 * qY / 10), yWe = GY(JY / 10) * vWe, bWe = -eWe(JY / 10) * vWe, xWe = { draw(e, t) {- let n = KY(t * _We), r = yWe * n, i = bWe * n;+} }, CWe = .8908130915292852, wWe = GY(qY / 10) / GY(7 * qY / 10), TWe = GY(JY / 10) * wWe, EWe = -oWe(JY / 10) * wWe, DWe = { draw(e, t) {+ let n = KY(t * CWe), r = TWe * n, i = EWe * n;e.moveTo(0, -n), e.lineTo(r, i);for (let t = 1; t < 5; ++t) {- let a = JY * t / 5, o = eWe(a), s = GY(a);+ let a = JY * t / 5, o = oWe(a), s = GY(a);e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);}e.closePath();-} }, rX = KY(3), SWe = { draw(e, t) {+} }, rX = KY(3), OWe = { draw(e, t) {let n = -KY(t / (rX * 3));e.moveTo(0, n * 2), e.lineTo(-rX * n, -n), e.lineTo(rX * n, -n), e.closePath();-} }, iX = -.5, aX = KY(3) / 2, oX = 1 / KY(12), CWe = (oX / 2 + 1) * 3, wWe = { draw(e, t) {- let n = KY(t / CWe), r = n / 2, i = n * oX, a = r, o = n * oX + n, s = -a, c = o;+} }, iX = -.5, aX = KY(3) / 2, oX = 1 / KY(12), kWe = (oX / 2 + 1) * 3, AWe = { draw(e, t) {+ let n = KY(t / kWe), r = n / 2, i = n * oX, a = r, o = n * oX + n, s = -a, c = o;e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(iX * r - aX * i, aX * r + iX * i), e.lineTo(iX * a - aX * o, aX * a + iX * o), e.lineTo(iX * s - aX * c, aX * s + iX * c), e.lineTo(iX * r + aX * i, iX * i - aX * r), e.lineTo(iX * a + aX * o, iX * o - aX * a), e.lineTo(iX * s + aX * c, iX * c - aX * s), e.closePath();} };//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js-function TWe(e, t) {+function jWe(e, t) {let n = null, r = QY(i);e = typeof e == "function" ? e : WY(e || nX), t = typeof t == "function" ? t : WY(t === void 0 ? 64 : +t);function i() {@@ -86508,10 +86628,10 @@ function sX() {}function cX(e, t, n) {e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);}-function EWe(e) {+function MWe(e) {this._context = e;}-EWe.prototype = {+MWe.prototype = {areaStart: function() {this._line = 0;},@@ -86542,15 +86662,15 @@ EWe.prototype = {this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function DWe(e) {- return new EWe(e);+function NWe(e) {+ return new MWe(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js-function OWe(e) {+function PWe(e) {this._context = e;}-OWe.prototype = {+PWe.prototype = {areaStart: sX,areaEnd: sX,lineStart: function() {@@ -86583,15 +86703,15 @@ OWe.prototype = {this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function kWe(e) {- return new OWe(e);+function FWe(e) {+ return new PWe(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js-function AWe(e) {+function IWe(e) {this._context = e;}-AWe.prototype = {+IWe.prototype = {areaStart: function() {this._line = 0;},@@ -86623,15 +86743,15 @@ AWe.prototype = {this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function jWe(e) {- return new AWe(e);+function LWe(e) {+ return new IWe(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js-function MWe(e) {+function RWe(e) {this._context = e;}-MWe.prototype = {+RWe.prototype = {areaStart: sX,areaEnd: sX,lineStart: function() {@@ -86644,19 +86764,19 @@ MWe.prototype = {e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));}};-function NWe(e) {- return new MWe(e);+function zWe(e) {+ return new RWe(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js-function PWe(e) {+function BWe(e) {return e < 0 ? -1 : 1;}-function FWe(e, t, n) {+function VWe(e, t, n) {var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);- return (PWe(a) + PWe(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;+ return (BWe(a) + BWe(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;}-function IWe(e, t) {+function HWe(e, t) {var n = e._x1 - e._x0;return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;}@@ -86682,7 +86802,7 @@ uX.prototype = {case 2:this._context.lineTo(this._x1, this._y1);break;- case 3: lX(this, this._t0, IWe(this, this._t0));+ case 3: lX(this, this._t0, HWe(this, this._t0));}(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;},@@ -86697,24 +86817,24 @@ uX.prototype = {this._point = 2;break;case 2:- this._point = 3, lX(this, IWe(this, n = FWe(this, e, t)), n);+ this._point = 3, lX(this, HWe(this, n = VWe(this, e, t)), n);break;- default: lX(this, this._t0, n = FWe(this, e, t));+ default: lX(this, this._t0, n = VWe(this, e, t));}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;}}};-function LWe(e) {- this._context = new RWe(e);+function UWe(e) {+ this._context = new WWe(e);}-(LWe.prototype = Object.create(uX.prototype)).point = function(e, t) {+(UWe.prototype = Object.create(uX.prototype)).point = function(e, t) {uX.prototype.point.call(this, t, e);};-function RWe(e) {+function WWe(e) {this._context = e;}-RWe.prototype = {+WWe.prototype = {moveTo: function(e, t) {this._context.moveTo(t, e);},@@ -86728,18 +86848,18 @@ RWe.prototype = {this._context.bezierCurveTo(t, e, r, n, a, i);}};-function zWe(e) {+function GWe(e) {return new uX(e);}-function BWe(e) {- return new LWe(e);+function KWe(e) {+ return new UWe(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js-function VWe(e) {+function qWe(e) {this._context = e;}-VWe.prototype = {+qWe.prototype = {areaStart: function() {this._line = 0;},@@ -86753,7 +86873,7 @@ VWe.prototype = {var e = this._x, t = this._y, n = e.length;if (n) {if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);- else for (var r = HWe(e), i = HWe(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);+ else for (var r = JWe(e), i = JWe(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);}(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;},@@ -86761,7 +86881,7 @@ VWe.prototype = {this._x.push(+e), this._y.push(+t);}};-function HWe(e) {+function JWe(e) {var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];@@ -86769,8 +86889,8 @@ function HWe(e) {for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];return [i, a];}-function UWe(e) {- return new VWe(e);+function YWe(e) {+ return new qWe(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js@@ -86805,13 +86925,13 @@ dX.prototype = {this._x = e, this._y = t;}};-function WWe(e) {+function XWe(e) {return new dX(e, .5);}-function GWe(e) {+function ZWe(e) {return new dX(e, 0);}-function KWe(e) {+function QWe(e) {return new dX(e, 1);}//#endregion@@ -86827,17 +86947,17 @@ function pX(e) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js-function qWe(e, t) {+function $We(e, t) {return e[t];}-function JWe(e) {+function eGe(e) {let t = [];return t.key = e, t;}-function YWe() {- var e = WY([]), t = pX, n = fX, r = qWe;+function tGe() {+ var e = WY([]), t = pX, n = fX, r = $We;function i(i) {- var a = Array.from(e.apply(this, arguments), JWe), o, s = a.length, c = -1, l;+ var a = Array.from(e.apply(this, arguments), eGe), o, s = a.length, c = -1, l;for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;for (o = 0, l = $Y(t(a)); o < s; ++o) a[l[o]].index = o;return n(a, l), a;@@ -86854,7 +86974,7 @@ function YWe() {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js-function XWe(e, t) {+function nGe(e, t) {if ((r = e.length) > 0) {for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;@@ -86865,7 +86985,7 @@ function XWe(e, t) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js-function ZWe(e, t) {+function rGe(e, t) {if ((i = e.length) > 0) {for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;@@ -86876,7 +86996,7 @@ function ZWe(e, t) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js-function QWe(e, t) {+function iGe(e, t) {if ((o = e.length) > 0 && (a = (i = e[t[0]]).length) > 0) {for (var n = 0, r = 1, i, a, o; r < a; ++r) {for (var s = 0, c = 0, l = 0; s < o; ++s) {@@ -86893,7 +87013,7 @@ function QWe(e, t) {}//#endregion//#region node_modules/recharts/es6/shape/Symbols.js-var $We = [+var aGe = ["type","size","sizeType"@@ -86907,7 +87027,7 @@ function mX() {return e;}, mX.apply(null, arguments);}-function eGe(e, t) {+function oGe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -86917,30 +87037,30 @@ function eGe(e, t) {}return n;}-function tGe(e) {+function sGe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? eGe(Object(n), !0).forEach(function(t) {- nGe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eGe(Object(n)).forEach(function(t) {+ t % 2 ? oGe(Object(n), !0).forEach(function(t) {+ cGe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oGe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function nGe(e, t, n) {- return (t = rGe(t)) in e ? Object.defineProperty(e, t, {+function cGe(e, t, n) {+ return (t = lGe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function rGe(e) {- var t = iGe(e, "string");+function lGe(e) {+ var t = uGe(e, "string");return typeof t == "symbol" ? t : t + "";}-function iGe(e, t) {+function uGe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -86950,16 +87070,16 @@ function iGe(e, t) {}return (t === "string" ? String : Number)(e);}-function aGe(e, t) {+function dGe(e, t) {if (e == null) return {};- var n, r, i = oGe(e, t);+ var n, r, i = fGe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function oGe(e, t) {+function fGe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -86968,38 +87088,38 @@ function oGe(e, t) {}return n;}-var sGe = {+var pGe = {symbolCircle: nX,- symbolCross: fWe,- symbolDiamond: hWe,- symbolSquare: gWe,- symbolStar: xWe,- symbolTriangle: SWe,- symbolWye: wWe-}, cGe = Math.PI / 180, lGe = (e) => sGe[`symbol${RY(e)}`] || nX, uGe = (e, t, n) => {+ symbolCross: vWe,+ symbolDiamond: xWe,+ symbolSquare: SWe,+ symbolStar: DWe,+ symbolTriangle: OWe,+ symbolWye: AWe+}, mGe = Math.PI / 180, hGe = (e) => pGe[`symbol${RY(e)}`] || nX, gGe = (e, t, n) => {if (t === "area") return e;switch (n) {case "cross": return 5 * e * e / 9;case "diamond": return .5 * e * e / Math.sqrt(3);case "square": return e * e;case "star":- var r = 18 * cGe;+ var r = 18 * mGe;return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);case "triangle": return Math.sqrt(3) * e * e / 4;case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;default: return Math.PI * e * e / 4;}-}, dGe = (e, t) => {- sGe[`symbol${RY(e)}`] = t;-}, fGe = (e) => {- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = tGe(tGe({}, aGe(e, $We)), {}, {+}, _Ge = (e, t) => {+ pGe[`symbol${RY(e)}`] = t;+}, vGe = (e) => {+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = sGe(sGe({}, dGe(e, aGe)), {}, {type: n,size: i,sizeType: o}), c = "circle";typeof n == "string" && (c = n);var l = () => {- var e = lGe(c), t = TWe().type(e).size(uGe(i, o, c))();+ var e = hGe(c), t = jWe().type(e).size(gGe(i, o, c))();if (t !== null) return t;}, u = s.className, d = s.cx, f = s.cy, p = _Y(s);return MY(d) && MY(f) && MY(i) ? /*#__PURE__*/ E.createElement("path", mX({}, p, {@@ -87008,10 +87128,10 @@ var sGe = {d: l()})) : null;};-fGe.registerSymbol = dGe;+vGe.registerSymbol = _Ge;//#endregion//#region node_modules/recharts/es6/util/types.js-var pGe = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, hX = (e, t) => {+var yGe = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, hX = (e, t) => {if (!e || typeof e == "function" || typeof e == "boolean") return null;var n = e;if (/*#__PURE__*/ (0, E.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;@@ -87019,17 +87139,17 @@ var pGe = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, hX = (e,return Object.keys(n).forEach((e) => {mY(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));}), r;-}, mGe = (e, t, n) => (r) => (e(t, n, r), null), gX = (e, t, n) => {+}, bGe = (e, t, n) => (r) => (e(t, n, r), null), gX = (e, t, n) => {if (e === null || typeof e != "object" && typeof e != "function") return null;var r = null;return Object.keys(e).forEach((i) => {var a = e[i];- mY(i) && typeof a == "function" && (r ||= {}, r[i] = mGe(a, t, n));+ mY(i) && typeof a == "function" && (r ||= {}, r[i] = bGe(a, t, n));}), r;};//#endregion//#region node_modules/recharts/es6/util/resolveDefaultProps.js-function hGe(e, t) {+function xGe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -87039,30 +87159,30 @@ function hGe(e, t) {}return n;}-function gGe(e) {+function SGe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? hGe(Object(n), !0).forEach(function(t) {- _Ge(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hGe(Object(n)).forEach(function(t) {+ t % 2 ? xGe(Object(n), !0).forEach(function(t) {+ CGe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xGe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function _Ge(e, t, n) {- return (t = vGe(t)) in e ? Object.defineProperty(e, t, {+function CGe(e, t, n) {+ return (t = wGe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function vGe(e) {- var t = yGe(e, "string");+function wGe(e) {+ var t = TGe(e, "string");return typeof t == "symbol" ? t : t + "";}-function yGe(e, t) {+function TGe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -87073,7 +87193,7 @@ function yGe(e, t) {return (t === "string" ? String : Number)(e);}function _X(e, t) {- var n = gGe({}, e), r = t;+ var n = SGe({}, e), r = t;return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);}//#endregion@@ -87087,7 +87207,7 @@ function vX() {return e;}, vX.apply(null, arguments);}-function bGe(e, t) {+function EGe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -87097,30 +87217,30 @@ function bGe(e, t) {}return n;}-function xGe(e) {+function DGe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? bGe(Object(n), !0).forEach(function(t) {- SGe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bGe(Object(n)).forEach(function(t) {+ t % 2 ? EGe(Object(n), !0).forEach(function(t) {+ OGe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EGe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function SGe(e, t, n) {- return (t = CGe(t)) in e ? Object.defineProperty(e, t, {+function OGe(e, t, n) {+ return (t = kGe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function CGe(e) {- var t = wGe(e, "string");+function kGe(e) {+ var t = AGe(e, "string");return typeof t == "symbol" ? t : t + "";}-function wGe(e, t) {+function AGe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -87130,7 +87250,7 @@ function wGe(e, t) {}return (t === "string" ? String : Number)(e);}-var yX = 32, TGe = {+var yX = 32, jGe = {align: "center",iconSize: 14,inactiveColor: "#ccc",@@ -87138,17 +87258,17 @@ var yX = 32, TGe = {verticalAlign: "middle",labelStyle: {}};-function EGe(e) {+function MGe(e) {if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);}-function DGe(e) {+function NGe(e) {var t = e.data, n = e.iconType, r = e.inactiveColor, i = yX / 2, a = yX / 6, o = yX / 3, s = t.inactive ? r : t.color, c = n ?? t.type;if (c === "none") return null;if (c === "plainline") return /*#__PURE__*/ E.createElement("line", {strokeWidth: 4,fill: "none",stroke: s,- strokeDasharray: EGe(t.payload),+ strokeDasharray: MGe(t.payload),x1: 0,y1: i,x2: yX,@@ -87172,10 +87292,10 @@ function DGe(e) {className: "recharts-legend-icon"});if (/*#__PURE__*/ E.isValidElement(t.legendIcon)) {- var l = xGe({}, t);+ var l = DGe({}, t);return delete l.legendIcon, /*#__PURE__*/ E.cloneElement(t.legendIcon, l);}- return /*#__PURE__*/ E.createElement(fGe, {+ return /*#__PURE__*/ E.createElement(vGe, {fill: s,cx: i,cy: i,@@ -87184,7 +87304,7 @@ function DGe(e) {type: c});}-function OGe(e) {+function PGe(e) {var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {x: 0,y: 0,@@ -87206,7 +87326,7 @@ function OGe(e) {inactive: t.inactive});if (t.type === "none") return null;- var p = typeof s == "object" ? xGe({}, s) : {};+ var p = typeof s == "object" ? DGe({}, s) : {};p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";var m = d ? d(t.value, t, r) : t.value;return /*#__PURE__*/ E.createElement("li", vX({@@ -87219,7 +87339,7 @@ function OGe(e) {viewBox: c,style: u,"aria-label": t.value == null ? "legend icon" : `${t.value} legend icon`- }, /*#__PURE__*/ E.createElement(DGe, {+ }, /*#__PURE__*/ E.createElement(NGe, {data: t,iconType: o,inactiveColor: a@@ -87229,8 +87349,8 @@ function OGe(e) {}, m));});}-var kGe = (e) => {- var t = _X(e, TGe), n = t.payload, r = t.layout, i = t.align;+var FGe = (e) => {+ var t = _X(e, jGe), n = t.payload, r = t.layout, i = t.align;if (!n || !n.length) return null;var a = {padding: 0,@@ -87240,11 +87360,11 @@ var kGe = (e) => {return /*#__PURE__*/ E.createElement("ul", {className: "recharts-default-legend",style: a- }, /*#__PURE__*/ E.createElement(OGe, vX({}, t, { payload: n })));+ }, /*#__PURE__*/ E.createElement(PGe, vX({}, t, { payload: n })));};//#endregion//#region node_modules/es-toolkit/dist/array/uniqBy.mjs-function AGe(e, t) {+function IGe(e, t) {let n = /* @__PURE__ */ new Map();for (let r = 0; r < e.length; r++) {let i = e[r], a = t(i, r, e);@@ -87254,7 +87374,7 @@ function AGe(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/function/ary.mjs-function jGe(e, t) {+function LGe(e, t) {return function(...n) {return e.apply(this, n.slice(0, t));};@@ -87266,29 +87386,29 @@ function bX(e) {}//#endregion//#region node_modules/es-toolkit/dist/predicate/isLength.mjs-function MGe(e) {+function RGe(e) {return Number.isSafeInteger(e) && e >= 0;}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjsfunction xX(e) {- return e != null && typeof e != "function" && MGe(e.length);+ return e != null && typeof e != "function" && RGe(e.length);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/property.mjs-function NGe(e) {+function zGe(e) {return function(t) {return EY(t, e);};}//#endregion//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs-function PGe(e) {+function BGe(e) {return e == null || typeof e != "object" && typeof e != "function";}//#endregion//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs-function FGe(e) {+function VGe(e) {return ArrayBuffer.isView(e) && !(e instanceof DataView);}//#endregion@@ -87303,23 +87423,23 @@ function CX(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs-var IGe = "[object RegExp]", wX = "[object String]", TX = "[object Number]", EX = "[object Boolean]", LGe = "[object Arguments]", RGe = "[object Symbol]", zGe = "[object Date]", BGe = "[object Map]", VGe = "[object Set]", HGe = "[object Array]", UGe = "[object Function]", WGe = "[object ArrayBuffer]", DX = "[object Object]", GGe = "[object Error]", KGe = "[object DataView]", qGe = "[object Uint8Array]", JGe = "[object Uint8ClampedArray]", YGe = "[object Uint16Array]", XGe = "[object Uint32Array]", ZGe = "[object BigUint64Array]", QGe = "[object Int8Array]", $Ge = "[object Int16Array]", eKe = "[object Int32Array]", tKe = "[object BigInt64Array]", nKe = "[object Float32Array]", rKe = "[object Float64Array]", iKe = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {+var HGe = "[object RegExp]", wX = "[object String]", TX = "[object Number]", EX = "[object Boolean]", UGe = "[object Arguments]", WGe = "[object Symbol]", GGe = "[object Date]", KGe = "[object Map]", qGe = "[object Set]", JGe = "[object Array]", YGe = "[object Function]", XGe = "[object ArrayBuffer]", DX = "[object Object]", ZGe = "[object Error]", QGe = "[object DataView]", $Ge = "[object Uint8Array]", eKe = "[object Uint8ClampedArray]", tKe = "[object Uint16Array]", nKe = "[object Uint32Array]", rKe = "[object BigUint64Array]", iKe = "[object Int8Array]", aKe = "[object Int16Array]", oKe = "[object Int32Array]", sKe = "[object BigInt64Array]", cKe = "[object Float32Array]", lKe = "[object Float64Array]", uKe = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {return this;})();//#endregion//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjsfunction OX(e) {- return iKe.Buffer !== void 0 && iKe.Buffer.isBuffer(e);+ return uKe.Buffer !== void 0 && uKe.Buffer.isBuffer(e);}//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs-function aKe(e, t) {+function dKe(e, t) {return kX(e, void 0, e, /* @__PURE__ */ new Map(), t);}function kX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {let a = i?.(e, t, n, r);if (a !== void 0) return a;- if (PGe(e)) return e;+ if (BGe(e)) return e;if (r.has(e)) return r.get(e);if (Array.isArray(e)) {let t = Array(e.length);@@ -87345,7 +87465,7 @@ function kX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {return t;}if (OX(e)) return e.subarray();- if (FGe(e)) {+ if (VGe(e)) {let t = new (Object.getPrototypeOf(e)).constructor(e.length);r.set(e, t);for (let a = 0; a < e.length; a++) t[a] = kX(e[a], a, n, r, i);@@ -87380,7 +87500,7 @@ function kX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {let t = new String(e.valueOf());return r.set(e, t), AX(t, e, n, r, i), t;}- if (typeof e == "object" && oKe(e)) {+ if (typeof e == "object" && fKe(e)) {let t = Object.create(Object.getPrototypeOf(e));return r.set(e, t), AX(t, e, n, r, i), t;}@@ -87393,36 +87513,36 @@ function AX(e, t, n = e, r, i) {(c == null || c.writable) && (e[s] = kX(t[s], s, n, r, i));}}-function oKe(e) {+function fKe(e) {switch (CX(e)) {- case LGe:- case HGe:- case WGe:- case KGe:- case EX:- case zGe:- case nKe:- case rKe:+ case UGe:+ case JGe:+ case XGe:case QGe:- case $Ge:- case eKe:- case BGe:+ case EX:+ case GGe:+ case cKe:+ case lKe:+ case iKe:+ case aKe:+ case oKe:+ case KGe:case TX:case DX:- case IGe:- case VGe:- case wX:- case RGe:+ case HGe:case qGe:- case JGe:- case YGe:- case XGe: return !0;+ case wX:+ case WGe:+ case $Ge:+ case eKe:+ case tKe:+ case nKe: return !0;default: return !1;}}//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs-function sKe(e) {+function pKe(e) {return kX(e, void 0, e, /* @__PURE__ */ new Map(), void 0);}//#endregion@@ -87432,33 +87552,33 @@ function jX(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs-function cKe(e) {+function mKe(e) {return e !== null && (typeof e == "object" || typeof e == "function");}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs-function lKe(e, t, n) {+function hKe(e, t, n) {return typeof n == "function" ? MX(e, t, function e(t, r, i, a, o, s) {let c = n(t, r, i, a, o, s);return c === void 0 ? MX(t, r, e, s, !1) : !!c;- }, /* @__PURE__ */ new Map(), !0) : lKe(e, t, () => void 0);+ }, /* @__PURE__ */ new Map(), !0) : hKe(e, t, () => void 0);}function MX(e, t, n, r, i = !1) {if (t === e) return !0;switch (typeof t) {- case "object": return uKe(e, t, n, r, i);+ case "object": return gKe(e, t, n, r, i);case "function": return Object.keys(t).length > 0 ? MX(e, { ...t }, n, r, i) : jX(e, t);- default: return cKe(e) && i ? typeof t != "string" || t === "" : jX(e, t);+ default: return mKe(e) && i ? typeof t != "string" || t === "" : jX(e, t);}}-function uKe(e, t, n, r, i = !1) {+function gKe(e, t, n, r, i = !1) {if (t == null) return !0;- if (Array.isArray(t)) return fKe(e, t, n, r);- if (t instanceof Map) return dKe(e, t, n, r);- if (t instanceof Set) return pKe(e, t, n, r);+ if (Array.isArray(t)) return vKe(e, t, n, r);+ if (t instanceof Map) return _Ke(e, t, n, r);+ if (t instanceof Set) return yKe(e, t, n, r);let a = Object.keys(t);if (e == null) return i && a.length === 0;- if (i) PGe(e) && (e = Object(e));+ if (i) BGe(e) && (e = Object(e));else {let t = CX(e);if (t !== "[object Object]" && t !== "[object Arguments]") return !1;@@ -87476,13 +87596,13 @@ function uKe(e, t, n, r, i = !1) {r?.delete(t);}}-function dKe(e, t, n, r) {+function _Ke(e, t, n, r) {if (t.size === 0) return !0;if (!(e instanceof Map)) return !1;for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;return !0;}-function fKe(e, t, n, r) {+function vKe(e, t, n, r) {if (t.length === 0) return !0;if (!Array.isArray(e)) return !1;let i = /* @__PURE__ */ new Set();@@ -87500,23 +87620,23 @@ function fKe(e, t, n, r) {}return !0;}-function pKe(e, t, n, r) {- return t.size === 0 || e instanceof Set && fKe([...e], [...t], n, r);+function yKe(e, t, n, r) {+ return t.size === 0 || e instanceof Set && vKe([...e], [...t], n, r);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs-function mKe(e, t) {- return lKe(e, t, () => void 0);+function bKe(e, t) {+ return hKe(e, t, () => void 0);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs-function hKe(e) {- return e = sKe(e), (t) => mKe(t, e);+function xKe(e) {+ return e = pKe(e), (t) => bKe(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs-function gKe(e, t) {- return aKe(e, (n, r, i, a) => {+function SKe(e, t) {+ return dKe(e, (n, r, i, a) => {let o = t?.(n, r, i, a);if (o !== void 0) return o;if (typeof e == "object") {@@ -87531,7 +87651,7 @@ function gKe(e, t) {let t = new e.constructor(e?.valueOf());return AX(t, e), t;}- case LGe: {+ case UGe: {let t = {};return AX(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;}@@ -87542,49 +87662,49 @@ function gKe(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs-function _Ke(e) {- return gKe(e);+function CKe(e) {+ return SKe(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs-var vKe = /^(?:0|[1-9]\d*)$/;-function yKe(e, t = 2 ** 53 - 1) {+var wKe = /^(?:0|[1-9]\d*)$/;+function TKe(e, t = 2 ** 53 - 1) {switch (typeof e) {case "number": return Number.isInteger(e) && e >= 0 && e < t;case "symbol": return !1;- case "string": return vKe.test(e);+ case "string": return wKe.test(e);}}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs-function bKe(e) {+function EKe(e) {return typeof e == "object" && !!e && CX(e) === "[object Arguments]";}//#endregion//#region node_modules/es-toolkit/dist/compat/object/has.mjs-function xKe(e, t) {+function DKe(e, t) {let n;- if (n = Array.isArray(t) ? t : typeof t == "string" && RUe(t) && !(t in Object(e)) ? TY(t) : [t], n.length === 0) return !1;+ if (n = Array.isArray(t) ? t : typeof t == "string" && WUe(t) && !(t in Object(e)) ? TY(t) : [t], n.length === 0) return !1;let r = e;for (let e = 0; e < n.length; e++) {let t = CY(n[e]);- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || bKe(r)) && yKe(t) && Number(t) < r.length)) return !1;+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || EKe(r)) && TKe(t) && Number(t) < r.length)) return !1;r = r[t];}return !0;}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs-function SKe(e, t) {+function OKe(e, t) {switch (typeof e) {case "object":Object.is(e?.valueOf(), -0) && (e = "-0");break;case "number": e = CY(e);}- return t = _Ke(t), function(n) {+ return t = CKe(t), function(n) {let r = EY(n, e);- return r === void 0 ? xKe(n, e) : t === void 0 ? r === void 0 : mKe(r, t);+ return r === void 0 ? DKe(n, e) : t === void 0 ? r === void 0 : bKe(r, t);};}//#endregion@@ -87593,78 +87713,78 @@ function NX(e) {if (e == null) return bX;switch (typeof e) {case "function": return e;- case "object": return Array.isArray(e) && e.length === 2 ? SKe(e[0], e[1]) : hKe(e);- default: return NGe(e);+ case "object": return Array.isArray(e) && e.length === 2 ? OKe(e[0], e[1]) : xKe(e);+ default: return zGe(e);}}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs-function CKe(e) {+function kKe(e) {return e === 0 ? 0 : e;}//#endregion//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs-function wKe(e, t = bX) {- return xX(e) ? AGe(Array.from(e), jGe(NX(t), 1)).map(CKe) : [];+function AKe(e, t = bX) {+ return xX(e) ? IGe(Array.from(e), LGe(NX(t), 1)).map(kKe) : [];}//#endregion//#region node_modules/recharts/es6/util/payload/getUniqPayload.js-function TKe(e, t, n) {- return t === !0 ? wKe(e, n) : typeof t == "function" ? wKe(e, t) : e;+function jKe(e, t, n) {+ return t === !0 ? AKe(e, n) : typeof t == "function" ? AKe(e, t) : e;}//#endregion//#region node_modules/recharts/es6/state/RechartsReduxContext.js-var PX = /*#__PURE__*/ (0, E.createContext)(null), EKe = (e) => e, FX = () => {+var PX = /*#__PURE__*/ (0, E.createContext)(null), MKe = (e) => e, FX = () => {var e = (0, E.useContext)(PX);- return e ? e.store.dispatch : EKe;-}, IX = () => {}, DKe = () => IX, OKe = (e, t) => e === t;+ return e ? e.store.dispatch : MKe;+}, IX = () => {}, NKe = () => IX, PKe = (e, t) => e === t;function LX(e) {var t = (0, E.useContext)(PX), n = (0, E.useMemo)(() => t ? (t) => {if (t != null) return e(t);} : IX, [t, e]);- return (0, SL.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : DKe, t ? t.store.getState : IX, t ? t.store.getState : IX, n, OKe);+ return (0, xL.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : NKe, t ? t.store.getState : IX, t ? t.store.getState : IX, n, PKe);}//#endregion//#region node_modules/reselect/dist/reselect.mjs-function kKe(e, t = `expected a function, instead received ${typeof e}`) {+function FKe(e, t = `expected a function, instead received ${typeof e}`) {if (typeof e != "function") throw TypeError(t);}-function AKe(e, t = "expected all items to be functions, instead received the following types: ") {+function IKe(e, t = "expected all items to be functions, instead received the following types: ") {if (!e.every((e) => typeof e == "function")) {let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");throw TypeError(`${t}[${n}]`);}}-var jKe = (e) => Array.isArray(e) ? e : [e];-function MKe(e) {+var LKe = (e) => Array.isArray(e) ? e : [e];+function RKe(e) {let t = Array.isArray(e[0]) ? e[0] : e;- return AKe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;+ return IKe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;}-function NKe(e, t) {+function zKe(e, t) {let n = [], { length: r } = e;for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));return n;}-var PKe = class {+var BKe = class {constructor(e) {this.value = e;}deref() {return this.value;}-}, FKe = typeof WeakRef > "u" ? PKe : WeakRef, IKe = 0, LKe = 1;+}, VKe = typeof WeakRef > "u" ? BKe : WeakRef, HKe = 0, UKe = 1;function RX() {return {- s: IKe,+ s: HKe,v: void 0,o: null,p: null};}-function RKe(e) {- return e instanceof FKe ? e.deref() : e;+function WKe(e) {+ return e instanceof VKe ? e.deref() : e;}-function zKe(e, t = {}) {+function GKe(e, t = {}) {let n = RX(), { resultEqualityCheck: r } = t, i, a = 0;function o() {let t = n, { length: o } = arguments;@@ -87683,12 +87803,12 @@ function zKe(e, t = {}) {}}let s = t, c;- if (t.s === LKe) c = t.v;+ if (t.s === UKe) c = t.v;else if (c = e.apply(null, arguments), a++, r) {- let e = RKe(i);- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new FKe(c) : c;+ let e = WKe(i);+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new VKe(c) : c;}- return s.s = LKe, s.v = c, c;+ return s.s = UKe, s.v = c, c;}return o.clearCache = () => {n = RX(), o.resetResultsCount();@@ -87696,21 +87816,21 @@ function zKe(e, t = {}) {a = 0;}, o;}-function BKe(e, ...t) {+function KKe(e, ...t) {let n = typeof e == "function" ? {memoize: e,memoizeOptions: t} : e, r = (...e) => {let t = 0, r = 0, i, a = {}, o = e.pop();- typeof o == "object" && (a = o, o = e.pop()), kKe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = zKe, argsMemoizeOptions: u = [] } = {+ typeof o == "object" && (a = o, o = e.pop()), FKe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = GKe, argsMemoizeOptions: u = [] } = {...n,...a- }, d = jKe(c), f = jKe(u), p = MKe(e), m = s(function() {+ }, d = LKe(c), f = LKe(u), p = RKe(e), m = s(function() {return t++, o.apply(null, arguments);}, ...d), h = l(function() {r++;- let e = NKe(p, arguments);+ let e = zKe(p, arguments);return i = m.apply(null, e), i;}, ...f);return Object.assign(h, {@@ -87732,10 +87852,10 @@ function BKe(e, ...t) {};return Object.assign(r, { withTypes: () => r }), r;}-var X = /* @__PURE__ */ BKe(zKe);+var X = /* @__PURE__ */ KKe(GKe);//#endregion//#region node_modules/es-toolkit/dist/array/flatten.mjs-function VKe(e, t = 1) {+function qKe(e, t = 1) {let n = [], r = Math.floor(t), i = (e, t) => {for (let a = 0; a < e.length; a++) {let o = e[a];@@ -87747,16 +87867,16 @@ function VKe(e, t = 1) {//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjsfunction zX(e, t, n) {- return cKe(n) && (typeof t == "number" && xX(n) && yKe(t) && t < n.length || typeof t == "string" && t in n) ? jX(n[t], e) : !1;+ return mKe(n) && (typeof t == "number" && xX(n) && TKe(t) && t < n.length || typeof t == "string" && t in n) ? jX(n[t], e) : !1;}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs-function HKe(e) {+function JKe(e) {return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;}-var UKe = (e, t, n) => {+var YKe = (e, t, n) => {if (e !== t) {- let r = HKe(e), i = HKe(t);+ let r = JKe(e), i = JKe(t);if (r === i && r === 0) {if (e < t) return n === "desc" ? 1 : -1;if (e > t) return n === "desc" ? -1 : 1;@@ -87764,13 +87884,13 @@ var UKe = (e, t, n) => {return n === "desc" ? i - r : r - i;}return 0;-}, WKe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, GKe = /^\w*$/;-function KKe(e, t) {- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || wY(e) ? !0 : typeof e == "string" && (GKe.test(e) || !WKe.test(e)) || t != null && Object.hasOwn(t, e);+}, XKe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ZKe = /^\w*$/;+function QKe(e, t) {+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || wY(e) ? !0 : typeof e == "string" && (ZKe.test(e) || !XKe.test(e)) || t != null && Object.hasOwn(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs-function qKe(e, t, n, r) {+function $Ke(e, t, n, r) {if (e == null) return [];n = r ? void 0 : n, Array.isArray(e) || (e = xX(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));let i = (e, t) => {@@ -87780,7 +87900,7 @@ function qKe(e, t, n, r) {}, a = (e, t) => {if (e == null) return t;if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || KKe(e) ? e : {+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || QKe(e) ? e : {key: e,path: TY(e)}));@@ -87789,7 +87909,7 @@ function qKe(e, t, n, r) {criteria: o.map((t) => a(t, e))})).slice().sort((e, t) => {for (let r = 0; r < o.length; r++) {- let i = UKe(e.criteria[r], t.criteria[r], n[r]);+ let i = YKe(e.criteria[r], t.criteria[r], n[r]);if (i !== 0) return i;}return 0;@@ -87799,40 +87919,40 @@ function qKe(e, t, n, r) {//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjsfunction BX(e, ...t) {let n = t.length;- return n > 1 && zX(e, t[0], t[1]) ? t = [] : n > 2 && zX(t[0], t[1], t[2]) && (t = [t[0]]), qKe(e, VKe(t), ["asc"]);+ return n > 1 && zX(e, t[0], t[1]) ? t = [] : n > 2 && zX(t[0], t[1], t[2]) && (t = [t[0]]), $Ke(e, qKe(t), ["asc"]);}//#endregion//#region node_modules/recharts/es6/state/selectors/legendSelectors.js-var JKe = (e) => e.legend.settings, YKe = (e) => e.legend.size, XKe = X([(e) => e.legend.payload, JKe], (e, t) => {+var eqe = (e) => e.legend.settings, tqe = (e) => e.legend.size, nqe = X([(e) => e.legend.payload, eqe], (e, t) => {var n = t.itemSorter, r = e.flat(1);return n ? BX(r, n) : r;});//#endregion//#region node_modules/recharts/es6/context/legendPayloadContext.js-function ZKe() {- return LX(XKe);+function rqe() {+ return LX(nqe);}//#endregion//#region node_modules/recharts/es6/util/useElementOffset.js-function QKe(e, t) {- return rqe(e) || nqe(e, t) || eqe(e, t) || $Ke();+function iqe(e, t) {+ return lqe(e) || cqe(e, t) || oqe(e, t) || aqe();}-function $Ke() {+function aqe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function eqe(e, t) {+function oqe(e, t) {if (e) {- if (typeof e == "string") return tqe(e, t);+ if (typeof e == "string") return sqe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? tqe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sqe(e, t) : void 0;}}-function tqe(e, t) {+function sqe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function nqe(e, t) {+function cqe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -87853,14 +87973,14 @@ function nqe(e, t) {return s;}}-function rqe(e) {+function lqe(e) {if (Array.isArray(e)) return e;}var VX = 1;-function iqe(e, t) {+function uqe(e, t) {return Math.abs(e.height - t.height) > VX || Math.abs(e.left - t.left) > VX || Math.abs(e.top - t.top) > VX || Math.abs(e.width - t.width) > VX;}-function aqe(e) {+function dqe(e) {var t = e.getBoundingClientRect();return {height: t.height,@@ -87869,8 +87989,8 @@ function aqe(e) {width: t.width};}-function oqe() {- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = QKe((0, E.useState)({+function fqe() {+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = iqe((0, E.useState)({height: 0,left: 0,top: 0,@@ -87879,11 +87999,11 @@ function oqe() {a.current = n;var o = (0, E.useCallback)((e) => {if (i.current != null && (i.current.disconnect(), i.current = null), e != null) {- var t = aqe(e);- if (iqe(t, a.current) && r(t), typeof ResizeObserver < "u") {+ var t = dqe(e);+ if (uqe(t, a.current) && r(t), typeof ResizeObserver < "u") {var n = new ResizeObserver(() => {- var t = aqe(e);- iqe(t, a.current) && r(t);+ var t = dqe(e);+ uqe(t, a.current) && r(t);});n.observe(e), i.current = n;}@@ -87899,7 +88019,7 @@ function oqe() {function HX(e) {return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;}-var sqe = typeof Symbol == "function" && Symbol.observable || "@@observable", UX = () => Math.random().toString(36).substring(7).split("").join("."), WX = {+var pqe = typeof Symbol == "function" && Symbol.observable || "@@observable", UX = () => Math.random().toString(36).substring(7).split("").join("."), WX = {INIT: `@@redux/INIT${/* @__PURE__ */ UX()}`,REPLACE: `@@redux/REPLACE${/* @__PURE__ */ UX()}`,PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${UX()}`@@ -87910,12 +88030,12 @@ function GX(e) {for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;}-function cqe(e, t, n) {+function mqe(e, t, n) {if (typeof e != "function") throw Error(HX(2));if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(HX(0));if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {if (typeof n != "function") throw Error(HX(1));- return n(cqe)(e, t);+ return n(mqe)(e, t);}let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;function l() {@@ -87969,7 +88089,7 @@ function cqe(e, t, n) {}return n(), { unsubscribe: e(n) };},- [sqe]() {+ [pqe]() {return this;}};@@ -87979,17 +88099,17 @@ function cqe(e, t, n) {subscribe: d,getState: u,replaceReducer: p,- [sqe]: m+ [pqe]: m};}-function lqe(e) {+function hqe(e) {Object.keys(e).forEach((t) => {let n = e[t];if (n(void 0, { type: WX.INIT }) === void 0) throw Error(HX(12));if (n(void 0, { type: WX.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(HX(13));});}-function uqe(e) {+function gqe(e) {let t = Object.keys(e), n = {};for (let r = 0; r < t.length; r++) {let i = t[r];@@ -87997,7 +88117,7 @@ function uqe(e) {}let r = Object.keys(n), i;try {- lqe(n);+ hqe(n);} catch (e) {i = e;}@@ -88015,7 +88135,7 @@ function uqe(e) {function KX(...e) {return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));}-function dqe(...e) {+function _qe(...e) {return (t) => (n, r) => {let i = t(n, r), a = () => {throw Error(HX(15));@@ -88029,29 +88149,29 @@ function dqe(...e) {};};}-function fqe(e) {+function vqe(e) {return GX(e) && "type" in e && typeof e.type == "string";}//#endregion//#region node_modules/immer/dist/immer.mjs-var pqe = Symbol.for("immer-nothing"), mqe = Symbol.for("immer-draftable"), qX = Symbol.for("immer-state");+var yqe = Symbol.for("immer-nothing"), bqe = Symbol.for("immer-draftable"), qX = Symbol.for("immer-state");function JX(e, ...t) {throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);}var YX = Object, XX = YX.getPrototypeOf, ZX = "constructor", QX = "prototype", $X = "configurable", eZ = "enumerable", tZ = "writable", nZ = "value", rZ = (e) => !!e && !!e[qX];function iZ(e) {- return e ? _qe(e) || uZ(e) || !!e[mqe] || !!e[ZX]?.[mqe] || dZ(e) || fZ(e) : !1;+ return e ? Cqe(e) || uZ(e) || !!e[bqe] || !!e[ZX]?.[bqe] || dZ(e) || fZ(e) : !1;}-var hqe = YX[QX][ZX].toString(), gqe = /* @__PURE__ */ new WeakMap();-function _qe(e) {+var xqe = YX[QX][ZX].toString(), Sqe = /* @__PURE__ */ new WeakMap();+function Cqe(e) {if (!e || !pZ(e)) return !1;let t = XX(e);if (t === null || t === YX[QX]) return !0;let n = YX.hasOwnProperty.call(t, ZX) && t[ZX];if (n === Object) return !0;if (!mZ(n)) return !1;- let r = gqe.get(n);- return r === void 0 && (r = Function.toString.call(n), gqe.set(n, r)), r === hqe;+ let r = Sqe.get(n);+ return r === void 0 && (r = Function.toString.call(n), Sqe.set(n, r)), r === xqe;}function aZ(e, t, n = !0) {oZ(e) === 0 ? (n ? Reflect.ownKeys(e) : YX.keys(e)).forEach((n) => {@@ -88065,11 +88185,11 @@ function oZ(e) {var sZ = (e, t, n = oZ(e)) => n === 2 ? e.has(t) : YX[QX].hasOwnProperty.call(e, t), cZ = (e, t, n = oZ(e)) => n === 2 ? e.get(t) : e[t], lZ = (e, t, n, r = oZ(e)) => {r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;};-function vqe(e, t) {+function wqe(e, t) {return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;}var uZ = Array.isArray, dZ = (e) => e instanceof Map, fZ = (e) => e instanceof Set, pZ = (e) => typeof e == "object", mZ = (e) => typeof e == "function", hZ = (e) => typeof e == "boolean";-function yqe(e) {+function Tqe(e) {let t = +e;return Number.isInteger(t) && String(t) === e;}@@ -88078,7 +88198,7 @@ function vZ(e, t) {if (dZ(e)) return new Map(e);if (fZ(e)) return new Set(e);if (uZ(e)) return Array[QX].slice.call(e);- let n = _qe(e);+ let n = Cqe(e);if (t === !0 || t === "class_only" && !n) {let t = YX.getOwnPropertyDescriptors(e);delete t[qX];@@ -88111,19 +88231,19 @@ function yZ(e, t = !1) {yZ(t, !0);}, !1)), e;}-function bqe() {+function Eqe() {JX(2);}-var bZ = { [nZ]: bqe };+var bZ = { [nZ]: Eqe };function xZ(e) {return e === null || !pZ(e) || YX.isFrozen(e);}-var SZ = "MapSet", CZ = "Patches", xqe = "ArrayMethods", Sqe = {};+var SZ = "MapSet", CZ = "Patches", Dqe = "ArrayMethods", Oqe = {};function wZ(e) {- let t = Sqe[e];+ let t = Oqe[e];return t || JX(0, e), t;}-var Cqe = (e) => !!Sqe[e], TZ, wqe = () => TZ, Tqe = (e, t) => ({+var kqe = (e) => !!Oqe[e], TZ, Aqe = () => TZ, jqe = (e, t) => ({drafts_: [],parent_: e,immer_: t,@@ -88131,34 +88251,34 @@ var Cqe = (e) => !!Sqe[e], TZ, wqe = () => TZ, Tqe = (e, t) => ({unfinalizedDrafts_: 0,handledSet_: /* @__PURE__ */ new Set(),processedForPatches_: /* @__PURE__ */ new Set(),- mapSetPlugin_: Cqe(SZ) ? wZ(SZ) : void 0,- arrayMethodsPlugin_: Cqe(xqe) ? wZ(xqe) : void 0+ mapSetPlugin_: kqe(SZ) ? wZ(SZ) : void 0,+ arrayMethodsPlugin_: kqe(Dqe) ? wZ(Dqe) : void 0});-function Eqe(e, t) {+function Mqe(e, t) {t && (e.patchPlugin_ = wZ(CZ), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);}function EZ(e) {- DZ(e), e.drafts_.forEach(Oqe), e.drafts_ = null;+ DZ(e), e.drafts_.forEach(Pqe), e.drafts_ = null;}function DZ(e) {e === TZ && (TZ = e.parent_);}-var Dqe = (e) => TZ = Tqe(TZ, e);-function Oqe(e) {+var Nqe = (e) => TZ = jqe(TZ, e);+function Pqe(e) {let t = e[qX];t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;}-function kqe(e, t) {+function Fqe(e, t) {t.unfinalizedDrafts_ = t.drafts_.length;let n = t.drafts_[0];if (e !== void 0 && e !== n) {- n[qX].modified_ && (EZ(t), JX(4)), iZ(e) && (e = Aqe(t, e));+ n[qX].modified_ && (EZ(t), JX(4)), iZ(e) && (e = Iqe(t, e));let { patchPlugin_: r } = t;r && r.generateReplacementPatches_(n[qX].base_, e, t);- } else e = Aqe(t, n);- return jqe(t, e, !0), EZ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === pqe ? void 0 : e;+ } else e = Iqe(t, n);+ return Lqe(t, e, !0), EZ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === yqe ? void 0 : e;}-function Aqe(e, t) {+function Iqe(e, t) {if (xZ(t)) return t;let n = t[qX];if (!n) return kZ(t, e.handledSet_, e);@@ -88167,18 +88287,18 @@ function Aqe(e, t) {if (!n.finalized_) {let { callbacks_: t } = n;if (t) for (; t.length > 0;) t.pop()(e);- Iqe(n, e);+ Hqe(n, e);}return n.copy_;}-function jqe(e, t, n = !1) {+function Lqe(e, t, n = !1) {!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && yZ(t, n);}-function Mqe(e) {+function Rqe(e) {e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;}-var OZ = (e, t) => e.scope_ === t, Nqe = [];-function Pqe(e, t, n, r) {+var OZ = (e, t) => e.scope_ === t, zqe = [];+function Bqe(e, t, n, r) {let i = gZ(e), a = e.type_;if (r !== void 0 && cZ(i, r, a) === t) {lZ(i, r, n, a);@@ -88193,34 +88313,34 @@ function Pqe(e, t, n, r) {}});}- let o = e.draftLocations_.get(t) ?? Nqe;+ let o = e.draftLocations_.get(t) ?? zqe;for (let e of o) lZ(i, e, n, a);}-function Fqe(e, t, n) {+function Vqe(e, t, n) {e.callbacks_.push(function(r) {let i = t;if (!i || !OZ(i, r)) return;r.mapSetPlugin_?.fixSetContents(i);let a = _Z(i);- Pqe(e, i.draft_ ?? i, a, n), Iqe(i, r);+ Bqe(e, i.draft_ ?? i, a, n), Hqe(i, r);});}-function Iqe(e, t) {+function Hqe(e, t) {if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {let { patchPlugin_: n } = t;if (n) {let r = n.getPath(e);r && n.generatePatches_(e, r, t);}- Mqe(e);+ Rqe(e);}}-function Lqe(e, t, n) {+function Uqe(e, t, n) {let { scope_: r } = e;if (rZ(n)) {let i = n[qX];OZ(i, r) && i.callbacks_.push(function() {- PZ(e), Pqe(e, n, _Z(i), t);+ PZ(e), Bqe(e, n, _Z(i), t);});} else iZ(n) && e.callbacks_.push(function() {let i = gZ(e);@@ -88231,14 +88351,14 @@ function kZ(e, t, n) {return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || rZ(e) || t.has(e) || !iZ(e) || xZ(e) || (t.add(e), aZ(e, (r, i) => {if (rZ(i)) {let t = i[qX];- OZ(t, n) && (lZ(e, r, _Z(t), e.type_), Mqe(t));+ OZ(t, n) && (lZ(e, r, _Z(t), e.type_), Rqe(t));} else iZ(i) && kZ(i, t, n);})), e;}-function Rqe(e, t) {+function Wqe(e, t) {let n = uZ(e), r = {type_: +!!n,- scope_: t ? t.scope_ : wqe(),+ scope_: t ? t.scope_ : Aqe(),modified_: !1,finalized_: !1,assigned_: void 0,@@ -88260,10 +88380,10 @@ var AZ = {let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);let i = gZ(e);- if (!sZ(i, t, e.type_)) return Bqe(e, i, t);+ if (!sZ(i, t, e.type_)) return Kqe(e, i, t);let a = i[t];- if (e.finalized_ || !iZ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && yqe(t)) return a;- if (a === MZ(e.base_, t) || zqe(e, t, a)) {+ if (e.finalized_ || !iZ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Tqe(t)) return a;+ if (a === MZ(e.base_, t) || Gqe(e, t, a)) {PZ(e);let n = e.type_ === 1 ? +t : t, r = FZ(e.scope_, a, e, n);return e.copy_[n] = r;@@ -88277,15 +88397,15 @@ var AZ = {return Reflect.ownKeys(gZ(e));},set(e, t, n) {- let r = Vqe(gZ(e), t);+ let r = qqe(gZ(e), t);if (r?.set) return r.set.call(e.draft_, n), !0;if (!e.modified_) {let r = MZ(gZ(e), t), i = r?.[qX];if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;- if (vqe(n, r) && (n !== void 0 || sZ(e.base_, t, e.type_))) return !0;+ if (wqe(n, r) && (n !== void 0 || sZ(e.base_, t, e.type_))) return !0;PZ(e), NZ(e);}- return e.copy_[t] === n && (n !== void 0 || sZ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), Lqe(e, t, n)), !0;+ return e.copy_[t] === n && (n !== void 0 || sZ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), Uqe(e, t, n)), !0;},deleteProperty(e, t) {return PZ(e), MZ(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), NZ(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;@@ -88325,14 +88445,14 @@ function MZ(e, t) {let n = e[qX];return (n ? gZ(n) : e)[t];}-function zqe(e, t, n) {+function Gqe(e, t, n) {return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !iZ(n) || n[qX] ? !1 : e.baseRefs_.has(n);}-function Bqe(e, t, n) {- let r = Vqe(t, n);+function Kqe(e, t, n) {+ let r = qqe(t, n);return r ? nZ in r ? r[nZ] : r.get?.call(e.draft_) : void 0;}-function Vqe(e, t) {+function qqe(e, t) {if (!(t in e)) return;let n = XX(e);for (; n;) {@@ -88347,7 +88467,7 @@ function NZ(e) {function PZ(e) {e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), vZ(e.base_, e.scope_.immer_.useStrictShallowCopy_));}-var Hqe = class {+var Jqe = class {constructor(e) {this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {if (mZ(e) && !mZ(t)) {@@ -88361,16 +88481,16 @@ var Hqe = class {mZ(t) || JX(6), n !== void 0 && !mZ(n) && JX(7);let r;if (iZ(e)) {- let i = Dqe(this), a = FZ(i, e, void 0), o = !0;+ let i = Nqe(this), a = FZ(i, e, void 0), o = !0;try {r = t(a), o = !1;} finally {o ? EZ(i) : DZ(i);}- return Eqe(i, n), kqe(r, i);+ return Mqe(i, n), Fqe(r, i);}if (!e || !pZ(e)) {- if (r = t(e), r === void 0 && (r = e), r === pqe && (r = void 0), this.autoFreeze_ && yZ(r, !0), n) {+ if (r = t(e), r === void 0 && (r = e), r === yqe && (r = void 0), this.autoFreeze_ && yZ(r, !0), n) {let t = [], i = [];wZ(CZ).generateReplacementPatches_(e, r, {patches_: t,@@ -88394,14 +88514,14 @@ var Hqe = class {}createDraft(e) {iZ(e) || JX(8), rZ(e) && (e = IZ(e));- let t = Dqe(this), n = FZ(t, e, void 0);+ let t = Nqe(this), n = FZ(t, e, void 0);return n[qX].isManual_ = !0, DZ(t), n;}finishDraft(e, t) {let n = e && e[qX];(!n || !n.isManual_) && JX(9);let { scope_: r } = n;- return Eqe(r, t), kqe(void 0, r);+ return Mqe(r, t), Fqe(void 0, r);}setAutoFreeze(e) {this.autoFreeze_ = e;@@ -88430,17 +88550,17 @@ var Hqe = class {}};function FZ(e, t, n, r) {- let [i, a] = dZ(t) ? wZ(SZ).proxyMap_(t, n) : fZ(t) ? wZ(SZ).proxySet_(t, n) : Rqe(t, n);- return (n?.scope_ ?? wqe()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Fqe(n, a, r) : a.callbacks_.push(function(e) {+ let [i, a] = dZ(t) ? wZ(SZ).proxyMap_(t, n) : fZ(t) ? wZ(SZ).proxySet_(t, n) : Wqe(t, n);+ return (n?.scope_ ?? Aqe()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Vqe(n, a, r) : a.callbacks_.push(function(e) {e.mapSetPlugin_?.fixSetContents(a);let { patchPlugin_: t } = e;a.modified_ && t && t.generatePatches_(a, [], e);}), i;}function IZ(e) {- return rZ(e) || JX(10, e), Uqe(e);+ return rZ(e) || JX(10, e), Yqe(e);}-function Uqe(e) {+function Yqe(e) {if (!iZ(e) || xZ(e)) return e;let t = e[qX], n, r = !0;if (t) {@@ -88448,17 +88568,17 @@ function Uqe(e) {t.finalized_ = !0, n = vZ(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();} else n = vZ(e, !0);return aZ(n, (e, t) => {- lZ(n, e, Uqe(t));+ lZ(n, e, Yqe(t));}, r), t && (t.finalized_ = !1), n;}globalThis.Iterator?.from;-var Wqe = new Hqe().produce, LZ = (e) => e;+var Xqe = new Jqe().produce, LZ = (e) => e;//#endregion//#region node_modules/redux-thunk/dist/redux-thunk.mjs-function Gqe(e) {+function Zqe(e) {return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);}-var Kqe = Gqe(), qqe = Gqe, Jqe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {+var Qqe = Zqe(), $qe = Zqe, eJe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {if (arguments.length !== 0) return typeof arguments[0] == "object" ? KX : KX.apply(null, arguments);};typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;@@ -88479,9 +88599,9 @@ function RZ(e, t) {payload: n[0]};}- return n.toString = () => `${e}`, n.type = e, n.match = (t) => fqe(t) && t.type === e, n;+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => vqe(t) && t.type === e, n;}-var Yqe = class e extends Array {+var tJe = class e extends Array {constructor(...t) {super(...t), Object.setPrototypeOf(this, e.prototype);}@@ -88495,29 +88615,29 @@ var Yqe = class e extends Array {return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));}};-function Xqe(e) {- return iZ(e) ? Wqe(e, () => {}) : e;+function nJe(e) {+ return iZ(e) ? Xqe(e, () => {}) : e;}function zZ(e, t, n) {return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);}-function Zqe(e) {+function rJe(e) {return typeof e == "boolean";}-var Qqe = () => function(e) {- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new Yqe();- return t && (Zqe(t) ? a.push(Kqe) : a.push(qqe(t.extraArgument))), a;-}, $qe = "RTK_autoBatch", BZ = () => (e) => ({+var iJe = () => function(e) {+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new tJe();+ return t && (rJe(t) ? a.push(Qqe) : a.push($qe(t.extraArgument))), a;+}, aJe = "RTK_autoBatch", BZ = () => (e) => ({payload: e,- meta: { [$qe]: !0 }-}), eJe = (e) => (t) => {+ meta: { [aJe]: !0 }+}), oJe = (e) => (t) => {setTimeout(t, e);-}, tJe = (e, t) => (n) => {+}, sJe = (e, t) => (n) => {let r = !1, i = () => {r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());}, a = e(i), o = setTimeout(i, t);-}, nJe = (e = { type: "raf" }) => (t) => (...n) => {- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? tJe(window.requestAnimationFrame, 100) : eJe(10) : e.type === "callback" ? e.queueNotification : eJe(e.timeout), l = () => {+}, cJe = (e = { type: "raf" }) => (t) => (...n) => {+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? sJe(window.requestAnimationFrame, 100) : oJe(10) : e.type === "callback" ? e.queueNotification : oJe(e.timeout), l = () => {o = !1, a && (a = !1, s.forEach((e) => e()));};return Object.assign({}, r, {@@ -88529,32 +88649,32 @@ var Qqe = () => function(e) {},dispatch(e) {try {- return i = !e?.meta?.[$qe], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);+ return i = !e?.meta?.[aJe], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);} finally {i = !0;}}});-}, rJe = (e) => function(t) {- let { autoBatch: n = !0 } = t ?? {}, r = new Yqe(e);- return n && r.push(nJe(typeof n == "object" ? n : void 0)), r;+}, lJe = (e) => function(t) {+ let { autoBatch: n = !0 } = t ?? {}, r = new tJe(e);+ return n && r.push(cJe(typeof n == "object" ? n : void 0)), r;};-function iJe(e) {- let t = Qqe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;+function uJe(e) {+ let t = iJe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;if (typeof n == "function") c = n;- else if (GX(n)) c = uqe(n);+ else if (GX(n)) c = gqe(n);else throw Error(eQ(1));let l;l = typeof r == "function" ? r(t) : t();let u = KX;- i && (u = Jqe({+ i && (u = eJe({trace: !1,...typeof i == "object" && i}));- let d = rJe(dqe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);- return cqe(c, o, p);+ let d = lJe(_qe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);+ return mqe(c, o, p);}-function aJe(e) {+function dJe(e) {let t = {}, n = [], r, i = {addCase(e, n) {let r = typeof e == "string" ? e : e.type;@@ -88584,14 +88704,14 @@ function aJe(e) {r];}-function oJe(e) {+function fJe(e) {return typeof e == "function";}-function sJe(e, t) {- let [n, r, i] = aJe(t), a;- if (oJe(e)) a = () => Xqe(e());+function pJe(e, t) {+ let [n, r, i] = dJe(t), a;+ if (fJe(e)) a = () => nJe(e());else {- let t = Xqe(e);+ let t = nJe(e);a = () => t;}function o(e = a(), t) {@@ -88602,7 +88722,7 @@ function sJe(e, t) {let r = n(e, t);return r === void 0 ? e : r;}- if (iZ(e)) return Wqe(e, (e) => n(e, t));+ if (iZ(e)) return Xqe(e, (e) => n(e, t));{let r = n(e, t);if (r === void 0) {@@ -88617,20 +88737,20 @@ function sJe(e, t) {}return o.getInitialState = a, o;}-var cJe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", lJe = (e = 21) => {+var mJe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", hJe = (e = 21) => {let t = "", n = e;- for (; n--;) t += cJe[Math.random() * 64 | 0];+ for (; n--;) t += mJe[Math.random() * 64 | 0];return t;-}, uJe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");-function dJe(e, t) {+}, gJe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");+function _Je(e, t) {return `${e}/${t}`;}-function fJe({ creators: e } = {}) {- let t = e?.asyncThunk?.[uJe];+function vJe({ creators: e } = {}) {+ let t = e?.asyncThunk?.[gJe];return function(e) {let { name: n, reducerPath: r = n } = e;if (!n) throw Error(eQ(11));- let i = (typeof e.reducers == "function" ? e.reducers(mJe()) : e.reducers) || {}, a = Object.keys(i), o = {+ let i = (typeof e.reducers == "function" ? e.reducers(bJe()) : e.reducers) || {}, a = Object.keys(i), o = {sliceCaseReducersByName: {},sliceCaseReducersByType: {},actionCreators: {},@@ -88658,17 +88778,17 @@ function fJe({ creators: e } = {}) {a.forEach((r) => {let a = i[r], o = {reducerName: r,- type: dJe(n, r),+ type: _Je(n, r),createNotation: typeof e.reducers == "function"};- gJe(a) ? vJe(o, a, s, t) : hJe(o, a, s);+ SJe(a) ? wJe(o, a, s, t) : xJe(o, a, s);});function c() {- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? aJe(e.extraReducers) : [e.extraReducers], i = {+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? dJe(e.extraReducers) : [e.extraReducers], i = {...t,...o.sliceCaseReducersByType};- return sJe(e.initialState, (e) => {+ return pJe(e.initialState, (e) => {for (let t in i) e.addCase(t, i[t]);for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);for (let t of n) e.addMatcher(t.matcher, t.reducer);@@ -88690,7 +88810,7 @@ function fJe({ creators: e } = {}) {function i(t = l) {return zZ(zZ(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {let r = {};- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = pJe(a, t, () => zZ(d, t, m), n);+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = yJe(a, t, () => zZ(d, t, m), n);return r;});}@@ -88724,15 +88844,15 @@ function fJe({ creators: e } = {}) {return g;};}-function pJe(e, t, n, r) {+function yJe(e, t, n, r) {function i(i, ...a) {let o = t(i);return o === void 0 && r && (o = n()), e(o, ...a);}return i.unwrapped = e, i;}-var VZ = /* @__PURE__ */ fJe();-function mJe() {+var VZ = /* @__PURE__ */ vJe();+function bJe() {function e(e, t) {return {_reducerDefinitionType: "asyncThunk",@@ -88756,21 +88876,21 @@ function mJe() {asyncThunk: e};}-function hJe({ type: e, reducerName: t, createNotation: n }, r, i) {+function xJe({ type: e, reducerName: t, createNotation: n }, r, i) {let a, o;if ("reducer" in r) {- if (n && !_Je(r)) throw Error(eQ(17));+ if (n && !CJe(r)) throw Error(eQ(17));a = r.reducer, o = r.prepare;} else a = r;i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? RZ(e, o) : RZ(e));}-function gJe(e) {+function SJe(e) {return e._reducerDefinitionType === "asyncThunk";}-function _Je(e) {+function CJe(e) {return e._reducerDefinitionType === "reducerWithPrepare";}-function vJe({ type: e, reducerName: t }, n, r, i) {+function wJe({ type: e, reducerName: t }, n, r, i) {if (!i) throw Error(eQ(18));let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {@@ -88781,28 +88901,28 @@ function vJe({ type: e, reducerName: t }, n, r, i) {});}function HZ() {}-var yJe = "task", bJe = "listener", xJe = "completed", UZ = "cancelled", SJe = `task-${UZ}`, CJe = `task-${xJe}`, WZ = `${bJe}-${UZ}`, wJe = `${bJe}-${xJe}`, GZ = class {+var TJe = "task", EJe = "listener", DJe = "completed", UZ = "cancelled", OJe = `task-${UZ}`, kJe = `task-${DJe}`, WZ = `${EJe}-${UZ}`, AJe = `${EJe}-${DJe}`, GZ = class {constructor(e) {- this.code = e, this.message = `${yJe} ${UZ} (reason: ${e})`;+ this.code = e, this.message = `${TJe} ${UZ} (reason: ${e})`;}code;name = "TaskAbortError";message;}, KZ = (e, t) => {if (typeof e != "function") throw TypeError(eQ(32));-}, qZ = () => {}, TJe = (e, t = qZ) => (e.catch(t), e), EJe = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), JZ = (e) => {+}, qZ = () => {}, jJe = (e, t = qZ) => (e.catch(t), e), MJe = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), JZ = (e) => {if (e.aborted) throw new GZ(e.reason);};-function DJe(e, t) {+function NJe(e, t) {let n = qZ;return new Promise((r, i) => {let a = () => i(new GZ(e.reason));- e.aborted ? a() : (n = EJe(e, a), t.finally(() => n()).then(r, i));+ e.aborted ? a() : (n = MJe(e, a), t.finally(() => n()).then(r, i));}).finally(() => {n = qZ;});}-var OJe = async (e, t) => {+var PJe = async (e, t) => {try {return await Promise.resolve(), {status: "ok",@@ -88816,32 +88936,32 @@ var OJe = async (e, t) => {} finally {t?.();}-}, YZ = (e) => (t) => TJe(DJe(e, t).then((t) => (JZ(e), t))), kJe = (e) => {+}, YZ = (e) => (t) => jJe(NJe(e, t).then((t) => (JZ(e), t))), FJe = (e) => {let t = YZ(e);return (e) => t(new Promise((t) => setTimeout(t, e)));-}, { assign: XZ } = Object, AJe = {}, ZZ = "listenerMiddleware", jJe = (e, t) => {- let n = (t) => EJe(e, () => t.abort(e.reason));+}, { assign: XZ } = Object, IJe = {}, ZZ = "listenerMiddleware", LJe = (e, t) => {+ let n = (t) => MJe(e, () => t.abort(e.reason));return (r, i) => {KZ(r, "taskExecutor");let a = new AbortController();n(a);- let o = OJe(async () => {+ let o = PJe(async () => {JZ(e), JZ(a.signal);let t = await r({pause: YZ(a.signal),- delay: kJe(a.signal),+ delay: FJe(a.signal),signal: a.signal});return JZ(a.signal), t;- }, () => a.abort(CJe));+ }, () => a.abort(kJe));return i?.autoJoin && t.push(o.catch(qZ)), {result: YZ(e)(o),cancel() {- a.abort(SJe);+ a.abort(OJe);}};};-}, MJe = (e, t) => {+}, RJe = (e, t) => {let n = async (n, r) => {JZ(t);let i = () => {}, a = [new Promise((t, r) => {@@ -88861,14 +88981,14 @@ var OJe = async (e, t) => {})];r != null && a.push(new Promise((e) => setTimeout(e, r, null)));try {- let e = await DJe(t, Promise.race(a));+ let e = await NJe(t, Promise.race(a));return JZ(t), e;} finally {i();}};- return ((e, t) => TJe(n(e, t)));-}, NJe = (e) => {+ return ((e, t) => jJe(n(e, t)));+}, zJe = (e) => {let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;if (t) i = RZ(t).match;else if (n) t = n.type, i = n.match;@@ -88879,10 +88999,10 @@ var OJe = async (e, t) => {type: t,effect: a};-}, PJe = /* @__PURE__ */ XZ((e) => {- let { type: t, predicate: n, effect: r } = NJe(e);+}, BJe = /* @__PURE__ */ XZ((e) => {+ let { type: t, predicate: n, effect: r } = zJe(e);return {- id: lJe(),+ id: hJe(),effect: r,type: t,predicate: n,@@ -88891,17 +89011,17 @@ var OJe = async (e, t) => {throw Error(eQ(22));}};-}, { withTypes: () => PJe }), FJe = (e, t) => {- let { type: n, effect: r, predicate: i } = NJe(t);+}, { withTypes: () => BJe }), VJe = (e, t) => {+ let { type: n, effect: r, predicate: i } = zJe(t);return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);}, QZ = (e) => {e.pending.forEach((e) => {e.abort(WZ);});-}, IJe = (e, t) => () => {+}, HJe = (e, t) => () => {for (let e of t.keys()) QZ(e);e.clear();-}, LJe = (e, t, n) => {+}, UJe = (e, t, n) => {try {e(t, n);} catch (e) {@@ -88909,7 +89029,7 @@ var OJe = async (e, t) => {throw e;}, 0);}-}, RJe = /* @__PURE__ */ XZ(/* @__PURE__ */ RZ(`${ZZ}/add`), { withTypes: () => RJe }), zJe = /* @__PURE__ */ RZ(`${ZZ}/removeAll`), BJe = /* @__PURE__ */ XZ(/* @__PURE__ */ RZ(`${ZZ}/remove`), { withTypes: () => BJe }), VJe = (...e) => {+}, WJe = /* @__PURE__ */ XZ(/* @__PURE__ */ RZ(`${ZZ}/add`), { withTypes: () => WJe }), GJe = /* @__PURE__ */ RZ(`${ZZ}/removeAll`), KJe = /* @__PURE__ */ XZ(/* @__PURE__ */ RZ(`${ZZ}/remove`), { withTypes: () => KJe }), qJe = (...e) => {console.error(`${ZZ}/error`, ...e);}, $Z = (e = {}) => {let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {@@ -88918,32 +89038,32 @@ var OJe = async (e, t) => {}, i = (e) => {let t = n.get(e) ?? 1;t === 1 ? n.delete(e) : n.set(e, t - 1);- }, { extra: a, onError: o = VJe } = e;+ }, { extra: a, onError: o = qJe } = e;KZ(o, "onError");let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {e.unsubscribe(), t?.cancelActive && QZ(e);}), c = ((e) => {- let n = FJe(t, e) ?? PJe(e);+ let n = VJe(t, e) ?? BJe(e);return s(n);});XZ(c, { withTypes: () => c });let l = (e) => {- let n = FJe(t, e);+ let n = VJe(t, e);return n && (n.unsubscribe(), e.cancelActive && QZ(n)), !!n;};XZ(l, { withTypes: () => l });let u = async (e, n, s, l) => {- let u = new AbortController(), d = MJe(c, u.signal), f = [];+ let u = new AbortController(), d = RJe(c, u.signal), f = [];try {e.pending.add(u), r(e), await Promise.resolve(e.effect(n, XZ({}, s, {getOriginalState: l,condition: (e, t) => d(e, t).then(Boolean),take: d,- delay: kJe(u.signal),+ delay: FJe(u.signal),pause: YZ(u.signal),extra: a,signal: u.signal,- fork: jJe(u.signal, f),+ fork: LJe(u.signal, f),unsubscribe: e.unsubscribe,subscribe: () => {t.set(e.id, e);@@ -88961,22 +89081,22 @@ var OJe = async (e, t) => {}})));} catch (e) {- e instanceof GZ || LJe(o, e, { raisedBy: "effect" });+ e instanceof GZ || UJe(o, e, { raisedBy: "effect" });} finally {- await Promise.all(f), u.abort(wJe), i(e), e.pending.delete(u);+ await Promise.all(f), u.abort(AJe), i(e), e.pending.delete(u);}- }, d = IJe(t, n);+ }, d = HJe(t, n);return {middleware: (e) => (n) => (r) => {- if (!fqe(r)) return n(r);- if (RJe.match(r)) return c(r.payload);- if (zJe.match(r)) {+ if (!vqe(r)) return n(r);+ if (WJe.match(r)) return c(r.payload);+ if (GJe.match(r)) {d();return;}- if (BJe.match(r)) return l(r.payload);+ if (KJe.match(r)) return l(r.payload);let i = e.getState(), a = () => {- if (i === AJe) throw Error(eQ(23));+ if (i === IJe) throw Error(eQ(23));return i;}, s;try {@@ -88987,13 +89107,13 @@ var OJe = async (e, t) => {try {s = t.predicate(r, n, i);} catch (e) {- s = !1, LJe(o, e, { raisedBy: "predicate" });+ s = !1, UJe(o, e, { raisedBy: "predicate" });}s && u(t, r, e, a);}}} finally {- i = AJe;+ i = IJe;}return s;},@@ -89007,7 +89127,7 @@ function eQ(e) {}//#endregion//#region node_modules/recharts/es6/state/layoutSlice.js-var HJe = VZ({+var JJe = VZ({name: "chartLayout",initialState: {layoutType: "horizontal",@@ -89035,10 +89155,10 @@ var HJe = VZ({e.scale = t.payload;}}-}), tQ = HJe.actions, UJe = tQ.setMargin, WJe = tQ.setLayout, GJe = tQ.setChartSize, KJe = tQ.setScale, qJe = HJe.reducer;+}), tQ = JJe.actions, YJe = tQ.setMargin, XJe = tQ.setLayout, ZJe = tQ.setChartSize, QJe = tQ.setScale, $Je = JJe.reducer;//#endregion//#region node_modules/recharts/es6/util/getSliced.js-function JJe(e, t, n) {+function eYe(e, t, n) {return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;}//#endregion@@ -89051,7 +89171,7 @@ function rQ(e) {}//#endregion//#region node_modules/recharts/es6/util/ChartUtils.js-function YJe(e, t) {+function tYe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -89064,27 +89184,27 @@ function YJe(e, t) {function iQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? YJe(Object(n), !0).forEach(function(t) {- XJe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YJe(Object(n)).forEach(function(t) {+ t % 2 ? tYe(Object(n), !0).forEach(function(t) {+ nYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tYe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function XJe(e, t, n) {- return (t = ZJe(t)) in e ? Object.defineProperty(e, t, {+function nYe(e, t, n) {+ return (t = rYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function ZJe(e) {- var t = QJe(e, "string");+function rYe(e) {+ var t = iYe(e, "string");return typeof t == "symbol" ? t : t + "";}-function QJe(e, t) {+function iYe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -89097,7 +89217,7 @@ function QJe(e, t) {function aQ(e, t, n) {return LY(e) || LY(t) ? n : NY(t) ? EY(e, t, n) : typeof t == "function" ? t(e) : n;}-var $Je = (e, t, n) => {+var aYe = (e, t, n) => {if (t && n) {var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;if (c != null) {@@ -89113,11 +89233,11 @@ var $Je = (e, t, n) => {if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && MY(e[o])) return iQ(iQ({}, e), {}, { [o]: e[o] + (i || 0) });}return e;-}, oQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", eYe = (e, t, n, r) => {+}, oQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", oYe = (e, t, n, r) => {if (r) return e.map((e) => e.coordinate);var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));return i || o.push(t), a || o.push(n), o;-}, tYe = (e, t, n) => {+}, sYe = (e, t, n) => {if (!e) return null;var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;if (!o) return null;@@ -89155,11 +89275,11 @@ var $Je = (e, t, n) => {offset: h} : null;}).filter(zY);-}, nYe = (e, t) => {+}, cYe = (e, t) => {if (!t || t.length !== 2 || !MY(t[0]) || !MY(t[1])) return e;var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];return (!MY(e[0]) || e[0] < n) && (i[0] = n), (!MY(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;-}, rYe = {+}, lYe = {sign: (e) => {var t = e.length;if (!(t <= 0)) {@@ -89173,10 +89293,10 @@ var $Je = (e, t, n) => {}}},- expand: XWe,+ expand: nGe,none: fX,- silhouette: ZWe,- wiggle: QWe,+ silhouette: rGe,+ wiggle: iGe,positive: (e) => {var t = e.length;if (!(t <= 0)) {@@ -89190,8 +89310,8 @@ var $Je = (e, t, n) => {}}}-}, iYe = (e, t, n) => {- var r = rYe[n] ?? fX, i = YWe().keys(t).value((e, t) => Number(aQ(e, t, 0))).order(pX).offset(r)(e);+}, uYe = (e, t, n) => {+ var r = lYe[n] ?? fX, i = tGe().keys(t).value((e, t) => Number(aQ(e, t, 0))).order(pX).offset(r)(e);return i.forEach((n, r) => {n.forEach((n, i) => {var a = aQ(e[i], t[r], 0);@@ -89206,7 +89326,7 @@ function cQ(e) {var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;if (t.type === "category") {if (!t.allowDuplicatedCategory && t.dataKey && !LY(i[t.dataKey])) {- var s = GUe(n, "value", i[t.dataKey]);+ var s = ZUe(n, "value", i[t.dataKey]);if (s) return s.coordinate + r / 2;}return n != null && n[a] ? n[a].coordinate + r / 2 : null;@@ -89221,27 +89341,27 @@ var lQ = (e) => {if (LY(s)) return null;var c = t.scale.map(s);return MY(c) ? c - i / 2 + r : null;-}, aYe = (e) => {+}, dYe = (e) => {var t = e.numericAxis, n = t.scale.domain();if (t.type === "number") {var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;}return n[0];-}, oYe = (e) => {+}, fYe = (e) => {var t = e.flat(2).filter(MY);return [Math.min(...t), Math.max(...t)];-}, sYe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], cYe = (e, t, n) => {- if (e != null && Object.keys(e).length !== 0) return sYe(Object.keys(e).reduce((r, i) => {+}, pYe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], mYe = (e, t, n) => {+ if (e != null && Object.keys(e).length !== 0) return pYe(Object.keys(e).reduce((r, i) => {var a = e[i];if (!a) return r;var o = a.stackedData.reduce((e, r) => {- var i = oYe(JJe(r, t, n));+ var i = fYe(eYe(r, t, n));return !nQ(i[0]) || !nQ(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];}, [Infinity, -Infinity]);return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];}, [Infinity, -Infinity]));-}, lYe = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, uYe = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, uQ = (e, t, n) => {+}, hYe = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, gYe = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, uQ = (e, t, n) => {if (e && e.scale && e.scale.bandwidth) {var r = e.scale.bandwidth();if (!n || r > 0) return r;@@ -89257,7 +89377,7 @@ var lQ = (e) => {}return n ? void 0 : 0;};-function dYe(e) {+function _Ye(e) {var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;return iQ(iQ({}, t), {}, {dataKey: n,@@ -89270,13 +89390,13 @@ function dQ(e, t) {if (e != null) return String(e);if (typeof t == "string") return t;}-var fYe = (e, t) => {+var vYe = (e, t) => {if (t === "horizontal") return e.relativeX;if (t === "vertical") return e.relativeY;-}, pYe = (e, t) => t === "centric" ? e.angle : e.radius, fQ = (e) => e.layout.width, pQ = (e) => e.layout.height, mYe = (e) => e.layout.scale, mQ = (e) => e.layout.margin, hQ = X((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), gQ = X((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), hYe = "data-recharts-item-index";+}, yYe = (e, t) => t === "centric" ? e.angle : e.radius, fQ = (e) => e.layout.width, pQ = (e) => e.layout.height, bYe = (e) => e.layout.scale, mQ = (e) => e.layout.margin, hQ = X((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), gQ = X((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), xYe = "data-recharts-item-index";//#endregion//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js-function gYe(e, t) {+function SYe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -89289,27 +89409,27 @@ function gYe(e, t) {function _Q(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? gYe(Object(n), !0).forEach(function(t) {- _Ye(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gYe(Object(n)).forEach(function(t) {+ t % 2 ? SYe(Object(n), !0).forEach(function(t) {+ CYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SYe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function _Ye(e, t, n) {- return (t = vYe(t)) in e ? Object.defineProperty(e, t, {+function CYe(e, t, n) {+ return (t = wYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function vYe(e) {- var t = yYe(e, "string");+function wYe(e) {+ var t = TYe(e, "string");return typeof t == "symbol" ? t : t + "";}-function yYe(e, t) {+function TYe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -89319,30 +89439,30 @@ function yYe(e, t) {}return (t === "string" ? String : Number)(e);}-var bYe = (e) => e.brush.height;-function xYe(e) {+var EYe = (e) => e.brush.height;+function DYe(e) {return gQ(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}-function SYe(e) {+function OYe(e) {return gQ(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}-function CYe(e) {+function kYe(e) {return hQ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);}-function wYe(e) {+function AYe(e) {return hQ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);}var vQ = X([fQ,pQ,mQ,- bYe,- xYe,- SYe,- CYe,- wYe,- JKe,- YKe+ EYe,+ DYe,+ OYe,+ kYe,+ AYe,+ eqe,+ tqe], (e, t, n, r, i, a, o, s, c, l) => {var u = {left: (n.left || 0) + i,@@ -89351,13 +89471,13 @@ var vQ = X([top: (n.top || 0) + o,bottom: (n.bottom || 0) + s}), u), f = d.bottom;- d.bottom += r, d = $Je(d, c, l);+ d.bottom += r, d = aYe(d, c, l);var p = e - d.left - d.right, m = t - d.top - d.bottom;return _Q(_Q({ brushBottom: f }, d), {}, {width: Math.max(p, 0),height: Math.max(m, 0)});-}), TYe = X(vQ, (e) => ({+}), jYe = X(vQ, (e) => ({x: e.left,y: e.top,width: e.width,@@ -89367,7 +89487,7 @@ var vQ = X([y: 0,width: e,height: t-})), EYe = /*#__PURE__*/ (0, E.createContext)(null), bQ = () => (0, E.useContext)(EYe) != null, xQ = (e) => e.brush, SQ = X([+})), MYe = /*#__PURE__*/ (0, E.createContext)(null), bQ = () => (0, E.useContext)(MYe) != null, xQ = (e) => e.brush, SQ = X([xQ,vQ,mQ@@ -89379,7 +89499,7 @@ var vQ = X([}));//#endregion//#region node_modules/es-toolkit/dist/function/debounce.mjs-function DYe(e, t, { signal: n, edges: r } = {}) {+function NYe(e, t, { signal: n, edges: r } = {}) {let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {a !== null && (e.apply(i, a), i = void 0, a = null);}, l = () => {@@ -89404,11 +89524,11 @@ function DYe(e, t, { signal: n, edges: r } = {}) {}//#endregion//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs-function OYe(e, t = 0, n = {}) {+function PYe(e, t = 0, n = {}) {typeof n != "object" && (n = {});let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];r && (o[0] = "leading"), i && (o[1] = "trailing");- let s, c = null, l = DYe(function(...t) {+ let s, c = null, l = NYe(function(...t) {s = e.apply(this, t), c = null;}, t, { edges: o }), u = function(...t) {return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);@@ -89417,9 +89537,9 @@ function OYe(e, t = 0, n = {}) {}//#endregion//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs-function kYe(e, t = 0, n = {}) {+function FYe(e, t = 0, n = {}) {let { leading: r = !0, trailing: i = !0 } = n;- return OYe(e, t, {+ return PYe(e, t, {leading: r,maxWait: t,trailing: i@@ -89445,27 +89565,27 @@ var CQ = function(e, t) {width: -1,height: -1}-}, AYe = (e, t, n) => {+}, IYe = (e, t, n) => {var r = n.width, i = r === void 0 ? wQ.width : r, a = n.height, o = a === void 0 ? wQ.height : a, s = n.aspect, c = n.maxHeight, l = jY(i) ? e : Number(i), u = jY(o) ? t : Number(o);return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {calculatedWidth: l,calculatedHeight: u};-}, jYe = {+}, LYe = {width: 0,height: 0,overflow: "visible"-}, MYe = {+}, RYe = {width: 0,overflowX: "visible"-}, NYe = {+}, zYe = {height: 0,overflowY: "visible"-}, PYe = {}, FYe = (e) => {+}, BYe = {}, VYe = (e) => {var t = e.width, n = e.height, r = jY(t), i = jY(n);- return r && i ? jYe : r ? MYe : i ? NYe : PYe;+ return r && i ? LYe : r ? RYe : i ? zYe : BYe;};-function IYe(e) {+function HYe(e) {var t = e.width, n = e.height, r = e.aspect, i = t, a = n;return i === void 0 && a === void 0 ? (i = wQ.width, a = wQ.height) : i === void 0 ? i = r && r > 0 ? void 0 : wQ.width : a === void 0 && (a = r && r > 0 ? void 0 : wQ.height), {width: i,@@ -89474,7 +89594,7 @@ function IYe(e) {}//#endregion//#region node_modules/recharts/es6/component/ResponsiveContainer.js-var LYe = [+var UYe = ["aspect","initialDimension","width",@@ -89498,7 +89618,7 @@ function TQ() {return e;}, TQ.apply(null, arguments);}-function RYe(e, t) {+function WYe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -89508,30 +89628,30 @@ function RYe(e, t) {}return n;}-function zYe(e) {+function GYe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? RYe(Object(n), !0).forEach(function(t) {- BYe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RYe(Object(n)).forEach(function(t) {+ t % 2 ? WYe(Object(n), !0).forEach(function(t) {+ KYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WYe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function BYe(e, t, n) {- return (t = VYe(t)) in e ? Object.defineProperty(e, t, {+function KYe(e, t, n) {+ return (t = qYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function VYe(e) {- var t = HYe(e, "string");+function qYe(e) {+ var t = JYe(e, "string");return typeof t == "symbol" ? t : t + "";}-function HYe(e, t) {+function JYe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -89541,25 +89661,25 @@ function HYe(e, t) {}return (t === "string" ? String : Number)(e);}-function UYe(e, t) {- return JYe(e) || qYe(e, t) || GYe(e, t) || WYe();+function YYe(e, t) {+ return eXe(e) || $Ye(e, t) || ZYe(e, t) || XYe();}-function WYe() {+function XYe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function GYe(e, t) {+function ZYe(e, t) {if (e) {- if (typeof e == "string") return KYe(e, t);+ if (typeof e == "string") return QYe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? KYe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? QYe(e, t) : void 0;}}-function KYe(e, t) {+function QYe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function qYe(e, t) {+function $Ye(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -89580,19 +89700,19 @@ function qYe(e, t) {return s;}}-function JYe(e) {+function eXe(e) {if (Array.isArray(e)) return e;}-function YYe(e, t) {+function tXe(e, t) {if (e == null) return {};- var n, r, i = XYe(e, t);+ var n, r, i = nXe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function XYe(e, t) {+function nXe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -89601,21 +89721,21 @@ function XYe(e, t) {}return n;}-var ZYe = /*#__PURE__*/ (0, E.createContext)(wQ.initialDimension);-function QYe(e) {+var rXe = /*#__PURE__*/ (0, E.createContext)(wQ.initialDimension);+function iXe(e) {return rQ(e.width) && rQ(e.height);}-function $Ye(e) {+function aXe(e) {var t = e.children, n = e.width, r = e.height, i = (0, E.useMemo)(() => ({width: n,height: r}), [n, r]);- return QYe(i) ? /*#__PURE__*/ E.createElement(ZYe.Provider, { value: i }, t) : null;+ return iXe(i) ? /*#__PURE__*/ E.createElement(rXe.Provider, { value: i }, t) : null;}-var EQ = () => (0, E.useContext)(ZYe), eXe = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? wQ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? wQ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? wQ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = YYe(e, LYe), b = (0, E.useRef)(null), x = (0, E.useRef)();+var EQ = () => (0, E.useContext)(rXe), oXe = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? wQ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? wQ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? wQ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = tXe(e, UYe), b = (0, E.useRef)(null), x = (0, E.useRef)();x.current = g, (0, E.useImperativeHandle)(t, () => b.current);- var S = UYe((0, E.useState)({+ var S = YYe((0, E.useState)({containerWidth: i.width,containerHeight: i.height}), 2), C = S[0], w = S[1], T = (0, E.useCallback)((e, t) => {@@ -89636,7 +89756,7 @@ var EQ = () => (0, E.useContext)(ZYe), eXe = /*#__PURE__*/ (0, E.forwardRef)((e,T(i, a), (t = x.current) == null || t.call(x, i, a);}};- p > 0 && (e = kYe(e, p, {+ p > 0 && (e = FYe(e, p, {trailing: !0,leading: !1}));@@ -89647,7 +89767,7 @@ var EQ = () => (0, E.useContext)(ZYe), eXe = /*#__PURE__*/ (0, E.forwardRef)((e,}, [T, p]);var D = C.containerWidth, O = C.containerHeight;CQ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);- var k = AYe(D, O, {+ var k = IYe(D, O, {width: a,height: o,aspect: n,@@ -89656,7 +89776,7 @@ var EQ = () => (0, E.useContext)(ZYe), eXe = /*#__PURE__*/ (0, E.forwardRef)((e,return CQ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ E.createElement("div", TQ({id: m ? `${m}` : void 0,className: Uv("recharts-responsive-container", h),- style: zYe(zYe({}, v), {}, {+ style: GYe(GYe({}, v), {}, {width: a,height: o,minWidth: c,@@ -89664,43 +89784,43 @@ var EQ = () => (0, E.useContext)(ZYe), eXe = /*#__PURE__*/ (0, E.forwardRef)((e,maxHeight: u}),ref: b- }, y), /*#__PURE__*/ E.createElement("div", { style: FYe({+ }, y), /*#__PURE__*/ E.createElement("div", { style: VYe({width: a,height: o- }) }, /*#__PURE__*/ E.createElement($Ye, {+ }) }, /*#__PURE__*/ E.createElement(aXe, {width: A,height: j}, d)));}), DQ = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {var n = EQ();if (rQ(n.width) && rQ(n.height)) return e.children;- var r = IYe({+ var r = HYe({width: e.width,height: e.height,aspect: e.aspect- }), i = r.width, a = r.height, o = AYe(void 0, void 0, {+ }), i = r.width, a = r.height, o = IYe(void 0, void 0, {width: i,height: a,aspect: e.aspect,maxHeight: e.maxHeight}), s = o.calculatedWidth, c = o.calculatedHeight;- return MY(s) && MY(c) ? /*#__PURE__*/ E.createElement($Ye, {+ return MY(s) && MY(c) ? /*#__PURE__*/ E.createElement(aXe, {width: s,height: c- }, e.children) : /*#__PURE__*/ E.createElement(eXe, TQ({}, e, {+ }, e.children) : /*#__PURE__*/ E.createElement(oXe, TQ({}, e, {width: i,height: a,ref: t}));}), OQ = () => {- var e = bQ(), t = LX(TYe), n = LX(SQ), r = LX(xQ)?.padding;+ var e = bQ(), t = LX(jYe), n = LX(SQ), r = LX(xQ)?.padding;return !e || !n || !r ? t : {width: n.width - r.left - r.right,height: n.height - r.top - r.bottom,x: r.left,y: r.top};-}, tXe = {+}, sXe = {top: 0,bottom: 0,left: 0,@@ -89708,16 +89828,16 @@ var EQ = () => (0, E.useContext)(ZYe), eXe = /*#__PURE__*/ (0, E.forwardRef)((e,width: 0,height: 0,brushBottom: 0-}, nXe = () => LX(vQ) ?? tXe, kQ = () => LX(fQ), AQ = () => LX(pQ), rXe = () => LX((e) => e.layout.margin), jQ = (e) => e.layout.layoutType, MQ = () => LX(jQ), NQ = () => {+}, cXe = () => LX(vQ) ?? sXe, kQ = () => LX(fQ), AQ = () => LX(pQ), lXe = () => LX((e) => e.layout.margin), jQ = (e) => e.layout.layoutType, MQ = () => LX(jQ), NQ = () => {var e = MQ();if (e === "horizontal" || e === "vertical") return e;}, PQ = (e) => {var t = e.layout.layoutType;if (t === "centric" || t === "radial") return t;-}, FQ = () => LX(PQ), iXe = () => MQ() !== void 0, IQ = (e) => {+}, FQ = () => LX(PQ), uXe = () => MQ() !== void 0, IQ = (e) => {var t = FX(), n = bQ(), r = e.width, i = e.height, a = EQ(), o = r, s = i;return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, E.useEffect)(() => {- !n && rQ(o) && rQ(s) && t(GJe({+ !n && rQ(o) && rQ(s) && t(ZJe({width: o,height: s}));@@ -89727,7 +89847,7 @@ var EQ = () => (0, E.useContext)(ZYe), eXe = /*#__PURE__*/ (0, E.forwardRef)((e,o,s]), null;-}, aXe = VZ({+}, dXe = VZ({name: "legend",initialState: {settings: {@@ -89772,24 +89892,24 @@ var EQ = () => (0, E.useContext)(ZYe), eXe = /*#__PURE__*/ (0, E.forwardRef)((e,prepare: BZ()}}-}), LQ = aXe.actions, oXe = LQ.setLegendSize, sXe = LQ.setLegendSettings, cXe = LQ.addLegendPayload, lXe = LQ.replaceLegendPayload, uXe = LQ.removeLegendPayload, dXe = aXe.reducer, fXe = /* @__PURE__ */ o(((e) => {+}), LQ = dXe.actions, fXe = LQ.setLegendSize, pXe = LQ.setLegendSettings, mXe = LQ.addLegendPayload, hXe = LQ.replaceLegendPayload, gXe = LQ.removeLegendPayload, _Xe = dXe.reducer, vXe = /* @__PURE__ */ o(((e) => {var t = _();t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;}));(/* @__PURE__ */ o(((e, t) => {- t.exports = fXe();+ t.exports = vXe();})))();-function pXe(e) {+function yXe(e) {e();}-function mXe() {+function bXe() {let e = null, t = null;return {clear() {e = null, t = null;},notify() {- pXe(() => {+ yXe(() => {let t = e;for (; t;) t.callback(), t = t.next;});@@ -89811,12 +89931,12 @@ function mXe() {}};}-var hXe = {+var xXe = {notify() {},get: () => []};-function gXe(e, t) {- let n, r = hXe, i = 0, a = !1;+function SXe(e, t) {+ let n, r = xXe, i = 0, a = !1;function o(e) {u();let t = r.subscribe(e), n = !1;@@ -89834,10 +89954,10 @@ function gXe(e, t) {return a;}function u() {- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = mXe());+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = bXe());}function d() {- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = hXe);+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = xXe);}function f() {a || (a = !0, u());@@ -89856,44 +89976,44 @@ function gXe(e, t) {};return m;}-var _Xe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, vXe = typeof navigator < "u" && navigator.product === "ReactNative", yXe = _Xe || vXe ? E.useLayoutEffect : E.useEffect;-function bXe(e, t) {+var CXe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, wXe = typeof navigator < "u" && navigator.product === "ReactNative", TXe = CXe || wXe ? E.useLayoutEffect : E.useEffect;+function EXe(e, t) {return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;}-function xXe(e, t) {- if (bXe(e, t)) return !0;+function DXe(e, t) {+ if (EXe(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;let n = Object.keys(e), r = Object.keys(t);if (n.length !== r.length) return !1;- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !bXe(e[n[r]], t[n[r]])) return !1;+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !EXe(e[n[r]], t[n[r]])) return !1;return !0;}-var SXe = /* @__PURE__ */ Symbol.for("react-redux-context"), CXe = typeof globalThis < "u" ? globalThis : {};-function wXe() {+var OXe = /* @__PURE__ */ Symbol.for("react-redux-context"), kXe = typeof globalThis < "u" ? globalThis : {};+function AXe() {if (!E.createContext) return {};- let e = CXe[SXe] ??= /* @__PURE__ */ new Map(), t = e.get(E.createContext);+ let e = kXe[OXe] ??= /* @__PURE__ */ new Map(), t = e.get(E.createContext);return t || (t = E.createContext(null), e.set(E.createContext, t)), t;}-var TXe = /* @__PURE__ */ wXe();-function EXe(e) {+var jXe = /* @__PURE__ */ AXe();+function MXe(e) {let { children: t, context: n, serverState: r, store: i } = e, a = E.useMemo(() => {- let e = gXe(i);+ let e = SXe(i);return {store: i,subscription: e,getServerState: r ? () => r : void 0};}, [i, r]), o = E.useMemo(() => i.getState(), [i]);- yXe(() => {+ TXe(() => {let { subscription: e } = a;return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {e.tryUnsubscribe(), e.onStateChange = void 0;};}, [a, o]);- let s = n || TXe;+ let s = n || jXe;return /* @__PURE__ */ E.createElement(s.Provider, { value: a }, t);}-var DXe = EXe, OXe = /* @__PURE__ */ new Set([+var NXe = MXe, PXe = /* @__PURE__ */ new Set(["axisLine","tickLine","activeBar",@@ -89916,19 +90036,19 @@ var DXe = EXe, OXe = /* @__PURE__ */ new Set(["radius","throttledEvents"]);-function kXe(e, t) {+function FXe(e, t) {return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;}function RQ(e, t) {- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (OXe.has(n)) {+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (PXe.has(n)) {if (e[n] == null && t[n] == null) continue;- if (!xXe(e[n], t[n])) return !1;- } else if (!kXe(e[n], t[n])) return !1;+ if (!DXe(e[n], t[n])) return !1;+ } else if (!FXe(e[n], t[n])) return !1;return !0;}//#endregion//#region node_modules/recharts/es6/state/selectors/selectLegendArea.js-var AXe = X([+var IXe = X([fQ,pQ,mQ@@ -89940,7 +90060,7 @@ var AXe = X([}));//#endregion//#region node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js-function jXe(e, t) {+function LXe(e, t) {return e === "start" && t === "start" ? "" : `translate(${e === "inherit" ? "0" : {start: "0",middle: "-50%",@@ -89953,7 +90073,7 @@ function jXe(e, t) {}//#endregion//#region node_modules/recharts/es6/component/Legend.js-var MXe = ["contextPayload"];+var RXe = ["contextPayload"];function zQ() {return zQ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -89963,25 +90083,25 @@ function zQ() {return e;}, zQ.apply(null, arguments);}-function NXe(e, t) {- return RXe(e) || LXe(e, t) || FXe(e, t) || PXe();+function zXe(e, t) {+ return WXe(e) || UXe(e, t) || VXe(e, t) || BXe();}-function PXe() {+function BXe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function FXe(e, t) {+function VXe(e, t) {if (e) {- if (typeof e == "string") return IXe(e, t);+ if (typeof e == "string") return HXe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? IXe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? HXe(e, t) : void 0;}}-function IXe(e, t) {+function HXe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function LXe(e, t) {+function UXe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -90002,10 +90122,10 @@ function LXe(e, t) {return s;}}-function RXe(e) {+function WXe(e) {if (Array.isArray(e)) return e;}-function zXe(e, t) {+function GXe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -90018,27 +90138,27 @@ function zXe(e, t) {function BQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? zXe(Object(n), !0).forEach(function(t) {- BXe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zXe(Object(n)).forEach(function(t) {+ t % 2 ? GXe(Object(n), !0).forEach(function(t) {+ KXe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GXe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function BXe(e, t, n) {- return (t = VXe(t)) in e ? Object.defineProperty(e, t, {+function KXe(e, t, n) {+ return (t = qXe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function VXe(e) {- var t = HXe(e, "string");+function qXe(e) {+ var t = JXe(e, "string");return typeof t == "symbol" ? t : t + "";}-function HXe(e, t) {+function JXe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -90048,16 +90168,16 @@ function HXe(e, t) {}return (t === "string" ? String : Number)(e);}-function UXe(e, t) {+function YXe(e, t) {if (e == null) return {};- var n, r, i = WXe(e, t);+ var n, r, i = XXe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function WXe(e, t) {+function XXe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -90066,30 +90186,30 @@ function WXe(e, t) {}return n;}-function GXe(e) {+function ZXe(e) {return e.value;}-function KXe(e) {- var t = e.contextPayload, n = UXe(e, MXe), r = TKe(t, e.payloadUniqBy, GXe), i = BQ(BQ({}, n), {}, { payload: r });- return /*#__PURE__*/ E.isValidElement(e.content) ? /*#__PURE__*/ E.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ E.createElement(e.content, i) : /*#__PURE__*/ E.createElement(kGe, i);+function QXe(e) {+ var t = e.contextPayload, n = YXe(e, RXe), r = jKe(t, e.payloadUniqBy, ZXe), i = BQ(BQ({}, n), {}, { payload: r });+ return /*#__PURE__*/ E.isValidElement(e.content) ? /*#__PURE__*/ E.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ E.createElement(e.content, i) : /*#__PURE__*/ E.createElement(FGe, i);}-function qXe(e) {+function $Xe(e) {return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";}-function JXe(e, t) {- return t == null ? null : UY(t) ? AXe(e) : TYe(e);+function eZe(e, t) {+ return t == null ? null : UY(t) ? IXe(e) : jYe(e);}-function YXe(e, t, n) {+function tZe(e, t, n) {return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};}-function XXe(e, t, n, r, i, a) {+function nZe(e, t, n, r, i, a) {var o = t.layout, s = t.align, c = t.verticalAlign, l, u;return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), BQ(BQ({}, l), u);}-function ZXe(e) {+function rZe(e) {var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = FX();return (0, E.useLayoutEffect)(() => {- s(sXe({+ s(pXe({align: t,layout: n,verticalAlign: r,@@ -90107,10 +90227,10 @@ function ZXe(e) {o]), null;}-function QXe(e) {+function iZe(e) {var t = e.width, n = e.height, r = FX();return (0, E.useLayoutEffect)(() => {- r(oXe({+ r(fXe({width: t,height: n}));@@ -90119,16 +90239,16 @@ function QXe(e) {t,n]), (0, E.useLayoutEffect)(() => () => {- r(oXe({+ r(fXe({width: 0,height: 0}));}, [r]), null;}-function $Xe(e, t, n, r) {+function aZe(e, t, n, r) {return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;}-var eZe = {+var oZe = {align: "center",iconSize: 14,inactiveColor: "#ccc",@@ -90138,10 +90258,10 @@ var eZe = {verticalAlign: "bottom",offset: 0};-function tZe(e) {- var t = _X(e, eZe), n = e.layout && e.layout !== "auto" ? e.layout : qXe(t.position), r = ZKe(), i = $Ue(), a = rXe(), o = LX((e) => JXe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || UY(t.position)), f = NXe(oqe([r]), 2), p = f[0], m = f[1], h = kQ(), g = AQ();+function sZe(e) {+ var t = _X(e, oZe), n = e.layout && e.layout !== "auto" ? e.layout : $Xe(t.position), r = rqe(), i = aWe(), a = lXe(), o = LX((e) => eZe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || UY(t.position)), f = zXe(fqe([r]), 2), p = f[0], m = f[1], h = kQ(), g = AQ();if (h == null || g == null || t.position != null && o == null) return null;- var _ = $Xe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : XUe({+ var _ = aZe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : nWe({viewBox: o ?? {x: 0,y: 0,@@ -90150,7 +90270,7 @@ function tZe(e) {},position: t.position,offset: t.offset ?? 0- }), y = YXe(t.position, t.offset ?? 0, p), b = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, x = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, S = v ? {+ }), y = tZe(t.position, t.offset ?? 0, p), b = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, x = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, S = v ? {width: "max-content",height: "max-content",maxWidth: b,@@ -90158,8 +90278,8 @@ function tZe(e) {overflowY: "auto",top: v.y + (y.top ?? 0),left: v.x + (y.left ?? 0),- transform: jXe(v.horizontalAnchor, v.verticalAnchor)- } : XXe(l, t, a, h, g, p), C = u ? l : BQ(BQ({+ transform: LXe(v.horizontalAnchor, v.verticalAnchor)+ } : nZe(l, t, a, h, g, p), C = u ? l : BQ(BQ({position: "absolute",width: _?.width || s || "auto",height: _?.height || c || "auto"@@ -90169,14 +90289,14 @@ function tZe(e) {className: "recharts-legend-wrapper",style: C,ref: m- }, /*#__PURE__*/ E.createElement(ZXe, {+ }, /*#__PURE__*/ E.createElement(rZe, {layout: n,align: t.align,verticalAlign: t.verticalAlign,itemSorter: t.itemSorter,position: t.position,offset: t.offset- }), d && /*#__PURE__*/ E.createElement(QXe, p), /*#__PURE__*/ E.createElement(KXe, zQ({}, t, { layout: n }, _, {+ }), d && /*#__PURE__*/ E.createElement(iZe, p), /*#__PURE__*/ E.createElement(QXe, zQ({}, t, { layout: n }, _, {margin: a,chartWidth: h,chartHeight: g,@@ -90184,8 +90304,8 @@ function tZe(e) {})));return /*#__PURE__*/ (0, St.createPortal)(T, w);}-var nZe = /*#__PURE__*/ E.memo(tZe, RQ);-nZe.displayName = "Legend";+var cZe = /*#__PURE__*/ E.memo(sZe, RQ);+cZe.displayName = "Legend";//#endregion//#region node_modules/recharts/es6/component/DefaultTooltipContent.jsfunction VQ() {@@ -90197,7 +90317,7 @@ function VQ() {return e;}, VQ.apply(null, arguments);}-function rZe(e, t) {+function lZe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -90210,27 +90330,27 @@ function rZe(e, t) {function HQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? rZe(Object(n), !0).forEach(function(t) {- iZe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rZe(Object(n)).forEach(function(t) {+ t % 2 ? lZe(Object(n), !0).forEach(function(t) {+ uZe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lZe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function iZe(e, t, n) {- return (t = aZe(t)) in e ? Object.defineProperty(e, t, {+function uZe(e, t, n) {+ return (t = dZe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function aZe(e) {- var t = oZe(e, "string");+function dZe(e) {+ var t = fZe(e, "string");return typeof t == "symbol" ? t : t + "";}-function oZe(e, t) {+function fZe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -90240,25 +90360,25 @@ function oZe(e, t) {}return (t === "string" ? String : Number)(e);}-function sZe(e, t) {- return fZe(e) || dZe(e, t) || lZe(e, t) || cZe();+function pZe(e, t) {+ return vZe(e) || _Ze(e, t) || hZe(e, t) || mZe();}-function cZe() {+function mZe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function lZe(e, t) {+function hZe(e, t) {if (e) {- if (typeof e == "string") return uZe(e, t);+ if (typeof e == "string") return gZe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? uZe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? gZe(e, t) : void 0;}}-function uZe(e, t) {+function gZe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function dZe(e, t) {+function _Ze(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -90279,10 +90399,10 @@ function dZe(e, t) {return s;}}-function fZe(e) {+function vZe(e) {if (Array.isArray(e)) return e;}-function pZe(e) {+function yZe(e) {return Array.isArray(e) && NY(e[0]) && NY(e[1]) ? e.join(" ~ ") : e;}var UQ = {@@ -90303,22 +90423,22 @@ var UQ = {labelStyle: {},accessibilityLayer: !1};-function mZe(e, t) {+function bZe(e, t) {return t == null ? e : BX(e, t);}-var hZe = (e) => {+var xZe = (e) => {var t = e.separator, n = t === void 0 ? UQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? UQ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? UQ.accessibilityLayer : m, g = () => {if (s && s.length) {var e = {padding: 0,margin: 0- }, t = mZe(s, l).map((e, t) => {+ }, t = bZe(s, l).map((e, t) => {if (!e || e.type === "none") return null;- var r = e.formatter || c || pZe, a = e.value, o = e.name, l = a, u = o;+ var r = e.formatter || c || yZe, a = e.value, o = e.name, l = a, u = o;if (r) {var d = r(a, o, e, t, s);if (Array.isArray(d)) {- var f = sZe(d, 2);+ var f = pZe(d, 2);l = f[0], u = f[1];} else if (d != null) l = d;else return null;@@ -90349,8 +90469,8 @@ var hZe = (e) => {className: S,style: v}, /*#__PURE__*/ E.isValidElement(b) ? b : `${b}`), g());-}, WQ = "recharts-tooltip-wrapper", gZe = { visibility: "hidden" };-function _Ze(e) {+}, WQ = "recharts-tooltip-wrapper", SZe = { visibility: "hidden" };+function CZe(e) {var t = e.coordinate, n = e.translateX, r = e.translateY;return Uv(WQ, {[`${WQ}-right`]: MY(n) && t && MY(t.x) && n >= t.x,@@ -90359,7 +90479,7 @@ function _Ze(e) {[`${WQ}-top`]: MY(r) && t && MY(t.y) && r < t.y});}-function vZe(e) {+function wZe(e) {var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;if (a && MY(a[r])) return a[r];var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;@@ -90367,13 +90487,13 @@ function vZe(e) {var f = c[r];return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);}-function yZe(e) {+function TZe(e) {var t = e.translateX, n = e.translateY;return { transform: e.useTranslate3d ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };}-function bZe(e) {+function EZe(e) {var t = e.allowEscapeViewBox, n = e.coordinate, r = e.offsetTop, i = e.offsetLeft, a = e.position, o = e.reverseDirection, s = e.tooltipBox, c = e.useTranslate3d, l = e.viewBox, u, d, f;- return s && s.height > 0 && s.width > 0 && n ? (d = vZe({+ return s && s.height > 0 && s.width > 0 && n ? (d = wZe({allowEscapeViewBox: t,coordinate: n,key: "x",@@ -90383,7 +90503,7 @@ function bZe(e) {tooltipDimension: s.width,viewBox: l,viewBoxDimension: l.width- }), f = vZe({+ }), f = wZe({allowEscapeViewBox: t,coordinate: n,key: "y",@@ -90393,13 +90513,13 @@ function bZe(e) {tooltipDimension: s.height,viewBox: l,viewBoxDimension: l.height- }), u = yZe({+ }), u = TZe({translateX: d,translateY: f,useTranslate3d: c- })) : u = gZe, {+ })) : u = SZe, {cssProperties: u,- cssClasses: _Ze({+ cssClasses: CZe({translateX: d,translateY: f,coordinate: n@@ -90412,25 +90532,25 @@ var GQ = {};//#endregion//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js-function xZe(e, t) {- return EZe(e) || TZe(e, t) || CZe(e, t) || SZe();+function DZe(e, t) {+ return MZe(e) || jZe(e, t) || kZe(e, t) || OZe();}-function SZe() {+function OZe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function CZe(e, t) {+function kZe(e, t) {if (e) {- if (typeof e == "string") return wZe(e, t);+ if (typeof e == "string") return AZe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wZe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? AZe(e, t) : void 0;}}-function wZe(e, t) {+function AZe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function TZe(e, t) {+function jZe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -90451,11 +90571,11 @@ function TZe(e, t) {return s;}}-function EZe(e) {+function MZe(e) {if (Array.isArray(e)) return e;}-function DZe() {- var e = xZe((0, E.useState)(() => GQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];+function NZe() {+ var e = DZe((0, E.useState)(() => GQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];return (0, E.useEffect)(() => {if (window.matchMedia) {var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {@@ -90469,7 +90589,7 @@ function DZe() {}//#endregion//#region node_modules/recharts/es6/component/TooltipBoundingBox.js-function OZe(e, t) {+function PZe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -90482,27 +90602,27 @@ function OZe(e, t) {function KQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? OZe(Object(n), !0).forEach(function(t) {- kZe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OZe(Object(n)).forEach(function(t) {+ t % 2 ? PZe(Object(n), !0).forEach(function(t) {+ FZe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PZe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function kZe(e, t, n) {- return (t = AZe(t)) in e ? Object.defineProperty(e, t, {+function FZe(e, t, n) {+ return (t = IZe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function AZe(e) {- var t = jZe(e, "string");+function IZe(e) {+ var t = LZe(e, "string");return typeof t == "symbol" ? t : t + "";}-function jZe(e, t) {+function LZe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -90512,25 +90632,25 @@ function jZe(e, t) {}return (t === "string" ? String : Number)(e);}-function MZe(e, t) {- return LZe(e) || IZe(e, t) || PZe(e, t) || NZe();+function RZe(e, t) {+ return UZe(e) || HZe(e, t) || BZe(e, t) || zZe();}-function NZe() {+function zZe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function PZe(e, t) {+function BZe(e, t) {if (e) {- if (typeof e == "string") return FZe(e, t);+ if (typeof e == "string") return VZe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? FZe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? VZe(e, t) : void 0;}}-function FZe(e, t) {+function VZe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function IZe(e, t) {+function HZe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -90551,17 +90671,17 @@ function IZe(e, t) {return s;}}-function LZe(e) {+function UZe(e) {if (Array.isArray(e)) return e;}-function RZe(e) {+function WZe(e) {if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) {var t = typeof e.animationEasing == "string" ? e.animationEasing : "ease";return `transform ${e.animationDuration}ms ${t}`;}}-function zZe(e) {- var t = DZe(), n = MZe(E.useState(() => ({+function GZe(e) {+ var t = NZe(), n = RZe(E.useState(() => ({dismissed: !1,dismissedAtCoordinate: {x: 0,@@ -90582,7 +90702,7 @@ function zZe(e) {document.removeEventListener("keydown", t);};}, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(KQ(KQ({}, r), {}, { dismissed: !1 }));- var a = bZe({+ var a = EZe({allowEscapeViewBox: e.allowEscapeViewBox,coordinate: e.coordinate,offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,@@ -90592,7 +90712,7 @@ function zZe(e) {tooltipBox: e.lastBoundingBox,useTranslate3d: e.useTranslate3d,viewBox: e.viewBox- }), o = a.cssClasses, s = a.cssProperties, c = KQ(KQ({}, e.hasPortalFromProps ? {} : KQ(KQ({ transition: RZe({+ }), o = a.cssClasses, s = a.cssProperties, c = KQ(KQ({}, e.hasPortalFromProps ? {} : KQ(KQ({ transition: WZe({prefersReducedMotion: t,isAnimationActive: e.isAnimationActive,active: e.active,@@ -90612,7 +90732,7 @@ function zZe(e) {ref: e.innerRef}, e.children);}-var BZe = /*#__PURE__*/ E.memo(zZe), VZe = () => LX((e) => e.rootProps.accessibilityLayer) ?? !0;+var KZe = /*#__PURE__*/ E.memo(GZe), qZe = () => LX((e) => e.rootProps.accessibilityLayer) ?? !0;//#endregion//#region node_modules/recharts/es6/shape/Curve.jsfunction qQ() {@@ -90624,7 +90744,7 @@ function qQ() {return e;}, qQ.apply(null, arguments);}-function HZe(e, t) {+function JZe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -90634,30 +90754,30 @@ function HZe(e, t) {}return n;}-function UZe(e) {+function YZe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? HZe(Object(n), !0).forEach(function(t) {- WZe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HZe(Object(n)).forEach(function(t) {+ t % 2 ? JZe(Object(n), !0).forEach(function(t) {+ XZe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JZe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function WZe(e, t, n) {- return (t = GZe(t)) in e ? Object.defineProperty(e, t, {+function XZe(e, t, n) {+ return (t = ZZe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function GZe(e) {- var t = KZe(e, "string");+function ZZe(e) {+ var t = QZe(e, "string");return typeof t == "symbol" ? t : t + "";}-function KZe(e, t) {+function QZe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -90667,38 +90787,38 @@ function KZe(e, t) {}return (t === "string" ? String : Number)(e);}-var qZe = {- curveBasisClosed: kWe,- curveBasisOpen: jWe,- curveBasis: DWe,- curveBumpX: uWe,- curveBumpY: dWe,- curveLinearClosed: NWe,+var $Ze = {+ curveBasisClosed: FWe,+ curveBasisOpen: LWe,+ curveBasis: NWe,+ curveBumpX: gWe,+ curveBumpY: _We,+ curveLinearClosed: zWe,curveLinear: eX,- curveMonotoneX: zWe,- curveMonotoneY: BWe,- curveNatural: UWe,- curveStep: WWe,- curveStepAfter: KWe,- curveStepBefore: GWe-}, JQ = (e) => nQ(e.x) && nQ(e.y), JZe = (e) => e.base != null && JQ(e.base) && JQ(e), YQ = (e) => e.x, XQ = (e) => e.y, YZe = (e, t) => {+ curveMonotoneX: GWe,+ curveMonotoneY: KWe,+ curveNatural: YWe,+ curveStep: XWe,+ curveStepAfter: QWe,+ curveStepBefore: ZWe+}, JQ = (e) => nQ(e.x) && nQ(e.y), eQe = (e) => e.base != null && JQ(e.base) && JQ(e), YQ = (e) => e.x, XQ = (e) => e.y, tQe = (e, t) => {if (typeof e == "function") return e;var n = `curve${RY(e)}`;if ((n === "curveMonotone" || n === "curveBump") && t) {- var r = qZe[`${n}${t === "vertical" ? "Y" : "X"}`];+ var r = $Ze[`${n}${t === "vertical" ? "Y" : "X"}`];if (r) return r;}- return qZe[n] || eX;-}, XZe = {+ return $Ze[n] || eX;+}, nQe = {connectNulls: !1,type: "linear"-}, ZZe = (e) => {- var t = e.type, n = t === void 0 ? XZe.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? XZe.connectNulls : s, l = YZe(n, o), u = c ? i.filter(JQ) : i;+}, rQe = (e) => {+ var t = e.type, n = t === void 0 ? nQe.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? nQe.connectNulls : s, l = tQe(n, o), u = c ? i.filter(JQ) : i;if (Array.isArray(a)) {- var d, f = i.map((e, t) => UZe(UZe({}, e), {}, { base: a[t] }));- return d = o === "vertical" ? tX().y(XQ).x1(YQ).x0((e) => e.base.x) : tX().x(YQ).y1(XQ).y0((e) => e.base.y), d.defined(JZe).curve(l)(c ? f.filter(JZe) : f);+ var d, f = i.map((e, t) => YZe(YZe({}, e), {}, { base: a[t] }));+ return d = o === "vertical" ? tX().y(XQ).x1(YQ).x0((e) => e.base.x) : tX().x(YQ).y1(XQ).y0((e) => e.base.y), d.defined(eQe).curve(l)(c ? f.filter(eQe) : f);}- return (o === "vertical" && MY(a) ? tX().y(XQ).x1(YQ).x0(a) : MY(a) ? tX().x(YQ).y1(XQ).y0(a) : cWe().x(YQ).y(XQ)).defined(JQ).curve(l)(u);+ return (o === "vertical" && MY(a) ? tX().y(XQ).x1(YQ).x0(a) : MY(a) ? tX().x(YQ).y1(XQ).y0(a) : mWe().x(YQ).y(XQ)).defined(JQ).curve(l)(u);}, ZQ = (e) => {var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = MQ();if ((!n || !n.length) && !r) return null;@@ -90708,13 +90828,13 @@ var qZe = {baseLine: e.baseLine,layout: e.layout || a,connectNulls: e.connectNulls- }, s = n && n.length ? ZZe(o) : r;+ }, s = n && n.length ? rQe(o) : r;return /*#__PURE__*/ E.createElement("path", qQ({}, hY(e), hX(e), {className: Uv("recharts-curve", t),d: s === null ? void 0 : s,ref: i}));-}, QZe = [+}, iQe = ["x","y","top",@@ -90732,7 +90852,7 @@ function QQ() {return e;}, QQ.apply(null, arguments);}-function $Ze(e, t) {+function aQe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -90742,30 +90862,30 @@ function $Ze(e, t) {}return n;}-function eQe(e) {+function oQe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? $Ze(Object(n), !0).forEach(function(t) {- tQe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $Ze(Object(n)).forEach(function(t) {+ t % 2 ? aQe(Object(n), !0).forEach(function(t) {+ sQe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aQe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function tQe(e, t, n) {- return (t = nQe(t)) in e ? Object.defineProperty(e, t, {+function sQe(e, t, n) {+ return (t = cQe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function nQe(e) {- var t = rQe(e, "string");+function cQe(e) {+ var t = lQe(e, "string");return typeof t == "symbol" ? t : t + "";}-function rQe(e, t) {+function lQe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -90775,16 +90895,16 @@ function rQe(e, t) {}return (t === "string" ? String : Number)(e);}-function iQe(e, t) {+function uQe(e, t) {if (e == null) return {};- var n, r, i = aQe(e, t);+ var n, r, i = dQe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function aQe(e, t) {+function dQe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -90793,8 +90913,8 @@ function aQe(e, t) {}return n;}-var oQe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, sQe = (e) => {- var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = iQe(e, QZe), h = eQe({+var fQe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, pQe = (e) => {+ var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = uQe(e, iQe), h = oQe({x: n,y: i,top: o,@@ -90804,12 +90924,12 @@ var oQe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, sQe = (e) => {}, m);return !MY(n) || !MY(i) || !MY(u) || !MY(f) || !MY(o) || !MY(c) ? null : /*#__PURE__*/ E.createElement("path", QQ({}, _Y(h), {className: Uv("recharts-cross", p),- d: oQe(n, i, u, f, o, c)+ d: fQe(n, i, u, f, o, c)}));};//#endregion//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js-function cQe(e, t, n, r) {+function mQe(e, t, n, r) {var i = r / 2;return {stroke: "none",@@ -90820,12 +90940,12 @@ function cQe(e, t, n, r) {height: e === "horizontal" ? n.height - 1 : r};}-var lQe = (e, t) => [+var hQe = (e, t) => [0,3 * e,3 * t - 6 * e,3 * e - 3 * t + 1-], uQe = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), dQe = (e, t) => (n) => uQe(lQe(e, t), n), fQe = (e, t) => (n) => uQe([...lQe(e, t).map((e, t) => e * t).slice(1), 0], n), pQe = (e) => {+], gQe = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), _Qe = (e, t) => (n) => gQe(hQe(e, t), n), vQe = (e, t) => (n) => gQe([...hQe(e, t).map((e, t) => e * t).slice(1), 0], n), yQe = (e) => {var t, n = e.split("(");if (n.length !== 2 || n[0] !== "cubic-bezier") return null;var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");@@ -90837,7 +90957,7 @@ var lQe = (e, t) => [i[2],i[3]];-}, mQe = function() {+}, bQe = function() {var e = [...arguments];if (e.length === 1) switch (e[0]) {case "linear": return [@@ -90871,7 +90991,7 @@ var lQe = (e, t) => [1];default:- var t = pQe(e[0]);+ var t = yQe(e[0]);if (t) return t;}return e.length === 4 ? e : [@@ -90880,8 +91000,8 @@ var lQe = (e, t) => [1,1];-}, hQe = (e, t, n, r) => {- var i = dQe(e, n), a = dQe(t, r), o = fQe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {+}, xQe = (e, t, n, r) => {+ var i = _Qe(e, n), a = _Qe(t, r), o = vQe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {var c = i(n) - t, l = o(n);if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);@@ -90890,9 +91010,9 @@ var lQe = (e, t) => [return a(n);};return c.isStepper = !1, c;-}, gQe = function() {- return hQe(...mQe(...arguments));-}, _Qe = function() {+}, SQe = function() {+ return xQe(...bQe(...arguments));+}, CQe = function() {for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiff, n = t === void 0 ? 100 : t, r = e.damping, i = r === void 0 ? 8 : r, a = e.dt, o = a === void 0 ? 16.67 : a, s = 1, c = [0], l = 0, u = 0, d = 1e4, f = 0; f < d;) {var p = -(l - s) * n, m = u * i;if (u += (p - m) * o / 1e3, l += u * o / 1e3, c.push(l), Math.abs(l - s) < 1e-4 && Math.abs(u) < 1e-4) break;@@ -90906,18 +91026,18 @@ var lQe = (e, t) => [var t = e * h, n = Math.floor(t), r = t - n;return (c[n] ?? 0) + ((c[n + 1] ?? 0) - (c[n] ?? 0)) * r;};-}, vQe = (e) => {+}, wQe = (e) => {if (typeof e == "string") switch (e) {case "ease":case "ease-in-out":case "ease-out":case "ease-in":- case "linear": return gQe(e);- case "spring": return _Qe();- default: if (e.split("(")[0] === "cubic-bezier") return gQe(e);+ case "linear": return SQe(e);+ case "spring": return CQe();+ default: if (e.split("(")[0] === "cubic-bezier") return SQe(e);}return typeof e == "function" ? e : null;-}, yQe = /*#__PURE__*/ (0, E.createContext)((e, t, n) => {+}, TQe = /*#__PURE__*/ (0, E.createContext)((e, t, n) => {var r, i = (a) => {var o = t.tick(a);if (t.getState() === "active") {@@ -90930,26 +91050,26 @@ var lQe = (e, t) => [};return r = e.setTimeout(i, 0), () => r?.();});-yQe.Provider;-function bQe(e) {- var t = (0, E.useContext)(yQe);+TQe.Provider;+function EQe(e) {+ var t = (0, E.useContext)(TQe);return (0, E.useMemo)(() => e ?? t, [e, t]);}//#endregion//#region node_modules/recharts/es6/animation/AnimationHandle.js-function xQe(e, t, n) {- return (t = SQe(t)) in e ? Object.defineProperty(e, t, {+function DQe(e, t, n) {+ return (t = OQe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function SQe(e) {- var t = CQe(e, "string");+function OQe(e) {+ var t = kQe(e, "string");return typeof t == "symbol" ? t : t + "";}-function CQe(e, t) {+function kQe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -90959,11 +91079,11 @@ function CQe(e, t) {}return (t === "string" ? String : Number)(e);}-var wQe = "init", TQe = "pending", EQe = "active", DQe = "completed";+var AQe = "init", jQe = "pending", MQe = "active", NQe = "completed";function $Q(e) {return Math.max(0, e);}-var OQe = class {+var PQe = class {getAnimationStartedTime() {return this.animationStartedTime;}@@ -90972,7 +91092,7 @@ var OQe = class {}constructor(e) {var t;- xQe(this, "state", wQe), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = $Q(e.animationDuration), this.animationBegin = $Q(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);+ DQe(this, "state", AQe), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = $Q(e.animationDuration), this.animationBegin = $Q(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);}getState() {return this.state;@@ -90984,13 +91104,13 @@ var OQe = class {return this.animationDuration;}tick(e) {- if (this.getState() === wQe) return this.state = TQe, this.beginStartedTime = e, this.animationBegin;- if (this.getState() === TQe) {+ if (this.getState() === AQe) return this.state = jQe, this.beginStartedTime = e, this.animationBegin;+ if (this.getState() === jQe) {if (this.beginStartedTime == null) throw Error();var t = e - this.beginStartedTime;- return t >= this.animationBegin ? (this.state = EQe, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : $Q(this.animationBegin - t);+ return t >= this.animationBegin ? (this.state = MQe, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : $Q(this.animationBegin - t);}- if (this.getState() === EQe) {+ if (this.getState() === MQe) {if (this.animationStartedTime == null) throw Error();var n = e - this.animationStartedTime;return this.setProgress(n / this.animationDuration), this.nextAnimationUpdate(n);@@ -91008,7 +91128,7 @@ var OQe = class {var e;(e = this.onAnimationEnd) == null || e.call(this);}- this.state = DQe;+ this.state = NQe;}getFrom() {return this.from;@@ -91022,14 +91142,14 @@ var OQe = class {getAnimationBegin() {return this.animationBegin;}-}, kQe = class extends OQe {+}, FQe = class extends PQe {nextAnimationUpdate() {return 0;}getInterpolated() {return this.easing(IY(this.getFrom(), this.getTo(), this.getProgress()));}-}, AQe = class {+}, IQe = class {setTimeout(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {a - n >= t ? e(a) : r = requestAnimationFrame(i);@@ -91041,25 +91161,25 @@ var OQe = class {};//#endregion//#region node_modules/recharts/es6/animation/JavascriptAnimate.js-function jQe(e, t) {- return IQe(e) || FQe(e, t) || NQe(e, t) || MQe();+function LQe(e, t) {+ return HQe(e) || VQe(e, t) || zQe(e, t) || RQe();}-function MQe() {+function RQe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function NQe(e, t) {+function zQe(e, t) {if (e) {- if (typeof e == "string") return PQe(e, t);+ if (typeof e == "string") return BQe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? PQe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? BQe(e, t) : void 0;}}-function PQe(e, t) {+function BQe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function FQe(e, t) {+function VQe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -91080,10 +91200,10 @@ function FQe(e, t) {return s;}}-function IQe(e) {+function HQe(e) {if (Array.isArray(e)) return e;}-var LQe = {+var UQe = {begin: 0,duration: 1e3,easing: "ease",@@ -91091,21 +91211,21 @@ var LQe = {canBegin: !0,onAnimationEnd: () => {},onAnimationStart: () => {}-}, RQe = 0, e$ = 1;-function zQe(e) {- var t = _X(e, LQe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = DZe(), f = r === "auto" ? !GQ.isSsr && !d : r, p = bQe(t.animationController), m = jQe((0, E.useState)(f ? RQe : e$), 2), h = m[0], g = m[1];+}, WQe = 0, e$ = 1;+function GQe(e) {+ var t = _X(e, UQe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = NZe(), f = r === "auto" ? !GQ.isSsr && !d : r, p = EQe(t.animationController), m = LQe((0, E.useState)(f ? WQe : e$), 2), h = m[0], g = m[1];return (0, E.useEffect)(() => {f || g(e$);}, [f]), (0, E.useEffect)(() => {- var e = vQe(o);- return !f || !i || e == null ? BY : p(new AQe(), new kQe({+ var e = wQe(o);+ return !f || !i || e == null ? BY : p(new IQe(), new FQe({animationId: n,easing: e,animationDuration: a,animationBegin: s,onAnimationStart: l,onAnimationEnd: c,- from: RQe,+ from: WQe,to: e$}), g);}, [@@ -91122,14 +91242,14 @@ function zQe(e) {}//#endregion//#region node_modules/recharts/es6/util/useAnimationId.js-function BQe(e) {+function KQe(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, E.useRef)(PY(t)), r = (0, E.useRef)(e);return r.current !== e && (n.current = PY(t), r.current = e), n.current;}//#endregion//#region node_modules/recharts/es6/animation/util.js-var VQe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), HQe = (e, t, n) => e.map((e) => `${VQe(e)} ${t}ms ${n}`).join(","), UQe = ["radius"], WQe = ["radius"], GQe, KQe, qQe, JQe, YQe, XQe, ZQe, QQe, $Qe, e$e;-function t$e(e, t) {+var qQe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), JQe = (e, t, n) => e.map((e) => `${qQe(e)} ${t}ms ${n}`).join(","), YQe = ["radius"], XQe = ["radius"], ZQe, QQe, $Qe, e$e, t$e, n$e, r$e, i$e, a$e, o$e;+function s$e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -91139,30 +91259,30 @@ function t$e(e, t) {}return n;}-function n$e(e) {+function c$e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? t$e(Object(n), !0).forEach(function(t) {- r$e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t$e(Object(n)).forEach(function(t) {+ t % 2 ? s$e(Object(n), !0).forEach(function(t) {+ l$e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s$e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function r$e(e, t, n) {- return (t = i$e(t)) in e ? Object.defineProperty(e, t, {+function l$e(e, t, n) {+ return (t = u$e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function i$e(e) {- var t = a$e(e, "string");+function u$e(e) {+ var t = d$e(e, "string");return typeof t == "symbol" ? t : t + "";}-function a$e(e, t) {+function d$e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -91181,16 +91301,16 @@ function t$() {return e;}, t$.apply(null, arguments);}-function o$e(e, t) {+function f$e(e, t) {if (e == null) return {};- var n, r, i = s$e(e, t);+ var n, r, i = p$e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function s$e(e, t) {+function p$e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -91199,25 +91319,25 @@ function s$e(e, t) {}return n;}-function c$e(e, t) {- return p$e(e) || f$e(e, t) || u$e(e, t) || l$e();+function m$e(e, t) {+ return y$e(e) || v$e(e, t) || g$e(e, t) || h$e();}-function l$e() {+function h$e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function u$e(e, t) {+function g$e(e, t) {if (e) {- if (typeof e == "string") return d$e(e, t);+ if (typeof e == "string") return _$e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? d$e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _$e(e, t) : void 0;}}-function d$e(e, t) {+function _$e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function f$e(e, t) {+function v$e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -91238,13 +91358,13 @@ function f$e(e, t) {return s;}}-function p$e(e) {+function y$e(e) {if (Array.isArray(e)) return e;}function n$(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var m$e = (e, t, n, r, i) => {+var b$e = (e, t, n, r, i) => {var a = DY(n), o = DY(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;if (s > 0 && Array.isArray(i)) {for (var f = [@@ -91256,44 +91376,44 @@ var m$e = (e, t, n, r, i) => {var h = i[p] ?? 0;f[p] = h > s ? s : h;}- d = OY(GQe ||= n$([+ d = OY(ZQe ||= n$(["M",",",""- ]), e, t + c * f[0]), f[0] > 0 && (d += OY(KQe ||= n$([+ ]), e, t + c * f[0]), f[0] > 0 && (d += OY(QQe ||= n$(["A ",",",",0,0,",",",",",""- ]), f[0], f[0], u, e + l * f[0], t)), d += OY(qQe ||= n$([+ ]), f[0], f[0], u, e + l * f[0], t)), d += OY($Qe ||= n$(["L ",",",""- ]), e + n - l * f[1], t), f[1] > 0 && (d += OY(JQe ||= n$([+ ]), e + n - l * f[1], t), f[1] > 0 && (d += OY(e$e ||= n$(["A ",",",",0,0,",",\n ",",",""- ]), f[1], f[1], u, e + n, t + c * f[1])), d += OY(YQe ||= n$([+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += OY(t$e ||= n$(["L ",",",""- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += OY(XQe ||= n$([+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += OY(n$e ||= n$(["A ",",",",0,0,",",\n ",",",""- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += OY(ZQe ||= n$([+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += OY(r$e ||= n$(["L ",",",""- ]), e + l * f[3], t + r), f[3] > 0 && (d += OY(QQe ||= n$([+ ]), e + l * f[3], t + r), f[3] > 0 && (d += OY(i$e ||= n$(["A ",",",",0,0,",@@ -91303,8 +91423,8 @@ var m$e = (e, t, n, r, i) => {]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";} else if (s > 0 && i === +i && i > 0) {var g = Math.min(s, i);- d = OY($Qe ||= n$(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);- } else d = OY(e$e ||= n$([+ d = OY(a$e ||= n$(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);+ } else d = OY(o$e ||= n$(["M ",","," h ",@@ -91313,7 +91433,7 @@ var m$e = (e, t, n, r, i) => {" Z"]), e, t, n, r, -n);return d;-}, h$e = {+}, x$e = {x: 0,y: 0,width: 0,@@ -91325,14 +91445,14 @@ var m$e = (e, t, n, r, i) => {animationDuration: 1500,animationEasing: "ease"}, r$ = (e) => {- var t = _X(e, h$e), n = (0, E.useRef)(null), r = c$e((0, E.useState)(-1), 2), i = r[0], a = r[1];+ var t = _X(e, x$e), n = (0, E.useRef)(null), r = m$e((0, E.useState)(-1), 2), i = r[0], a = r[1];(0, E.useEffect)(() => {if (n.current && n.current.getTotalLength) try {var e = n.current.getTotalLength();e && a(e);} catch {}}, []);- var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, E.useRef)(c), v = (0, E.useRef)(l), y = (0, E.useRef)(o), b = (0, E.useRef)(s), x = BQe((0, E.useMemo)(() => ({+ var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, E.useRef)(c), v = (0, E.useRef)(l), y = (0, E.useRef)(o), b = (0, E.useRef)(s), x = KQe((0, E.useMemo)(() => ({x: o,y: s,width: c,@@ -91350,7 +91470,7 @@ var m$e = (e, t, n, r, i) => {if (!g) {var C = _Y(t);C.radius;- var w = o$e(C, UQe);+ var w = f$e(C, YQe);return /*#__PURE__*/ E.createElement("path", t$({}, w, {x: DY(o),y: DY(s),@@ -91358,11 +91478,11 @@ var m$e = (e, t, n, r, i) => {height: DY(l),radius: typeof u == "number" ? u : void 0,className: S,- d: m$e(o, s, c, l, u)+ d: b$e(o, s, c, l, u)}));}- var T = _.current, D = v.current, O = y.current, k = b.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = HQe(["strokeDasharray"], p, typeof f == "string" ? f : h$e.animationEasing);- return /*#__PURE__*/ E.createElement(zQe, {+ var T = _.current, D = v.current, O = y.current, k = b.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = JQe(["strokeDasharray"], p, typeof f == "string" ? f : x$e.animationEasing);+ return /*#__PURE__*/ E.createElement(GQe, {animationId: x,key: x,canBegin: i > 0,@@ -91378,19 +91498,19 @@ var m$e = (e, t, n, r, i) => {strokeDasharray: j} : { strokeDasharray: A } : { strokeDasharray: j }, p = _Y(t);p.radius;- var m = o$e(p, WQe);+ var m = f$e(p, XQe);return /*#__PURE__*/ E.createElement("path", t$({}, m, {radius: typeof u == "number" ? u : void 0,className: S,- d: m$e(a, d, r, i, u),+ d: b$e(a, d, r, i, u),ref: n,- style: n$e(n$e({}, f), t.style)+ style: c$e(c$e({}, f), t.style)}));});};//#endregion//#region node_modules/recharts/es6/util/PolarUtils.js-function g$e(e, t) {+function S$e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -91400,30 +91520,30 @@ function g$e(e, t) {}return n;}-function _$e(e) {+function C$e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? g$e(Object(n), !0).forEach(function(t) {- v$e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g$e(Object(n)).forEach(function(t) {+ t % 2 ? S$e(Object(n), !0).forEach(function(t) {+ w$e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S$e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function v$e(e, t, n) {- return (t = y$e(t)) in e ? Object.defineProperty(e, t, {+function w$e(e, t, n) {+ return (t = T$e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function y$e(e) {- var t = b$e(e, "string");+function T$e(e) {+ var t = E$e(e, "string");return typeof t == "symbol" ? t : t + "";}-function b$e(e, t) {+function E$e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -91433,10 +91553,10 @@ function b$e(e, t) {}return (t === "string" ? String : Number)(e);}-var i$ = Math.PI / 180, a$ = (e) => e * Math.PI / 180, x$e = (e) => e * 180 / Math.PI, o$ = (e, t, n, r) => ({+var i$ = Math.PI / 180, a$ = (e) => e * Math.PI / 180, D$e = (e) => e * 180 / Math.PI, o$ = (e, t, n, r) => ({x: e + Math.cos(-i$ * r) * n,y: t + Math.sin(-i$ * r) * n-}), S$e = function(e, t) {+}), O$e = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {top: 0,right: 0,@@ -91447,11 +91567,11 @@ var i$ = Math.PI / 180, a$ = (e) => e * Math.PI / 180, x$e = (e) => e * 180 / MabrushBottom: 0};return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;-}, C$e = (e, t) => {+}, k$e = (e, t) => {var n = e.x, r = e.y, i = t.x, a = t.y;return Math.sqrt((n - i) ** 2 + (r - a) ** 2);-}, w$e = (e, t) => {- var n = e.x, r = e.y, i = t.cx, a = t.cy, o = C$e({+}, A$e = (e, t) => {+ var n = e.x, r = e.y, i = t.cx, a = t.cy, o = k$e({x: n,y: r}, {@@ -91465,25 +91585,25 @@ var i$ = Math.PI / 180, a$ = (e) => e * Math.PI / 180, x$e = (e) => e * 180 / Mavar s = (n - i) / o, c = Math.acos(s);return r > a && (c = 2 * Math.PI - c), {radius: o,- angle: x$e(c),+ angle: D$e(c),angleInRadian: c};-}, T$e = (e) => {+}, j$e = (e) => {var t = e.startAngle, n = e.endAngle, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);return {startAngle: t - a * 360,endAngle: n - a * 360};-}, E$e = (e, t) => {+}, M$e = (e, t) => {var n = t.startAngle, r = t.endAngle, i = Math.floor(n / 360), a = Math.floor(r / 360);return e + Math.min(i, a) * 360;-}, D$e = (e, t) => {- var n = e.relativeX, r = e.relativeY, i = w$e({+}, N$e = (e, t) => {+ var n = e.relativeX, r = e.relativeY, i = A$e({x: n,y: r}, t), a = i.radius, o = i.angle, s = t.innerRadius, c = t.outerRadius;if (a < s || a > c || a === 0) return null;- var l = T$e(t), u = l.startAngle, d = l.endAngle, f = o, p;+ var l = j$e(t), u = l.startAngle, d = l.endAngle, f = o, p;if (u <= d) {for (; f > d;) f -= 360;for (; f < u;) f += 360;@@ -91493,14 +91613,14 @@ var i$ = Math.PI / 180, a$ = (e) => e * Math.PI / 180, x$e = (e) => e * 180 / Mafor (; f < d;) f += 360;p = f >= d && f <= u;}- return p ? _$e(_$e({}, t), {}, {+ return p ? C$e(C$e({}, t), {}, {radius: a,- angle: E$e(f, t)+ angle: M$e(f, t)}) : null;};//#endregion//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js-function O$e(e) {+function P$e(e) {var t = e.cx, n = e.cy, r = e.radius, i = e.startAngle, a = e.endAngle;return {points: [o$(t, n, r, i), o$(t, n, r, a)],@@ -91513,7 +91633,7 @@ function O$e(e) {}//#endregion//#region node_modules/recharts/es6/shape/Sector.js-var k$e, A$e, j$e, M$e, N$e, P$e, F$e;+var F$e, I$e, L$e, R$e, z$e, B$e, V$e;function s$() {return s$ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -91526,7 +91646,7 @@ function s$() {function c$(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) => {+var H$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) => {var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / i$, d = c ? i : i + a * u, f = o$(t, n, l, d), p = o$(t, n, r, d), m = c ? i - a * u : i;return {center: f,@@ -91534,8 +91654,8 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>lineTangency: o$(t, n, l * Math.cos(u * i$), m),theta: u};-}, L$e = (e) => {- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = I$e(a, o), c = a + s, l = o$(t, n, i, a), u = o$(t, n, i, c), d = OY(k$e ||= c$([+}, U$e = (e) => {+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = H$e(a, o), c = a + s, l = o$(t, n, i, a), u = o$(t, n, i, c), d = OY(F$e ||= c$(["M ",",","\n A ",@@ -91548,7 +91668,7 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);if (r > 0) {var f = o$(t, n, r, a), p = o$(t, n, r, c);- d += OY(A$e ||= c$([+ d += OY(I$e ||= c$(["L ",",","\n A ",@@ -91559,13 +91679,13 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>","," Z"]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);- } else d += OY(j$e ||= c$([+ } else d += OY(L$e ||= c$(["L ",","," Z"]), t, n);return d;-}, R$e = (e) => {+}, W$e = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = kY(l - c), d = l$({cx: t,cy: n,@@ -91583,7 +91703,7 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>cornerRadius: a,cornerIsExternal: s}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;- if (y < 0) return o ? OY(M$e ||= c$([+ if (y < 0) return o ? OY(R$e ||= c$(["M ",",","\n a",@@ -91593,7 +91713,7 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>",",",0,0,1,",",0\n "- ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : L$e({+ ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : U$e({cx: t,cy: n,innerRadius: r,@@ -91601,7 +91721,7 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>startAngle: c,endAngle: l});- var b = OY(N$e ||= c$([+ var b = OY(z$e ||= c$(["M ",",","\n A",@@ -91643,7 +91763,7 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>cornerIsExternal: s}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;if (k < 0 && a === 0) return `${b}L${t},${n}Z`;- b += OY(P$e ||= c$([+ b += OY(B$e ||= c$(["L",",","\n A",@@ -91664,13 +91784,13 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>",","Z"]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);- } else b += OY(F$e ||= c$([+ } else b += OY(V$e ||= c$(["L",",","Z"]), t, n);return b;-}, z$e = {+}, G$e = {cx: 0,cy: 0,innerRadius: 0,@@ -91681,9 +91801,9 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>forceCornerRadius: !1,cornerIsExternal: !1}, u$ = (e) => {- var t = _X(e, z$e), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;+ var t = _X(e, G$e), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;if (a < i || l === u) return null;- var f = Uv("recharts-sector", d), p = a - i, m = FY(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? R$e({+ var f = Uv("recharts-sector", d), p = a - i, m = FY(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? W$e({cx: n,cy: r,innerRadius: i,@@ -91693,7 +91813,7 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>cornerIsExternal: c,startAngle: l,endAngle: u- }) : L$e({+ }) : U$e({cx: n,cy: r,innerRadius: i,@@ -91708,7 +91828,7 @@ var I$e = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 359.999), l$ = (e) =>};//#endregion//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js-function B$e(e, t, n) {+function K$e(e, t, n) {if (e === "horizontal") return [{x: t.x,y: n.top@@ -91723,7 +91843,7 @@ function B$e(e, t, n) {x: n.left + n.width,y: t.y}];- if (pGe(t)) {+ if (yGe(t)) {if (e === "centric") {var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = o$(r, i, a, s), l = o$(r, i, o, s);return [{@@ -91734,22 +91854,22 @@ function B$e(e, t, n) {y: l.y}];}- return O$e(t);+ return P$e(t);}}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs-function V$e(e) {+function q$e(e) {return wY(e) ? NaN : Number(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjsfunction d$(e) {- return e ? (e = V$e(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;+ return e ? (e = q$e(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;}//#endregion//#region node_modules/es-toolkit/dist/compat/math/range.mjs-function H$e(e, t, n) {+function J$e(e, t, n) {n && typeof n != "number" && zX(e, t, n) && (t = n = void 0), e = d$(e), t === void 0 ? (t = e, e = 0) : t = d$(t), n = n === void 0 ? e < t ? 1 : -1 : d$(n);let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);for (let t = 0; t < r; t++) i[t] = e, e += n;@@ -91765,37 +91885,37 @@ var f$ = (e) => e.chartData, p$ = X([f$], (e) => {dataEndIndex: t,dataStartIndex: 0};-}), m$ = (e, t, n, r) => r ? p$(e) : f$(e), U$e = (e, t, n) => n ? p$(e) : f$(e), W$e = X([m$], (e) => {+}), m$ = (e, t, n, r) => r ? p$(e) : f$(e), Y$e = (e, t, n) => n ? p$(e) : f$(e), X$e = X([m$], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);-}), G$e = X([p$], (e) => {+}), Z$e = X([p$], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);-}), K$e = X([f$], (e) => {+}), Q$e = X([f$], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);});//#endregion//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.jsfunction h$(e, t) {- return Z$e(e) || X$e(e, t) || J$e(e, t) || q$e();+ return r1e(e) || n1e(e, t) || e1e(e, t) || $$e();}-function q$e() {+function $$e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function J$e(e, t) {+function e1e(e, t) {if (e) {- if (typeof e == "string") return Y$e(e, t);+ if (typeof e == "string") return t1e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Y$e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? t1e(e, t) : void 0;}}-function Y$e(e, t) {+function t1e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function X$e(e, t) {+function n1e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -91816,7 +91936,7 @@ function X$e(e, t) {return s;}}-function Z$e(e) {+function r1e(e) {if (Array.isArray(e)) return e;}function g$(e) {@@ -91826,10 +91946,10 @@ function g$(e) {}return !1;}-function Q$e(e, t, n) {+function i1e(e, t, n) {return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];}-function $$e(e, t) {+function a1e(e, t) {if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {var n = h$(e, 2), r = n[0], i = n[1], a, o;if (nQ(r)) a = r;@@ -91840,11 +91960,11 @@ function $$e(e, t) {if (g$(s)) return s;}}-function e1e(e, t, n) {+function o1e(e, t, n) {if (n || t != null) {if (typeof e == "function" && t != null) try {var r = e(t, n);- if (g$(r)) return Q$e(r, t, n);+ if (g$(r)) return i1e(r, t, n);} catch {}if (Array.isArray(e) && e.length === 2) {var i = h$(e, 2), a = i[0], o = i[1], s, c;@@ -91853,8 +91973,8 @@ function e1e(e, t, n) {else if (typeof a == "function") try {t != null && (s = a(t?.[0]));} catch {}- else if (typeof a == "string" && lYe.test(a)) {- var l = lYe.exec(a);+ else if (typeof a == "string" && hYe.test(a)) {+ var l = hYe.exec(a);if (l == null || l[1] == null || t == null) s = void 0;else {var u = +l[1];@@ -91866,8 +91986,8 @@ function e1e(e, t, n) {else if (typeof o == "function") try {t != null && (c = o(t?.[1]));} catch {}- else if (typeof o == "string" && uYe.test(o)) {- var d = uYe.exec(o);+ else if (typeof o == "string" && gYe.test(o)) {+ var d = gYe.exec(o);if (d == null || d[1] == null || t == null) c = void 0;else {var f = +d[1];@@ -91875,7 +91995,7 @@ function e1e(e, t, n) {}} else c = t?.[1];var p = [s, c];- if (g$(p)) return t == null ? p : Q$e(p, t, n);+ if (g$(p)) return t == null ? p : i1e(p, t, n);}}}@@ -92256,34 +92376,34 @@ var _$ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);})(e);})))());-function t1e(e) {+function s1e(e) {return e === 0 ? 1 : Math.floor(new _$.default(e).abs().log(10).toNumber()) + 1;}-function n1e(e, t, n) {+function c1e(e, t, n) {for (var r = new _$.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;return a;}//#endregion//#region node_modules/recharts/es6/util/scale/getNiceTickValues.jsfunction v$(e, t) {- return s1e(e) || o1e(e, t) || i1e(e, t) || r1e();+ return p1e(e) || f1e(e, t) || u1e(e, t) || l1e();}-function r1e() {+function l1e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function i1e(e, t) {+function u1e(e, t) {if (e) {- if (typeof e == "string") return a1e(e, t);+ if (typeof e == "string") return d1e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? a1e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? d1e(e, t) : void 0;}}-function a1e(e, t) {+function d1e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function o1e(e, t) {+function f1e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -92304,17 +92424,17 @@ function o1e(e, t) {return s;}}-function s1e(e) {+function p1e(e) {if (Array.isArray(e)) return e;}-var c1e = (e) => {+var m1e = (e) => {var t = v$(e, 2), n = t[0], r = t[1], i = n, a = r;return n > r && (i = r, a = n), [i, a];}, y$ = (e, t, n) => {if (e.lte(0)) return new _$.default(0);- var r = t1e(e.toNumber()), i = new _$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new _$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);+ var r = s1e(e.toNumber()), i = new _$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new _$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);return t ? new _$.default(s.toNumber()) : new _$.default(Math.ceil(s.toNumber()));-}, l1e = (e, t, n) => {+}, h1e = (e, t, n) => {if (e.lte(0)) return new _$.default(0);var r = [1,@@ -92328,15 +92448,15 @@ var c1e = (e) => {}var u = r[c] ?? 1, d = new _$.default(u).mul(o);return t ? d : new _$.default(Math.ceil(d.toNumber()));-}, u1e = (e, t, n) => {+}, g1e = (e, t, n) => {var r = new _$.default(1), i = new _$.default(e);if (!i.isint() && n) {var a = Math.abs(e);- a < 1 ? (r = new _$.default(10).pow(t1e(e) - 1), i = new _$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new _$.default(Math.floor(e)));+ a < 1 ? (r = new _$.default(10).pow(s1e(e) - 1), i = new _$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new _$.default(Math.floor(e)));} else e === 0 ? i = new _$.default(Math.floor((t - 1) / 2)) : n || (i = new _$.default(Math.floor(e)));for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new _$.default(c - o).mul(r)).toNumber());return s;-}, d1e = function(e, t, n, r) {+}, _1e = function(e, t, n, r) {var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : y$;if (!Number.isFinite((t - e) / (n - 1))) return {step: new _$.default(0),@@ -92346,32 +92466,32 @@ var c1e = (e) => {var o = a(new _$.default(t).sub(e).div(n - 1), r, i), s;e <= 0 && t >= 0 ? s = new _$.default(0) : (s = new _$.default(e).add(t).div(2), s = s.sub(new _$.default(s).mod(o)));var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new _$.default(t).sub(s).div(o).toNumber()), u = c + l + 1;- return u > n ? d1e(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {+ return u > n ? _1e(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {step: o,tickMin: s.sub(new _$.default(c).mul(o)),tickMax: s.add(new _$.default(l).mul(o))});-}, f1e = function(e) {- var t = v$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = v$(c1e([n, r]), 2), l = c[0], u = c[1];+}, v1e = function(e) {+ var t = v$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = v$(m1e([n, r]), 2), l = c[0], u = c[1];if (l === -Infinity || u === Infinity) {var d = u === Infinity ? [l, ...Array(i - 1).fill(Infinity)] : [...Array(i - 1).fill(-Infinity), u];return n > r ? d.reverse() : d;}- if (l === u) return u1e(l, i, a);- var f = d1e(l, u, s, a, 0, o === "snap125" ? l1e : y$), p = f.step, m = f.tickMin, h = f.tickMax, g = n1e(m, h.add(new _$.default(.1).mul(p)), p);+ if (l === u) return g1e(l, i, a);+ var f = _1e(l, u, s, a, 0, o === "snap125" ? h1e : y$), p = f.step, m = f.tickMin, h = f.tickMax, g = c1e(m, h.add(new _$.default(.1).mul(p)), p);return n > r ? g.reverse() : g;-}, p1e = function(e, t) {- var n = v$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = v$(c1e([r, i]), 2), c = s[0], l = s[1];+}, y1e = function(e, t) {+ var n = v$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = v$(m1e([r, i]), 2), c = s[0], l = s[1];if (c === -Infinity || l === Infinity) return [r, i];if (c === l) return [c];- var u = o === "snap125" ? l1e : y$, d = Math.max(t, 2), f = u(new _$.default(l).sub(c).div(d - 1), a, 0), p = [...n1e(new _$.default(c), new _$.default(l), f), l];+ var u = o === "snap125" ? h1e : y$, d = Math.max(t, 2), f = u(new _$.default(l).sub(c).div(d - 1), a, 0), p = [...c1e(new _$.default(c), new _$.default(l), f), l];if (a === !1) {p = p.map((e) => Math.round(e));var m = p.length - 1;m > 0 && p[m] === p[m - 1] && (p = p.slice(0, m));}return r > i ? p.reverse() : p;-}, b$ = (e) => e.rootProps.maxBarSize, m1e = (e) => e.rootProps.barGap, x$ = (e) => e.rootProps.barCategoryGap, h1e = (e) => e.rootProps.barSize, S$ = (e) => e.rootProps.stackOffset, C$ = (e) => e.rootProps.reverseStackOrder, w$ = (e) => e.options.chartName, T$ = (e) => e.rootProps.syncId, g1e = (e) => e.rootProps.syncMethod, E$ = (e) => e.options.eventEmitter, _1e = (e) => e.rootProps.baseValue, D$ = {+}, b$ = (e) => e.rootProps.maxBarSize, b1e = (e) => e.rootProps.barGap, x$ = (e) => e.rootProps.barCategoryGap, x1e = (e) => e.rootProps.barSize, S$ = (e) => e.rootProps.stackOffset, C$ = (e) => e.rootProps.reverseStackOrder, w$ = (e) => e.options.chartName, T$ = (e) => e.rootProps.syncId, S1e = (e) => e.rootProps.syncMethod, E$ = (e) => e.options.eventEmitter, C1e = (e) => e.rootProps.baseValue, D$ = {grid: -100,barBackground: -50,area: 100,@@ -92437,7 +92557,7 @@ function j$(e, t, n) {}//#endregion//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js-function v1e(e, t) {+function w1e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -92450,27 +92570,27 @@ function v1e(e, t) {function M$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? v1e(Object(n), !0).forEach(function(t) {- y1e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v1e(Object(n)).forEach(function(t) {+ t % 2 ? w1e(Object(n), !0).forEach(function(t) {+ T1e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w1e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function y1e(e, t, n) {- return (t = b1e(t)) in e ? Object.defineProperty(e, t, {+function T1e(e, t, n) {+ return (t = E1e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function b1e(e) {- var t = x1e(e, "string");+function E1e(e) {+ var t = D1e(e, "string");return typeof t == "symbol" ? t : t + "";}-function x1e(e, t) {+function D1e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -92480,7 +92600,7 @@ function x1e(e, t) {}return (t === "string" ? String : Number)(e);}-var S1e = {+var O1e = {allowDataOverflow: O$.allowDataOverflow,allowDecimals: O$.allowDecimals,allowDuplicatedCategory: !1,@@ -92497,7 +92617,7 @@ var S1e = {type: O$.type,unit: void 0,niceTicks: "auto"-}, C1e = {+}, k1e = {allowDataOverflow: k$.allowDataOverflow,allowDecimals: k$.allowDecimals,allowDuplicatedCategory: k$.allowDuplicatedCategory,@@ -92518,31 +92638,31 @@ var S1e = {if (t != null) return e.polarAxis.angleAxis[t];}, PQ], (e, t) => {if (e != null) return e;- var n = j$(t, "angleAxis", S1e.type) ?? "category";- return M$(M$({}, S1e), {}, { type: n });+ var n = j$(t, "angleAxis", O1e.type) ?? "category";+ return M$(M$({}, O1e), {}, { type: n });}), P$ = X([(e, t) => e.polarAxis.radiusAxis[t], PQ], (e, t) => {if (e != null) return e;- var n = j$(t, "radiusAxis", C1e.type) ?? "category";- return M$(M$({}, C1e), {}, { type: n });+ var n = j$(t, "radiusAxis", k1e.type) ?? "category";+ return M$(M$({}, k1e), {}, { type: n });}), F$ = (e) => e.polarOptions, I$ = X([fQ,pQ,vQ-], S$e), w1e = X([F$, I$], (e, t) => {+], O$e), A1e = X([F$, I$], (e, t) => {if (e != null) return FY(e.innerRadius, t, 0);-}), T1e = X([F$, I$], (e, t) => {+}), j1e = X([F$, I$], (e, t) => {if (e != null) return FY(e.outerRadius, t, t * .8);-}), E1e = X([F$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), D1e = X([N$, E1e], A$), O1e = X([+}), M1e = X([F$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), N1e = X([N$, M1e], A$), P1e = X([I$,- w1e,- T1e+ A1e,+ j1e], (e, t, n) => {if (e != null && t != null && n != null) return [t, n];-}), k1e = X([P$, O1e], A$), L$ = X([+}), F1e = X([P$, P1e], A$), L$ = X([jQ,F$,- w1e,- T1e,+ A1e,+ j1e,fQ,pQ], (e, t, n, r, i, a) => {@@ -92592,7 +92712,7 @@ var U$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&function W$(e, t) {return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;}-function A1e(e, t) {+function I1e(e, t) {if (e.length === t.length) {for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;return !0;@@ -92648,7 +92768,7 @@ function q$(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js-var j1e = (e, t) => {+var L1e = (e, t) => {if (t != null) switch (e) {case "linear":if (!g$(t)) {@@ -92671,7 +92791,7 @@ function J$(e, t) {//#region node_modules/d3-array/src/bisector.jsfunction Y$(e) {let t = e, n = e;- e.length === 1 && (t = (t, n) => e(t) - n, n = M1e(e));+ e.length === 1 && (t = (t, n) => e(t) - n, n = R1e(e));function r(e, t, r, i) {for (r ??= 0, i ??= e.length; r < i;) {let a = r + i >>> 1;@@ -92697,15 +92817,15 @@ function Y$(e) {right: i};}-function M1e(e) {+function R1e(e) {return (t, n) => J$(e(t), n);}//#endregion//#region node_modules/d3-array/src/number.js-function N1e(e) {+function z1e(e) {return e === null ? NaN : +e;}-function* P1e(e, t) {+function* B1e(e, t) {if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);else {let n = -1;@@ -92714,43 +92834,43 @@ function* P1e(e, t) {}//#endregion//#region node_modules/d3-array/src/bisect.js-var F1e = Y$(J$), X$ = F1e.right;-F1e.left, Y$(N1e).center;+var V1e = Y$(J$), X$ = V1e.right;+V1e.left, Y$(z1e).center;//#endregion//#region node_modules/internmap/src/index.js-var I1e = class extends Map {- constructor(e, t = B1e) {+var H1e = class extends Map {+ constructor(e, t = K1e) {if (super(), Object.defineProperties(this, {_intern: { value: /* @__PURE__ */ new Map() },_key: { value: t }}), e != null) for (let [t, n] of e) this.set(t, n);}get(e) {- return super.get(L1e(this, e));+ return super.get(U1e(this, e));}has(e) {- return super.has(L1e(this, e));+ return super.has(U1e(this, e));}set(e, t) {- return super.set(R1e(this, e), t);+ return super.set(W1e(this, e), t);}delete(e) {- return super.delete(z1e(this, e));+ return super.delete(G1e(this, e));}};-function L1e({ _intern: e, _key: t }, n) {+function U1e({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) ? e.get(r) : n;}-function R1e({ _intern: e, _key: t }, n) {+function W1e({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) ? e.get(r) : (e.set(r, n), n);}-function z1e({ _intern: e, _key: t }, n) {+function G1e({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) && (n = e.get(n), e.delete(r)), n;}-function B1e(e) {+function K1e(e) {return typeof e == "object" && e ? e.valueOf() : e;}//#endregion@@ -92759,7 +92879,7 @@ var Z$ = Math.sqrt(50), Q$ = Math.sqrt(10), $$ = Math.sqrt(2);function e1(e, t, n) {var r, i = -1, a, o, s;if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];- if ((r = t < e) && (a = e, e = t, t = a), (s = V1e(e, t, n)) === 0 || !isFinite(s)) return [];+ if ((r = t < e) && (a = e, e = t, t = a), (s = q1e(e, t, n)) === 0 || !isFinite(s)) return [];if (s > 0) {let n = Math.round(e / s), r = Math.round(t / s);for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;@@ -92770,7 +92890,7 @@ function e1(e, t, n) {}return r && o.reverse(), o;}-function V1e(e, t, n) {+function q1e(e, t, n) {var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;return i >= 0 ? (a >= Z$ ? 10 : a >= Q$ ? 5 : a >= $$ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= Z$ ? 10 : a >= Q$ ? 5 : a >= $$ ? 2 : 1);}@@ -92802,11 +92922,11 @@ function r1(e, t) {}//#endregion//#region node_modules/d3-array/src/quickselect.js-function H1e(e, t, n = 0, r = e.length - 1, i = J$) {+function J1e(e, t, n = 0, r = e.length - 1, i = J$) {for (; r > n;) {if (r - n > 600) {let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);- H1e(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);+ J1e(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);}let a = e[t], o = n, s = r;for (i1(e, n, t), i(e[r], a) > 0 && i1(e, n, r); o < s;) {@@ -92823,15 +92943,15 @@ function i1(e, t, n) {}//#endregion//#region node_modules/d3-array/src/quantile.js-function U1e(e, t, n) {- if (e = Float64Array.from(P1e(e, n)), r = e.length) {+function Y1e(e, t, n) {+ if (e = Float64Array.from(B1e(e, n)), r = e.length) {if ((t = +t) <= 0 || r < 2) return r1(e);if (t >= 1) return n1(e);- var r, i = (r - 1) * t, a = Math.floor(i), o = n1(H1e(e, a).subarray(0, a + 1));+ var r, i = (r - 1) * t, a = Math.floor(i), o = n1(J1e(e, a).subarray(0, a + 1));return o + (r1(e.subarray(a + 1)) - o) * (i - a);}}-function W1e(e, t, n = N1e) {+function X1e(e, t, n = z1e) {if (r = e.length) {if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);if (t >= 1) return +n(e[r - 1], r - 1, e);@@ -92841,7 +92961,7 @@ function W1e(e, t, n = N1e) {}//#endregion//#region node_modules/d3-array/src/range.js-function G1e(e, t, n) {+function Z1e(e, t, n) {e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;return a;@@ -92883,7 +93003,7 @@ function s1(e, t) {//#region node_modules/d3-scale/src/ordinal.jsvar c1 = Symbol("implicit");function l1() {- var e = new I1e(), t = [], n = [], r = c1;+ var e = new H1e(), t = [], n = [], r = c1;function i(i) {let a = e.get(i);if (a === void 0) {@@ -92894,7 +93014,7 @@ function l1() {}return i.domain = function(n) {if (!arguments.length) return t.slice();- t = [], e = new I1e();+ t = [], e = new H1e();for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);return i;}, i.range = function(e) {@@ -92913,7 +93033,7 @@ function u1() {function d() {var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));- var m = G1e(e).map(function(e) {+ var m = Z1e(e).map(function(e) {return f + a * e;});return n(d ? m.reverse() : m);@@ -92942,21 +93062,21 @@ function u1() {return u1(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);}, o1.apply(d(), arguments);}-function K1e(e) {+function Q1e(e) {var t = e.copy;return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {- return K1e(t());+ return Q1e(t());}, e;}-function q1e() {- return K1e(u1.apply(null, arguments).paddingInner(1));+function $1e() {+ return Q1e(u1.apply(null, arguments).paddingInner(1));}//#endregion//#region node_modules/d3-color/src/define.jsfunction d1(e, t, n) {e.prototype = t.prototype = n, n.constructor = e;}-function J1e(e, t) {+function e0e(e, t) {var n = Object.create(e.prototype);for (var r in t) n[r] = t[r];return n;@@ -92964,7 +93084,7 @@ function J1e(e, t) {//#endregion//#region node_modules/d3-color/src/color.jsfunction f1() {}-var p1 = .7, m1 = 1 / p1, h1 = "\\s*([+-]?\\d+)\\s*", g1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", _1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Y1e = /^#([0-9a-f]{3,8})$/, X1e = RegExp(`^rgb\\(${h1},${h1},${h1}\\)$`), Z1e = RegExp(`^rgb\\(${_1},${_1},${_1}\\)$`), Q1e = RegExp(`^rgba\\(${h1},${h1},${h1},${g1}\\)$`), $1e = RegExp(`^rgba\\(${_1},${_1},${_1},${g1}\\)$`), e0e = RegExp(`^hsl\\(${g1},${_1},${_1}\\)$`), t0e = RegExp(`^hsla\\(${g1},${_1},${_1},${g1}\\)$`), n0e = {+var p1 = .7, m1 = 1 / p1, h1 = "\\s*([+-]?\\d+)\\s*", g1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", _1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", t0e = /^#([0-9a-f]{3,8})$/, n0e = RegExp(`^rgb\\(${h1},${h1},${h1}\\)$`), r0e = RegExp(`^rgb\\(${_1},${_1},${_1}\\)$`), i0e = RegExp(`^rgba\\(${h1},${h1},${h1},${g1}\\)$`), a0e = RegExp(`^rgba\\(${_1},${_1},${_1},${g1}\\)$`), o0e = RegExp(`^hsl\\(${g1},${_1},${_1}\\)$`), s0e = RegExp(`^hsla\\(${g1},${_1},${_1},${g1}\\)$`), c0e = {aliceblue: 15792383,antiquewhite: 16444375,aqua: 65535,@@ -93121,45 +93241,45 @@ d1(f1, v1, {displayable() {return this.rgb().displayable();},- hex: r0e,- formatHex: r0e,- formatHex8: i0e,- formatHsl: a0e,- formatRgb: o0e,- toString: o0e+ hex: l0e,+ formatHex: l0e,+ formatHex8: u0e,+ formatHsl: d0e,+ formatRgb: f0e,+ toString: f0e});-function r0e() {+function l0e() {return this.rgb().formatHex();}-function i0e() {+function u0e() {return this.rgb().formatHex8();}-function a0e() {- return p0e(this).formatHsl();+function d0e() {+ return y0e(this).formatHsl();}-function o0e() {+function f0e() {return this.rgb().formatRgb();}function v1(e) {var t, n;- return e = (e + "").trim().toLowerCase(), (t = Y1e.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? s0e(t) : n === 3 ? new x1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? y1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? y1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = X1e.exec(e)) ? new x1(t[1], t[2], t[3], 1) : (t = Z1e.exec(e)) ? new x1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Q1e.exec(e)) ? y1(t[1], t[2], t[3], t[4]) : (t = $1e.exec(e)) ? y1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = e0e.exec(e)) ? f0e(t[1], t[2] / 100, t[3] / 100, 1) : (t = t0e.exec(e)) ? f0e(t[1], t[2] / 100, t[3] / 100, t[4]) : n0e.hasOwnProperty(e) ? s0e(n0e[e]) : e === "transparent" ? new x1(NaN, NaN, NaN, 0) : null;+ return e = (e + "").trim().toLowerCase(), (t = t0e.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? p0e(t) : n === 3 ? new x1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? y1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? y1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = n0e.exec(e)) ? new x1(t[1], t[2], t[3], 1) : (t = r0e.exec(e)) ? new x1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = i0e.exec(e)) ? y1(t[1], t[2], t[3], t[4]) : (t = a0e.exec(e)) ? y1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = o0e.exec(e)) ? v0e(t[1], t[2] / 100, t[3] / 100, 1) : (t = s0e.exec(e)) ? v0e(t[1], t[2] / 100, t[3] / 100, t[4]) : c0e.hasOwnProperty(e) ? p0e(c0e[e]) : e === "transparent" ? new x1(NaN, NaN, NaN, 0) : null;}-function s0e(e) {+function p0e(e) {return new x1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);}function y1(e, t, n, r) {return r <= 0 && (e = t = n = NaN), new x1(e, t, n, r);}-function c0e(e) {+function m0e(e) {return e instanceof f1 || (e = v1(e)), e ? (e = e.rgb(), new x1(e.r, e.g, e.b, e.opacity)) : new x1();}function b1(e, t, n, r) {- return arguments.length === 1 ? c0e(e) : new x1(e, t, n, r ?? 1);+ return arguments.length === 1 ? m0e(e) : new x1(e, t, n, r ?? 1);}function x1(e, t, n, r) {this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;}-d1(x1, b1, J1e(f1, {+d1(x1, b1, e0e(f1, {brighter(e) {return e = e == null ? m1 : m1 ** +e, new x1(this.r * e, this.g * e, this.b * e, this.opacity);},@@ -93175,19 +93295,19 @@ d1(x1, b1, J1e(f1, {displayable() {return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;},- hex: l0e,- formatHex: l0e,- formatHex8: u0e,- formatRgb: d0e,- toString: d0e+ hex: h0e,+ formatHex: h0e,+ formatHex8: g0e,+ formatRgb: _0e,+ toString: _0e}));-function l0e() {+function h0e() {return `#${w1(this.r)}${w1(this.g)}${w1(this.b)}`;}-function u0e() {+function g0e() {return `#${w1(this.r)}${w1(this.g)}${w1(this.b)}${w1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;}-function d0e() {+function _0e() {let e = S1(this.opacity);return `${e === 1 ? "rgb(" : "rgba("}${C1(this.r)}, ${C1(this.g)}, ${C1(this.b)}${e === 1 ? ")" : `, ${e})`}`;}@@ -93200,10 +93320,10 @@ function C1(e) {function w1(e) {return e = C1(e), (e < 16 ? "0" : "") + e.toString(16);}-function f0e(e, t, n, r) {+function v0e(e, t, n, r) {return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new T1(e, t, n, r);}-function p0e(e) {+function y0e(e) {if (e instanceof T1) return new T1(e.h, e.s, e.l, e.opacity);if (e instanceof f1 || (e = v1(e)), !e) return new T1();if (e instanceof T1) return e;@@ -93211,13 +93331,13 @@ function p0e(e) {var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new T1(o, s, c, e.opacity);}-function m0e(e, t, n, r) {- return arguments.length === 1 ? p0e(e) : new T1(e, t, n, r ?? 1);+function b0e(e, t, n, r) {+ return arguments.length === 1 ? y0e(e) : new T1(e, t, n, r ?? 1);}function T1(e, t, n, r) {this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;}-d1(T1, m0e, J1e(f1, {+d1(T1, b0e, e0e(f1, {brighter(e) {return e = e == null ? m1 : m1 ** +e, new T1(this.h, this.s, this.l * e, this.opacity);},@@ -93229,17 +93349,17 @@ d1(T1, m0e, J1e(f1, {return new x1(D1(e >= 240 ? e - 240 : e + 120, i, r), D1(e, i, r), D1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);},clamp() {- return new T1(h0e(this.h), E1(this.s), E1(this.l), S1(this.opacity));+ return new T1(x0e(this.h), E1(this.s), E1(this.l), S1(this.opacity));},displayable() {return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;},formatHsl() {let e = S1(this.opacity);- return `${e === 1 ? "hsl(" : "hsla("}${h0e(this.h)}, ${E1(this.s) * 100}%, ${E1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;+ return `${e === 1 ? "hsl(" : "hsla("}${x0e(this.h)}, ${E1(this.s) * 100}%, ${E1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;}}));-function h0e(e) {+function x0e(e) {return e = (e || 0) % 360, e < 0 ? e + 360 : e;}function E1(e) {@@ -93253,31 +93373,31 @@ function D1(e, t, n) {var O1 = (e) => () => e;//#endregion//#region node_modules/d3-interpolate/src/color.js-function g0e(e, t) {+function S0e(e, t) {return function(n) {return e + n * t;};}-function _0e(e, t, n) {+function C0e(e, t, n) {return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {return (e + r * t) ** +n;};}-function v0e(e) {- return (e = +e) == 1 ? y0e : function(t, n) {- return n - t ? _0e(t, n, e) : O1(isNaN(t) ? n : t);+function w0e(e) {+ return (e = +e) == 1 ? T0e : function(t, n) {+ return n - t ? C0e(t, n, e) : O1(isNaN(t) ? n : t);};}-function y0e(e, t) {+function T0e(e, t) {var n = t - e;- return n ? g0e(e, n) : O1(isNaN(e) ? t : e);+ return n ? S0e(e, n) : O1(isNaN(e) ? t : e);}//#endregion//#region node_modules/d3-interpolate/src/rgb.js-var b0e = (function e(t) {- var n = v0e(t);+var E0e = (function e(t) {+ var n = w0e(t);function r(e, t) {- var r = n((e = b1(e)).r, (t = b1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = y0e(e.opacity, t.opacity);+ var r = n((e = b1(e)).r, (t = b1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = T0e(e.opacity, t.opacity);return function(t) {return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";};@@ -93286,7 +93406,7 @@ var b0e = (function e(t) {})(1);//#endregion//#region node_modules/d3-interpolate/src/numberArray.js-function x0e(e, t) {+function D0e(e, t) {t ||= [];var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;return function(a) {@@ -93294,12 +93414,12 @@ function x0e(e, t) {return r;};}-function S0e(e) {+function O0e(e) {return ArrayBuffer.isView(e) && !(e instanceof DataView);}//#endregion//#region node_modules/d3-interpolate/src/array.js-function C0e(e, t) {+function k0e(e, t) {for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = M1(e[o], t[o]);for (; o < n; ++o) a[o] = t[o];return function(e) {@@ -93309,7 +93429,7 @@ function C0e(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/date.js-function w0e(e, t) {+function A0e(e, t) {var n = /* @__PURE__ */ new Date();return e = +e, t = +t, function(r) {return n.setTime(e * (1 - r) + t * r), n;@@ -93324,7 +93444,7 @@ function k1(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/object.js-function T0e(e, t) {+function j0e(e, t) {var n = {}, r = {}, i;for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = M1(e[i], t[i]) : r[i] = t[i];return function(e) {@@ -93335,23 +93455,23 @@ function T0e(e, t) {//#endregion//#region node_modules/d3-interpolate/src/string.jsvar A1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, j1 = new RegExp(A1.source, "g");-function E0e(e) {+function M0e(e) {return function() {return e;};}-function D0e(e) {+function N0e(e) {return function(t) {return e(t) + "";};}-function O0e(e, t) {+function P0e(e, t) {var n = A1.lastIndex = j1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];for (e += "", t += ""; (r = A1.exec(e)) && (i = j1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({i: o,x: k1(r, i)})), n = j1.lastIndex;- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? D0e(c[0].x) : E0e(t) : (t = c.length, function(e) {+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? N0e(c[0].x) : M0e(t) : (t = c.length, function(e) {for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);return s.join("");});@@ -93360,7 +93480,7 @@ function O0e(e, t) {//#region node_modules/d3-interpolate/src/value.jsfunction M1(e, t) {var n = typeof t, r;- return t == null || n === "boolean" ? O1(t) : (n === "number" ? k1 : n === "string" ? (r = v1(t)) ? (t = r, b0e) : O0e : t instanceof v1 ? b0e : t instanceof Date ? w0e : S0e(t) ? x0e : Array.isArray(t) ? C0e : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? T0e : k1)(e, t);+ return t == null || n === "boolean" ? O1(t) : (n === "number" ? k1 : n === "string" ? (r = v1(t)) ? (t = r, E0e) : P0e : t instanceof v1 ? E0e : t instanceof Date ? A0e : O0e(t) ? D0e : Array.isArray(t) ? k0e : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? j0e : k1)(e, t);}//#endregion//#region node_modules/d3-interpolate/src/round.js@@ -93371,7 +93491,7 @@ function N1(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/piecewise.js-function k0e(e, t) {+function F0e(e, t) {t === void 0 && (t = e, e = M1);for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);return function(e) {@@ -93381,7 +93501,7 @@ function k0e(e, t) {}//#endregion//#region node_modules/d3-scale/src/constant.js-function A0e(e) {+function I0e(e) {return function() {return e;};@@ -93393,28 +93513,28 @@ function P1(e) {}//#endregion//#region node_modules/d3-scale/src/continuous.js-var j0e = [0, 1];+var L0e = [0, 1];function F1(e) {return e;}function I1(e, t) {return (t -= e = +e) ? function(n) {return (n - e) / t;- } : A0e(isNaN(t) ? NaN : .5);+ } : I0e(isNaN(t) ? NaN : .5);}-function M0e(e, t) {+function R0e(e, t) {var n;return e > t && (n = e, e = t, t = n), function(n) {return Math.max(e, Math.min(t, n));};}-function N0e(e, t, n) {+function z0e(e, t, n) {var r = e[0], i = e[1], a = t[0], o = t[1];return i < r ? (r = I1(i, r), a = n(o, a)) : (r = I1(r, i), a = n(a, o)), function(e) {return a(r(e));};}-function P0e(e, t, n) {+function B0e(e, t, n) {var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = I1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);return function(t) {@@ -93426,10 +93546,10 @@ function L1(e, t) {return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());}function R1() {- var e = j0e, t = j0e, n = M1, r, i, a, o = F1, s, c, l;+ var e = L0e, t = L0e, n = M1, r, i, a, o = F1, s, c, l;function u() {var n = Math.min(e.length, t.length);- return o !== F1 && (o = M0e(e[0], e[n - 1])), s = n > 2 ? P0e : N0e, c = l = null, d;+ return o !== F1 && (o = R0e(e[0], e[n - 1])), s = n > 2 ? B0e : z0e, c = l = null, d;}function d(i) {return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));@@ -93457,7 +93577,7 @@ function z1() {}//#endregion//#region node_modules/d3-format/src/formatDecimal.js-function F0e(e) {+function V0e(e) {return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);}function B1(e, t) {@@ -93472,7 +93592,7 @@ function V1(e) {}//#endregion//#region node_modules/d3-format/src/formatGroup.js-function I0e(e, t) {+function H0e(e, t) {return function(n, r) {for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];return a.reverse().join(t);@@ -93480,7 +93600,7 @@ function I0e(e, t) {}//#endregion//#region node_modules/d3-format/src/formatNumerals.js-function L0e(e) {+function U0e(e) {return function(t) {return t.replace(/[0-9]/g, function(t) {return e[+t];@@ -93489,9 +93609,9 @@ function L0e(e) {}//#endregion//#region node_modules/d3-format/src/formatSpecifier.js-var R0e = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;+var W0e = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function H1(e) {- if (!(t = R0e.exec(e))) throw Error("invalid format: " + e);+ if (!(t = W0e.exec(e))) throw Error("invalid format: " + e);var t;return new U1({fill: t[1],@@ -93515,7 +93635,7 @@ U1.prototype.toString = function() {};//#endregion//#region node_modules/d3-format/src/formatTrim.js-function z0e(e) {+function G0e(e) {out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {case ".":r = i = n;@@ -93532,7 +93652,7 @@ function z0e(e) {//#endregion//#region node_modules/d3-format/src/formatPrefixAuto.jsvar W1;-function B0e(e, t) {+function K0e(e, t) {var n = B1(e, t);if (!n) return W1 = void 0, e.toPrecision(t);var r = n[0], i = n[1], a = i - (W1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;@@ -93540,7 +93660,7 @@ function B0e(e, t) {}//#endregion//#region node_modules/d3-format/src/formatRounded.js-function V0e(e, t) {+function q0e(e, t) {var n = B1(e, t);if (!n) return e + "";var r = n[0], i = n[1];@@ -93548,29 +93668,29 @@ function V0e(e, t) {}//#endregion//#region node_modules/d3-format/src/formatTypes.js-var H0e = {+var J0e = {"%": (e, t) => (e * 100).toFixed(t),b: (e) => Math.round(e).toString(2),c: (e) => e + "",- d: F0e,+ d: V0e,e: (e, t) => e.toExponential(t),f: (e, t) => e.toFixed(t),g: (e, t) => e.toPrecision(t),o: (e) => Math.round(e).toString(8),- p: (e, t) => V0e(e * 100, t),- r: V0e,- s: B0e,+ p: (e, t) => q0e(e * 100, t),+ r: q0e,+ s: K0e,X: (e) => Math.round(e).toString(16).toUpperCase(),x: (e) => Math.round(e).toString(16)};//#endregion//#region node_modules/d3-format/src/identity.js-function U0e(e) {+function Y0e(e) {return e;}//#endregion//#region node_modules/d3-format/src/locale.js-var W0e = Array.prototype.map, G0e = [+var X0e = Array.prototype.map, Z0e = ["y","z","a",@@ -93589,13 +93709,13 @@ var W0e = Array.prototype.map, G0e = ["Z","Y"];-function K0e(e) {- var t = e.grouping === void 0 || e.thousands === void 0 ? U0e : I0e(W0e.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? U0e : L0e(W0e.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";+function Q0e(e) {+ var t = e.grouping === void 0 || e.thousands === void 0 ? Y0e : H0e(X0e.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? Y0e : U0e(X0e.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";function l(e, l) {e = H1(e);var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;- y === "n" ? (g = !0, y = "g") : H0e[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = H0e[y], C = /[defgprs%]/.test(y);+ y === "n" ? (g = !0, y = "g") : J0e[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = J0e[y], C = /[defgprs%]/.test(y);_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));function w(e) {var n = b, r = x, o, l, p;@@ -93603,7 +93723,7 @@ function K0e(e) {else {e = +e;var w = e < 0 || 1 / e < 0;- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = z0e(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && W1 !== void 0 ? G0e[8 + W1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = G0e(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && W1 !== void 0 ? Z0e[8 + W1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);break;@@ -93631,7 +93751,7 @@ function K0e(e) {}, w;}function u(e, t) {- var n = Math.max(-8, Math.min(8, Math.floor(V1(t) / 3))) * 3, r = 10 ** -n, i = l((e = H1(e), e.type = "f", e), { suffix: G0e[8 + n / 3] });+ var n = Math.max(-8, Math.min(8, Math.floor(V1(t) / 3))) * 3, r = 10 ** -n, i = l((e = H1(e), e.type = "f", e), { suffix: Z0e[8 + n / 3] });return function(e) {return i(r * e);};@@ -93643,47 +93763,47 @@ function K0e(e) {}//#endregion//#region node_modules/d3-format/src/defaultLocale.js-var G1, K1, q0e;-J0e({+var G1, K1, $0e;+e2e({thousands: ",",grouping: [3],currency: ["$", ""]});-function J0e(e) {- return G1 = K0e(e), K1 = G1.format, q0e = G1.formatPrefix, G1;+function e2e(e) {+ return G1 = Q0e(e), K1 = G1.format, $0e = G1.formatPrefix, G1;}//#endregion//#region node_modules/d3-format/src/precisionFixed.js-function Y0e(e) {+function t2e(e) {return Math.max(0, -V1(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionPrefix.js-function X0e(e, t) {+function n2e(e, t) {return Math.max(0, Math.max(-8, Math.min(8, Math.floor(V1(t) / 3))) * 3 - V1(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionRound.js-function Z0e(e, t) {+function r2e(e, t) {return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, V1(t) - V1(e)) + 1;}//#endregion//#region node_modules/d3-scale/src/tickFormat.js-function Q0e(e, t, n, r) {+function i2e(e, t, n, r) {var i = t1(e, t, n), a;switch (r = H1(r ?? ",f"), r.type) {case "s":var o = Math.max(Math.abs(e), Math.abs(t));- return r.precision == null && !isNaN(a = X0e(i, o)) && (r.precision = a), q0e(r, o);+ return r.precision == null && !isNaN(a = n2e(i, o)) && (r.precision = a), $0e(r, o);case "":case "e":case "g":case "p":case "r":- r.precision == null && !isNaN(a = Z0e(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));+ r.precision == null && !isNaN(a = r2e(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));break;case "f":- case "%": r.precision == null && !isNaN(a = Y0e(i)) && (r.precision = a - (r.type === "%") * 2);+ case "%": r.precision == null && !isNaN(a = t2e(i)) && (r.precision = a - (r.type === "%") * 2);}return K1(r);}@@ -93696,12 +93816,12 @@ function q1(e) {return e1(n[0], n[n.length - 1], e ?? 10);}, e.tickFormat = function(e, n) {var r = t();- return Q0e(r[0], r[r.length - 1], e ?? 10, n);+ return i2e(r[0], r[r.length - 1], e ?? 10, n);}, e.nice = function(n) {n ??= 10;var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {- if (l = V1e(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);+ if (l = q1e(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;else break;@@ -93710,15 +93830,15 @@ function q1(e) {return e;}, e;}-function $0e() {+function a2e() {var e = z1();return e.copy = function() {- return L1(e, $0e());+ return L1(e, a2e());}, o1.apply(e, arguments), q1(e);}//#endregion//#region node_modules/d3-scale/src/identity.js-function e2e(e) {+function o2e(e) {var t;function n(e) {return e == null || isNaN(e = +e) ? t : e;@@ -93728,46 +93848,46 @@ function e2e(e) {}, n.unknown = function(e) {return arguments.length ? (t = e, n) : t;}, n.copy = function() {- return e2e(e).unknown(t);+ return o2e(e).unknown(t);}, e = arguments.length ? Array.from(e, P1) : [0, 1], q1(n);}//#endregion//#region node_modules/d3-scale/src/nice.js-function t2e(e, t) {+function s2e(e, t) {e = e.slice();var n = 0, r = e.length - 1, i = e[n], a = e[r], o;return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;}//#endregion//#region node_modules/d3-scale/src/log.js-function n2e(e) {+function c2e(e) {return Math.log(e);}-function r2e(e) {+function l2e(e) {return Math.exp(e);}-function i2e(e) {+function u2e(e) {return -Math.log(-e);}-function a2e(e) {+function d2e(e) {return -Math.exp(-e);}-function o2e(e) {+function f2e(e) {return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;}-function s2e(e) {- return e === 10 ? o2e : e === Math.E ? Math.exp : (t) => e ** +t;+function p2e(e) {+ return e === 10 ? f2e : e === Math.E ? Math.exp : (t) => e ** +t;}-function c2e(e) {+function m2e(e) {return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);}-function l2e(e) {+function h2e(e) {return (t, n) => -e(-t, n);}function J1(e) {- let t = e(n2e, r2e), n = t.domain, r = 10, i, a;+ let t = e(c2e, l2e), n = t.domain, r = 10, i, a;function o() {- return i = c2e(r), a = s2e(r), n()[0] < 0 ? (i = l2e(i), a = l2e(a), e(i2e, a2e)) : e(n2e, r2e), t;+ return i = m2e(r), a = p2e(r), n()[0] < 0 ? (i = h2e(i), a = h2e(a), e(u2e, d2e)) : e(c2e, l2e), t;}return t.base = function(e) {return arguments.length ? (r = +e, o()) : r;@@ -93797,56 +93917,56 @@ function J1(e) {let t = e / a(Math.round(i(e)));return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";};- }, t.nice = () => n(t2e(n(), {+ }, t.nice = () => n(s2e(n(), {floor: (e) => a(Math.floor(i(e))),ceil: (e) => a(Math.ceil(i(e)))})), t;}-function u2e() {+function g2e() {let e = J1(R1()).domain([1, 10]);- return e.copy = () => L1(e, u2e()).base(e.base()), o1.apply(e, arguments), e;+ return e.copy = () => L1(e, g2e()).base(e.base()), o1.apply(e, arguments), e;}//#endregion//#region node_modules/d3-scale/src/symlog.js-function d2e(e) {+function _2e(e) {return function(t) {return Math.sign(t) * Math.log1p(Math.abs(t / e));};}-function f2e(e) {+function v2e(e) {return function(t) {return Math.sign(t) * Math.expm1(Math.abs(t)) * e;};}function Y1(e) {- var t = 1, n = e(d2e(t), f2e(t));+ var t = 1, n = e(_2e(t), v2e(t));return n.constant = function(n) {- return arguments.length ? e(d2e(t = +n), f2e(t)) : t;+ return arguments.length ? e(_2e(t = +n), v2e(t)) : t;}, q1(n);}-function p2e() {+function y2e() {var e = Y1(R1());return e.copy = function() {- return L1(e, p2e()).constant(e.constant());+ return L1(e, y2e()).constant(e.constant());}, o1.apply(e, arguments);}//#endregion//#region node_modules/d3-scale/src/pow.js-function m2e(e) {+function b2e(e) {return function(t) {return t < 0 ? -((-t) ** +e) : t ** +e;};}-function h2e(e) {+function x2e(e) {return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);}-function g2e(e) {+function S2e(e) {return e < 0 ? -e * e : e * e;}function X1(e) {var t = e(F1, F1), n = 1;function r() {- return n === 1 ? e(F1, F1) : n === .5 ? e(h2e, g2e) : e(m2e(n), m2e(1 / n));+ return n === 1 ? e(F1, F1) : n === .5 ? e(x2e, S2e) : e(b2e(n), b2e(1 / n));}return t.exponent = function(e) {return arguments.length ? (n = +e, r()) : n;@@ -93858,29 +93978,29 @@ function Z1() {return L1(e, Z1()).exponent(e.exponent());}, o1.apply(e, arguments), e;}-function _2e() {+function C2e() {return Z1.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/radial.js-function v2e(e) {+function w2e(e) {return Math.sign(e) * e * e;}-function y2e(e) {+function T2e(e) {return Math.sign(e) * Math.sqrt(Math.abs(e));}-function b2e() {+function E2e() {var e = z1(), t = [0, 1], n = !1, r;function i(t) {- var i = y2e(e(t));+ var i = T2e(e(t));return isNaN(i) ? r : n ? Math.round(i) : i;}return i.invert = function(t) {- return e.invert(v2e(t));+ return e.invert(w2e(t));}, i.domain = function(t) {return arguments.length ? (e.domain(t), i) : e.domain();}, i.range = function(n) {- return arguments.length ? (e.range((t = Array.from(n, P1)).map(v2e)), i) : t.slice();+ return arguments.length ? (e.range((t = Array.from(n, P1)).map(w2e)), i) : t.slice();}, i.rangeRound = function(e) {return i.range(e).round(!0);}, i.round = function(e) {@@ -93890,16 +94010,16 @@ function b2e() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return b2e(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);+ return E2e(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);}, o1.apply(i, arguments), q1(i);}//#endregion//#region node_modules/d3-scale/src/quantile.js-function x2e() {+function D2e() {var e = [], t = [], n = [], r;function i() {var r = 0, i = Math.max(1, t.length);- for (n = Array(i - 1); ++r < i;) n[r - 1] = W1e(e, r / i);+ for (n = Array(i - 1); ++r < i;) n[r - 1] = X1e(e, r / i);return a;}function a(e) {@@ -93920,12 +94040,12 @@ function x2e() {}, a.quantiles = function() {return n.slice();}, a.copy = function() {- return x2e().domain(e).range(t).unknown(r);+ return D2e().domain(e).range(t).unknown(r);}, o1.apply(a, arguments);}//#endregion//#region node_modules/d3-scale/src/quantize.js-function S2e() {+function O2e() {var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;function o(e) {return e != null && e <= e ? i[X$(r, e, 0, n)] : a;@@ -93947,12 +94067,12 @@ function S2e() {}, o.thresholds = function() {return r.slice();}, o.copy = function() {- return S2e().domain([e, t]).range(i).unknown(a);+ return O2e().domain([e, t]).range(i).unknown(a);}, o1.apply(q1(o), arguments);}//#endregion//#region node_modules/d3-scale/src/threshold.js-function C2e() {+function k2e() {var e = [.5], t = [0, 1], n, r = 1;function i(i) {return i != null && i <= i ? t[X$(e, i, 0, r)] : n;@@ -93967,7 +94087,7 @@ function C2e() {}, i.unknown = function(e) {return arguments.length ? (n = e, i) : n;}, i.copy = function() {- return C2e().domain(e).range(t).unknown(n);+ return k2e().domain(e).range(t).unknown(n);}, o1.apply(i, arguments);}//#endregion@@ -94009,7 +94129,7 @@ t0.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?}, (t, n) => (n - t) / e) : t0), t0.range;//#endregion//#region node_modules/d3-time/src/duration.js-var n0 = 1e3, r0 = n0 * 60, i0 = r0 * 60, a0 = i0 * 24, o0 = a0 * 7, w2e = a0 * 30, s0 = a0 * 365, c0 = e0((e) => {+var n0 = 1e3, r0 = n0 * 60, i0 = r0 * 60, a0 = i0 * 24, o0 = a0 * 7, A2e = a0 * 30, s0 = a0 * 365, c0 = e0((e) => {e.setTime(e - e.getMilliseconds());}, (e, t) => {e.setTime(+e + t * n0);@@ -94053,12 +94173,12 @@ var m0 = e0((e) => {e.setUTCDate(e.getUTCDate() + t);}, (e, t) => (t - e) / a0, (e) => e.getUTCDate() - 1);m0.range;-var T2e = e0((e) => {+var j2e = e0((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);}, (e, t) => (t - e) / a0, (e) => Math.floor(e / a0));-T2e.range;+j2e.range;//#endregion//#region node_modules/d3-time/src/week.jsfunction h0(e) {@@ -94068,8 +94188,8 @@ function h0(e) {e.setDate(e.getDate() + t * 7);}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * r0) / o0);}-var g0 = h0(0), _0 = h0(1), E2e = h0(2), D2e = h0(3), v0 = h0(4), O2e = h0(5), k2e = h0(6);-g0.range, _0.range, E2e.range, D2e.range, v0.range, O2e.range, k2e.range;+var g0 = h0(0), _0 = h0(1), M2e = h0(2), N2e = h0(3), v0 = h0(4), P2e = h0(5), F2e = h0(6);+g0.range, _0.range, M2e.range, N2e.range, v0.range, P2e.range, F2e.range;function y0(e) {return e0((t) => {t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);@@ -94077,8 +94197,8 @@ function y0(e) {e.setUTCDate(e.getUTCDate() + t * 7);}, (e, t) => (t - e) / o0);}-var b0 = y0(0), x0 = y0(1), A2e = y0(2), j2e = y0(3), S0 = y0(4), M2e = y0(5), N2e = y0(6);-b0.range, x0.range, A2e.range, j2e.range, S0.range, M2e.range, N2e.range;+var b0 = y0(0), x0 = y0(1), I2e = y0(2), L2e = y0(3), S0 = y0(4), R2e = y0(5), z2e = y0(6);+b0.range, x0.range, I2e.range, L2e.range, S0.range, R2e.range, z2e.range;//#endregion//#region node_modules/d3-time/src/month.jsvar C0 = e0((e) => {@@ -94117,7 +94237,7 @@ E0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : e0((t) => {}), E0.range;//#endregion//#region node_modules/d3-time/src/ticks.js-function P2e(e, t, n, r, i, a) {+function B2e(e, t, n, r, i, a) {let o = [[c0,@@ -94197,12 +94317,12 @@ function P2e(e, t, n, r, i, a) {[t,1,- w2e+ A2e],[t,3,- 3 * w2e+ 3 * A2e],[e,@@ -94225,7 +94345,7 @@ function P2e(e, t, n, r, i, a) {}return [s, c];}-var [F2e, I2e] = P2e(E0, w0, b0, T2e, f0, u0), [L2e, R2e] = P2e(T0, C0, g0, p0, d0, l0);+var [V2e, H2e] = B2e(E0, w0, b0, j2e, f0, u0), [U2e, W2e] = B2e(T0, C0, g0, p0, d0, l0);//#endregion//#region node_modules/d3-time-format/src/locale.jsfunction D0(e) {@@ -94253,112 +94373,112 @@ function k0(e, t, n) {L: 0};}-function z2e(e) {+function G2e(e) {var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = M0(i), u = N0(i), d = M0(a), f = N0(a), p = M0(o), m = N0(o), h = M0(s), g = N0(s), _ = M0(c), v = N0(c), y = {a: N,A: P,b: F,B: I,c: null,- d: u4e,- e: u4e,- f: h4e,- g: E4e,- G: O4e,- H: d4e,- I: f4e,- j: p4e,- L: m4e,- m: g4e,- M: _4e,+ d: g4e,+ e: g4e,+ f: x4e,+ g: M4e,+ G: P4e,+ H: _4e,+ I: v4e,+ j: y4e,+ L: b4e,+ m: S4e,+ M: C4e,p: ee,q: L,- Q: Z4e,- s: Q4e,- S: v4e,- u: y4e,- U: b4e,- V: S4e,- w: C4e,- W: w4e,+ Q: r3e,+ s: i3e,+ S: w4e,+ u: T4e,+ U: E4e,+ V: O4e,+ w: k4e,+ W: A4e,x: null,X: null,- y: T4e,- Y: D4e,- Z: k4e,- "%": X4e+ y: j4e,+ Y: N4e,+ Z: F4e,+ "%": n3e}, b = {a: te,A: ne,b: re,B: ie,c: null,- d: A4e,- e: A4e,- f: F4e,- g: K4e,- G: J4e,- H: j4e,- I: M4e,- j: N4e,- L: P4e,- m: I4e,- M: L4e,+ d: I4e,+ e: I4e,+ f: V4e,+ g: Q4e,+ G: e3e,+ H: L4e,+ I: R4e,+ j: z4e,+ L: B4e,+ m: H4e,+ M: U4e,p: ae,q: oe,- Q: Z4e,- s: Q4e,- S: R4e,- u: z4e,- U: B4e,- V: H4e,- w: U4e,- W: W4e,+ Q: r3e,+ s: i3e,+ S: W4e,+ u: G4e,+ U: K4e,+ V: J4e,+ w: Y4e,+ W: X4e,x: null,X: null,- y: G4e,- Y: q4e,- Z: Y4e,- "%": X4e+ y: Z4e,+ Y: $4e,+ Z: t3e,+ "%": n3e}, x = {a: E,A: D,b: O,B: k,c: A,- d: e4e,- e: e4e,- f: o4e,- g: X2e,- G: Y2e,- H: n4e,- I: n4e,- j: t4e,- L: a4e,- m: $2e,- M: r4e,+ d: o4e,+ e: o4e,+ f: f4e,+ g: n4e,+ G: t4e,+ H: c4e,+ I: c4e,+ j: s4e,+ L: d4e,+ m: a4e,+ M: l4e,p: T,- q: Q2e,- Q: c4e,- s: l4e,- S: i4e,- u: G2e,- U: K2e,- V: q2e,- w: W2e,- W: J2e,+ q: i4e,+ Q: m4e,+ s: h4e,+ S: u4e,+ u: Z2e,+ U: Q2e,+ V: $2e,+ w: X2e,+ W: e4e,x: j,X: M,- y: X2e,- Y: Y2e,- Z: Z2e,- "%": s4e+ y: n4e,+ Y: t4e,+ Z: r4e,+ "%": p4e};y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);function S(e, t) {return function(n) {var r = [], i = -1, a = 0, o = e.length, s, c, l;- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = B2e[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = K2e[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);return r.push(e.slice(a, i)), r.join("");};}@@ -94379,7 +94499,7 @@ function z2e(e) {for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {if (r >= o) return -1;if (s = t.charCodeAt(i++), s === 37) {- if (s = t.charAt(i++), c = x[s in B2e ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;+ if (s = t.charAt(i++), c = x[s in K2e ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;} else if (s != n.charCodeAt(r++)) return -1;}return r;@@ -94476,244 +94596,244 @@ function z2e(e) {}};}-var B2e = {+var K2e = {"-": "",_: " ",0: "0"-}, A0 = /^\s*\d+/, V2e = /^%/, H2e = /[\\^$*+?|[\]().{}]/g;+}, A0 = /^\s*\d+/, q2e = /^%/, J2e = /[\\^$*+?|[\]().{}]/g;function j0(e, t, n) {var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;return r + (a < n ? Array(n - a + 1).join(t) + i : i);}-function U2e(e) {- return e.replace(H2e, "\\$&");+function Y2e(e) {+ return e.replace(J2e, "\\$&");}function M0(e) {- return RegExp("^(?:" + e.map(U2e).join("|") + ")", "i");+ return RegExp("^(?:" + e.map(Y2e).join("|") + ")", "i");}function N0(e) {return new Map(e.map((e, t) => [e.toLowerCase(), t]));}-function W2e(e, t, n) {+function X2e(e, t, n) {var r = A0.exec(t.slice(n, n + 1));return r ? (e.w = +r[0], n + r[0].length) : -1;}-function G2e(e, t, n) {+function Z2e(e, t, n) {var r = A0.exec(t.slice(n, n + 1));return r ? (e.u = +r[0], n + r[0].length) : -1;}-function K2e(e, t, n) {+function Q2e(e, t, n) {var r = A0.exec(t.slice(n, n + 2));return r ? (e.U = +r[0], n + r[0].length) : -1;}-function q2e(e, t, n) {+function $2e(e, t, n) {var r = A0.exec(t.slice(n, n + 2));return r ? (e.V = +r[0], n + r[0].length) : -1;}-function J2e(e, t, n) {+function e4e(e, t, n) {var r = A0.exec(t.slice(n, n + 2));return r ? (e.W = +r[0], n + r[0].length) : -1;}-function Y2e(e, t, n) {+function t4e(e, t, n) {var r = A0.exec(t.slice(n, n + 4));return r ? (e.y = +r[0], n + r[0].length) : -1;}-function X2e(e, t, n) {+function n4e(e, t, n) {var r = A0.exec(t.slice(n, n + 2));return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;}-function Z2e(e, t, n) {+function r4e(e, t, n) {var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;}-function Q2e(e, t, n) {+function i4e(e, t, n) {var r = A0.exec(t.slice(n, n + 1));return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;}-function $2e(e, t, n) {+function a4e(e, t, n) {var r = A0.exec(t.slice(n, n + 2));return r ? (e.m = r[0] - 1, n + r[0].length) : -1;}-function e4e(e, t, n) {+function o4e(e, t, n) {var r = A0.exec(t.slice(n, n + 2));return r ? (e.d = +r[0], n + r[0].length) : -1;}-function t4e(e, t, n) {+function s4e(e, t, n) {var r = A0.exec(t.slice(n, n + 3));return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;}-function n4e(e, t, n) {+function c4e(e, t, n) {var r = A0.exec(t.slice(n, n + 2));return r ? (e.H = +r[0], n + r[0].length) : -1;}-function r4e(e, t, n) {+function l4e(e, t, n) {var r = A0.exec(t.slice(n, n + 2));return r ? (e.M = +r[0], n + r[0].length) : -1;}-function i4e(e, t, n) {+function u4e(e, t, n) {var r = A0.exec(t.slice(n, n + 2));return r ? (e.S = +r[0], n + r[0].length) : -1;}-function a4e(e, t, n) {+function d4e(e, t, n) {var r = A0.exec(t.slice(n, n + 3));return r ? (e.L = +r[0], n + r[0].length) : -1;}-function o4e(e, t, n) {+function f4e(e, t, n) {var r = A0.exec(t.slice(n, n + 6));return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;}-function s4e(e, t, n) {- var r = V2e.exec(t.slice(n, n + 1));+function p4e(e, t, n) {+ var r = q2e.exec(t.slice(n, n + 1));return r ? n + r[0].length : -1;}-function c4e(e, t, n) {+function m4e(e, t, n) {var r = A0.exec(t.slice(n));return r ? (e.Q = +r[0], n + r[0].length) : -1;}-function l4e(e, t, n) {+function h4e(e, t, n) {var r = A0.exec(t.slice(n));return r ? (e.s = +r[0], n + r[0].length) : -1;}-function u4e(e, t) {+function g4e(e, t) {return j0(e.getDate(), t, 2);}-function d4e(e, t) {+function _4e(e, t) {return j0(e.getHours(), t, 2);}-function f4e(e, t) {+function v4e(e, t) {return j0(e.getHours() % 12 || 12, t, 2);}-function p4e(e, t) {+function y4e(e, t) {return j0(1 + p0.count(T0(e), e), t, 3);}-function m4e(e, t) {+function b4e(e, t) {return j0(e.getMilliseconds(), t, 3);}-function h4e(e, t) {- return m4e(e, t) + "000";+function x4e(e, t) {+ return b4e(e, t) + "000";}-function g4e(e, t) {+function S4e(e, t) {return j0(e.getMonth() + 1, t, 2);}-function _4e(e, t) {+function C4e(e, t) {return j0(e.getMinutes(), t, 2);}-function v4e(e, t) {+function w4e(e, t) {return j0(e.getSeconds(), t, 2);}-function y4e(e) {+function T4e(e) {var t = e.getDay();return t === 0 ? 7 : t;}-function b4e(e, t) {+function E4e(e, t) {return j0(g0.count(T0(e) - 1, e), t, 2);}-function x4e(e) {+function D4e(e) {var t = e.getDay();return t >= 4 || t === 0 ? v0(e) : v0.ceil(e);}-function S4e(e, t) {- return e = x4e(e), j0(v0.count(T0(e), e) + (T0(e).getDay() === 4), t, 2);+function O4e(e, t) {+ return e = D4e(e), j0(v0.count(T0(e), e) + (T0(e).getDay() === 4), t, 2);}-function C4e(e) {+function k4e(e) {return e.getDay();}-function w4e(e, t) {+function A4e(e, t) {return j0(_0.count(T0(e) - 1, e), t, 2);}-function T4e(e, t) {+function j4e(e, t) {return j0(e.getFullYear() % 100, t, 2);}-function E4e(e, t) {- return e = x4e(e), j0(e.getFullYear() % 100, t, 2);+function M4e(e, t) {+ return e = D4e(e), j0(e.getFullYear() % 100, t, 2);}-function D4e(e, t) {+function N4e(e, t) {return j0(e.getFullYear() % 1e4, t, 4);}-function O4e(e, t) {+function P4e(e, t) {var n = e.getDay();return e = n >= 4 || n === 0 ? v0(e) : v0.ceil(e), j0(e.getFullYear() % 1e4, t, 4);}-function k4e(e) {+function F4e(e) {var t = e.getTimezoneOffset();return (t > 0 ? "-" : (t *= -1, "+")) + j0(t / 60 | 0, "0", 2) + j0(t % 60, "0", 2);}-function A4e(e, t) {+function I4e(e, t) {return j0(e.getUTCDate(), t, 2);}-function j4e(e, t) {+function L4e(e, t) {return j0(e.getUTCHours(), t, 2);}-function M4e(e, t) {+function R4e(e, t) {return j0(e.getUTCHours() % 12 || 12, t, 2);}-function N4e(e, t) {+function z4e(e, t) {return j0(1 + m0.count(E0(e), e), t, 3);}-function P4e(e, t) {+function B4e(e, t) {return j0(e.getUTCMilliseconds(), t, 3);}-function F4e(e, t) {- return P4e(e, t) + "000";+function V4e(e, t) {+ return B4e(e, t) + "000";}-function I4e(e, t) {+function H4e(e, t) {return j0(e.getUTCMonth() + 1, t, 2);}-function L4e(e, t) {+function U4e(e, t) {return j0(e.getUTCMinutes(), t, 2);}-function R4e(e, t) {+function W4e(e, t) {return j0(e.getUTCSeconds(), t, 2);}-function z4e(e) {+function G4e(e) {var t = e.getUTCDay();return t === 0 ? 7 : t;}-function B4e(e, t) {+function K4e(e, t) {return j0(b0.count(E0(e) - 1, e), t, 2);}-function V4e(e) {+function q4e(e) {var t = e.getUTCDay();return t >= 4 || t === 0 ? S0(e) : S0.ceil(e);}-function H4e(e, t) {- return e = V4e(e), j0(S0.count(E0(e), e) + (E0(e).getUTCDay() === 4), t, 2);+function J4e(e, t) {+ return e = q4e(e), j0(S0.count(E0(e), e) + (E0(e).getUTCDay() === 4), t, 2);}-function U4e(e) {+function Y4e(e) {return e.getUTCDay();}-function W4e(e, t) {+function X4e(e, t) {return j0(x0.count(E0(e) - 1, e), t, 2);}-function G4e(e, t) {+function Z4e(e, t) {return j0(e.getUTCFullYear() % 100, t, 2);}-function K4e(e, t) {- return e = V4e(e), j0(e.getUTCFullYear() % 100, t, 2);+function Q4e(e, t) {+ return e = q4e(e), j0(e.getUTCFullYear() % 100, t, 2);}-function q4e(e, t) {+function $4e(e, t) {return j0(e.getUTCFullYear() % 1e4, t, 4);}-function J4e(e, t) {+function e3e(e, t) {var n = e.getUTCDay();return e = n >= 4 || n === 0 ? S0(e) : S0.ceil(e), j0(e.getUTCFullYear() % 1e4, t, 4);}-function Y4e() {+function t3e() {return "+0000";}-function X4e() {+function n3e() {return "%";}-function Z4e(e) {+function r3e(e) {return +e;}-function Q4e(e) {+function i3e(e) {return Math.floor(e / 1e3);}//#endregion//#region node_modules/d3-time-format/src/defaultLocale.js-var P0, $4e, e3e;-t3e({+var P0, a3e, o3e;+s3e({dateTime: "%x, %X",date: "%-m/%-d/%Y",time: "%-I:%M:%S %p",@@ -94765,15 +94885,15 @@ t3e({"Dec"]});-function t3e(e) {- return P0 = z2e(e), $4e = P0.format, P0.parse, e3e = P0.utcFormat, P0.utcParse, P0;+function s3e(e) {+ return P0 = G2e(e), a3e = P0.format, P0.parse, o3e = P0.utcFormat, P0.utcParse, P0;}//#endregion//#region node_modules/d3-scale/src/time.js-function n3e(e) {+function c3e(e) {return new Date(e);}-function r3e(e) {+function l3e(e) {return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);}function F0(e, t, n, r, i, a, o, s, c, l) {@@ -94784,7 +94904,7 @@ function F0(e, t, n, r, i, a, o, s, c, l) {return u.invert = function(e) {return new Date(d(e));}, u.domain = function(e) {- return arguments.length ? f(Array.from(e, r3e)) : f().map(n3e);+ return arguments.length ? f(Array.from(e, l3e)) : f().map(c3e);}, u.ticks = function(t) {var n = f();return e(n[0], n[n.length - 1], t ?? 10);@@ -94792,18 +94912,18 @@ function F0(e, t, n, r, i, a, o, s, c, l) {return t == null ? x : l(t);}, u.nice = function(e) {var n = f();- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(t2e(n, e)) : u;+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(s2e(n, e)) : u;}, u.copy = function() {return L1(u, F0(e, t, n, r, i, a, o, s, c, l));}, u;}-function i3e() {- return o1.apply(F0(L2e, R2e, T0, C0, g0, p0, d0, l0, c0, $4e).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);+function u3e() {+ return o1.apply(F0(U2e, W2e, T0, C0, g0, p0, d0, l0, c0, a3e).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/utcTime.js-function a3e() {- return o1.apply(F0(F2e, I2e, E0, w0, b0, m0, f0, u0, c0, e3e).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);+function d3e() {+ return o1.apply(F0(V2e, H2e, E0, w0, b0, m0, f0, u0, c0, o3e).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/sequential.js@@ -94834,22 +94954,22 @@ function I0() {function L0(e, t) {return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());}-function o3e() {+function f3e() {var e = q1(I0()(F1));return e.copy = function() {- return L0(e, o3e());+ return L0(e, f3e());}, s1.apply(e, arguments);}-function s3e() {+function p3e() {var e = J1(I0()).domain([1, 10]);return e.copy = function() {- return L0(e, s3e()).base(e.base());+ return L0(e, p3e()).base(e.base());}, s1.apply(e, arguments);}-function c3e() {+function m3e() {var e = Y1(I0());return e.copy = function() {- return L0(e, c3e()).constant(e.constant());+ return L0(e, m3e()).constant(e.constant());}, s1.apply(e, arguments);}function R0() {@@ -94858,12 +94978,12 @@ function R0() {return L0(e, R0()).exponent(e.exponent());}, s1.apply(e, arguments);}-function l3e() {+function h3e() {return R0.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/sequentialQuantile.js-function u3e() {+function g3e() {var e = [], t = F1;function n(n) {if (n != null && !isNaN(n = +n)) return t((X$(e, n, 1) - 1) / (e.length - 1));@@ -94878,9 +94998,9 @@ function u3e() {}, n.range = function() {return e.map((n, r) => t(r / (e.length - 1)));}, n.quantiles = function(t) {- return Array.from({ length: t + 1 }, (n, r) => U1e(e, r / t));+ return Array.from({ length: t + 1 }, (n, r) => Y1e(e, r / t));}, n.copy = function() {- return u3e(t).domain(e);+ return g3e(t).domain(e);}, s1.apply(n, arguments);}//#endregion@@ -94904,7 +95024,7 @@ function z0() {function m(e) {return function(t) {var n, r, i;- return arguments.length ? ([n, r, i] = t, l = k0e(e, [+ return arguments.length ? ([n, r, i] = t, l = F0e(e, [n,r,i@@ -94921,26 +95041,26 @@ function z0() {return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;};}-function d3e() {+function _3e() {var e = q1(z0()(F1));return e.copy = function() {- return L0(e, d3e());+ return L0(e, _3e());}, s1.apply(e, arguments);}-function f3e() {+function v3e() {var e = J1(z0()).domain([.1,1,10]);return e.copy = function() {- return L0(e, f3e()).base(e.base());+ return L0(e, v3e()).base(e.base());}, s1.apply(e, arguments);}-function p3e() {+function y3e() {var e = Y1(z0());return e.copy = function() {- return L0(e, p3e()).constant(e.constant());+ return L0(e, y3e()).constant(e.constant());}, s1.apply(e, arguments);}function B0() {@@ -94949,88 +95069,88 @@ function B0() {return L0(e, B0()).exponent(e.exponent());}, s1.apply(e, arguments);}-function m3e() {+function b3e() {return B0.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/victory-vendor/es/d3-scale.js-var h3e = /* @__PURE__ */ s({+var x3e = /* @__PURE__ */ s({scaleBand: () => u1,- scaleDiverging: () => d3e,- scaleDivergingLog: () => f3e,+ scaleDiverging: () => _3e,+ scaleDivergingLog: () => v3e,scaleDivergingPow: () => B0,- scaleDivergingSqrt: () => m3e,- scaleDivergingSymlog: () => p3e,- scaleIdentity: () => e2e,+ scaleDivergingSqrt: () => b3e,+ scaleDivergingSymlog: () => y3e,+ scaleIdentity: () => o2e,scaleImplicit: () => c1,- scaleLinear: () => $0e,- scaleLog: () => u2e,+ scaleLinear: () => a2e,+ scaleLog: () => g2e,scaleOrdinal: () => l1,- scalePoint: () => q1e,+ scalePoint: () => $1e,scalePow: () => Z1,- scaleQuantile: () => x2e,- scaleQuantize: () => S2e,- scaleRadial: () => b2e,- scaleSequential: () => o3e,- scaleSequentialLog: () => s3e,+ scaleQuantile: () => D2e,+ scaleQuantize: () => O2e,+ scaleRadial: () => E2e,+ scaleSequential: () => f3e,+ scaleSequentialLog: () => p3e,scaleSequentialPow: () => R0,- scaleSequentialQuantile: () => u3e,- scaleSequentialSqrt: () => l3e,- scaleSequentialSymlog: () => c3e,- scaleSqrt: () => _2e,- scaleSymlog: () => p2e,- scaleThreshold: () => C2e,- scaleTime: () => i3e,- scaleUtc: () => a3e,- tickFormat: () => Q0e+ scaleSequentialQuantile: () => g3e,+ scaleSequentialSqrt: () => h3e,+ scaleSequentialSymlog: () => m3e,+ scaleSqrt: () => C2e,+ scaleSymlog: () => y2e,+ scaleThreshold: () => k2e,+ scaleTime: () => u3e,+ scaleUtc: () => d3e,+ tickFormat: () => i2e});//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js-function g3e(e) {- var t = h3e;+function S3e(e) {+ var t = x3e;if (e in t && typeof t[e] == "function") return t[e]();var n = `scale${RY(e)}`;if (n in t && typeof t[n] == "function") return t[n]();}-function _3e(e, t, n) {+function C3e(e, t, n) {if (typeof e == "function") return e.copy().domain(t).range(n);if (e != null) {- var r = g3e(e);+ var r = S3e(e);if (r != null) return r.domain(t).range(n), r;}}function V0(e, t, n, r) {- if (n != null && r != null) return typeof e.scale == "function" ? _3e(e.scale, n, r) : _3e(t, n, r);+ if (n != null && r != null) return typeof e.scale == "function" ? C3e(e.scale, n, r) : C3e(t, n, r);}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js-function v3e(e) {+function w3e(e) {return `scale${RY(e)}`;}-function y3e(e) {- return v3e(e) in h3e;+function T3e(e) {+ return w3e(e) in x3e;}-var b3e = (e, t, n) => {+var E3e = (e, t, n) => {if (e != null) {var r = e.scale, i = e.type;if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";- if (typeof r == "string") return y3e(r) ? r : "point";+ if (typeof r == "string") return T3e(r) ? r : "point";}};//#endregion//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js-function x3e(e, t) {+function D3e(e, t) {for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {var a = Math.floor((n + r) / 2);(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;}return n;}-function S3e(e, t) {+function O3e(e, t) {if (e) {var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();if (!(n.length === 0 || i.length < 2)) return (e) => {- var t = x3e(r, e);+ var t = D3e(r, e);if (t <= 0) return n[0];if (t >= n.length) return n[n.length - 1];var i = r[t - 1] ?? 0, a = r[t] ?? 0;@@ -95040,12 +95160,12 @@ function S3e(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js-function C3e(e) {- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : S3e(e, void 0);+function k3e(e) {+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : O3e(e, void 0);}//#endregion//#region node_modules/recharts/es6/state/selectors/axisSelectors.js-function w3e(e, t) {+function A3e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -95058,27 +95178,27 @@ function w3e(e, t) {function H0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? w3e(Object(n), !0).forEach(function(t) {- T3e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w3e(Object(n)).forEach(function(t) {+ t % 2 ? A3e(Object(n), !0).forEach(function(t) {+ j3e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A3e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function T3e(e, t, n) {- return (t = E3e(t)) in e ? Object.defineProperty(e, t, {+function j3e(e, t, n) {+ return (t = M3e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function E3e(e) {- var t = D3e(e, "string");+function M3e(e) {+ var t = N3e(e, "string");return typeof t == "symbol" ? t : t + "";}-function D3e(e, t) {+function N3e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -95088,25 +95208,25 @@ function D3e(e, t) {}return (t === "string" ? String : Number)(e);}-function O3e(e, t) {- return N3e(e) || M3e(e, t) || A3e(e, t) || k3e();+function P3e(e, t) {+ return z3e(e) || R3e(e, t) || I3e(e, t) || F3e();}-function k3e() {+function F3e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function A3e(e, t) {+function I3e(e, t) {if (e) {- if (typeof e == "string") return j3e(e, t);+ if (typeof e == "string") return L3e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? j3e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? L3e(e, t) : void 0;}}-function j3e(e, t) {+function L3e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function M3e(e, t) {+function R3e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -95127,7 +95247,7 @@ function M3e(e, t) {return s;}}-function N3e(e) {+function z3e(e) {if (Array.isArray(e)) return e;}var U0 = [0, "auto"], W0 = {@@ -95159,7 +95279,7 @@ var U0 = [0, "auto"], W0 = {type: "category",unit: void 0,niceTicks: "auto"-}, P3e = (e, t) => e.cartesianAxis.xAxis[t], G0 = (e, t) => P3e(e, t) ?? W0, K0 = {+}, B3e = (e, t) => e.cartesianAxis.xAxis[t], G0 = (e, t) => B3e(e, t) ?? W0, K0 = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,@@ -95188,7 +95308,7 @@ var U0 = [0, "auto"], W0 = {unit: void 0,niceTicks: "auto",width: 60-}, F3e = (e, t) => e.cartesianAxis.yAxis[t], q0 = (e, t) => F3e(e, t) ?? K0, I3e = {+}, V3e = (e, t) => e.cartesianAxis.yAxis[t], q0 = (e, t) => V3e(e, t) ?? K0, H3e = {domain: [0, "auto"],includeHidden: !1,reversed: !1,@@ -95201,7 +95321,7 @@ var U0 = [0, "auto"], W0 = {scale: "auto",type: "number",unit: ""-}, J0 = (e, t) => e.cartesianAxis.zAxis[t] ?? I3e, Y0 = (e, t, n) => {+}, J0 = (e, t) => e.cartesianAxis.zAxis[t] ?? H3e, Y0 = (e, t, n) => {switch (t) {case "xAxis": return G0(e, n);case "yAxis": return q0(e, n);@@ -95210,7 +95330,7 @@ var U0 = [0, "auto"], W0 = {case "radiusAxis": return P$(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, L3e = (e, t, n) => {+}, U3e = (e, t, n) => {switch (t) {case "xAxis": return G0(e, n);case "yAxis": return q0(e, n);@@ -95224,7 +95344,7 @@ var U0 = [0, "auto"], W0 = {case "radiusAxis": return P$(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, R3e = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");+}, W3e = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");function Z0(e, t) {return (n) => {switch (e) {@@ -95237,31 +95357,31 @@ function Z0(e, t) {}};}-var Q0 = (e) => e.graphicalItems.cartesianItems, z3e = X([R$, z$], Z0), $0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), e2 = X([+var Q0 = (e) => e.graphicalItems.cartesianItems, G3e = X([R$, z$], Z0), $0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), e2 = X([Q0,Y0,- z3e-], $0, { memoizeOptions: { resultEqualityCheck: W$ } }), B3e = X([e2], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(H$)), V3e = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), H3e = X([e2], V3e), t2 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), U3e = X([e2], (e) => e.some((e) => !e.data)), W3e = X([e2], t2, { memoizeOptions: { resultEqualityCheck: W$ } }), n2 = (e, t) => {+ G3e+], $0, { memoizeOptions: { resultEqualityCheck: W$ } }), K3e = X([e2], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(H$)), q3e = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), J3e = X([e2], q3e), t2 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Y3e = X([e2], (e) => e.some((e) => !e.data)), X3e = X([e2], t2, { memoizeOptions: { resultEqualityCheck: W$ } }), n2 = (e, t) => {var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;return e.length > 0 ? e : r.slice(i, a + 1);-}, r2 = X([W3e, m$], n2), G3e = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: aQ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: aQ(e, t.dataKey) })), K3e = (e, t, n, r, i, a) => {- var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = G3e(e, t, n);+}, r2 = X([X3e, m$], n2), Z3e = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: aQ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: aQ(e, t.dataKey) })), Q3e = (e, t, n, r, i, a) => {+ var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = Z3e(e, t, n);return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: aQ(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;}, i2 = X([r2,Y0,e2,m$,- U3e,- W3e-], K3e);+ Y3e,+ X3e+], Q3e);function a2(e) {if (NY(e) || e instanceof Date) {var t = Number(e);if (nQ(t)) return t;}}-function q3e(e) {+function $3e(e) {if (Array.isArray(e)) {var t = [a2(e[0]), a2(e[1])];return g$(t) ? t : void 0;@@ -95272,19 +95392,19 @@ function q3e(e) {function o2(e) {return e.map(a2).filter(zY);}-function J3e(e, t) {+function e6e(e, t) {var n = a2(e), r = a2(t);return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;}-var Y3e = X([i2], (e) => e?.map((e) => e.value).sort(J3e));-function X3e(e, t) {+var t6e = X([i2], (e) => e?.map((e) => e.value).sort(e6e));+function n6e(e, t) {switch (e) {case "xAxis": return t.direction === "x";case "yAxis": return t.direction === "y";default: return !1;}}-function Z3e(e, t, n) {+function r6e(e, t, n) {if (!n || !n.length) return [];var r;if (typeof t == "number" && !AY(t)) r = t;@@ -95295,14 +95415,14 @@ function Z3e(e, t, n) {return r == null ? [] : o2(n.flatMap((t) => {var n = aQ(e, t.dataKey), i, a;if (Array.isArray(n)) {- var o = O3e(n, 2);+ var o = P3e(n, 2);i = o[0], a = o[1];} else i = a = n;if (nQ(i) && nQ(a)) return [r - i, r + a];}));}-var s2 = (e) => X0(e, G$(e), K$(e)), c2 = X([s2], (e) => e?.dataKey), Q3e = X([- B3e,+var s2 = (e) => X0(e, G$(e), K$(e)), c2 = X([s2], (e) => e?.dataKey), i6e = X([+ K3e,m$,s2], V$), l2 = (e, t, n, r) => {@@ -95312,21 +95432,21 @@ var s2 = (e) => X0(e, G$(e), K$(e)), c2 = X([s2], (e) => e?.dataKey), Q3e = X([return n ??= [], n.push(t), e[t.stackId] = n, e;}, {});return Object.fromEntries(Object.entries(i).map((t) => {- var i = O3e(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;+ var i = P3e(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;return [a, {- stackedData: iYe(e, s.map(B$), n),+ stackedData: uYe(e, s.map(B$), n),graphicalItems: s}];}));}, u2 = X([- Q3e,- B3e,+ i6e,+ K3e,S$,C$-], l2), $3e = (e, t, n, r) => {+], l2), a6e = (e, t, n, r) => {var i = t.dataStartIndex, a = t.dataEndIndex;- if (r == null && n !== "zAxis") return cYe(e, i, a);-}, e6e = X([Y0], (e) => e.allowDataOverflow), d2 = (e) => {+ if (r == null && n !== "zAxis") return mYe(e, i, a);+}, o6e = X([Y0], (e) => e.allowDataOverflow), d2 = (e) => {if (e == null || !("domain" in e)) return U0;if (e.domain != null) return e.domain;if ("ticks" in e && e.ticks != null) {@@ -95337,12 +95457,12 @@ var s2 = (e) => X0(e, G$(e), K$(e)), c2 = X([s2], (e) => e?.dataKey), Q3e = X([if (e.type === "category") return e.ticks.map(String);}return e?.domain ?? U0;-}, f2 = X([Y0], d2), p2 = X([f2, e6e], $$e), t6e = X([+}, f2 = X([Y0], d2), p2 = X([f2, o6e], a1e), s6e = X([u2,f$,R$,p2-], $3e, { memoizeOptions: { resultEqualityCheck: U$ } }), m2 = (e) => e.errorBars, n6e = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => X3e(n, e)), h2 = function() {+], a6e, { memoizeOptions: { resultEqualityCheck: U$ } }), m2 = (e) => e.errorBars, c6e = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => n6e(n, e)), h2 = function() {var e = [...arguments].filter(Boolean);if (e.length !== 0) {var t = e.flat();@@ -95351,84 +95471,84 @@ var s2 = (e) => X0(e, G$(e), K$(e)), c2 = X([s2], (e) => e?.dataKey), Q3e = X([}, g2 = function(e, t, n, r, i) {var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : [], o, s;if (n.length > 0 && n.forEach((e) => {- var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => X3e(i, e));+ var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => n6e(i, e));n.forEach((n) => {- var r = aQ(n, t.dataKey ?? e.dataKey), i = Z3e(n, r, c);+ var r = aQ(n, t.dataKey ?? e.dataKey), i = r6e(n, r, c);if (i.length >= 2) {var a = Math.min(...i), l = Math.max(...i);(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);}- var u = q3e(r);+ var u = $3e(r);u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));});}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {- var n = q3e(aQ(e, t.dataKey));+ var n = $3e(aQ(e, t.dataKey));n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));}), nQ(o) && nQ(s)) return [o, s];-}, r6e = X([+}, l6e = X([r2,Y0,- H3e,+ J3e,m2,R$,- W$e+ X$e], g2, { memoizeOptions: { resultEqualityCheck: U$ } });-function i6e(e) {+function u6e(e) {var t = e.value;if (NY(t) || t instanceof Date) return t;}-var a6e = (e, t, n) => {- var r = e.map(i6e).filter((e) => e != null);- return n && (t.dataKey == null || t.allowDuplicatedCategory && WUe(r)) ? H$e(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));-}, o6e = (e) => e.referenceElements.dots, _2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), s6e = X([- o6e,+var d6e = (e, t, n) => {+ var r = e.map(u6e).filter((e) => e != null);+ return n && (t.dataKey == null || t.allowDuplicatedCategory && XUe(r)) ? J$e(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));+}, f6e = (e) => e.referenceElements.dots, _2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), p6e = X([+ f6e,R$,z$-], _2), c6e = (e) => e.referenceElements.areas, l6e = X([- c6e,+], _2), m6e = (e) => e.referenceElements.areas, h6e = X([+ m6e,R$,z$-], _2), u6e = (e) => e.referenceElements.lines, d6e = X([- u6e,+], _2), g6e = (e) => e.referenceElements.lines, _6e = X([+ g6e,R$,z$-], _2), f6e = (e, t) => {+], _2), v6e = (e, t) => {if (e != null) {var n = o2(e.map((e) => t === "xAxis" ? e.x : e.y));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, p6e = X(s6e, R$, f6e), m6e = (e, t) => {+}, y6e = X(p6e, R$, v6e), b6e = (e, t) => {if (e != null) {var n = o2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, h6e = X([l6e, R$], m6e);-function g6e(e) {+}, x6e = X([h6e, R$], b6e);+function S6e(e) {if (e.x != null) return o2([e.x]);var t = e.segment?.map((e) => e.x);return t == null || t.length === 0 ? [] : o2(t);}-function _6e(e) {+function C6e(e) {if (e.y != null) return o2([e.y]);var t = e.segment?.map((e) => e.y);return t == null || t.length === 0 ? [] : o2(t);}-var v6e = (e, t) => {+var w6e = (e, t) => {if (e != null) {- var n = e.flatMap((e) => t === "xAxis" ? g6e(e) : _6e(e));+ var n = e.flatMap((e) => t === "xAxis" ? S6e(e) : C6e(e));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, y6e = X(p6e, X([d6e, R$], v6e), h6e, (e, t, n) => h2(e, n, t)), v2 = (e, t, n, r, i, a, o, s, c) => {+}, T6e = X(y6e, X([_6e, R$], w6e), x6e, (e, t, n) => h2(e, n, t)), v2 = (e, t, n, r, i, a, o, s, c) => {if (n != null) return n;- var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? h2(r, a, i) : h2(a, i), u = e1e(t, l, e.allowDataOverflow);+ var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? h2(r, a, i) : h2(a, i), u = o1e(t, l, e.allowDataOverflow);return u == null && e.allowDataOverflow && l == null && c != null ? c : u;-}, b6e = X([+}, E6e = X([Y0,f2,p2,- t6e,- r6e,- y6e,+ s6e,+ l6e,+ T6e,jQ,R$,X([Y0], (e) => {@@ -95437,10 +95557,10 @@ var v6e = (e, t) => {if (t.length !== 0) return [Math.min(...t), Math.max(...t)];}}, { memoizeOptions: { resultEqualityCheck: U$ } })-], v2, { memoizeOptions: { resultEqualityCheck: U$ } }), x6e = [0, 1], y2 = (e, t, n, r, i, a, o) => {+], v2, { memoizeOptions: { resultEqualityCheck: U$ } }), D6e = [0, 1], y2 = (e, t, n, r, i, a, o) => {if (e != null && n != null && n.length !== 0 || o !== void 0) {var s = e.dataKey, c = e.type, l = oQ(t, a);- return l && s == null ? H$e(0, n?.length ?? 0) : c === "category" ? a6e(r, e, l) : i === "expand" && !l ? x6e : o;+ return l && s == null ? J$e(0, n?.length ?? 0) : c === "category" ? d6e(r, e, l) : i === "expand" && !l ? D6e : o;}}, b2 = X([Y0,@@ -95449,22 +95569,22 @@ var v6e = (e, t) => {i2,S$,R$,- b6e+ E6e], y2), x2 = X([Y0,- R3e,+ W3e,w$-], b3e), S2 = (e, t, n) => {+], E3e), S2 = (e, t, n) => {var r = t.niceTicks;if (r !== "none") {var i = d2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && g$(e)) {- if (a) return f1e(e, t.tickCount, t.allowDecimals, r);- if (t.type === "number") return p1e(e, t.tickCount, t.allowDecimals, r);+ if (a) return v1e(e, t.tickCount, t.allowDecimals, r);+ if (t.type === "number") return y1e(e, t.tickCount, t.allowDecimals, r);}if (r === "auto" && n === "linear" && t != null && t.tickCount) {- if (a && g$(e)) return f1e(e, t.tickCount, t.allowDecimals, "adaptive");- if (t.type === "number" && g$(e)) return p1e(e, t.tickCount, t.allowDecimals, "adaptive");+ if (a && g$(e)) return v1e(e, t.tickCount, t.allowDecimals, "adaptive");+ if (t.type === "number" && g$(e)) return y1e(e, t.tickCount, t.allowDecimals, "adaptive");}}}, C2 = X([@@ -95477,12 +95597,12 @@ var v6e = (e, t) => {return [Math.min(i, a), Math.max(o, s)];}return t;-}, S6e = X([+}, O6e = X([Y0,b2,C2,R$-], w2), C6e = X(X(i2, Y0, (e, t) => {+], w2), k6e = X(X(i2, Y0, (e, t) => {if (t && t.type === "number") {var n = Infinity, r = Array.from(o2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];if (i == null || a == null) return Infinity;@@ -95506,13 +95626,13 @@ var v6e = (e, t) => {return s - o - (s - o) / a * o;}return 0;-}), w6e = (e, t, n) => {+}), A6e = (e, t, n) => {var r = G0(e, t);- return r == null || typeof r.padding != "string" ? 0 : C6e(e, "xAxis", t, n, r.padding);-}, T6e = (e, t, n) => {+ return r == null || typeof r.padding != "string" ? 0 : k6e(e, "xAxis", t, n, r.padding);+}, j6e = (e, t, n) => {var r = q0(e, t);- return r == null || typeof r.padding != "string" ? 0 : C6e(e, "yAxis", t, n, r.padding);-}, E6e = X(G0, w6e, (e, t) => {+ return r == null || typeof r.padding != "string" ? 0 : k6e(e, "yAxis", t, n, r.padding);+}, M6e = X(G0, A6e, (e, t) => {if (e == null) return {left: 0,right: 0@@ -95525,7 +95645,7 @@ var v6e = (e, t) => {left: (n.left ?? 0) + t,right: (n.right ?? 0) + t};-}), D6e = X(q0, T6e, (e, t) => {+}), N6e = X(q0, j6e, (e, t) => {if (e == null) return {top: 0,bottom: 0@@ -95538,19 +95658,19 @@ var v6e = (e, t) => {top: (n.top ?? 0) + t,bottom: (n.bottom ?? 0) + t};-}), O6e = X([+}), P6e = X([vQ,- E6e,+ M6e,SQ,xQ,(e, t, n) => n], (e, t, n, r, i) => {var a = r.padding;return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];-}), k6e = X([+}), F6e = X([vQ,jQ,- D6e,+ N6e,SQ,xQ,(e, t, n) => n@@ -95559,18 +95679,18 @@ var v6e = (e, t) => {return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];}), T2 = (e, t, n, r) => {switch (t) {- case "xAxis": return O6e(e, n, r);- case "yAxis": return k6e(e, n, r);+ case "xAxis": return P6e(e, n, r);+ case "yAxis": return F6e(e, n, r);case "zAxis": return J0(e, n)?.range;- case "angleAxis": return E1e(e);- case "radiusAxis": return O1e(e, n);+ case "angleAxis": return M1e(e);+ case "radiusAxis": return P1e(e, n);default: return;}-}, A6e = X([Y0, T2], A$), E2 = X([+}, I6e = X([Y0, T2], A$), E2 = X([Y0,x2,- X([x2, S6e], j1e),- A6e+ X([x2, O6e], L1e),+ I6e], V0), D2 = (e, t, n, r) => {if (n != null && n.dataKey != null) {var i = n.type, a = n.scale;@@ -95582,57 +95702,57 @@ var v6e = (e, t) => {X0,R$], D2), k2 = X([E2], q$);-X([E2], C3e), X([E2, Y3e], S3e), X([+X([E2], k3e), X([E2, t6e], O3e), X([e2,m2,R$-], n6e);-function j6e(e, t) {+], c6e);+function L6e(e, t) {return e.id < t.id ? -1 : +(e.id > t.id);}-var A2 = (e, t) => t, j2 = (e, t, n) => n, M6e = X(hQ, A2, j2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(j6e)), N6e = X(gQ, A2, j2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(j6e)), P6e = (e, t) => {+var A2 = (e, t) => t, j2 = (e, t, n) => n, R6e = X(hQ, A2, j2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(L6e)), z6e = X(gQ, A2, j2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(L6e)), B6e = (e, t) => {var n = typeof t.height == "number" ? t.height : 30;return {width: e.width,height: n};-}, F6e = (e, t) => ({+}, V6e = (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-}), I6e = X(vQ, G0, P6e), L6e = (e, t, n) => {+}), H6e = X(vQ, G0, B6e), U6e = (e, t, n) => {switch (t) {case "top": return e.top;case "bottom": return n - e.bottom;default: return 0;}-}, R6e = (e, t, n) => {+}, W6e = (e, t, n) => {switch (t) {case "left": return e.left;case "right": return n - e.right;default: return 0;}-}, z6e = X(pQ, vQ, M6e, A2, j2, (e, t, n, r, i) => {+}, G6e = X(pQ, vQ, R6e, A2, j2, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {- var s = P6e(t, n);- o ??= L6e(t, r, e);+ var s = B6e(t, n);+ o ??= U6e(t, r, e);var c = r === "top" && !i || r === "bottom" && i;a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;}), a;-}), B6e = X(fQ, vQ, N6e, A2, j2, (e, t, n, r, i) => {+}), K6e = X(fQ, vQ, z6e, A2, j2, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {- var s = F6e(t, n);- o ??= R6e(t, r, e);+ var s = V6e(t, n);+ o ??= W6e(t, r, e);var c = r === "left" && !i || r === "right" && i;a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;}), a;-}), V6e = X([+}), q6e = X([vQ,G0,(e, t) => {var n = G0(e, t);- if (n != null) return z6e(e, n.orientation, n.mirror);+ if (n != null) return G6e(e, n.orientation, n.mirror);},(e, t) => t], (e, t, n, r) => {@@ -95646,12 +95766,12 @@ var A2 = (e, t) => t, j2 = (e, t, n) => n, M6e = X(hQ, A2, j2, (e, t, n) => e.fiy: i};}-}), H6e = X([+}), J6e = X([vQ,q0,(e, t) => {var n = q0(e, t);- if (n != null) return B6e(e, n.orientation, n.mirror);+ if (n != null) return K6e(e, n.orientation, n.mirror);},(e, t) => t], (e, t, n, r) => {@@ -95665,28 +95785,28 @@ var A2 = (e, t) => t, j2 = (e, t, n) => n, M6e = X(hQ, A2, j2, (e, t, n) => e.fiy: e.top};}-}), U6e = X(vQ, q0, (e, t) => ({+}), Y6e = X(vQ, q0, (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-})), W6e = (e, t, n) => {+})), X6e = (e, t, n) => {switch (t) {- case "xAxis": return I6e(e, n).width;- case "yAxis": return U6e(e, n).height;+ case "xAxis": return H6e(e, n).width;+ case "yAxis": return Y6e(e, n).height;default: return;}-}, G6e = (e, t, n, r) => {+}, Z6e = (e, t, n, r) => {if (n != null) {var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = oQ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);- if (o && s && a === "category" && i && WUe(l)) return c;+ if (o && s && a === "category" && i && XUe(l)) return c;}}, M2 = X([jQ,i2,Y0,R$-], G6e), K6e = X([+], Z6e), Q6e = X([jQ,- L3e,+ U3e,x2,k2,M2,@@ -95718,7 +95838,7 @@ var A2 = (e, t) => t, j2 = (e, t, n) => n, M6e = X(hQ, A2, j2, (e, t, n) => e.fiscale: r};}-}), q6e = (e, t, n, r, i, a, o, s, c) => {+}), $6e = (e, t, n, r, i, a, o, s, c) => {if (t != null && r != null) {var l = oQ(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;m = c === "angleAxis" && a != null && a.length >= 2 ? kY(a[0] - a[1]) * 2 * m : m;@@ -95757,7 +95877,7 @@ var A2 = (e, t) => t, j2 = (e, t, n) => n, M6e = X(hQ, A2, j2, (e, t, n) => e.fi} : null;}).filter(zY);}-}, J6e = X([+}, e8e = X([jQ,X0,x2,@@ -95767,7 +95887,7 @@ var A2 = (e, t) => t, j2 = (e, t, n) => n, M6e = X(hQ, A2, j2, (e, t, n) => e.fiM2,O2,R$-], q6e), Y6e = (e, t, n, r, i, a, o) => {+], $6e), t8e = (e, t, n, r, i, a, o) => {if (t != null && n != null && r != null && r[0] !== r[1]) {var s = oQ(e, o), c = t.tickCount, l = 0;return l = o === "angleAxis" && r?.length >= 2 ? kY(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {@@ -95804,18 +95924,18 @@ var A2 = (e, t) => t, j2 = (e, t, n) => n, M6e = X(hQ, A2, j2, (e, t, n) => e.fiM2,O2,R$-], Y6e), P2 = X(Y0, k2, (e, t) => {+], t8e), P2 = X(Y0, k2, (e, t) => {if (e != null && t != null) return H0(H0({}, e), {}, { scale: t });});X((e, t, n) => J0(e, n), X([X([Y0,x2,b2,- A6e+ I6e], V0)], q$), (e, t) => {if (e != null && t != null) return H0(H0({}, e), {}, { scale: t });});-var X6e = X([+var n8e = X([jQ,hQ,gQ@@ -95840,30 +95960,30 @@ X([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {});//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js-var Z6e = (e) => e.options.defaultTooltipEventType, Q6e = (e) => e.options.validateTooltipEventTypes;-function $6e(e, t, n) {+var r8e = (e) => e.options.defaultTooltipEventType, i8e = (e) => e.options.validateTooltipEventTypes;+function a8e(e, t, n) {if (e == null) return t;var r = e ? "axis" : "item";return n == null ? t : n.includes(r) ? r : t;}function F2(e, t) {- return $6e(t, Z6e(e), Q6e(e));+ return a8e(t, r8e(e), i8e(e));}-function e8e(e) {+function o8e(e) {return LX((t) => F2(t, e));}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js-var t8e = (e, t) => {+var s8e = (e, t) => {var n, r = Number(t);if (!(AY(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;-}, n8e = (e) => e.tooltip.settings, I2 = {+}, c8e = (e) => e.tooltip.settings, I2 = {active: !1,index: null,dataKey: void 0,graphicalItemId: void 0,coordinate: void 0-}, r8e = VZ({+}, l8e = VZ({name: "tooltip",initialState: {itemInteraction: {@@ -95942,10 +96062,10 @@ var t8e = (e, t) => {e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;}}-}), L2 = r8e.actions, i8e = L2.addTooltipEntrySettings, a8e = L2.replaceTooltipEntrySettings, o8e = L2.removeTooltipEntrySettings, s8e = L2.setTooltipSettingsState, c8e = L2.setActiveMouseOverItemIndex, l8e = L2.mouseLeaveItem, u8e = L2.mouseLeaveChart, d8e = L2.setActiveClickItemIndex, f8e = L2.setMouseOverAxisIndex, p8e = L2.setMouseClickAxisIndex, R2 = L2.setSyncInteraction, z2 = L2.setKeyboardInteraction, m8e = r8e.reducer;+}), L2 = l8e.actions, u8e = L2.addTooltipEntrySettings, d8e = L2.replaceTooltipEntrySettings, f8e = L2.removeTooltipEntrySettings, p8e = L2.setTooltipSettingsState, m8e = L2.setActiveMouseOverItemIndex, h8e = L2.mouseLeaveItem, g8e = L2.mouseLeaveChart, _8e = L2.setActiveClickItemIndex, v8e = L2.setMouseOverAxisIndex, y8e = L2.setMouseClickAxisIndex, R2 = L2.setSyncInteraction, z2 = L2.setKeyboardInteraction, b8e = l8e.reducer;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js-function h8e(e, t) {+function x8e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -95958,27 +96078,27 @@ function h8e(e, t) {function B2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? h8e(Object(n), !0).forEach(function(t) {- g8e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h8e(Object(n)).forEach(function(t) {+ t % 2 ? x8e(Object(n), !0).forEach(function(t) {+ S8e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x8e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function g8e(e, t, n) {- return (t = _8e(t)) in e ? Object.defineProperty(e, t, {+function S8e(e, t, n) {+ return (t = C8e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function _8e(e) {- var t = v8e(e, "string");+function C8e(e) {+ var t = w8e(e, "string");return typeof t == "symbol" ? t : t + "";}-function v8e(e, t) {+function w8e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -95988,21 +96108,21 @@ function v8e(e, t) {}return (t === "string" ? String : Number)(e);}-function y8e(e, t, n) {+function T8e(e, t, n) {return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;}-function b8e(e) {+function E8e(e) {return e.index != null;}-var x8e = (e, t, n, r) => {+var D8e = (e, t, n, r) => {if (t == null) return I2;- var i = y8e(e, t, n);+ var i = T8e(e, t, n);if (i == null) return I2;if (i.active) return i;if (e.keyboardInteraction.active) return e.keyboardInteraction;if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;var a = e.settings.active === !0;- if (b8e(i)) {+ if (E8e(i)) {if (a) return B2(B2({}, i), {}, { active: !0 });} else if (r != null) return {active: !0,@@ -96015,7 +96135,7 @@ var x8e = (e, t, n, r) => {};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js-function S8e(e) {+function O8e(e) {if (typeof e == "number") return Number.isFinite(e) ? e : void 0;if (e instanceof Date) {var t = e.valueOf();@@ -96024,14 +96144,14 @@ function S8e(e) {var n = Number(e);return Number.isFinite(n) ? n : void 0;}-function C8e(e, t) {- var n = S8e(e), r = t[0], i = t[1];+function k8e(e, t) {+ var n = O8e(e), r = t[0], i = t[1];return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);}-function w8e(e, t, n) {+function A8e(e, t, n) {if (n == null || t == null) return !0;var r = aQ(e, t);- return r == null || !g$(n) || C8e(r, n);+ return r == null || !g$(n) || k8e(r, n);}var V2 = (e, t, n, r) => {var i = e?.index;@@ -96041,8 +96161,8 @@ var V2 = (e, t, n, r) => {var o = 0, s = Infinity;t.length > 0 && (s = t.length - 1);var c = Math.max(o, Math.min(a, s)), l = t[c];- return l == null || w8e(l, n, r) ? String(c) : null;-}, T8e = (e, t, n, r, i, a, o) => {+ return l == null || A8e(l, n, r) ? String(c) : null;+}, j8e = (e, t, n, r, i, a, o) => {if (a != null) {var s = o[0]?.getPosition(a);if (s != null) return s;@@ -96058,7 +96178,7 @@ var V2 = (e, t, n, r) => {};}}-}, E8e = (e, t, n, r) => {+}, M8e = (e, t, n, r) => {if (t === "axis") return e.tooltipItemPayloads;if (e.tooltipItemPayloads.length === 0) return [];var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;@@ -96068,10 +96188,10 @@ var V2 = (e, t, n, r) => {return a == null ? [] : [a];}return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);-}, D8e = (e) => e.options.tooltipPayloadSearcher, H2 = (e) => e.tooltip;+}, N8e = (e) => e.options.tooltipPayloadSearcher, H2 = (e) => e.tooltip;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js-function O8e(e, t) {+function P8e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -96081,30 +96201,30 @@ function O8e(e, t) {}return n;}-function k8e(e) {+function F8e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? O8e(Object(n), !0).forEach(function(t) {- A8e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O8e(Object(n)).forEach(function(t) {+ t % 2 ? P8e(Object(n), !0).forEach(function(t) {+ I8e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P8e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function A8e(e, t, n) {- return (t = j8e(t)) in e ? Object.defineProperty(e, t, {+function I8e(e, t, n) {+ return (t = L8e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function j8e(e) {- var t = M8e(e, "string");+function L8e(e) {+ var t = R8e(e, "string");return typeof t == "symbol" ? t : t + "";}-function M8e(e, t) {+function R8e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -96114,52 +96234,52 @@ function M8e(e, t) {}return (t === "string" ? String : Number)(e);}-function N8e(e) {+function z8e(e) {if (typeof e == "string" || typeof e == "number") return e;}-function P8e(e) {+function B8e(e) {if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;}-function F8e(e) {+function V8e(e) {if (typeof e == "string" || typeof e == "number") return e;if (typeof e == "function") return (t) => e(t);}-function I8e(e) {+function H8e(e) {if (typeof e == "string") return e;}-function L8e(e) {+function U8e(e) {if (typeof e == "object" && e) return {- name: "name" in e ? N8e(e.name) : void 0,- unit: "unit" in e ? P8e(e.unit) : void 0,- dataKey: "dataKey" in e ? F8e(e.dataKey) : void 0,+ name: "name" in e ? z8e(e.name) : void 0,+ unit: "unit" in e ? B8e(e.unit) : void 0,+ dataKey: "dataKey" in e ? V8e(e.dataKey) : void 0,payload: "payload" in e ? e.payload : void 0,- color: "color" in e ? I8e(e.color) : void 0,- fill: "fill" in e ? I8e(e.fill) : void 0+ color: "color" in e ? H8e(e.color) : void 0,+ fill: "fill" in e ? H8e(e.fill) : void 0};}-function R8e(e, t) {+function W8e(e, t) {return e ?? t;}-var z8e = (e, t, n, r, i, a, o) => {+var G8e = (e, t, n, r, i, a, o) => {if (t != null && a != null) {var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;return e.reduce((e, n) => {- var d = n.dataDefinedOnItem, f = n.settings, p = R8e(d, s), m = Array.isArray(p) ? JJe(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = GUe(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {- var n = L8e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = k8e(k8e({}, f), {}, {+ var d = n.dataDefinedOnItem, f = n.settings, p = W8e(d, s), m = Array.isArray(p) ? eYe(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = ZUe(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {+ var n = U8e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = F8e(F8e({}, f), {}, {name: r,unit: n?.unit,color: n?.color ?? f?.color,fill: n?.fill ?? f?.fill});- e.push(dYe({+ e.push(_Ye({tooltipEntrySettings: o,dataKey: i,payload: a,value: aQ(a, i),name: r == null ? void 0 : String(r)}));- }) : e.push(dYe({+ }) : e.push(_Ye({tooltipEntrySettings: f,dataKey: h,payload: _,@@ -96170,14 +96290,14 @@ var z8e = (e, t, n, r, i, a, o) => {}}, U2 = X([s2,- R3e,+ W3e,w$-], b3e), W2 = X([+], E3e), W2 = X([X([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),s2,X([G$, K$], Z0)-], $0, { memoizeOptions: { resultEqualityCheck: W$ } }), B8e = X([W2], (e) => e.filter(H$)), V8e = X([W2], t2, { memoizeOptions: { resultEqualityCheck: W$ } }), H8e = X([W2], (e) => e.some((e) => !e.data)), G2 = X([V8e, f$], n2), U8e = X([- B8e,+], $0, { memoizeOptions: { resultEqualityCheck: W$ } }), K8e = X([W2], (e) => e.filter(H$)), q8e = X([W2], t2, { memoizeOptions: { resultEqualityCheck: W$ } }), J8e = X([W2], (e) => e.some((e) => !e.data)), G2 = X([q8e, f$], n2), Y8e = X([+ K8e,f$,s2], V$), K2 = X([@@ -96185,34 +96305,34 @@ var z8e = (e, t, n, r, i, a, o) => {s2,W2,f$,- H8e,- V8e-], K3e), W8e = X([s2], d2), G8e = X([W8e, X([s2], (e) => e.allowDataOverflow)], $$e), K8e = X([+ J8e,+ q8e+], Q3e), X8e = X([s2], d2), Z8e = X([X8e, X([s2], (e) => e.allowDataOverflow)], a1e), Q8e = X([X([- U8e,+ Y8e,X([W2], (e) => e.filter(H$)),S$,C$], l2),f$,G$,- G8e-], $3e), q8e = X([+ Z8e+], a6e), $8e = X([G2,s2,- X([W2], V3e),+ X([W2], q3e),m2,G$,- K$e-], g2, { memoizeOptions: { resultEqualityCheck: U$ } }), J8e = X([X([- o6e,+ Q$e+], g2, { memoizeOptions: { resultEqualityCheck: U$ } }), e5e = X([X([+ f6e,G$,K$-], _2), G$], f6e), Y8e = X([X([- c6e,+], _2), G$], v6e), t5e = X([X([+ m6e,G$,K$-], _2), G$], m6e), q2 = X([+], _2), G$], b6e), q2 = X([s2,jQ,G2,@@ -96221,23 +96341,23 @@ var z8e = (e, t, n, r, i, a, o) => {G$,X([s2,- W8e,- G8e,- K8e,- q8e,+ X8e,+ Z8e,+ Q8e,+ $8e,X([- J8e,+ e5e,X([X([- u6e,+ g6e,G$,K$- ], _2), G$], v6e),- Y8e+ ], _2), G$], w6e),+ t5e], h2),jQ,G$], v2)-], y2), X8e = X([+], y2), n5e = X([s2,q2,X([@@ -96246,23 +96366,23 @@ var z8e = (e, t, n, r, i, a, o) => {U2], S2),G$-], w2), Z8e = (e) => T2(e, G$(e), K$(e), !1), Q8e = X([s2, Z8e], A$), $8e = X([X([+], w2), r5e = (e) => T2(e, G$(e), K$(e), !1), i5e = X([s2, r5e], A$), a5e = X([X([s2,U2,- X8e,- Q8e+ n5e,+ i5e], V0)], q$), J2 = X([jQ,s2,U2,- $8e,- Z8e,+ a5e,+ r5e,X([jQ,K2,s2,G$- ], G6e),+ ], Z6e),X([jQ,K2,@@ -96295,45 +96415,45 @@ var z8e = (e, t, n, r, i, a, o) => {}}}), Y2 = X([- Z6e,- Q6e,- n8e-], (e, t, n) => $6e(n.shared, e, t)), e5e = (e) => e.tooltip.settings.trigger, X2 = (e) => e.tooltip.settings.defaultIndex, Z2 = X([+ r8e,+ i8e,+ c8e+], (e, t, n) => a8e(n.shared, e, t)), o5e = (e) => e.tooltip.settings.trigger, X2 = (e) => e.tooltip.settings.defaultIndex, Z2 = X([H2,Y2,- e5e,+ o5e,X2-], x8e), Q2 = X([+], D8e), Q2 = X([Z2,G2,c2,q2-], V2), t5e = X([J2, Q2], t8e), n5e = X([Z2], (e) => {+], V2), s5e = X([J2, Q2], s8e), c5e = X([Z2], (e) => {if (e) return e.dataKey;-}), r5e = X([Z2], (e) => {+}), l5e = X([Z2], (e) => {if (e) return e.graphicalItemId;-}), i5e = X([+}), u5e = X([H2,Y2,- e5e,+ o5e,X2-], E8e), a5e = X([Z2, X([+], M8e), d5e = X([Z2, X([fQ,pQ,jQ,vQ,J2,X2,- i5e-], T8e)], (e, t) => e != null && e.coordinate ? e.coordinate : t), o5e = X([Z2], (e) => e?.active ?? !1), s5e = X([X([- i5e,+ u5e+], j8e)], (e, t) => e != null && e.coordinate ? e.coordinate : t), f5e = X([Z2], (e) => e?.active ?? !1), p5e = X([X([+ u5e,Q2,f$,c2,- t5e,- D8e,+ s5e,+ N8e,Y2-], z8e)], (e) => {+], G8e)], (e) => {if (e != null) {var t = e.map((e) => e.payload).filter((e) => e != null);return Array.from(new Set(t));@@ -96341,7 +96461,7 @@ var z8e = (e, t, n, r, i, a, o) => {});//#endregion//#region node_modules/recharts/es6/context/useTooltipAxis.js-function c5e(e, t) {+function m5e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -96351,30 +96471,30 @@ function c5e(e, t) {}return n;}-function l5e(e) {+function h5e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? c5e(Object(n), !0).forEach(function(t) {- u5e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c5e(Object(n)).forEach(function(t) {+ t % 2 ? m5e(Object(n), !0).forEach(function(t) {+ g5e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m5e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function u5e(e, t, n) {- return (t = d5e(t)) in e ? Object.defineProperty(e, t, {+function g5e(e, t, n) {+ return (t = _5e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function d5e(e) {- var t = f5e(e, "string");+function _5e(e) {+ var t = v5e(e, "string");return typeof t == "symbol" ? t : t + "";}-function f5e(e, t) {+function v5e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -96384,13 +96504,13 @@ function f5e(e, t) {}return (t === "string" ? String : Number)(e);}-var p5e = () => LX(s2), m5e = () => {- var e = p5e(), t = LX(J2), n = LX($8e);- return uQ(!e || !n ? void 0 : l5e(l5e({}, e), {}, { scale: n }), t);+var y5e = () => LX(s2), b5e = () => {+ var e = y5e(), t = LX(J2), n = LX(a5e);+ return uQ(!e || !n ? void 0 : h5e(h5e({}, e), {}, { scale: n }), t);};//#endregion//#region node_modules/recharts/es6/util/getActiveCoordinate.js-function h5e(e, t) {+function x5e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -96403,27 +96523,27 @@ function h5e(e, t) {function $2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? h5e(Object(n), !0).forEach(function(t) {- g5e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h5e(Object(n)).forEach(function(t) {+ t % 2 ? x5e(Object(n), !0).forEach(function(t) {+ S5e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x5e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function g5e(e, t, n) {- return (t = _5e(t)) in e ? Object.defineProperty(e, t, {+function S5e(e, t, n) {+ return (t = C5e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function _5e(e) {- var t = v5e(e, "string");+function C5e(e) {+ var t = w5e(e, "string");return typeof t == "symbol" ? t : t + "";}-function v5e(e, t) {+function w5e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -96433,7 +96553,7 @@ function v5e(e, t) {}return (t === "string" ? String : Number)(e);}-var y5e = (e, t, n, r) => {+var T5e = (e, t, n, r) => {var i = t.find((e) => e && e.index === n);if (i) {if (e === "horizontal") return {@@ -96449,7 +96569,7 @@ var y5e = (e, t, n, r) => {x: 0,y: 0};-}, b5e = (e, t, n, r) => {+}, E5e = (e, t, n, r) => {var i = t.find((e) => e && e.index === n);if (i) {if (e === "centric") {@@ -96479,11 +96599,11 @@ var y5e = (e, t, n, r) => {y: 0};};-function x5e(e, t) {+function D5e(e, t) {var n = e.relativeX, r = e.relativeY;return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;}-var S5e = (e, t, n, r, i) => {+var O5e = (e, t, n, r, i) => {var a = t?.length ?? 0;if (a <= 1 || e == null) return 0;if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = i[1] - i[0], s = (t, n, r) => [@@ -96520,78 +96640,78 @@ var S5e = (e, t, n, r, i) => {}}return -1;-}, C5e = () => LX(w$), e4 = (e, t) => t, w5e = (e, t, n) => n, t4 = (e, t, n, r) => r, T5e = X(J2, (e) => BX(e, (e) => e.coordinate)), n4 = X([+}, k5e = () => LX(w$), e4 = (e, t) => t, A5e = (e, t, n) => n, t4 = (e, t, n, r) => r, j5e = X(J2, (e) => BX(e, (e) => e.coordinate)), n4 = X([H2,e4,- w5e,+ A5e,t4-], x8e), r4 = X([+], D8e), r4 = X([n4,G2,c2,q2-], V2), E5e = (e, t, n) => {+], V2), M5e = (e, t, n) => {if (t != null) {var r = H2(e);return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;}-}, D5e = X([+}, N5e = X([H2,e4,- w5e,+ A5e,t4-], E8e), i4 = X([+], M8e), i4 = X([fQ,pQ,jQ,vQ,J2,t4,- D5e-], T8e), O5e = X([n4, i4], (e, t) => e.coordinate ?? t), k5e = X([J2, r4], t8e), A5e = X([- D5e,+ N5e+], j8e), P5e = X([n4, i4], (e, t) => e.coordinate ?? t), F5e = X([J2, r4], s8e), I5e = X([+ N5e,r4,f$,c2,- k5e,- D8e,+ F5e,+ N8e,e4-], z8e), j5e = X([n4, r4], (e, t) => ({+], G8e), L5e = X([n4, r4], (e, t) => ({isActive: e.active && t != null,activeIndex: t-})), M5e = (e, t, n, r, i, a, o) => {- if (e && n && r && i && x5e(e, o)) {- var s = S5e(fYe(e, t), a, i, n, r), c = y5e(t, i, s, e);+})), R5e = (e, t, n, r, i, a, o) => {+ if (e && n && r && i && D5e(e, o)) {+ var s = O5e(vYe(e, t), a, i, n, r), c = T5e(t, i, s, e);return {activeIndex: String(s),activeCoordinate: c};}-}, N5e = (e, t, n, r, i, a, o) => {+}, z5e = (e, t, n, r, i, a, o) => {if (e && r && i && a && n) {- var s = D$e(e, n);+ var s = N$e(e, n);if (s) {- var c = S5e(pYe(s, t), o, a, r, i), l = b5e(t, a, c, s);+ var c = O5e(yYe(s, t), o, a, r, i), l = E5e(t, a, c, s);return {activeIndex: String(c),activeCoordinate: l};}}-}, P5e = (e, t, n, r, i, a, o, s) => {- if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? M5e(e, t, r, i, a, o, s) : N5e(e, t, n, r, i, a, o);-}, F5e = X((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {+}, B5e = (e, t, n, r, i, a, o, s) => {+ if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? R5e(e, t, r, i, a, o, s) : z5e(e, t, n, r, i, a, o);+}, V5e = X((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {if (t != null) {var r = e[t];if (r != null) return n ? r.panoramaElement : r.element;}-}), I5e = X((e) => e.zIndex.zIndexMap, (e) => {+}), H5e = X((e) => e.zIndex.zIndexMap, (e) => {var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(D$));return Array.from(new Set(t)).sort((e, t) => e - t);-}, { memoizeOptions: { resultEqualityCheck: A1e } });+}, { memoizeOptions: { resultEqualityCheck: I1e } });//#endregion//#region node_modules/recharts/es6/state/zIndexSlice.js-function L5e(e, t) {+function U5e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -96601,30 +96721,30 @@ function L5e(e, t) {}return n;}-function R5e(e) {+function W5e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? L5e(Object(n), !0).forEach(function(t) {- z5e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L5e(Object(n)).forEach(function(t) {+ t % 2 ? U5e(Object(n), !0).forEach(function(t) {+ G5e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U5e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function z5e(e, t, n) {- return (t = B5e(t)) in e ? Object.defineProperty(e, t, {+function G5e(e, t, n) {+ return (t = K5e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function B5e(e) {- var t = V5e(e, "string");+function K5e(e) {+ var t = q5e(e, "string");return typeof t == "symbol" ? t : t + "";}-function V5e(e, t) {+function q5e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -96634,17 +96754,17 @@ function V5e(e, t) {}return (t === "string" ? String : Number)(e);}-var H5e = { zIndexMap: Object.values(D$).reduce((e, t) => R5e(R5e({}, e), {}, { [t]: {+var J5e = { zIndexMap: Object.values(D$).reduce((e, t) => W5e(W5e({}, e), {}, { [t]: {element: void 0,panoramaElement: void 0,consumers: 0-} }), {}) }, U5e = new Set(Object.values(D$));-function W5e(e) {- return U5e.has(e);+} }), {}) }, Y5e = new Set(Object.values(D$));+function X5e(e) {+ return Y5e.has(e);}-var G5e = VZ({+var Z5e = VZ({name: "zIndex",- initialState: H5e,+ initialState: J5e,reducers: {registerZIndexPortal: {reducer: (e, t) => {@@ -96660,7 +96780,7 @@ var G5e = VZ({unregisterZIndexPortal: {reducer: (e, t) => {var n = t.payload.zIndex;- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !W5e(n) && delete e.zIndexMap[n]);+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !X5e(n) && delete e.zIndexMap[n]);},prepare: BZ()},@@ -96683,18 +96803,18 @@ var G5e = VZ({prepare: BZ()}}-}), a4 = G5e.actions, K5e = a4.registerZIndexPortal, o4 = a4.unregisterZIndexPortal, q5e = a4.registerZIndexPortalElement, J5e = a4.unregisterZIndexPortalElement, Y5e = G5e.reducer;+}), a4 = Z5e.actions, Q5e = a4.registerZIndexPortal, o4 = a4.unregisterZIndexPortal, $5e = a4.registerZIndexPortalElement, e7e = a4.unregisterZIndexPortalElement, t7e = Z5e.reducer;//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexLayer.jsfunction s4(e) {- var t = e.zIndex, n = e.children, r = iXe() && t !== void 0 && t !== 0, i = bQ(), a = (0, E.useRef)(void 0), o = (0, E.useRef)(/* @__PURE__ */ new Set()), s = FX(), c = LX((e) => F5e(e, t, i));+ var t = e.zIndex, n = e.children, r = uXe() && t !== void 0 && t !== 0, i = bQ(), a = (0, E.useRef)(void 0), o = (0, E.useRef)(/* @__PURE__ */ new Set()), s = FX(), c = LX((e) => V5e(e, t, i));if ((0, E.useLayoutEffect)(() => {if (!r) {var e = o.current;e.forEach((e) => {s(o4({ zIndex: e }));}), e.clear(), a.current = void 0;- } else if (o.current.has(t) || (s(K5e({ zIndex: t })), o.current.add(t)), c) {+ } else if (o.current.has(t) || (s(Q5e({ zIndex: t })), o.current.add(t)), c) {a.current = c;var n = o.current;n.forEach((e) => {@@ -96728,7 +96848,7 @@ function c4() {return e;}, c4.apply(null, arguments);}-function X5e(e, t) {+function n7e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -96741,27 +96861,27 @@ function X5e(e, t) {function l4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? X5e(Object(n), !0).forEach(function(t) {- Z5e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X5e(Object(n)).forEach(function(t) {+ t % 2 ? n7e(Object(n), !0).forEach(function(t) {+ r7e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n7e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Z5e(e, t, n) {- return (t = Q5e(t)) in e ? Object.defineProperty(e, t, {+function r7e(e, t, n) {+ return (t = i7e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Q5e(e) {- var t = $5e(e, "string");+function i7e(e) {+ var t = a7e(e, "string");return typeof t == "symbol" ? t : t + "";}-function $5e(e, t) {+function a7e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -96771,18 +96891,18 @@ function $5e(e, t) {}return (t === "string" ? String : Number)(e);}-function e7e(e) {+function o7e(e) {var t = e.cursor, n = e.cursorComp, r = e.cursorProps;return /*#__PURE__*/ (0, E.isValidElement)(t) ? /*#__PURE__*/ (0, E.cloneElement)(t, r) : /*#__PURE__*/ (0, E.createElement)(n, r);}-function t7e(e) {+function s7e(e) {var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, u = t, d = n, f = r;if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;var p, m, h;- if (l === "ScatterChart") p = u, m = sQe, h = D$.cursorLine;- else if (l === "BarChart") p = cQe(o, u, i, a), m = r$, h = D$.cursorRectangle;- else if (o === "radial" && pGe(u)) {- var g = O$e(u), _ = g.cx, v = g.cy, y = g.radius;+ if (l === "ScatterChart") p = u, m = pQe, h = D$.cursorLine;+ else if (l === "BarChart") p = mQe(o, u, i, a), m = r$, h = D$.cursorRectangle;+ else if (o === "radial" && yGe(u)) {+ var g = P$e(u), _ = g.cx, v = g.cy, y = g.radius;p = {cx: _,cy: v,@@ -96791,7 +96911,7 @@ function t7e(e) {innerRadius: y,outerRadius: y}, m = u$, h = D$.cursorLine;- } else p = { points: B$e(o, u, i) }, m = ZQ, h = D$.cursorLine;+ } else p = { points: K$e(o, u, i) }, m = ZQ, h = D$.cursorLine;var b = typeof s == "object" && "className" in s ? s.className : void 0, x = l4(l4(l4(l4({stroke: "#ccc",pointerEvents: "none"@@ -96800,15 +96920,15 @@ function t7e(e) {payloadIndex: f,className: Uv("recharts-tooltip-cursor", b)});- return /*#__PURE__*/ E.createElement(s4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ E.createElement(e7e, {+ return /*#__PURE__*/ E.createElement(s4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ E.createElement(o7e, {cursor: s,cursorComp: m,cursorProps: x}));}-function n7e(e) {- var t = m5e(), n = nXe(), r = MQ(), i = C5e();- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ E.createElement(t7e, c4({}, e, {+function c7e(e) {+ var t = b5e(), n = cXe(), r = MQ(), i = k5e();+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ E.createElement(s7e, c4({}, e, {offset: n,layout: r,tooltipAxisBandSize: t,@@ -96817,7 +96937,7 @@ function n7e(e) {}//#endregion//#region node_modules/recharts/es6/context/tooltipPortalContext.js-var r7e = /*#__PURE__*/ (0, E.createContext)(null), i7e = () => (0, E.useContext)(r7e), a7e = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {+var l7e = /*#__PURE__*/ (0, E.createContext)(null), u7e = () => (0, E.useContext)(l7e), d7e = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {var n = Object.prototype.hasOwnProperty, r = "~";function i() {}Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));@@ -96904,12 +97024,12 @@ var r7e = /*#__PURE__*/ (0, E.createContext)(null), i7e = () => (0, E.useContextvar t;return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);-})))(), 1)).default, u4 = new a7e(), d4 = "recharts.syncEvent.tooltip", o7e = "recharts.syncEvent.brush", f4 = (e, t) => {+})))(), 1)).default, u4 = new d7e(), d4 = "recharts.syncEvent.tooltip", f7e = "recharts.syncEvent.brush", f4 = (e, t) => {if (t && Array.isArray(e)) {var n = Number.parseInt(t, 10);if (!AY(n)) return e[n];}-}, s7e = VZ({+}, p7e = VZ({name: "options",initialState: {chartName: "",@@ -96920,13 +97040,13 @@ var r7e = /*#__PURE__*/ (0, E.createContext)(null), i7e = () => (0, E.useContextreducers: { createEventEmitter: (e) => {e.eventEmitter ??= Symbol("rechartsEventEmitter");} }-}), c7e = s7e.reducer, l7e = s7e.actions.createEventEmitter;+}), m7e = p7e.reducer, h7e = p7e.actions.createEventEmitter;//#endregion//#region node_modules/recharts/es6/synchronisation/syncSelectors.js-function u7e(e) {+function g7e(e) {return e.tooltip.syncInteraction;}-var d7e = VZ({+var _7e = VZ({name: "chartData",initialState: {chartData: void 0,@@ -96946,10 +97066,10 @@ var d7e = VZ({r != null && (e.dataStartIndex = r), i != null && (e.dataEndIndex = i);}}-}), p4 = d7e.actions, f7e = p4.setChartData, p7e = p4.setDataStartEndIndexes;+}), p4 = _7e.actions, v7e = p4.setChartData, y7e = p4.setDataStartEndIndexes;p4.setComputedData;-var m7e = d7e.reducer, h7e = ["x", "y"];-function g7e(e, t) {+var b7e = _7e.reducer, x7e = ["x", "y"];+function S7e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -96962,27 +97082,27 @@ function g7e(e, t) {function m4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? g7e(Object(n), !0).forEach(function(t) {- _7e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g7e(Object(n)).forEach(function(t) {+ t % 2 ? S7e(Object(n), !0).forEach(function(t) {+ C7e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S7e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function _7e(e, t, n) {- return (t = v7e(t)) in e ? Object.defineProperty(e, t, {+function C7e(e, t, n) {+ return (t = w7e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function v7e(e) {- var t = y7e(e, "string");+function w7e(e) {+ var t = T7e(e, "string");return typeof t == "symbol" ? t : t + "";}-function y7e(e, t) {+function T7e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -96992,16 +97112,16 @@ function y7e(e, t) {}return (t === "string" ? String : Number)(e);}-function b7e(e, t) {+function E7e(e, t) {if (e == null) return {};- var n, r, i = x7e(e, t);+ var n, r, i = D7e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function x7e(e, t) {+function D7e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -97010,8 +97130,8 @@ function x7e(e, t) {}return n;}-function S7e() {- var e = LX(T$), t = LX(E$), n = FX(), r = LX(g1e), i = LX(J2), a = MQ(), o = OQ(), s = LX((e) => e.rootProps.className);+function O7e() {+ var e = LX(T$), t = LX(E$), n = FX(), r = LX(S1e), i = LX(J2), a = MQ(), o = OQ(), s = LX((e) => e.rootProps.className);(0, E.useEffect)(() => {if (e == null) return BY;var s = (s, c, l) => {@@ -97028,7 +97148,7 @@ function S7e() {else if (r === "index") {var u;if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {- var d = c.payload.coordinate, f = d.x, p = d.y, m = b7e(d, h7e), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = m4(m4({}, m), {}, {+ var d = c.payload.coordinate, f = d.x, p = d.y, m = E7e(d, x7e), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = m4(m4({}, m), {}, {x: o.x + (v ? (f - g) / v : 0) * o.width,y: o.y + (y ? (p - _) / y : 0) * o.height});@@ -97095,15 +97215,15 @@ function S7e() {o]);}-function C7e() {+function k7e() {var e = LX(T$), t = LX(E$), n = FX();(0, E.useEffect)(() => {if (e == null) return BY;var r = (r, i, a) => {- t !== a && e === r && n(p7e(i));+ t !== a && e === r && n(y7e(i));};- return u4.on(o7e, r), () => {- u4.off(o7e, r);+ return u4.on(f7e, r), () => {+ u4.off(f7e, r);};}, [n,@@ -97111,14 +97231,14 @@ function C7e() {e]);}-function w7e() {+function A7e() {var e = FX();(0, E.useEffect)(() => {- e(l7e());- }, [e]), S7e(), C7e();+ e(h7e());+ }, [e]), O7e(), k7e();}-function T7e(e, t, n, r, i, a) {- var o = LX((n) => E5e(n, e, t)), s = LX(r5e), c = LX(E$), l = LX(T$), u = LX(g1e), d = LX(u7e)?.sourceViewBox != null, f = OQ();+function j7e(e, t, n, r, i, a) {+ var o = LX((n) => M5e(n, e, t)), s = LX(l5e), c = LX(E$), l = LX(T$), u = LX(S1e), d = LX(g7e)?.sourceViewBox != null, f = OQ();(0, E.useEffect)(() => {if (!d && l != null && c != null) {var e = R2({@@ -97148,7 +97268,7 @@ function T7e(e, t, n, r, i, a) {}//#endregion//#region node_modules/recharts/es6/component/Tooltip.js-function E7e(e, t) {+function M7e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -97158,30 +97278,30 @@ function E7e(e, t) {}return n;}-function D7e(e) {+function N7e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? E7e(Object(n), !0).forEach(function(t) {- O7e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E7e(Object(n)).forEach(function(t) {+ t % 2 ? M7e(Object(n), !0).forEach(function(t) {+ P7e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M7e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function O7e(e, t, n) {- return (t = k7e(t)) in e ? Object.defineProperty(e, t, {+function P7e(e, t, n) {+ return (t = F7e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function k7e(e) {- var t = A7e(e, "string");+function F7e(e) {+ var t = I7e(e, "string");return typeof t == "symbol" ? t : t + "";}-function A7e(e, t) {+function I7e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -97191,25 +97311,25 @@ function A7e(e, t) {}return (t === "string" ? String : Number)(e);}-function j7e(e, t) {- return I7e(e) || F7e(e, t) || N7e(e, t) || M7e();+function L7e(e, t) {+ return H7e(e) || V7e(e, t) || z7e(e, t) || R7e();}-function M7e() {+function R7e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function N7e(e, t) {+function z7e(e, t) {if (e) {- if (typeof e == "string") return P7e(e, t);+ if (typeof e == "string") return B7e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? P7e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? B7e(e, t) : void 0;}}-function P7e(e, t) {+function B7e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function F7e(e, t) {+function V7e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -97230,16 +97350,16 @@ function F7e(e, t) {return s;}}-function I7e(e) {+function H7e(e) {if (Array.isArray(e)) return e;}-function L7e(e) {+function U7e(e) {return e.dataKey;}-function R7e(e, t) {- return /*#__PURE__*/ E.isValidElement(e) ? /*#__PURE__*/ E.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ E.createElement(e, t) : /*#__PURE__*/ E.createElement(hZe, t);+function W7e(e, t) {+ return /*#__PURE__*/ E.isValidElement(e) ? /*#__PURE__*/ E.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ E.createElement(e, t) : /*#__PURE__*/ E.createElement(xZe, t);}-var z7e = [], B7e = {+var G7e = [], K7e = {allowEscapeViewBox: {x: !1,y: !1@@ -97265,10 +97385,10 @@ var z7e = [], B7e = {useTranslate3d: !1,wrapperStyle: {}};-function V7e(e) {- var t = _X(e, B7e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = FX(), S = typeof v == "number" ? String(v) : v;+function q7e(e) {+ var t = _X(e, K7e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = FX(), S = typeof v == "number" ? String(v) : v;(0, E.useEffect)(() => {- x(s8e({+ x(p8e({shared: g,trigger: _,axisId: b,@@ -97283,20 +97403,20 @@ function V7e(e) {n,S]);- var C = OQ(), w = VZe(), T = e8e(g), D = LX((e) => j5e(e, T, _, S)) ?? {}, O = D.activeIndex, k = D.isActive, A = LX((e) => A5e(e, T, _, S)), j = LX((e) => k5e(e, T, _, S)), M = LX((e) => O5e(e, T, _, S)), N = A, P = i7e(), F = n ?? k ?? !1, I = j7e(oqe([N, F]), 2), ee = I[0], L = I[1], te = T === "axis" ? j : void 0;- T7e(T, _, M, te, O, F);+ var C = OQ(), w = qZe(), T = o8e(g), D = LX((e) => L5e(e, T, _, S)) ?? {}, O = D.activeIndex, k = D.isActive, A = LX((e) => I5e(e, T, _, S)), j = LX((e) => F5e(e, T, _, S)), M = LX((e) => P5e(e, T, _, S)), N = A, P = u7e(), F = n ?? k ?? !1, I = L7e(fqe([N, F]), 2), ee = I[0], L = I[1], te = T === "axis" ? j : void 0;+ j7e(T, _, M, te, O, F);var ne = y ?? P;if (ne == null || C == null || T == null) return null;- var re = N ?? z7e;- F || (re = z7e), s && re.length && (re = TKe(re.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, L7e));- var ie = re.length > 0, ae = D7e(D7e({}, t), {}, {+ var re = N ?? G7e;+ F || (re = G7e), s && re.length && (re = jKe(re.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, U7e));+ var ie = re.length > 0, ae = N7e(N7e({}, t), {}, {payload: re,label: te,active: F,activeIndex: O,coordinate: M,accessibilityLayer: w- }), oe = /*#__PURE__*/ E.createElement(BZe, {+ }), oe = /*#__PURE__*/ E.createElement(KZe, {allowEscapeViewBox: r,animationDuration: i,animationEasing: a,@@ -97313,8 +97433,8 @@ function V7e(e) {lastBoundingBox: ee,innerRef: L,hasPortalFromProps: !!y- }, R7e(o, ae));- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ (0, St.createPortal)(oe, ne), F && /*#__PURE__*/ E.createElement(n7e, {+ }, W7e(o, ae));+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ (0, St.createPortal)(oe, ne), F && /*#__PURE__*/ E.createElement(c7e, {cursor: h,tooltipEventType: T,coordinate: M,@@ -97328,19 +97448,19 @@ var h4 = (e) => null;h4.displayName = "Cell";//#endregion//#region node_modules/recharts/es6/util/LRUCache.js-function H7e(e, t, n) {- return (t = U7e(t)) in e ? Object.defineProperty(e, t, {+function J7e(e, t, n) {+ return (t = Y7e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function U7e(e) {- var t = W7e(e, "string");+function Y7e(e) {+ var t = X7e(e, "string");return typeof t == "symbol" ? t : t + "";}-function W7e(e, t) {+function X7e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -97350,9 +97470,9 @@ function W7e(e, t) {}return (t === "string" ? String : Number)(e);}-var G7e = class {+var Z7e = class {constructor(e) {- H7e(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;+ J7e(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;}get(e) {var t = this.cache.get(e);@@ -97375,7 +97495,7 @@ var G7e = class {};//#endregion//#region node_modules/recharts/es6/util/DOMUtils.js-function K7e(e, t) {+function Q7e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -97385,30 +97505,30 @@ function K7e(e, t) {}return n;}-function q7e(e) {+function $7e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? K7e(Object(n), !0).forEach(function(t) {- J7e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K7e(Object(n)).forEach(function(t) {+ t % 2 ? Q7e(Object(n), !0).forEach(function(t) {+ e9e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q7e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function J7e(e, t, n) {- return (t = Y7e(t)) in e ? Object.defineProperty(e, t, {+function e9e(e, t, n) {+ return (t = t9e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Y7e(e) {- var t = X7e(e, "string");+function t9e(e) {+ var t = n9e(e, "string");return typeof t == "symbol" ? t : t + "";}-function X7e(e, t) {+function n9e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -97418,10 +97538,10 @@ function X7e(e, t) {}return (t === "string" ? String : Number)(e);}-var Z7e = q7e({}, {+var r9e = $7e({}, {cacheSize: 2e3,enableCache: !0-}), Q7e = new G7e(Z7e.cacheSize), $7e = {+}), i9e = new Z7e(r9e.cacheSize), a9e = {position: "absolute",top: "-20000px",left: 0,@@ -97429,14 +97549,14 @@ var Z7e = q7e({}, {margin: 0,border: "none",whiteSpace: "pre"-}, e9e = "recharts_measurement_span";-function t9e(e, t) {+}, o9e = "recharts_measurement_span";+function s9e(e, t) {return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;}-var n9e = (e, t) => {+var c9e = (e, t) => {try {- var n = document.getElementById(e9e);- n || (n = document.createElement("span"), n.setAttribute("id", e9e), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, $7e, t), n.textContent = `${e}`;+ var n = document.getElementById(o9e);+ n || (n = document.createElement("span"), n.setAttribute("id", o9e), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, a9e, t), n.textContent = `${e}`;var r = n.getBoundingClientRect();return {width: r.width,@@ -97454,31 +97574,31 @@ var n9e = (e, t) => {width: 0,height: 0};- if (!Z7e.enableCache) return n9e(e, t);- var n = t9e(e, t), r = Q7e.get(n);+ if (!r9e.enableCache) return c9e(e, t);+ var n = s9e(e, t), r = i9e.get(n);if (r) return r;- var i = n9e(e, t);- return Q7e.set(n, i), i;-}, r9e;+ var i = c9e(e, t);+ return i9e.set(n, i), i;+}, l9e;function _4(e, t) {- return c9e(e) || s9e(e, t) || a9e(e, t) || i9e();+ return m9e(e) || p9e(e, t) || d9e(e, t) || u9e();}-function i9e() {+function u9e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function a9e(e, t) {+function d9e(e, t) {if (e) {- if (typeof e == "string") return o9e(e, t);+ if (typeof e == "string") return f9e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? o9e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? f9e(e, t) : void 0;}}-function o9e(e, t) {+function f9e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function s9e(e, t) {+function p9e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -97499,22 +97619,22 @@ function s9e(e, t) {return s;}}-function c9e(e) {+function m9e(e) {if (Array.isArray(e)) return e;}-function l9e(e, t, n) {- return (t = u9e(t)) in e ? Object.defineProperty(e, t, {+function h9e(e, t, n) {+ return (t = g9e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function u9e(e) {- var t = d9e(e, "string");+function g9e(e) {+ var t = _9e(e, "string");return typeof t == "symbol" ? t : t + "";}-function d9e(e, t) {+function _9e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -97524,7 +97644,7 @@ function d9e(e, t) {}return (t === "string" ? String : Number)(e);}-var f9e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, p9e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, m9e = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, h9e = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, g9e = {+var v9e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, y9e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, b9e = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, x9e = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, S9e = {cm: 96 / 2.54,mm: 96 / 25.4,pt: 96 / 72,@@ -97532,7 +97652,7 @@ var f9e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, p9e =in: 96,Q: 96 / 101.6,px: 1-}, _9e = [+}, C9e = ["cm","mm","pt",@@ -97541,20 +97661,20 @@ var f9e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, p9e ="Q","px"];-function v9e(e) {- return _9e.includes(e);+function w9e(e) {+ return C9e.includes(e);}var v4 = "NaN";-function y9e(e, t) {- return e * g9e[t];+function T9e(e, t) {+ return e * S9e[t];}var y4 = class e {static parse(t) {- var n = _4(h9e.exec(t) ?? [], 3), r = n[1], i = n[2];+ var n = _4(x9e.exec(t) ?? [], 3), r = n[1], i = n[2];return r == null ? e.NaN : new e(parseFloat(r), i ?? "");}constructor(e, t) {- this.num = e, this.unit = t, this.num = e, this.unit = t, AY(e) && (this.unit = ""), t !== "" && !m9e.test(t) && (this.num = NaN, this.unit = ""), v9e(t) && (this.num = y9e(e, t), this.unit = "px");+ this.num = e, this.unit = t, this.num = e, this.unit = t, AY(e) && (this.unit = ""), t !== "" && !b9e.test(t) && (this.num = NaN, this.unit = ""), w9e(t) && (this.num = T9e(e, t), this.unit = "px");}add(t) {return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");@@ -97575,47 +97695,47 @@ var y4 = class e {return AY(this.num);}};-r9e = y4, l9e(y4, "NaN", new r9e(NaN, ""));-function b9e(e) {+l9e = y4, h9e(y4, "NaN", new l9e(NaN, ""));+function E9e(e) {if (e == null || e.includes(v4)) return v4;for (var t = e; t.includes("*") || t.includes("/");) {- var n = _4(f9e.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = y4.parse(r ?? ""), s = y4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);+ var n = _4(v9e.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = y4.parse(r ?? ""), s = y4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);if (c.isNaN()) return v4;- t = t.replace(f9e, c.toString());+ t = t.replace(v9e, c.toString());}for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {- var l = _4(p9e.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = y4.parse(u ?? ""), m = y4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);+ var l = _4(y9e.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = y4.parse(u ?? ""), m = y4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);if (h.isNaN()) return v4;- t = t.replace(p9e, h.toString());+ t = t.replace(y9e, h.toString());}return t;}-var x9e = /\(([^()]*)\)/;-function S9e(e) {- for (var t = e, n; (n = x9e.exec(t)) != null;) {+var D9e = /\(([^()]*)\)/;+function O9e(e) {+ for (var t = e, n; (n = D9e.exec(t)) != null;) {var r = _4(n, 2)[1];- t = t.replace(x9e, b9e(r));+ t = t.replace(D9e, E9e(r));}return t;}-function C9e(e) {+function k9e(e) {var t = e.replace(/\s+/g, "");- return t = S9e(t), t = b9e(t), t;+ return t = O9e(t), t = E9e(t), t;}-function w9e(e) {+function A9e(e) {try {- return C9e(e);+ return k9e(e);} catch {return v4;}}function b4(e) {- var t = w9e(e.slice(5, -1));+ var t = A9e(e.slice(5, -1));return t === v4 ? "" : t;}//#endregion//#region node_modules/recharts/es6/component/Text.js-var T9e = [+var j9e = ["x","y","lineHeight",@@ -97624,7 +97744,7 @@ var T9e = ["scaleToFit","textAnchor","verticalAnchor"-], E9e = [+], M9e = ["dx","dy","angle",@@ -97640,16 +97760,16 @@ function x4() {return e;}, x4.apply(null, arguments);}-function D9e(e, t) {+function N9e(e, t) {if (e == null) return {};- var n, r, i = O9e(e, t);+ var n, r, i = P9e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function O9e(e, t) {+function P9e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -97658,25 +97778,25 @@ function O9e(e, t) {}return n;}-function k9e(e, t) {- return P9e(e) || N9e(e, t) || j9e(e, t) || A9e();+function F9e(e, t) {+ return B9e(e) || z9e(e, t) || L9e(e, t) || I9e();}-function A9e() {+function I9e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function j9e(e, t) {+function L9e(e, t) {if (e) {- if (typeof e == "string") return M9e(e, t);+ if (typeof e == "string") return R9e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? M9e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? R9e(e, t) : void 0;}}-function M9e(e, t) {+function R9e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function N9e(e, t) {+function z9e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -97697,14 +97817,14 @@ function N9e(e, t) {return s;}}-function P9e(e) {+function B9e(e) {if (Array.isArray(e)) return e;}-var F9e = /[ \f\n\r\t\v\u2028\u2029]+/, I9e = (e) => {+var V9e = /[ \f\n\r\t\v\u2028\u2029]+/, H9e = (e) => {var t = e.children, n = e.breakAll, r = e.style;try {var i = [];- return LY(t) || (i = n ? t.toString().split("") : t.toString().split(F9e)), {+ return LY(t) || (i = n ? t.toString().split("") : t.toString().split(V9e)), {wordsWithComputedWidth: i.map((e) => ({word: e,width: g4(e, r).width@@ -97715,13 +97835,13 @@ var F9e = /[ \f\n\r\t\v\u2028\u2029]+/, I9e = (e) => {return null;}};-function L9e(e) {+function U9e(e) {return e === "start" || e === "middle" || e === "end" || e === "inherit";}-function R9e(e) {+function W9e(e) {return LY(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";}-var z9e = (e, t, n, r) => e.reduce((e, i) => {+var G9e = (e, t, n, r) => e.reduce((e, i) => {var a = i.word, o = i.width, s = e[e.length - 1];if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;else {@@ -97732,20 +97852,20 @@ var z9e = (e, t, n, r) => e.reduce((e, i) => {e.push(c);}return e;-}, []), B9e = (e) => e.reduce((e, t) => e.width > t.width ? e : t), V9e = "…", H9e = (e, t, n, r, i, a, o, s) => {- var c = I9e({+}, []), K9e = (e) => e.reduce((e, t) => e.width > t.width ? e : t), q9e = "…", J9e = (e, t, n, r, i, a, o, s) => {+ var c = H9e({breakAll: n,style: r,- children: e.slice(0, t) + V9e+ children: e.slice(0, t) + q9e});if (!c) return [!1, []];- var l = z9e(c.wordsWithComputedWidth, a, o, s);- return [l.length > i || B9e(l).width > Number(a), l];-}, U9e = (e, t, n, r, i) => {- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = MY(a), u = String(o), d = z9e(t, r, n, i);- if (!l || i || !(d.length > a || B9e(d).width > Number(r))) return d;+ var l = G9e(c.wordsWithComputedWidth, a, o, s);+ return [l.length > i || K9e(l).width > Number(a), l];+}, Y9e = (e, t, n, r, i) => {+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = MY(a), u = String(o), d = G9e(t, r, n, i);+ if (!l || i || !(d.length > a || K9e(d).width > Number(r))) return d;for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {- var g = Math.floor((f + p) / 2), _ = k9e(H9e(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = k9e(H9e(u, g, c, s, a, r, n, i), 1)[0];+ var g = Math.floor((f + p) / 2), _ = F9e(J9e(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = F9e(J9e(u, g, c, s, a, r, n, i), 1)[0];if (!v && !b && (f = g + 1), v && b && (p = g - 1), !v && b) {h = y;break;@@ -97753,13 +97873,13 @@ var z9e = (e, t, n, r) => e.reduce((e, i) => {m++;}return h || d;-}, W9e = (e) => [{- words: LY(e) ? [] : e.toString().split(F9e),+}, X9e = (e) => [{+ words: LY(e) ? [] : e.toString().split(V9e),width: void 0-}], G9e = (e) => {+}], Z9e = (e) => {var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;if ((t || n) && !GQ.isSsr) {- var s, c, l = I9e({+ var s, c, l = H9e({breakAll: a,children: r,style: i@@ -97767,20 +97887,20 @@ var z9e = (e, t, n, r) => e.reduce((e, i) => {if (l) {var u = l.wordsWithComputedWidth, d = l.spaceWidth;s = u, c = d;- } else return W9e(r);- return U9e({+ } else return X9e(r);+ return Y9e({breakAll: a,children: r,maxLines: o,style: i}, s, c, t, !!n);}- return W9e(r);-}, K9e = "#808080", q9e = {+ return X9e(r);+}, Q9e = "#808080", $9e = {angle: 0,breakAll: !1,capHeight: "0.71em",- fill: K9e,+ fill: Q9e,lineHeight: "1em",scaleToFit: !1,textAnchor: "start",@@ -97788,7 +97908,7 @@ var z9e = (e, t, n, r) => e.reduce((e, i) => {x: 0,y: 0}, S4 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = _X(e, q9e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = D9e(n, T9e), f = (0, E.useMemo)(() => G9e({+ var n = _X(e, $9e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = N9e(n, j9e), f = (0, E.useMemo)(() => Z9e({breakAll: d.breakAll,children: d.children,maxLines: d.maxLines,@@ -97802,7 +97922,7 @@ var z9e = (e, t, n, r) => e.reduce((e, i) => {c,d.style,d.width- ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = D9e(d, E9e);+ ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = N9e(d, M9e);if (!NY(r) || !NY(i) || f.length === 0) return null;var y = Number(r) + (MY(p) ? p : 0), b = Number(i) + (MY(m) ? m : 0);if (!nQ(y) || !nQ(b)) return null;@@ -97827,7 +97947,7 @@ var z9e = (e, t, n, r) => e.reduce((e, i) => {y: b,className: Uv("recharts-text", g),textAnchor: l,- fill: s.includes("url") ? K9e : s+ fill: s.includes("url") ? Q9e : s}), f.map((e, t) => {var n = e.words.join(_ ? "" : " ");return /*#__PURE__*/ E.createElement("tspan", {@@ -97840,17 +97960,17 @@ var z9e = (e, t, n, r) => e.reduce((e, i) => {S4.displayName = "Text";//#endregion//#region node_modules/recharts/es6/component/Label.js-var J9e = ["labelRef"], Y9e = ["content"];-function X9e(e, t) {+var eet = ["labelRef"], tet = ["content"];+function net(e, t) {if (e == null) return {};- var n, r, i = Z9e(e, t);+ var n, r, i = ret(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Z9e(e, t) {+function ret(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -97859,7 +97979,7 @@ function Z9e(e, t) {}return n;}-function Q9e(e, t) {+function iet(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -97872,27 +97992,27 @@ function Q9e(e, t) {function C4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Q9e(Object(n), !0).forEach(function(t) {- $9e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q9e(Object(n)).forEach(function(t) {+ t % 2 ? iet(Object(n), !0).forEach(function(t) {+ aet(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iet(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function $9e(e, t, n) {- return (t = eet(t)) in e ? Object.defineProperty(e, t, {+function aet(e, t, n) {+ return (t = oet(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function eet(e) {- var t = tet(e, "string");+function oet(e) {+ var t = set(e, "string");return typeof t == "symbol" ? t : t + "";}-function tet(e, t) {+function set(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -97911,7 +98031,7 @@ function w4() {return e;}, w4.apply(null, arguments);}-var net = /*#__PURE__*/ (0, E.createContext)(null), ret = (e) => {+var cet = /*#__PURE__*/ (0, E.createContext)(null), uet = (e) => {var t = e.x, n = e.y, r = e.upperWidth, i = e.lowerWidth, a = e.width, o = e.height, s = e.children, c = (0, E.useMemo)(() => ({x: t,y: n,@@ -97927,11 +98047,11 @@ var net = /*#__PURE__*/ (0, E.createContext)(null), ret = (e) => {a,o]);- return /*#__PURE__*/ E.createElement(net.Provider, { value: c }, s);-}, iet = () => {- var e = (0, E.useContext)(net), t = OQ();+ return /*#__PURE__*/ E.createElement(cet.Provider, { value: c }, s);+}, det = () => {+ var e = (0, E.useContext)(cet), t = OQ();return e || (t ? VY(t) : void 0);-}, aet = /*#__PURE__*/ (0, E.createContext)(null), oet = (e) => {+}, fet = /*#__PURE__*/ (0, E.createContext)(null), pet = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, E.useMemo)(() => ({cx: t,cy: n,@@ -97949,15 +98069,15 @@ var net = /*#__PURE__*/ (0, E.createContext)(null), ret = (e) => {o,s]);- return /*#__PURE__*/ E.createElement(aet.Provider, { value: l }, c);-}, set = () => {- var e = (0, E.useContext)(aet), t = LX(L$);+ return /*#__PURE__*/ E.createElement(fet.Provider, { value: l }, c);+}, met = () => {+ var e = (0, E.useContext)(fet), t = LX(L$);return e || t;-}, cet = (e) => {+}, het = (e) => {var t = e.value, n = e.formatter, r = LY(e.children) ? t : e.children;return typeof n == "function" ? n(r) : r;-}, T4 = (e) => e != null && typeof e == "function", uet = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 360), det = (e, t, n, r, i) => {- var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = uet(d, f), g = h >= 0 ? 1 : -1, _, v;+}, T4 = (e) => e != null && typeof e == "function", get = (e, t) => kY(t - e) * Math.min(Math.abs(t - e), 360), _et = (e, t, n, r, i) => {+ var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = get(d, f), g = h >= 0 ? 1 : -1, _, v;switch (t) {case "insideStart":_ = d + g * a, v = p;@@ -97981,7 +98101,7 @@ var net = /*#__PURE__*/ (0, E.createContext)(null), ret = (e) => {id: S,d: x})), /*#__PURE__*/ E.createElement("textPath", { xlinkHref: `#${S}` }, n));-}, fet = (e, t, n) => {+}, vet = (e, t, n) => {var r = e.cx, i = e.cy, a = e.innerRadius, o = e.outerRadius, s = (e.startAngle + e.endAngle) / 2;if (n === "outside") {var c = o$(r, i, o + t, s), l = c.x;@@ -98017,14 +98137,14 @@ var net = /*#__PURE__*/ (0, E.createContext)(null), ret = (e) => {textAnchor: "middle",verticalAnchor: "middle"};-}, E4 = (e) => e != null && "cx" in e && MY(e.cx), pet = {+}, E4 = (e) => e != null && "cx" in e && MY(e.cx), yet = {angle: 0,offset: 5,zIndex: D$.label,position: "middle",textBreakAll: !1};-function met(e) {+function bet(e) {if (!E4(e)) return e;var t = e.cx, n = e.cy, r = e.outerRadius, i = r * 2;return {@@ -98037,12 +98157,12 @@ function met(e) {};}function D4(e) {- var t = _X(e, pet), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = set(), p = iet(), m = n == null ? i === "center" ? p : f ?? p : E4(n) ? n : VY(n), h, g, _ = met(m);+ var t = _X(e, yet), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = met(), p = det(), m = n == null ? i === "center" ? p : f ?? p : E4(n) ? n : VY(n), h, g, _ = bet(m);if (!m || LY(a) && LY(o) && !/*#__PURE__*/ (0, E.isValidElement)(s) && typeof s != "function") return null;var v = E4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");- if (E4(m)) v || (g = fet(m, t.offset, t.position));+ if (E4(m)) v || (g = vet(m, t.offset, t.position));else if (_) {- var y = XUe({+ var y = nWe({viewBox: _,position: i,offset: t.offset,@@ -98059,25 +98179,25 @@ function D4(e) {var b = C4(C4(C4(C4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });if (/*#__PURE__*/ (0, E.isValidElement)(s)) {b.labelRef;- var x = X9e(b, J9e);+ var x = net(b, eet);return /*#__PURE__*/ (0, E.cloneElement)(s, x);}if (typeof s == "function") {b.content;- var S = X9e(b, Y9e);+ var S = net(b, tet);if (h = /*#__PURE__*/ (0, E.createElement)(s, S), /*#__PURE__*/ (0, E.isValidElement)(h)) return h;- } else h = cet(t);+ } else h = het(t);var C = _Y(t);- return v && E4(m) ? det(t, i, h, C, m) : g == null ? null : /*#__PURE__*/ E.createElement(s4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(S4, w4({+ return v && E4(m) ? _et(t, i, h, C, m) : g == null ? null : /*#__PURE__*/ E.createElement(s4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(S4, w4({ref: d,className: Uv("recharts-label", l)}, C, g, {- textAnchor: L9e(C.textAnchor) ? C.textAnchor : g.textAnchor,+ textAnchor: U9e(C.textAnchor) ? C.textAnchor : g.textAnchor,breakAll: u}), h));}D4.displayName = "Label";-var het = (e, t, n) => {+var xet = (e, t, n) => {if (!e) return null;var r = {viewBox: t,@@ -98094,17 +98214,17 @@ var het = (e, t, n) => {content: e}, r)) : e && typeof e == "object" ? /*#__PURE__*/ E.createElement(D4, w4({}, e, { key: "label-implicit" }, r)) : null;};-function get(e) {+function Cet(e) {var t = e.label, n = e.labelRef;- return het(t, iet(), n) || null;+ return xet(t, det(), n) || null;}-function _et(e) {+function wet(e) {var t = e.label;- return het(t, set()) || null;+ return xet(t, met()) || null;}//#endregion//#region node_modules/recharts/es6/component/LabelList.js-var vet = ["valueAccessor"], yet = [+var Tet = ["valueAccessor"], Eet = ["dataKey","clockWise","id",@@ -98120,16 +98240,16 @@ function O4() {return e;}, O4.apply(null, arguments);}-function bet(e, t) {+function Det(e, t) {if (e == null) return {};- var n, r, i = xet(e, t);+ var n, r, i = Oet(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function xet(e, t) {+function Oet(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -98138,20 +98258,20 @@ function xet(e, t) {}return n;}-var Cet = (e) => {+var ket = (e) => {var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;- if (R9e(t)) return t;-}, wet = /*#__PURE__*/ (0, E.createContext)(void 0), k4 = wet.Provider, Tet = /*#__PURE__*/ (0, E.createContext)(void 0), Eet = Tet.Provider;-function Det() {- return (0, E.useContext)(wet);+ if (W9e(t)) return t;+}, Aet = /*#__PURE__*/ (0, E.createContext)(void 0), k4 = Aet.Provider, jet = /*#__PURE__*/ (0, E.createContext)(void 0), Met = jet.Provider;+function Net() {+ return (0, E.useContext)(Aet);}-function Oet() {- return (0, E.useContext)(Tet);+function Pet() {+ return (0, E.useContext)(jet);}function A4(e) {- var t = e.valueAccessor, n = t === void 0 ? Cet : t, r = bet(e, vet), i = r.dataKey;+ var t = e.valueAccessor, n = t === void 0 ? ket : t, r = Det(e, Tet), i = r.dataKey;r.clockWise;- var a = r.id, o = r.textBreakAll, s = r.zIndex, c = bet(r, yet), l = Det(), u = Oet(), d = l || u;+ var a = r.id, o = r.textBreakAll, s = r.zIndex, c = Det(r, Eet), l = Net(), u = Pet(), d = l || u;return !d || !d.length ? null : /*#__PURE__*/ E.createElement(s4, { zIndex: s ?? D$.label }, /*#__PURE__*/ E.createElement(xY, { className: "recharts-label-list" }, d.map((e, t) => {var s = LY(i) ? n(e, t) : aQ(e.payload, i), l = LY(a) ? {} : { id: `${a}-${t}` };return /*#__PURE__*/ E.createElement(D4, O4({ key: `label-${t}` }, _Y(e), c, l, {@@ -98175,12 +98295,12 @@ function j4(e) {}//#endregion//#region node_modules/recharts/es6/shape/Polygon.js-var ket = [+var Fet = ["points","className","baseLinePoints","connectNulls"-], Aet;+], Iet;function M4() {return M4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -98190,16 +98310,16 @@ function M4() {return e;}, M4.apply(null, arguments);}-function jet(e, t) {+function Let(e, t) {if (e == null) return {};- var n, r, i = Met(e, t);+ var n, r, i = Ret(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Met(e, t) {+function Ret(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -98208,23 +98328,23 @@ function Met(e, t) {}return n;}-function Net(e, t) {+function zet(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var Pet = (e) => e != null && e.x === +e.x && e.y === +e.y, Fet = function() {+var Bet = (e) => e != null && e.x === +e.x && e.y === +e.y, Vet = function() {var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];e.forEach((e) => {var n = t[t.length - 1];- Pet(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);+ Bet(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);});var n = e[0], r = t[t.length - 1];- Pet(n) && r && r.push(n);+ Bet(n) && r && r.push(n);var i = t[t.length - 1];return i && i.length <= 0 && (t = t.slice(0, -1)), t;}, N4 = (e, t) => {- var n = Fet(e);+ var n = Vet(e);t && (n = [n.reduce((e, t) => [...e, ...t], [])]);- var r = n.map((e) => e.reduce((e, t, n) => OY(Aet ||= Net([+ var r = n.map((e) => e.reduce((e, t, n) => OY(Iet ||= zet(["","","",@@ -98232,15 +98352,15 @@ var Pet = (e) => e != null && e.x === +e.x && e.y === +e.y, Fet = function() {""]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");return n.length === 1 ? `${r}Z` : r;-}, Iet = (e, t, n) => {+}, Het = (e, t, n) => {var r = N4(e, n);return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${N4(Array.from(t).reverse(), n).slice(1)}`;-}, Let = (e) => {- var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = jet(e, ket);+}, Uet = (e) => {+ var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = Let(e, Fet);if (!t || !t.length) return null;var o = Uv("recharts-polygon", n);if (r && r.length) {- var s = a.stroke && a.stroke !== "none", c = Iet(t, r, i);+ var s = a.stroke && a.stroke !== "none", c = Het(t, r, i);return /*#__PURE__*/ E.createElement("g", { className: o }, /*#__PURE__*/ E.createElement("path", M4({}, _Y(a), {fill: c.slice(-1) === "Z" ? a.fill : "none",stroke: "none",@@ -98283,11 +98403,11 @@ var F4 = (e) => {I4,Y0,X([R$, z$], Z0)-], $0), R4 = X([X([L4], t2), p$], n2), Ret = X([+], $0), R4 = X([X([L4], t2), p$], n2), Wet = X([R4,Y0,L4-], G3e);+], Z3e);X([R4,Y0,@@ -98302,40 +98422,40 @@ X([value: aQ(e, t.dataKey),errorDomain: []})));-var zet = () => void 0, Bet = X([+var Get = () => void 0, Ket = X([Y0,jQ,R4,- Ret,+ Wet,S$,R$,X([Y0,f2,p2,- zet,+ Get,X([R4,Y0,L4,m2,R$,- G$e+ Z$e], g2),- zet,+ Get,jQ,R$], v2)-], y2), Vet = X([- Bet,+], y2), qet = X([+ Ket,X0,x2-], S2), Het = X([x2, X([+], S2), Jet = X([x2, X([Y0,- Bet,- Vet,+ Ket,+ qet,R$-], w2)], j1e), z4 = (e, t, n) => {+], w2)], L1e), z4 = (e, t, n) => {switch (t) {case "angleAxis": return N$(e, n);case "radiusAxis": return P$(e, n);@@ -98343,18 +98463,18 @@ var zet = () => void 0, Bet = X([}}, B4 = (e, t, n) => {switch (t) {- case "angleAxis": return D1e(e, n);- case "radiusAxis": return k1e(e, n);+ case "angleAxis": return N1e(e, n);+ case "radiusAxis": return F1e(e, n);default: throw Error(`Unexpected axis type: ${t}`);}}, V4 = X([X([z4,x2,- Het,+ Jet,B4-], V0)], q$), Uet = X([+], V0)], q$), Yet = X([jQ,- Ret,+ Wet,X0,R$], D2), H4 = X([@@ -98362,12 +98482,12 @@ var zet = () => void 0, Bet = X([z4,x2,V4,- Vet,+ qet,B4,M2,- Uet,+ Yet,R$-], q6e), Wet = X([H4], (e) => {+], $6e), Xet = X([H4], (e) => {if (e) {var t = /* @__PURE__ */ new Map();return e.forEach((e) => {@@ -98375,19 +98495,19 @@ var zet = () => void 0, Bet = X([t.has(n) || t.set(n, e);}), Array.from(t.values());}-}), Get = X([+}), Zet = X([jQ,z4,V4,B4,M2,- Uet,+ Yet,R$-], Y6e), Ket = X([(e, t) => H4(e, "angleAxis", t, !1)], (e) => {+], t8e), Qet = X([(e, t) => H4(e, "angleAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), qet = X([(e, t) => H4(e, "radiusAxis", t, !1)], (e) => {+}), $et = X([(e, t) => H4(e, "radiusAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), Jet = [+}), ett = ["gridType","radialLines","angleAxisId",@@ -98400,16 +98520,16 @@ var zet = () => void 0, Bet = X(["polarRadius","zIndex"];-function Yet(e, t) {+function ttt(e, t) {if (e == null) return {};- var n, r, i = Xet(e, t);+ var n, r, i = ntt(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Xet(e, t) {+function ntt(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -98427,7 +98547,7 @@ function U4() {return e;}, U4.apply(null, arguments);}-function Zet(e, t) {+function rtt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -98440,27 +98560,27 @@ function Zet(e, t) {function W4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Zet(Object(n), !0).forEach(function(t) {- Qet(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Zet(Object(n)).forEach(function(t) {+ t % 2 ? rtt(Object(n), !0).forEach(function(t) {+ itt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rtt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Qet(e, t, n) {- return (t = $et(t)) in e ? Object.defineProperty(e, t, {+function itt(e, t, n) {+ return (t = att(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function $et(e) {- var t = ett(e, "string");+function att(e) {+ var t = ott(e, "string");return typeof t == "symbol" ? t : t + "";}-function ett(e, t) {+function ott(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -98470,13 +98590,13 @@ function ett(e, t) {}return (t === "string" ? String : Number)(e);}-var ttt = (e, t, n, r) => {+var stt = (e, t, n, r) => {var i = "";return r.forEach((r, a) => {var o = o$(t, n, e, r);i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;}), i += "Z", i;-}, ntt = (e) => {+}, ctt = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;if (!a || !a.length || !o) return null;var s = W4({}, hY(e));@@ -98489,7 +98609,7 @@ var ttt = (e, t, n, r) => {y2: o.y}));}));-}, rtt = (e) => {+}, ltt = (e) => {var t = e.cx, n = e.cy, r = e.radius, i = W4({}, hY(e));return /*#__PURE__*/ E.createElement("circle", U4({}, i, {className: Uv("recharts-polar-grid-concentric-circle", e.className),@@ -98497,27 +98617,27 @@ var ttt = (e, t, n, r) => {cy: n,r}));-}, itt = (e) => {+}, utt = (e) => {var t = e.radius, n = W4({}, hY(e));return /*#__PURE__*/ E.createElement("path", U4({}, n, {className: Uv("recharts-polar-grid-concentric-polygon", e.className),- d: ttt(t, e.cx, e.cy, e.polarAngles)+ d: stt(t, e.cx, e.cy, e.polarAngles)}));-}, att = (e) => {+}, dtt = (e) => {var t = e.polarRadius, n = e.gridType;if (!t || !t.length) return null;var r = Math.max(...t), i = e.fill && e.fill !== "none";- return /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ E.createElement(rtt, U4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ E.createElement(itt, U4({}, e, { radius: r })), t.map((t, r) => {+ return /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ E.createElement(ltt, U4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ E.createElement(utt, U4({}, e, { radius: r })), t.map((t, r) => {var i = r;- return n === "circle" ? /*#__PURE__*/ E.createElement(rtt, U4({ key: i }, e, {+ return n === "circle" ? /*#__PURE__*/ E.createElement(ltt, U4({ key: i }, e, {fill: "none",radius: t- })) : /*#__PURE__*/ E.createElement(itt, U4({ key: i }, e, {+ })) : /*#__PURE__*/ E.createElement(utt, U4({ key: i }, e, {fill: "none",radius: t}));}));-}, ott = {+}, ftt = {angleAxisId: 0,radiusAxisId: 0,gridType: "polygon",@@ -98526,8 +98646,8 @@ var ttt = (e, t, n, r) => {stroke: "#ccc",strokeWidth: 1,fill: "none"-}, stt = (e) => {- var t = _X(e, ott), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = Yet(t, Jet), m = LX(L$), h = LX((e) => Ket(e, i)), g = LX((e) => qet(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;+}, ptt = (e) => {+ var t = _X(e, ftt), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = ttt(t, ett), m = LX(L$), h = LX((e) => Qet(e, i)), g = LX((e) => $et(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;if (_ == null || v == null) return null;var y = W4({cx: m?.cx ?? o ?? 0,@@ -98538,13 +98658,13 @@ var ttt = (e, t, n, r) => {polarRadius: v,zIndex: f}, p);- return y.outerRadius <= 0 ? null : /*#__PURE__*/ E.createElement(s4, { zIndex: y.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ E.createElement(att, U4({+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ E.createElement(s4, { zIndex: y.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ E.createElement(dtt, U4({gridType: n,radialLines: r}, y, {polarAngles: _,polarRadius: v- })), /*#__PURE__*/ E.createElement(ntt, U4({+ })), /*#__PURE__*/ E.createElement(ctt, U4({gridType: n,radialLines: r}, y, {@@ -98552,7 +98672,7 @@ var ttt = (e, t, n, r) => {polarRadius: v}))));};-stt.displayName = "PolarGrid";+ptt.displayName = "PolarGrid";//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjsfunction G4(e) {@@ -98560,7 +98680,7 @@ function G4(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs-function ctt(e, t = bX) {+function mtt(e, t = bX) {if (e == null) return;let n = G4(e);if (n.length === 0) return;@@ -98573,7 +98693,7 @@ function ctt(e, t = bX) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs-function ltt(e, t = bX) {+function htt(e, t = bX) {if (e == null) return;let n = G4(e);if (n.length === 0) return;@@ -98586,7 +98706,7 @@ function ltt(e, t = bX) {}//#endregion//#region node_modules/recharts/es6/state/polarAxisSlice.js-var utt = VZ({+var gtt = VZ({name: "polarAxis",initialState: {radiusAxis: {},@@ -98606,7 +98726,7 @@ var utt = VZ({delete e.angleAxis[t.payload.id];}}-}), K4 = utt.actions, dtt = K4.addRadiusAxis, ftt = K4.removeRadiusAxis, ptt = K4.addAngleAxis, mtt = K4.removeAngleAxis, htt = utt.reducer;+}), K4 = gtt.actions, _tt = K4.addRadiusAxis, vtt = K4.removeRadiusAxis, ytt = K4.addAngleAxis, btt = K4.removeAngleAxis, xtt = gtt.reducer;//#endregion//#region node_modules/recharts/es6/util/getClassNameFromUnknown.jsfunction q4(e) {@@ -98614,12 +98734,12 @@ function q4(e) {}//#endregion//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js-var gtt = ["type"], _tt = [+var Stt = ["type"], Ctt = ["cx","cy","angle","axisLine"-], vtt = [+], wtt = ["angle","tickFormatter","stroke",@@ -98634,7 +98754,7 @@ function J4() {return e;}, J4.apply(null, arguments);}-function ytt(e, t) {+function Ttt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -98647,27 +98767,27 @@ function ytt(e, t) {function Y4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? ytt(Object(n), !0).forEach(function(t) {- btt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ytt(Object(n)).forEach(function(t) {+ t % 2 ? Ttt(Object(n), !0).forEach(function(t) {+ Ett(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ttt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function btt(e, t, n) {- return (t = xtt(t)) in e ? Object.defineProperty(e, t, {+function Ett(e, t, n) {+ return (t = Dtt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function xtt(e) {- var t = Stt(e, "string");+function Dtt(e) {+ var t = Ott(e, "string");return typeof t == "symbol" ? t : t + "";}-function Stt(e, t) {+function Ott(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -98679,14 +98799,14 @@ function Stt(e, t) {}function X4(e, t) {if (e == null) return {};- var n, r, i = Ctt(e, t);+ var n, r, i = ktt(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Ctt(e, t) {+function ktt(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -98695,20 +98815,20 @@ function Ctt(e, t) {}return n;}-var wtt = "radiusAxis";-function Ttt(e) {+var Att = "radiusAxis";+function jtt(e) {var t = FX(), n = FQ(), r = (0, E.useMemo)(() => {- var t = e.type, r = X4(e, gtt), i = j$(n, "radiusAxis", t);+ var t = e.type, r = X4(e, Stt), i = j$(n, "radiusAxis", t);if (i != null) return Y4(Y4({}, r), {}, { type: i });}, [e, n]);- return (0, E.useEffect)(() => r == null ? BY : (t(dtt(r)), () => {- t(ftt(r));+ return (0, E.useEffect)(() => r == null ? BY : (t(_tt(r)), () => {+ t(vtt(r));}), [t, r]), null;}-var Ett = (e, t, n, r) => {+var Mtt = (e, t, n, r) => {var i = e.coordinate;return o$(n, r, i, t);-}, Dtt = (e) => {+}, Ntt = (e) => {var t;switch (e) {case "left":@@ -98720,28 +98840,28 @@ var Ett = (e, t, n, r) => {default: t = "middle";}return t;-}, Ott = (e, t, n, r) => {- var i = ctt(r, (e) => e.coordinate || 0);+}, Ptt = (e, t, n, r) => {+ var i = mtt(r, (e) => e.coordinate || 0);return {cx: t,cy: n,startAngle: e,endAngle: e,- innerRadius: ltt(r, (e) => e.coordinate || 0)?.coordinate || 0,+ innerRadius: htt(r, (e) => e.coordinate || 0)?.coordinate || 0,outerRadius: i?.coordinate || 0,clockWise: !1};-}, ktt = (e, t) => {- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = X4(e, _tt), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = o$(n, r, s[0], i), l = o$(n, r, s[1], i), u = Y4(Y4(Y4({}, hY(o)), {}, { fill: "none" }, hY(a)), {}, {+}, Ftt = (e, t) => {+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = X4(e, Ctt), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = o$(n, r, s[0], i), l = o$(n, r, s[1], i), u = Y4(Y4(Y4({}, hY(o)), {}, { fill: "none" }, hY(a)), {}, {x1: c.x,y1: c.y,x2: l.x,y2: l.y});return /*#__PURE__*/ E.createElement("line", J4({ className: "recharts-polar-radius-axis-line" }, u));-}, Att = (e, t, n) => /*#__PURE__*/ E.isValidElement(e) ? /*#__PURE__*/ E.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ E.createElement(S4, J4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), jtt = (e, t) => {- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = X4(e, vtt), s = Dtt(e.orientation), c = hY(o), l = gY(a), u = t.map((t, o) => {- var u = Ett(t, e.angle, e.cx, e.cy), d = Y4(Y4(Y4(Y4({+}, Itt = (e, t, n) => /*#__PURE__*/ E.isValidElement(e) ? /*#__PURE__*/ E.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ E.createElement(S4, J4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Ltt = (e, t) => {+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = X4(e, wtt), s = Ntt(e.orientation), c = hY(o), l = gY(a), u = t.map((t, o) => {+ var u = Mtt(t, e.angle, e.cx, e.cy), d = Y4(Y4(Y4(Y4({textAnchor: s,transform: `rotate(${90 - n}, ${u.x}, ${u.y})`}, c), {}, {@@ -98751,18 +98871,18 @@ var Ett = (e, t, n, r) => {return /*#__PURE__*/ E.createElement(xY, J4({className: Uv("recharts-polar-radius-axis-tick", q4(a)),key: `tick-${t.coordinate}`- }, gX(e, t, o)), Att(a, d, r ? r(t.value, o) : t.value));+ }, gX(e, t, o)), Itt(a, d, r ? r(t.value, o) : t.value));});return /*#__PURE__*/ E.createElement(xY, { className: "recharts-polar-radius-axis-ticks" }, u);-}, Mtt = (e) => {+}, Rtt = (e) => {var t = e.radiusAxisId, n = LX(L$), r = LX((e) => V4(e, "radiusAxis", t)), i = LX((e) => H4(e, "radiusAxis", t, !1));if (n == null || !i || !i.length || r == null) return null;var a = Y4(Y4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;- return /*#__PURE__*/ E.createElement(s4, { zIndex: a.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: Uv("recharts-polar-radius-axis", wtt, a.className) }, s && ktt(a, i), o && jtt(a, i), /*#__PURE__*/ E.createElement(oet, Ott(a.angle, a.cx, a.cy, i), /*#__PURE__*/ E.createElement(_et, { label: a.label }), a.children)));+ return /*#__PURE__*/ E.createElement(s4, { zIndex: a.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: Uv("recharts-polar-radius-axis", Att, a.className) }, s && Ftt(a, i), o && Ltt(a, i), /*#__PURE__*/ E.createElement(pet, Ptt(a.angle, a.cx, a.cy, i), /*#__PURE__*/ E.createElement(wet, { label: a.label }), a.children)));};-function Ntt(e) {+function ztt(e) {var t = _X(e, k$);- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Ttt, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(jtt, {domain: t.domain,id: t.radiusAxisId,scale: t.scale,@@ -98779,12 +98899,12 @@ function Ntt(e) {ticks: t.ticks,tickCount: t.tickCount,tick: t.tick- }), /*#__PURE__*/ E.createElement(Mtt, t));+ }), /*#__PURE__*/ E.createElement(Rtt, t));}-Ntt.displayName = "PolarRadiusAxis";+ztt.displayName = "PolarRadiusAxis";//#endregion//#region node_modules/recharts/es6/polar/PolarAngleAxis.js-var Ptt = ["children", "type"], Ftt = ["ref"];+var Btt = ["children", "type"], Vtt = ["ref"];function Z4() {return Z4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -98794,7 +98914,7 @@ function Z4() {return e;}, Z4.apply(null, arguments);}-function Itt(e, t) {+function Htt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -98807,27 +98927,27 @@ function Itt(e, t) {function Q4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Itt(Object(n), !0).forEach(function(t) {- Ltt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Itt(Object(n)).forEach(function(t) {+ t % 2 ? Htt(Object(n), !0).forEach(function(t) {+ Utt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Htt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Ltt(e, t, n) {- return (t = Rtt(t)) in e ? Object.defineProperty(e, t, {+function Utt(e, t, n) {+ return (t = Wtt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Rtt(e) {- var t = ztt(e, "string");+function Wtt(e) {+ var t = Gtt(e, "string");return typeof t == "symbol" ? t : t + "";}-function ztt(e, t) {+function Gtt(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -98837,16 +98957,16 @@ function ztt(e, t) {}return (t === "string" ? String : Number)(e);}-function Btt(e, t) {+function Ktt(e, t) {if (e == null) return {};- var n, r, i = Vtt(e, t);+ var n, r, i = qtt(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Vtt(e, t) {+function qtt(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -98855,18 +98975,18 @@ function Vtt(e, t) {}return n;}-var Htt = 1e-5, Utt = Math.cos(a$(45)), Wtt = "angleAxis";-function Gtt(e) {+var Jtt = 1e-5, Ytt = Math.cos(a$(45)), Xtt = "angleAxis";+function Ztt(e) {var t = FX(), n = FQ(), r = (0, E.useMemo)(() => {e.children;- var t = e.type, r = Btt(e, Ptt), i = j$(n, "angleAxis", t);+ var t = e.type, r = Ktt(e, Btt), i = j$(n, "angleAxis", t);if (i != null) return Q4(Q4({}, r), {}, { type: i });}, [e, n]), i = r === LX((e) => N$(e, r?.id));- return (0, E.useEffect)(() => r == null ? BY : (t(ptt(r)), () => {- t(mtt(r));+ return (0, E.useEffect)(() => r == null ? BY : (t(ytt(r)), () => {+ t(btt(r));}), [t, r]), i ? e.children : null;}-var Ktt = (e, t) => {+var Qtt = (e, t) => {var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = o$(n, r, i, e.coordinate), c = o$(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);return {x1: s.x,@@ -98874,13 +98994,13 @@ var Ktt = (e, t) => {x2: c.x,y2: c.y};-}, qtt = (e, t) => {+}, $tt = (e, t) => {var n = Math.cos(a$(-e.coordinate));- return n > Htt ? t === "outer" ? "start" : "end" : n < -Htt ? t === "outer" ? "end" : "start" : "middle";-}, Jtt = (e) => {+ return n > Jtt ? t === "outer" ? "start" : "end" : n < -Jtt ? t === "outer" ? "end" : "start" : "middle";+}, ent = (e) => {var t = Math.cos(a$(-e.coordinate)), n = Math.sin(a$(-e.coordinate));- return Math.abs(t) <= Utt ? n > 0 ? "start" : "end" : "middle";-}, Ytt = (e) => {+ return Math.abs(t) <= Ytt ? n > 0 ? "start" : "end" : "middle";+}, tnt = (e) => {var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;if (!a) return null;var s = Q4(Q4({}, hY(e)), {}, { fill: "none" }, hY(a));@@ -98890,15 +99010,15 @@ var Ktt = (e, t) => {r}));var c = o.map((e) => o$(t, n, r, e.coordinate));- return /*#__PURE__*/ E.createElement(Let, Z4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));-}, Xtt = (e) => {+ return /*#__PURE__*/ E.createElement(Uet, Z4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));+}, nnt = (e) => {var t = e.tick, n = e.tickProps, r = e.value;return t ? /*#__PURE__*/ E.isValidElement(t) ? /*#__PURE__*/ E.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ E.createElement(S4, Z4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;-}, Ztt = (e) => {+}, rnt = (e) => {var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = hY(e);o.ref;- var s = Btt(o, Ftt), c = gY(t), l = Q4(Q4({}, s), {}, { fill: "none" }, hY(n)), u = a.map((a, o) => {- var u = Ktt(a, e), d = qtt(a, e.orientation), f = Jtt(a), p = Q4(Q4(Q4({}, s), {}, {+ var s = Ktt(o, Vtt), c = gY(t), l = Q4(Q4({}, s), {}, { fill: "none" }, hY(n)), u = a.map((a, o) => {+ var u = Qtt(a, e), d = $tt(a, e.orientation), f = ent(a), p = Q4(Q4(Q4({}, s), {}, {textAnchor: d,verticalAnchor: f,stroke: "none",@@ -98912,25 +99032,25 @@ var Ktt = (e, t) => {return /*#__PURE__*/ E.createElement(xY, Z4({className: Uv("recharts-polar-angle-axis-tick", q4(t)),key: `tick-${a.coordinate}`- }, gX(e, a, o)), n && /*#__PURE__*/ E.createElement("line", Z4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ E.createElement(Xtt, {+ }, gX(e, a, o)), n && /*#__PURE__*/ E.createElement("line", Z4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ E.createElement(nnt, {tick: t,tickProps: p,value: r ? r(a.value, o) : a.value}));});return /*#__PURE__*/ E.createElement(xY, { className: "recharts-polar-angle-axis-ticks" }, u);-}, Qtt = (e) => {- var t = e.angleAxisId, n = LX(L$), r = LX((e) => V4(e, "angleAxis", t)), i = bQ(), a = LX((e) => Wet(e, "angleAxis", t, i));+}, int = (e) => {+ var t = e.angleAxisId, n = LX(L$), r = LX((e) => V4(e, "angleAxis", t)), i = bQ(), a = LX((e) => Xet(e, "angleAxis", t, i));if (n == null || !a || !a.length || r == null) return null;var o = Q4(Q4(Q4({}, e), {}, { scale: r }, n), {}, {radius: n.outerRadius,ticks: a});- return /*#__PURE__*/ E.createElement(s4, { zIndex: o.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: Uv("recharts-polar-angle-axis", Wtt, o.className) }, /*#__PURE__*/ E.createElement(Ytt, o), /*#__PURE__*/ E.createElement(Ztt, o)));+ return /*#__PURE__*/ E.createElement(s4, { zIndex: o.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: Uv("recharts-polar-angle-axis", Xtt, o.className) }, /*#__PURE__*/ E.createElement(tnt, o), /*#__PURE__*/ E.createElement(rnt, o)));};function $4(e) {var t = _X(e, O$);- return /*#__PURE__*/ E.createElement(Gtt, {+ return /*#__PURE__*/ E.createElement(Ztt, {id: t.angleAxisId,scale: t.scale,type: t.type,@@ -98947,12 +99067,12 @@ function $4(e) {ticks: t.ticks,tick: t.tick,domain: t.domain- }, /*#__PURE__*/ E.createElement(Qtt, t));+ }, /*#__PURE__*/ E.createElement(int, t));}$4.displayName = "PolarAngleAxis";//#endregion//#region node_modules/react-is/cjs/react-is.production.js-var $tt = /* @__PURE__ */ o(((e) => {+var ant = /* @__PURE__ */ o(((e) => {var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");function m(e) {if (typeof e == "object" && e) {@@ -98981,18 +99101,18 @@ var $tt = /* @__PURE__ */ o(((e) => {e.isFragment = function(e) {return m(e) === r;};-})), ent = (/* @__PURE__ */ o(((e, t) => {- t.exports = $tt();-})))(), tnt = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", nnt = null, e3 = null, rnt = (e) => {- if (e === nnt && Array.isArray(e3)) return e3;+})), ont = (/* @__PURE__ */ o(((e, t) => {+ t.exports = ant();+})))(), snt = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", cnt = null, e3 = null, lnt = (e) => {+ if (e === cnt && Array.isArray(e3)) return e3;var t = [];return E.Children.forEach(e, (e) => {- LY(e) || ((0, ent.isFragment)(e) ? t = t.concat(rnt(e.props.children)) : t.push(e));- }), e3 = t, nnt = e, t;+ LY(e) || ((0, ont.isFragment)(e) ? t = t.concat(lnt(e.props.children)) : t.push(e));+ }), e3 = t, cnt = e, t;};-function int(e, t) {+function unt(e, t) {var n = [], r = [];- return r = Array.isArray(t) ? t.map((e) => tnt(e)) : [tnt(t)], rnt(e).forEach((e) => {+ return r = Array.isArray(t) ? t.map((e) => snt(e)) : [snt(t)], lnt(e).forEach((e) => {var t = EY(e, "type.displayName") || EY(e, "type.name");t && r.indexOf(t) !== -1 && n.push(e);}), n;@@ -99000,7 +99120,7 @@ function int(e, t) {var t3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;//#endregion//#region node_modules/recharts/es6/util/ActiveShapeUtils.js-function ant(e, t) {+function dnt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -99010,30 +99130,30 @@ function ant(e, t) {}return n;}-function ont(e) {+function fnt(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? ant(Object(n), !0).forEach(function(t) {- snt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ant(Object(n)).forEach(function(t) {+ t % 2 ? dnt(Object(n), !0).forEach(function(t) {+ pnt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dnt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function snt(e, t, n) {- return (t = cnt(t)) in e ? Object.defineProperty(e, t, {+function pnt(e, t, n) {+ return (t = mnt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function cnt(e) {- var t = lnt(e, "string");+function mnt(e) {+ var t = hnt(e, "string");return typeof t == "symbol" ? t : t + "";}-function lnt(e, t) {+function hnt(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -99043,34 +99163,34 @@ function lnt(e, t) {}return (t === "string" ? String : Number)(e);}-function unt(e, t) {- return ont(ont({}, t), e);+function gnt(e, t) {+ return fnt(fnt({}, t), e);}-function dnt(e) {+function _nt(e) {return /*#__PURE__*/ (0, E.isValidElement)(e) ? e.props : e;}-function fnt(e, t) {- return /*#__PURE__*/ (0, E.cloneElement)(e, unt(dnt(e), t));+function vnt(e, t) {+ return /*#__PURE__*/ (0, E.cloneElement)(e, gnt(_nt(e), t));}-function pnt(e) {+function ynt(e) {if ("index" in e) {var t = e.index;return typeof t == "number" || typeof t == "string" ? t : void 0;}}-function mnt(e) {+function bnt(e) {return "isActive" in e && e.isActive === !0;}function n3(e) {- var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = pnt(r), l = /*#__PURE__*/ (0, E.isValidElement)(t) ? fnt(t, r) : t === n ? /*#__PURE__*/ E.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ E.createElement(n, unt(t, r)) : /*#__PURE__*/ E.createElement(n, r);- return mnt(r) ? /*#__PURE__*/ E.createElement(xY, { className: a }, l) : /*#__PURE__*/ E.createElement(xY, { className: s }, l);+ var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = ynt(r), l = /*#__PURE__*/ (0, E.isValidElement)(t) ? vnt(t, r) : t === n ? /*#__PURE__*/ E.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ E.createElement(n, gnt(t, r)) : /*#__PURE__*/ E.createElement(n, r);+ return bnt(r) ? /*#__PURE__*/ E.createElement(xY, { className: a }, l) : /*#__PURE__*/ E.createElement(xY, { className: s }, l);}//#endregion//#region node_modules/recharts/es6/context/tooltipContext.jsvar r3 = (e, t, n) => {var r = FX();return (i, a) => (o) => {- e?.(i, a, o), r(c8e({+ e?.(i, a, o), r(m8e({activeIndex: String(a),activeDataKey: t,activeCoordinate: i.tooltipPosition,@@ -99080,12 +99200,12 @@ var r3 = (e, t, n) => {}, i3 = (e) => {var t = FX();return (n, r) => (i) => {- e?.(n, r, i), t(l8e());+ e?.(n, r, i), t(h8e());};}, a3 = (e, t, n) => {var r = FX();return (i, a) => (o) => {- e?.(i, a, o), r(d8e({+ e?.(i, a, o), r(_8e({activeIndex: String(a),activeDataKey: t,activeCoordinate: i.tooltipPosition,@@ -99098,7 +99218,7 @@ var r3 = (e, t, n) => {function o3(e) {var t = e.tooltipEntrySettings, n = FX(), r = bQ(), i = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {- r || (i.current === null ? n(i8e(t)) : i.current !== t && n(a8e({+ r || (i.current === null ? n(u8e(t)) : i.current !== t && n(d8e({prev: i.current,next: t})), i.current = t);@@ -99107,7 +99227,7 @@ function o3(e) {n,r]), (0, E.useLayoutEffect)(() => () => {- i.current &&= (n(o8e(i.current)), null);+ i.current &&= (n(f8e(i.current)), null);}, [n]), null;}//#endregion@@ -99115,7 +99235,7 @@ function o3(e) {function s3(e) {var t = e.legendPayload, n = FX(), r = bQ(), i = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {- r || (i.current === null ? n(cXe(t)) : i.current !== t && n(lXe({+ r || (i.current === null ? n(mXe(t)) : i.current !== t && n(hXe({prev: i.current,next: t})), i.current = t);@@ -99124,13 +99244,13 @@ function s3(e) {r,t]), (0, E.useLayoutEffect)(() => () => {- i.current &&= (n(uXe(i.current)), null);+ i.current &&= (n(gXe(i.current)), null);}, [n]), null;}-function hnt(e) {+function xnt(e) {var t = e.legendPayload, n = FX(), r = LX(jQ), i = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {- (r === "centric" || r === "radial") && (i.current === null ? n(cXe(t)) : i.current !== t && n(lXe({+ (r === "centric" || r === "radial") && (i.current === null ? n(mXe(t)) : i.current !== t && n(hXe({prev: i.current,next: t})), i.current = t);@@ -99139,30 +99259,30 @@ function hnt(e) {r,t]), (0, E.useLayoutEffect)(() => () => {- i.current &&= (n(uXe(i.current)), null);+ i.current &&= (n(gXe(i.current)), null);}, [n]), null;}//#endregion//#region node_modules/recharts/es6/animation/matchBy.js-function gnt(e, t) {- return xnt(e) || bnt(e, t) || vnt(e, t) || _nt();+function Snt(e, t) {+ return Dnt(e) || Ent(e, t) || wnt(e, t) || Cnt();}-function _nt() {+function Cnt() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function vnt(e, t) {+function wnt(e, t) {if (e) {- if (typeof e == "string") return ynt(e, t);+ if (typeof e == "string") return Tnt(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ynt(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Tnt(e, t) : void 0;}}-function ynt(e, t) {+function Tnt(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function bnt(e, t) {+function Ent(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -99183,10 +99303,10 @@ function bnt(e, t) {return s;}}-function xnt(e) {+function Dnt(e) {if (Array.isArray(e)) return e;}-var c3 = "index", Snt = "append";+var c3 = "index", Ont = "append";function l3(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = [];for (var i of n) r.push({@@ -99206,14 +99326,14 @@ function l3(e, t) {}return r;}-function Cnt(e, t) {+function knt(e, t) {var n = e.length / t.length;return l3(t.map((t, r) => e[Math.floor(r * n)]), t);}-function wnt(e, t) {+function Ant(e, t) {return l3(t.map((t, n) => e[n]), t);}-function Tnt(e, t) {+function jnt(e, t) {for (var n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {var i = e[r];if (i != null) {@@ -99223,8 +99343,8 @@ function Tnt(e, t) {}return n;}-function Ent(e, t, n) {- var r = Tnt(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {+function Mnt(e, t, n) {+ var r = jnt(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {var a = n(e, t);if (a != null) {var o = r.get(a);@@ -99232,7 +99352,7 @@ function Ent(e, t, n) {}}), o = [];for (var s of r) {- var c = gnt(s, 2), l = c[0], u = c[1];+ var c = Snt(s, 2), l = c[0], u = c[1];i.has(l) || o.push(u);}return l3(a, t, o);@@ -99241,7 +99361,7 @@ function u3(e, t, n) {return t == null ? null : e == null ? t.map((e) => ({status: "added",next: e- })) : n === "index" ? Cnt(e, t) : n === "append" ? wnt(e, t) : Ent(e, t, n);+ })) : n === "index" ? knt(e, t) : n === "append" ? Ant(e, t) : Mnt(e, t, n);}//#endregion//#region node_modules/recharts/es6/animation/useAnimationStartSnapshot.js@@ -99259,25 +99379,25 @@ function d3(e, t) {}//#endregion//#region node_modules/recharts/es6/animation/AnimatedItems.js-function Dnt(e, t) {- return Mnt(e) || jnt(e, t) || knt(e, t) || Ont();+function Nnt(e, t) {+ return Rnt(e) || Lnt(e, t) || Fnt(e, t) || Pnt();}-function Ont() {+function Pnt() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function knt(e, t) {+function Fnt(e, t) {if (e) {- if (typeof e == "string") return Ant(e, t);+ if (typeof e == "string") return Int(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ant(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Int(e, t) : void 0;}}-function Ant(e, t) {+function Int(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function jnt(e, t) {+function Lnt(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -99298,11 +99418,11 @@ function jnt(e, t) {return s;}}-function Mnt(e) {+function Rnt(e) {if (Array.isArray(e)) return e;}function f3(e, t) {- var n = Dnt((0, E.useState)(!1), 2), r = n[0], i = n[1];+ var n = Nnt((0, E.useState)(!1), 2), r = n[0], i = n[1];return {isAnimating: r,handleAnimationStart: (0, E.useCallback)(() => {@@ -99314,8 +99434,8 @@ function f3(e, t) {};}function p3(e) {- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = BQe(t, n), _ = d3(g, i), v = _.startValue ?? null, y = u3(v, r, f ?? c3);- return /*#__PURE__*/ E.createElement(zQe, {+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = KQe(t, n), _ = d3(g, i), v = _.startValue ?? null, y = u3(v, r, f ?? c3);+ return /*#__PURE__*/ E.createElement(GQe, {animationId: g,begin: o,duration: s,@@ -99329,25 +99449,25 @@ function p3(e) {return _.syncStepValue(n, e, i), n == null ? null : m(n, e, t);});}-function Nnt(e, t) {- return Rnt(e) || Lnt(e, t) || Fnt(e, t) || Pnt();+function znt(e, t) {+ return Wnt(e) || Unt(e, t) || Vnt(e, t) || Bnt();}-function Pnt() {+function Bnt() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function Fnt(e, t) {+function Vnt(e, t) {if (e) {- if (typeof e == "string") return Int(e, t);+ if (typeof e == "string") return Hnt(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Int(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Hnt(e, t) : void 0;}}-function Int(e, t) {+function Hnt(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function Lnt(e, t) {+function Unt(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -99368,22 +99488,22 @@ function Lnt(e, t) {return s;}}-function Rnt(e) {+function Wnt(e) {if (Array.isArray(e)) return e;}-var znt = E.useId ?? (() => Nnt(E.useState(() => PY("uid-")), 1)[0]);+var Gnt = E.useId ?? (() => znt(E.useState(() => PY("uid-")), 1)[0]);//#endregion//#region node_modules/recharts/es6/util/useUniqueId.js-function Bnt(e, t) {- var n = znt();+function Knt(e, t) {+ var n = Gnt();return t || (e ? `${e}-${n}` : n);}//#endregion//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js-var Vnt = /*#__PURE__*/ (0, E.createContext)(void 0), m3 = (e) => {- var t = e.id, n = e.type, r = e.children, i = Bnt(`recharts-${n}`, t);- return /*#__PURE__*/ E.createElement(Vnt.Provider, { value: i }, r(i));-}, Hnt = VZ({+var qnt = /*#__PURE__*/ (0, E.createContext)(void 0), m3 = (e) => {+ var t = e.id, n = e.type, r = e.children, i = Knt(`recharts-${n}`, t);+ return /*#__PURE__*/ E.createElement(qnt.Provider, { value: i }, r(i));+}, Jnt = VZ({name: "graphicalItems",initialState: {cartesianItems: [],@@ -99431,41 +99551,41 @@ var Vnt = /*#__PURE__*/ (0, E.createContext)(void 0), m3 = (e) => {prepare: BZ()}}-}), h3 = Hnt.actions, Unt = h3.addCartesianGraphicalItem, Wnt = h3.replaceCartesianGraphicalItem, Gnt = h3.removeCartesianGraphicalItem, Knt = h3.addPolarGraphicalItem, qnt = h3.removePolarGraphicalItem, Jnt = h3.replacePolarGraphicalItem, Ynt = Hnt.reducer, g3 = /*#__PURE__*/ (0, E.memo)((e) => {+}), h3 = Jnt.actions, Ynt = h3.addCartesianGraphicalItem, Xnt = h3.replaceCartesianGraphicalItem, Znt = h3.removeCartesianGraphicalItem, Qnt = h3.addPolarGraphicalItem, $nt = h3.removePolarGraphicalItem, ert = h3.replacePolarGraphicalItem, trt = Jnt.reducer, g3 = /*#__PURE__*/ (0, E.memo)((e) => {var t = FX(), n = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {- n.current === null ? t(Unt(e)) : n.current !== e && t(Wnt({+ n.current === null ? t(Ynt(e)) : n.current !== e && t(Xnt({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, E.useLayoutEffect)(() => () => {- n.current &&= (t(Gnt(n.current)), null);+ n.current &&= (t(Znt(n.current)), null);}, [t]), null;-}), Xnt = /*#__PURE__*/ (0, E.memo)((e) => {+}), nrt = /*#__PURE__*/ (0, E.memo)((e) => {var t = FX(), n = (0, E.useRef)(null);return (0, E.useLayoutEffect)(() => {- n.current === null ? t(Knt(e)) : n.current !== e && t(Jnt({+ n.current === null ? t(Qnt(e)) : n.current !== e && t(ert({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, E.useLayoutEffect)(() => () => {- n.current &&= (t(qnt(n.current)), null);+ n.current &&= (t($nt(n.current)), null);}, [t]), null;});//#endregion//#region node_modules/es-toolkit/dist/array/last.mjs-function Znt(e) {+function rrt(e) {return e[e.length - 1];}//#endregion//#region node_modules/es-toolkit/dist/compat/array/last.mjs-function Qnt(e) {- if (xX(e) && e.length !== 0) return Znt(G4(e));+function irt(e) {+ if (xX(e) && e.length !== 0) return rrt(G4(e));}//#endregion//#region node_modules/recharts/es6/component/Dots.js-var $nt = ["points"];-function ert(e, t) {+var art = ["points"];+function ort(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -99478,27 +99598,27 @@ function ert(e, t) {function _3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? ert(Object(n), !0).forEach(function(t) {- trt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ert(Object(n)).forEach(function(t) {+ t % 2 ? ort(Object(n), !0).forEach(function(t) {+ srt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ort(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function trt(e, t, n) {- return (t = nrt(t)) in e ? Object.defineProperty(e, t, {+function srt(e, t, n) {+ return (t = crt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function nrt(e) {- var t = rrt(e, "string");+function crt(e) {+ var t = lrt(e, "string");return typeof t == "symbol" ? t : t + "";}-function rrt(e, t) {+function lrt(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -99517,16 +99637,16 @@ function v3() {return e;}, v3.apply(null, arguments);}-function irt(e, t) {+function urt(e, t) {if (e == null) return {};- var n, r, i = art(e, t);+ var n, r, i = drt(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function art(e, t) {+function drt(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -99535,22 +99655,22 @@ function art(e, t) {}return n;}-function ort(e) {+function frt(e) {var t = e.option, n = e.dotProps, r = e.className;if (/*#__PURE__*/ (0, E.isValidElement)(t)) return /*#__PURE__*/ (0, E.cloneElement)(t, n);if (typeof t == "function") return t(n);var i = Uv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};a.points;- var o = irt(a, $nt);+ var o = urt(a, art);return /*#__PURE__*/ E.createElement(F4, v3({}, o, { className: i }));}-function srt(e, t) {+function prt(e, t) {return e == null ? !1 : t ? !0 : e.length === 1;}function y3(e) {var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? D$.scatter : l;- if (!srt(t, n)) return null;- var d = t3(n), f = AUe(n), p = t.map((e, r) => {+ if (!prt(t, n)) return null;+ var d = t3(n), f = IUe(n), p = t.map((e, r) => {var s = _3(_3(_3({ r: 3 }, o), f), {}, {index: r,cx: e.x ?? void 0,@@ -99560,7 +99680,7 @@ function y3(e) {payload: e.payload,points: t});- return /*#__PURE__*/ E.createElement(ort, {+ return /*#__PURE__*/ E.createElement(frt, {key: `dot-${r}`,option: n,dotProps: s,@@ -99571,7 +99691,7 @@ function y3(e) {}//#endregion//#region node_modules/recharts/es6/state/cartesianAxisSlice.js-function crt(e, t) {+function mrt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -99584,27 +99704,27 @@ function crt(e, t) {function b3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? crt(Object(n), !0).forEach(function(t) {- lrt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : crt(Object(n)).forEach(function(t) {+ t % 2 ? mrt(Object(n), !0).forEach(function(t) {+ hrt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mrt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function lrt(e, t, n) {- return (t = urt(t)) in e ? Object.defineProperty(e, t, {+function hrt(e, t, n) {+ return (t = grt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function urt(e) {- var t = drt(e, "string");+function grt(e) {+ var t = _rt(e, "string");return typeof t == "symbol" ? t : t + "";}-function drt(e, t) {+function _rt(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -99614,7 +99734,7 @@ function drt(e, t) {}return (t === "string" ? String : Number)(e);}-var frt = VZ({+var vrt = VZ({name: "cartesianAxis",initialState: {xAxis: {},@@ -99704,9 +99824,9 @@ var frt = VZ({}}}-}), x3 = frt.actions, prt = x3.addXAxis, mrt = x3.replaceXAxis, hrt = x3.removeXAxis, grt = x3.addYAxis, _rt = x3.replaceYAxis, vrt = x3.removeYAxis;+}), x3 = vrt.actions, yrt = x3.addXAxis, brt = x3.replaceXAxis, xrt = x3.removeXAxis, Srt = x3.addYAxis, Crt = x3.replaceYAxis, wrt = x3.removeYAxis;x3.addZAxis, x3.replaceZAxis, x3.removeZAxis;-var yrt = x3.updateYAxisWidth, brt = x3.updateXAxisHeight, xrt = frt.reducer, Srt = X([+var Trt = x3.updateYAxisWidth, Ert = x3.updateXAxisHeight, Drt = vrt.reducer, Ort = X([X([vQ], (e) => ({top: e.top,bottom: e.bottom,@@ -99722,10 +99842,10 @@ var yrt = x3.updateYAxisWidth, brt = x3.updateXAxisHeight, xrt = frt.reducer, Srwidth: Math.max(0, t - e.left - e.right),height: Math.max(0, n - e.top - e.bottom)};-}), S3 = () => LX(Srt), Crt = () => LX(s5e);+}), S3 = () => LX(Ort), krt = () => LX(p5e);//#endregion//#region node_modules/recharts/es6/component/ActivePoints.js-function wrt(e, t) {+function Art(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -99738,27 +99858,27 @@ function wrt(e, t) {function C3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? wrt(Object(n), !0).forEach(function(t) {- Trt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wrt(Object(n)).forEach(function(t) {+ t % 2 ? Art(Object(n), !0).forEach(function(t) {+ jrt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Art(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Trt(e, t, n) {- return (t = Ert(t)) in e ? Object.defineProperty(e, t, {+function jrt(e, t, n) {+ return (t = Mrt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Ert(e) {- var t = Drt(e, "string");+function Mrt(e) {+ var t = Nrt(e, "string");return typeof t == "symbol" ? t : t + "";}-function Drt(e, t) {+function Nrt(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -99768,7 +99888,7 @@ function Drt(e, t) {}return (t === "string" ? String : Number)(e);}-var Ort = (e) => {+var Prt = (e) => {var t = e.point, n = e.childIndex, r = e.mainColor, i = e.activeDot, a = e.dataKey, o = e.clipPath;if (i === !1 || t.x == null || t.y == null) return null;var s = C3(C3(C3({}, {@@ -99789,10 +99909,10 @@ var Ort = (e) => {}, c);};function w3(e) {- var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? D$.activeDot : o, c = LX(Q2), l = Crt();+ var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? D$.activeDot : o, c = LX(Q2), l = krt();if (t == null || l == null) return null;var u = t.find((e) => l.includes(e.payload));- return LY(u) ? null : /*#__PURE__*/ E.createElement(s4, { zIndex: s }, /*#__PURE__*/ E.createElement(Ort, {+ return LY(u) ? null : /*#__PURE__*/ E.createElement(s4, { zIndex: s }, /*#__PURE__*/ E.createElement(Prt, {point: u,childIndex: Number(c),mainColor: n,@@ -99803,7 +99923,7 @@ function w3(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/radarSelectors.js-function krt(e, t) {+function Frt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -99816,27 +99936,27 @@ function krt(e, t) {function T3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? krt(Object(n), !0).forEach(function(t) {- Art(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : krt(Object(n)).forEach(function(t) {+ t % 2 ? Frt(Object(n), !0).forEach(function(t) {+ Irt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Frt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Art(e, t, n) {- return (t = jrt(t)) in e ? Object.defineProperty(e, t, {+function Irt(e, t, n) {+ return (t = Lrt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function jrt(e) {- var t = Mrt(e, "string");+function Lrt(e) {+ var t = Rrt(e, "string");return typeof t == "symbol" ? t : t + "";}-function Mrt(e, t) {+function Rrt(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -99846,15 +99966,15 @@ function Mrt(e, t) {}return (t === "string" ? String : Number)(e);}-var Nrt = (e, t) => V4(e, "radiusAxis", t), Prt = X([Nrt], (e) => {+var zrt = (e, t) => V4(e, "radiusAxis", t), Brt = X([zrt], (e) => {if (e != null) return { scale: e };-}), Frt = X([P$, Nrt], (e, t) => {+}), Vrt = X([P$, zrt], (e, t) => {if (e != null && t != null) return T3(T3({}, e), {}, { scale: t });-}), Irt = (e, t, n, r) => H4(e, "radiusAxis", t, r), Lrt = (e, t, n) => N$(e, n), Rrt = (e, t, n) => V4(e, "angleAxis", n), zrt = X([Lrt, Rrt], (e, t) => {+}), Hrt = (e, t, n, r) => H4(e, "radiusAxis", t, r), Urt = (e, t, n) => N$(e, n), Wrt = (e, t, n) => V4(e, "angleAxis", n), Grt = X([Urt, Wrt], (e, t) => {if (e != null && t != null) return T3(T3({}, e), {}, { scale: t });-}), Brt = (e, t, n, r) => H4(e, "angleAxis", n, r), Vrt = X([- Lrt,- Rrt,+}), Krt = (e, t, n, r) => H4(e, "angleAxis", n, r), qrt = X([+ Urt,+ Wrt,L$], (e, t, n) => {if (n != null && t != null) return {@@ -99864,30 +99984,30 @@ var Nrt = (e, t) => V4(e, "radiusAxis", t), Prt = X([Nrt], (e) => {cx: n.cx,cy: n.cy};-}), Hrt = (e, t, n, r, i) => i, Urt = X([+}), Jrt = (e, t, n, r, i) => i, Yrt = X([jQ,- Frt,- Irt,- zrt,- Brt-], (e, t, n, r, i) => oQ(e, "radiusAxis") ? uQ(t, n, !1) : uQ(r, i, !1)), Wrt = X([- Prt,Vrt,+ Hrt,+ Grt,+ Krt+], (e, t, n, r, i) => oQ(e, "radiusAxis") ? uQ(t, n, !1) : uQ(r, i, !1)), Xrt = X([+ Brt,+ qrt,p$,- X([I4, Hrt], (e, t) => {+ X([I4, Jrt], (e, t) => {if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;}),- Urt+ Yrt], (e, t, n, r, i) => {var a = n.chartData, o = n.dataStartIndex, s = n.dataEndIndex;- if (e != null && t != null && a != null && i != null && r != null) return tit({+ if (e != null && t != null && a != null && i != null && r != null) return sit({radiusAxis: e,angleAxis: t,displayedData: a.slice(o, s + 1),dataKey: r,bandSize: i});-}), Grt = ["id"];+}), Zrt = ["id"];function E3() {return E3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -99897,7 +100017,7 @@ function E3() {return e;}, E3.apply(null, arguments);}-function Krt(e, t) {+function Qrt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -99910,27 +100030,27 @@ function Krt(e, t) {function D3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Krt(Object(n), !0).forEach(function(t) {- qrt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Krt(Object(n)).forEach(function(t) {+ t % 2 ? Qrt(Object(n), !0).forEach(function(t) {+ $rt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Qrt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function qrt(e, t, n) {- return (t = Jrt(t)) in e ? Object.defineProperty(e, t, {+function $rt(e, t, n) {+ return (t = eit(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Jrt(e) {- var t = Yrt(e, "string");+function eit(e) {+ var t = tit(e, "string");return typeof t == "symbol" ? t : t + "";}-function Yrt(e, t) {+function tit(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -99940,16 +100060,16 @@ function Yrt(e, t) {}return (t === "string" ? String : Number)(e);}-function Xrt(e, t) {+function nit(e, t) {if (e == null) return {};- var n, r, i = Zrt(e, t);+ var n, r, i = rit(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Zrt(e, t) {+function rit(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -99961,7 +100081,7 @@ function Zrt(e, t) {function O3(e, t) {return e && e !== "none" ? e : t;}-var Qrt = (e) => {+var iit = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;return [{inactive: e.hide,@@ -99971,7 +100091,7 @@ var Qrt = (e) => {value: dQ(n, t),payload: e}];-}, $rt = /*#__PURE__*/ E.memo((e) => {+}, ait = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {dataDefinedOnItem: void 0,getPosition: BY,@@ -99991,10 +100111,10 @@ var Qrt = (e) => {};return /*#__PURE__*/ E.createElement(o3, { tooltipEntrySettings: l });});-function eit(e) {+function oit(e) {var t = e.points, n = e.props, r = n.dot, i = n.dataKey;n.id;- var a = hY(Xrt(n, Grt));+ var a = hY(nit(n, Zrt));return /*#__PURE__*/ E.createElement(y3, {points: t,dot: r,@@ -100004,10 +100124,10 @@ function eit(e) {baseProps: a});}-function tit(e) {+function sit(e) {var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;r.forEach((e, r) => {- var a = aQ(e, n.dataKey, r), d = aQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? Qnt(d) : d, m = LY(p) ? 0 : t.scale.map(p) ?? 0;+ var a = aQ(e, n.dataKey, r), d = aQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? irt(d) : d, m = LY(p) ? 0 : t.scale.map(p) ?? 0;Array.isArray(d) && d.length >= 2 && (c = !0), l.push(D3(D3({}, o$(o, s, m, f)), {}, {name: a,value: d,@@ -100030,7 +100150,7 @@ function tit(e) {baseLinePoints: d};}-function nit(e) {+function cit(e) {var t = e.showLabels, n = e.points, r = e.children, i = n.map((e) => {var t = {x: e.x,@@ -100050,10 +100170,10 @@ function nit(e) {});return /*#__PURE__*/ E.createElement(k4, { value: t ? i : void 0 }, r);}-function rit(e) {+function lit(e) {var t = e.points, n = e.baseLinePoints, r = e.props;if (t == null) return null;- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ E.isValidElement(i) ? /*#__PURE__*/ E.cloneElement(i, D3(D3({}, r), {}, { points: t })) : typeof i == "function" ? i(D3(D3({}, r), {}, { points: t })) : /*#__PURE__*/ E.createElement(Let, E3({}, _Y(r), {+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ E.isValidElement(i) ? /*#__PURE__*/ E.cloneElement(i, D3(D3({}, r), {}, { points: t })) : typeof i == "function" ? i(D3(D3({}, r), {}, { points: t })) : /*#__PURE__*/ E.createElement(Uet, E3({}, _Y(r), {onMouseEnter: (e) => {var t = r.onMouseEnter;t && t(r, e);@@ -100066,21 +100186,21 @@ function rit(e) {baseLinePoints: a ? n : void 0,connectNulls: o}));- return /*#__PURE__*/ E.createElement(xY, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ E.createElement(eit, {+ return /*#__PURE__*/ E.createElement(xY, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ E.createElement(oit, {props: r,points: t}));}-var iit = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [D3(D3({}, e.next), {}, {+var uit = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [D3(D3({}, e.next), {}, {x: IY(e.prev.x, e.next.x, t),y: IY(e.prev.y, e.next.y, t)})] : [D3(D3({}, e.next), {}, {x: IY(e.next.cx, e.next.x, t),y: IY(e.next.cy, e.next.y, t)})]);-function ait(e) {+function dit(e) {var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = d3(t, r), h = m.startValue, g = u3(h ?? null, a, u), _ = f3(f, p), v = _.isAnimating, y = _.handleAnimationStart, b = _.handleAnimationEnd, x = FQ();- return x == null ? null : /*#__PURE__*/ E.createElement(nit, {+ return x == null ? null : /*#__PURE__*/ E.createElement(cit, {showLabels: !v,points: i}, /*#__PURE__*/ E.createElement(p3, {@@ -100099,29 +100219,29 @@ function ait(e) {layout: x}, (e, n) => {var r = n === 1 ? a : d(g, n, x);- return m.syncStepValue(r, n), /*#__PURE__*/ E.createElement(rit, {+ return m.syncStepValue(r, n), /*#__PURE__*/ E.createElement(lit, {points: e,baseLinePoints: r,props: t});}), /*#__PURE__*/ E.createElement(j4, { label: t.label }), t.children);}-function oit(e) {+function fit(e) {var t = (0, E.useRef)(void 0), n = (0, E.useRef)(void 0);- return /*#__PURE__*/ E.createElement(ait, {+ return /*#__PURE__*/ E.createElement(dit, {props: e,previousPointsRef: t,previousBaseLinePointsRef: n});}-var sit = {+var pit = {activeDot: !0,angleAxisId: 0,animationBegin: 0,animationDuration: 1500,animationEasing: "ease",animationMatchBy: c3,- animationInterpolateFn: iit,+ animationInterpolateFn: uit,dot: !1,hide: !1,isAnimationActive: "auto",@@ -100130,31 +100250,31 @@ var sit = {radiusAxisId: 0,zIndex: D$.area};-function cit(e) {+function mit(e) {var t = e.hide, n = e.className, r = e.points;if (t) return null;var i = Uv("recharts-radar", n);- return /*#__PURE__*/ E.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: i }, /*#__PURE__*/ E.createElement(oit, e)), /*#__PURE__*/ E.createElement(w3, {+ return /*#__PURE__*/ E.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: i }, /*#__PURE__*/ E.createElement(fit, e)), /*#__PURE__*/ E.createElement(w3, {points: r,mainColor: O3(e.stroke, e.fill),itemDataKey: e.dataKey,activeDot: e.activeDot}));}-function lit(e) {- var t = bQ(), n = LX((n) => Wrt(n, e.radiusAxisId, e.angleAxisId, t, e.id));- return n?.points == null ? null : /*#__PURE__*/ E.createElement(cit, E3({}, e, {+function hit(e) {+ var t = bQ(), n = LX((n) => Xrt(n, e.radiusAxisId, e.angleAxisId, t, e.id));+ return n?.points == null ? null : /*#__PURE__*/ E.createElement(mit, E3({}, e, {points: n?.points,baseLinePoints: n?.baseLinePoints,isRange: n?.isRange}));}function k3(e) {- var t = _X(e, sit);+ var t = _X(e, pit);return /*#__PURE__*/ E.createElement(m3, {id: t.id,type: "radar"- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Xnt, {+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(nrt, {type: "radar",id: e,data: void 0,@@ -100162,7 +100282,7 @@ function k3(e) {hide: t.hide,angleAxisId: t.angleAxisId,radiusAxisId: t.radiusAxisId- }), /*#__PURE__*/ E.createElement(hnt, { legendPayload: Qrt(t) }), /*#__PURE__*/ E.createElement($rt, {+ }), /*#__PURE__*/ E.createElement(xnt, { legendPayload: iit(t) }), /*#__PURE__*/ E.createElement(ait, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -100171,22 +100291,22 @@ function k3(e) {hide: t.hide,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ E.createElement(lit, E3({}, t, { id: e }))));+ }), /*#__PURE__*/ E.createElement(hit, E3({}, t, { id: e }))));}k3.displayName = "Radar";//#endregion//#region node_modules/recharts/es6/util/RadialBarUtils.js-var uit = ["option"];-function dit(e, t) {+var git = ["option"];+function _it(e, t) {if (e == null) return {};- var n, r, i = fit(e, t);+ var n, r, i = vit(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function fit(e, t) {+function vit(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -100195,39 +100315,39 @@ function fit(e, t) {}return n;}-var pit = u$;-function mit(e) {+var yit = u$;+function bit(e) {return typeof e == "string" ? parseInt(e, 10) : e;}function A3(e) {- var t = e.option, n = dit(e, uit);+ var t = e.option, n = _it(e, git);return /*#__PURE__*/ E.createElement(n3, {option: t,- DefaultShape: pit,+ DefaultShape: yit,shapeProps: n});}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js-function hit(e, t) {- return bit(e) || yit(e, t) || _it(e, t) || git();+function xit(e, t) {+ return Eit(e) || Tit(e, t) || Cit(e, t) || Sit();}-function git() {+function Sit() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function _it(e, t) {+function Cit(e, t) {if (e) {- if (typeof e == "string") return vit(e, t);+ if (typeof e == "string") return wit(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? vit(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wit(e, t) : void 0;}}-function vit(e, t) {+function wit(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function yit(e, t) {+function Tit(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -100248,33 +100368,33 @@ function yit(e, t) {return s;}}-function bit(e) {+function Eit(e) {if (Array.isArray(e)) return e;}-var xit = (e, t, n) => {+var Dit = (e, t, n) => {var r = n ?? e;if (!LY(r)) return FY(r, t, 0);-}, Sit = (e, t, n) => {+}, Oit = (e, t, n) => {var r = {}, i = e.filter(H$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {var n = e[t.stackId];return n ??= [], n.push(t), e[t.stackId] = n, e;}, r), s = Object.entries(o).map((e) => {- var r = hit(e, 2), i = r[0], a = r[1];+ var r = xit(e, 2), i = r[0], a = r[1];return {stackId: i,dataKeys: a.map((e) => e.dataKey),- barSize: xit(t, n, a[0]?.barSize)+ barSize: Dit(t, n, a[0]?.barSize)};}), c = a.map((e) => ({stackId: void 0,dataKeys: [e.dataKey].filter((e) => e != null),- barSize: xit(t, n, e.barSize)+ barSize: Dit(t, n, e.barSize)}));return [...s, ...c];};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js-function Cit(e, t) {+function kit(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -100287,27 +100407,27 @@ function Cit(e, t) {function j3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Cit(Object(n), !0).forEach(function(t) {- wit(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Cit(Object(n)).forEach(function(t) {+ t % 2 ? kit(Object(n), !0).forEach(function(t) {+ Ait(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kit(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function wit(e, t, n) {- return (t = Tit(t)) in e ? Object.defineProperty(e, t, {+function Ait(e, t, n) {+ return (t = jit(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Tit(e) {- var t = Eit(e, "string");+function jit(e) {+ var t = Mit(e, "string");return typeof t == "symbol" ? t : t + "";}-function Eit(e, t) {+function Mit(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -100317,7 +100437,7 @@ function Eit(e, t) {}return (t === "string" ? String : Number)(e);}-function Dit(e, t, n, r, i) {+function Nit(e, t, n, r, i) {var a = r.length;if (!(a < 1)) {var o = FY(e, n, 0, !0), s, c = [];@@ -100357,10 +100477,10 @@ function Dit(e, t, n, r, i) {return s;}}-var Oit = (e, t, n, r, i, a, o) => {- var s = LY(o) ? t : o, c = Dit(n, r, i === a ? a : i, e, s);+var Pit = (e, t, n, r, i, a, o) => {+ var s = LY(o) ? t : o, c = Nit(n, r, i === a ? a : i, e, s);return i !== a && c != null && (c = c.map((e) => j3(j3({}, e), {}, { position: j3(j3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;-}, kit = (e, t) => {+}, Fit = (e, t) => {var n = B$(t);if (e && n != null && t != null) {var r = t.stackId;@@ -100372,7 +100492,7 @@ var Oit = (e, t, n, r, i, a, o) => {}}}-}, Ait = (e, t) => {+}, Iit = (e, t) => {if (e != null && t != null) {var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));if (n != null) return n.position;@@ -100380,7 +100500,7 @@ var Oit = (e, t, n, r, i, a, o) => {};//#endregion//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js-function jit(e, t) {+function Lit(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -100393,27 +100513,27 @@ function jit(e, t) {function M3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? jit(Object(n), !0).forEach(function(t) {- Mit(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jit(Object(n)).forEach(function(t) {+ t % 2 ? Lit(Object(n), !0).forEach(function(t) {+ Rit(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Lit(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Mit(e, t, n) {- return (t = Nit(t)) in e ? Object.defineProperty(e, t, {+function Rit(e, t, n) {+ return (t = zit(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Nit(e) {- var t = Pit(e, "string");+function zit(e) {+ var t = Bit(e, "string");return typeof t == "symbol" ? t : t + "";}-function Pit(e, t) {+function Bit(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -100425,36 +100545,36 @@ function Pit(e, t) {}var N3 = X([(e, t) => P$(e, t), (e, t) => V4(e, "radiusAxis", t)], (e, t) => {if (e != null && t != null) return M3(M3({}, e), {}, { scale: t });-}), P3 = (e, t) => Get(e, "radiusAxis", t, !1), F3 = X([(e, t, n) => N$(e, n), (e, t, n) => V4(e, "angleAxis", n)], (e, t) => {+}), P3 = (e, t) => Zet(e, "radiusAxis", t, !1), F3 = X([(e, t, n) => N$(e, n), (e, t, n) => V4(e, "angleAxis", n)], (e, t) => {if (e != null && t != null) return M3(M3({}, e), {}, { scale: t });}), I3 = (e, t, n) => H4(e, "angleAxis", n, !1), L3 = X([I4, (e, t, n, r) => r], (e, t) => {if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;-}), Fit = X([+}), Vit = X([jQ,N3,P3,F3,I3-], (e, t, n, r, i) => oQ(e, "radiusAxis") ? uQ(t, n, !1) : uQ(r, i, !1)), Iit = X([+], (e, t, n, r, i) => oQ(e, "radiusAxis") ? uQ(t, n, !1) : uQ(r, i, !1)), Hit = X([F3,N3,jQ], (e, t, n) => {var r = n === "radial" ? e : t;- if (r != null && r.scale != null) return aYe({ numericAxis: r });-}), Lit = (e, t, n, r, i) => i, Rit = (e, t, n, r, i) => n, zit = (e, t, n, r, i) => t, Bit = (e, t, n, r, i) => r.maxBarSize, Vit = (e) => e.type === "radialBar", Hit = X([X([+ if (r != null && r.scale != null) return dYe({ numericAxis: r });+}), Uit = (e, t, n, r, i) => i, Wit = (e, t, n, r, i) => n, Git = (e, t, n, r, i) => t, Kit = (e, t, n, r, i) => r.maxBarSize, qit = (e) => e.type === "radialBar", Jit = X([X([X([X([jQ,I4,- Rit,- zit- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(Vit)),- h1e,+ Wit,+ Git+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(qit)),+ x1e,() => void 0- ], Sit),+ ], Oit),b$,- m1e,+ b1e,x$,X([jQ,@@ -100463,41 +100583,41 @@ var N3 = X([(e, t) => P$(e, t), (e, t) => V4(e, "radiusAxis", t)], (e, t) => {I3,N3,P3,- Bit+ Kit], (e, t, n, r, i, a, o) => {var s = LY(o) ? t : o;return e === "centric" ? uQ(n, r, !0) ?? s ?? 0 : uQ(i, a, !0) ?? s ?? 0;}),- Fit,- Bit-], Oit), L3], Ait), Uit = X([L4], (e) => e.filter(Vit).filter(H$)), Wit = X([+ Vit,+ Kit+], Pit), L3], Iit), Yit = X([L4], (e) => e.filter(qit).filter(H$)), Xit = X([X([- Uit,+ Yit,p$,s2], V$),- Uit,+ Yit,S$,C$-], l2), Git = X([+], l2), Zit = X([F3,I3,N3,P3,f$,L3,- Fit,+ Vit,jQ,- Iit,- L$,- Lit,Hit,- X([(e, t, n) => jQ(e) === "centric" ? Wit(e, "radiusAxis", t) : Wit(e, "angleAxis", n), L3], kit)+ L$,+ Uit,+ Jit,+ X([(e, t, n) => jQ(e) === "centric" ? Xit(e, "radiusAxis", t) : Xit(e, "angleAxis", n), L3], Fit)], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];var g = a.dataKey, _ = a.minPointSize, v = l.cx, y = l.cy, b = l.startAngle, x = l.endAngle;- return fat({+ return vat({angleAxis: e,angleAxisTicks: t,bandSize: o,@@ -100518,7 +100638,7 @@ var N3 = X([(e, t) => P$(e, t), (e, t) => V4(e, "radiusAxis", t)], (e, t) => {stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,startAngle: b});-}), Kit = X([p$, (e, t) => t], (e, t) => {+}), Qit = X([p$, (e, t) => t], (e, t) => {var n = e.chartData, r = e.dataStartIndex, i = e.dataEndIndex;if (n == null) return [];var a = n.slice(r, i + 1);@@ -100531,21 +100651,21 @@ var N3 = X([(e, t) => P$(e, t), (e, t) => V4(e, "radiusAxis", t)], (e, t) => {});//#endregion//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js-function qit(e, t) {+function $it(e, t) {return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && nQ(e.zIndex) ? e.zIndex : t;}//#endregion//#region node_modules/recharts/es6/polar/RadialBar.js-var Jit = [+var eat = ["shape","activeShape","cornerRadius","id"-], Yit = [+], tat = ["onMouseEnter","onClick","onMouseLeave"-], Xit = ["value", "background"];+], nat = ["value", "background"];function R3() {return R3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -100555,7 +100675,7 @@ function R3() {return e;}, R3.apply(null, arguments);}-function Zit(e, t) {+function rat(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -100568,27 +100688,27 @@ function Zit(e, t) {function z3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Zit(Object(n), !0).forEach(function(t) {- Qit(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Zit(Object(n)).forEach(function(t) {+ t % 2 ? rat(Object(n), !0).forEach(function(t) {+ iat(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rat(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Qit(e, t, n) {- return (t = $it(t)) in e ? Object.defineProperty(e, t, {+function iat(e, t, n) {+ return (t = aat(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function $it(e) {- var t = eat(e, "string");+function aat(e) {+ var t = oat(e, "string");return typeof t == "symbol" ? t : t + "";}-function eat(e, t) {+function oat(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -100600,14 +100720,14 @@ function eat(e, t) {}function B3(e, t) {if (e == null) return {};- var n, r, i = tat(e, t);+ var n, r, i = sat(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function tat(e, t) {+function sat(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -100616,8 +100736,8 @@ function tat(e, t) {}return n;}-var nat = [];-function rat(e) {+var cat = [];+function lat(e) {var t = e.showLabels, n = e.sectors, r = e.children, i = n.map((e) => ({value: e.value,payload: e.payload,@@ -100634,15 +100754,15 @@ function rat(e) {},fill: e.fill}));- return /*#__PURE__*/ E.createElement(Eet, { value: t ? i : void 0 }, r);+ return /*#__PURE__*/ E.createElement(Met, { value: t ? i : void 0 }, r);}-function iat(e) {- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = B3(n, Jit), f = hY(d), p = LX(Q2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = B3(n, Yit), v = r3(m, n.dataKey, u), y = i3(g), b = a3(h, n.dataKey, u);- return t == null ? null : /*#__PURE__*/ E.createElement(rat, {+function uat(e) {+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = B3(n, eat), f = hY(d), p = LX(Q2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = B3(n, tat), v = r3(m, n.dataKey, u), y = i3(g), b = a3(h, n.dataKey, u);+ return t == null ? null : /*#__PURE__*/ E.createElement(lat, {showLabels: r,sectors: t}, t.map((e, t) => {- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = z3(z3(z3(z3({}, f), {}, { cornerRadius: mit(l) }, e), gX(_, e, t)), {}, {+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = z3(z3(z3(z3({}, f), {}, { cornerRadius: bit(l) }, e), gX(_, e, t)), {}, {onMouseEnter: r,onMouseLeave: u,onClick: m,@@ -100662,11 +100782,11 @@ function iat(e) {}, /*#__PURE__*/ E.createElement(A3, h)) : /*#__PURE__*/ E.createElement(A3, R3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));}), /*#__PURE__*/ E.createElement(j4, { label: n.label }), n.children);}-var aat = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [z3(z3({}, e.next), {}, {+var dat = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [z3(z3({}, e.next), {}, {startAngle: IY(e.prev.startAngle, e.next.startAngle, t),endAngle: IY(e.prev.endAngle, e.next.endAngle, t)})] : [z3(z3({}, e.next), {}, { endAngle: IY(e.next.startAngle, e.next.endAngle, t) })]);-function oat(e) {+function fat(e) {var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = f3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = FQ();return m == null ? null : /*#__PURE__*/ E.createElement(p3, {animationInput: t,@@ -100682,7 +100802,7 @@ function oat(e) {animationInterpolateFn: t.animationInterpolateFn,animationMatchBy: t.animationMatchBy,layout: m- }, (e, n, r) => /*#__PURE__*/ E.createElement(iat, {+ }, (e, n, r) => /*#__PURE__*/ E.createElement(uat, {sectors: e,allOtherRadialBarProps: t,showLabels: !d,@@ -100691,18 +100811,18 @@ function oat(e) {isEntrance: r}));}-function sat(e) {+function pat(e) {var t = (0, E.useRef)(null);- return /*#__PURE__*/ E.createElement(oat, {+ return /*#__PURE__*/ E.createElement(fat, {props: e,previousSectorsRef: t});}-function cat(e) {- var t = LX((t) => Kit(t, e.legendType));- return /*#__PURE__*/ E.createElement(hnt, { legendPayload: t ?? [] });+function mat(e) {+ var t = LX((t) => Qit(t, e.legendType));+ return /*#__PURE__*/ E.createElement(xnt, { legendPayload: t ?? [] });}-var lat = /*#__PURE__*/ E.memo((e) => {+var hat = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {dataDefinedOnItem: n,getPosition: BY,@@ -100722,15 +100842,15 @@ var lat = /*#__PURE__*/ E.memo((e) => {}};return /*#__PURE__*/ E.createElement(o3, { tooltipEntrySettings: u });-}), uat = class extends E.PureComponent {+}), gat = class extends E.PureComponent {renderBackground(e) {if (e == null) return null;var t = this.props.cornerRadius, n = gY(this.props.background);- return /*#__PURE__*/ E.createElement(s4, { zIndex: qit(this.props.background, D$.barBackground) }, e.map((e, r) => {+ return /*#__PURE__*/ E.createElement(s4, { zIndex: $it(this.props.background, D$.barBackground) }, e.map((e, r) => {e.value;- var i = e.background, a = B3(e, Xit);+ var i = e.background, a = B3(e, nat);if (!i) return null;- var o = z3(z3(z3(z3(z3({ cornerRadius: mit(t) }, a), {}, { fill: "#eee" }, i), n), gX(this.props, e, r)), {}, {+ var o = z3(z3(z3(z3(z3({ cornerRadius: bit(t) }, a), {}, { fill: "#eee" }, i), n), gX(this.props, e, r)), {}, {index: r,className: Uv("recharts-radial-bar-background-sector", String(n?.className)),option: i,@@ -100743,11 +100863,11 @@ var lat = /*#__PURE__*/ E.memo((e) => {var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;if (t) return null;var a = Uv("recharts-area", r);- return /*#__PURE__*/ E.createElement(s4, { zIndex: this.props.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: a }, i && /*#__PURE__*/ E.createElement(xY, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ E.createElement(xY, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ E.createElement(sat, this.props))));+ return /*#__PURE__*/ E.createElement(s4, { zIndex: this.props.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: a }, i && /*#__PURE__*/ E.createElement(xY, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ E.createElement(xY, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ E.createElement(pat, this.props))));}};-function dat(e) {- var t = E.useMemo(() => int(e.children, h4), [e.children]), n = E.useMemo(() => ({+function _at(e) {+ var t = E.useMemo(() => unt(e.children, h4), [e.children]), n = E.useMemo(() => ({data: void 0,hide: !1,id: e.id,@@ -100768,8 +100888,8 @@ function dat(e) {e.barSize,e.angleAxisId,e.radiusAxisId- ]), r = LX((r) => Git(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? nat;- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(lat, {+ ]), r = LX((r) => Zit(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? cat;+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(hat, {dataKey: e.dataKey,sectors: r,stroke: e.stroke,@@ -100780,15 +100900,15 @@ function dat(e) {tooltipType: e.tooltipType,formatter: e.formatter,id: e.id- }), /*#__PURE__*/ E.createElement(uat, R3({}, e, { sectors: r })));+ }), /*#__PURE__*/ E.createElement(gat, R3({}, e, { sectors: r })));}var V3 = {angleAxisId: 0,animationBegin: 0,animationDuration: 1500,animationEasing: "ease",- animationMatchBy: Snt,- animationInterpolateFn: aat,+ animationMatchBy: Ont,+ animationInterpolateFn: dat,background: !1,cornerIsExternal: !1,cornerRadius: 0,@@ -100799,14 +100919,14 @@ var V3 = {legendType: "rect",minPointSize: 0,radiusAxisId: 0,- shape: pit,+ shape: yit,zIndex: D$.bar};-function fat(e) {+function vat(e) {var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;- return g == null || l == null ? nat : (t ?? []).map((e, t) => {+ return g == null || l == null ? cat : (t ?? []).map((e, t) => {var b, x, S, C, w, T;- if (n ? b = nYe(n[r + t], i) : (b = aQ(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {+ if (n ? b = cYe(n[r + t], i) : (b = aQ(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = lQ({axis: c,ticks: l,@@ -100862,7 +100982,7 @@ function H3(e) {return /*#__PURE__*/ E.createElement(m3, {id: t.id,type: "radialBar"- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Xnt, {+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(nrt, {type: "radialBar",id: e,data: void 0,@@ -100874,21 +100994,21 @@ function H3(e) {barSize: t.barSize,minPointSize: t.minPointSize,maxBarSize: t.maxBarSize- }), /*#__PURE__*/ E.createElement(cat, t), /*#__PURE__*/ E.createElement(dat, R3({}, t, { id: e }))));+ }), /*#__PURE__*/ E.createElement(mat, t), /*#__PURE__*/ E.createElement(_at, R3({}, t, { id: e }))));}H3.displayName = "RadialBar";//#endregion//#region node_modules/recharts/es6/context/chartDataContext.js-var pat = (e) => {+var yat = (e) => {var t = e.chartData, n = FX(), r = bQ();- return (0, E.useEffect)(() => r ? () => {} : (n(f7e(t)), () => {- n(f7e(void 0));+ return (0, E.useEffect)(() => r ? () => {} : (n(v7e(t)), () => {+ n(v7e(void 0));}), [t,n,r]), null;-}, mat = {+}, bat = {x: 0,y: 0,width: 0,@@ -100899,15 +101019,15 @@ var pat = (e) => {bottom: 0,left: 0}-}, hat = VZ({+}, xat = VZ({name: "brush",- initialState: mat,+ initialState: bat,reducers: { setBrushSettings(e, t) {- return t.payload == null ? mat : t.payload;+ return t.payload == null ? bat : t.payload;} }});-hat.actions.setBrushSettings;-var gat = hat.reducer, _at = (e, t) => {+xat.actions.setBrushSettings;+var Sat = xat.reducer, Cat = (e, t) => {var n = e.x, r = e.y, i = t.x, a = t.y;return {x: Math.min(n, i),@@ -100915,9 +101035,9 @@ var gat = hat.reducer, _at = (e, t) => {width: Math.abs(i - n),height: Math.abs(a - r)};-}, vat = (e) => {+}, wat = (e) => {var t = e.x1, n = e.y1, r = e.x2, i = e.y2;- return _at({+ return Cat({x: t,y: n}, {@@ -100925,13 +101045,13 @@ var gat = hat.reducer, _at = (e, t) => {y: i});};-function yat(e) {+function Tat(e) {return (e % 180 + 180) % 180;}-var bat = function(e) {- var t = e.width, n = e.height, r = yat(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);+var Eat = function(e) {+ var t = e.width, n = e.height, r = Tat(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);return Math.abs(a);-}, xat = VZ({+}, Dat = VZ({name: "referenceElements",initialState: {dots: [],@@ -100961,30 +101081,30 @@ var bat = function(e) {n !== -1 && e.lines.splice(n, 1);}}-}), U3 = xat.actions;+}), U3 = Dat.actions;U3.addDot, U3.removeDot, U3.addArea, U3.removeArea;-var Sat = U3.addLine, Cat = U3.removeLine, wat = xat.reducer;+var Oat = U3.addLine, kat = U3.removeLine, Aat = Dat.reducer;//#endregion//#region node_modules/recharts/es6/container/ClipPathProvider.js-function Tat(e, t) {- return Aat(e) || kat(e, t) || Dat(e, t) || Eat();+function jat(e, t) {+ return Iat(e) || Fat(e, t) || Nat(e, t) || Mat();}-function Eat() {+function Mat() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function Dat(e, t) {+function Nat(e, t) {if (e) {- if (typeof e == "string") return Oat(e, t);+ if (typeof e == "string") return Pat(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Oat(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Pat(e, t) : void 0;}}-function Oat(e, t) {+function Pat(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function kat(e, t) {+function Fat(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -101005,20 +101125,20 @@ function kat(e, t) {return s;}}-function Aat(e) {+function Iat(e) {if (Array.isArray(e)) return e;}-var jat = /*#__PURE__*/ (0, E.createContext)(void 0), Mat = (e) => {- var t = e.children, n = Tat((0, E.useState)(`${PY("recharts")}-clip`), 1)[0], r = S3();+var Lat = /*#__PURE__*/ (0, E.createContext)(void 0), Rat = (e) => {+ var t = e.children, n = jat((0, E.useState)(`${PY("recharts")}-clip`), 1)[0], r = S3();if (r == null) return null;var i = r.x, a = r.y, o = r.width, s = r.height;- return /*#__PURE__*/ E.createElement(jat.Provider, { value: n }, /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: n }, /*#__PURE__*/ E.createElement("rect", {+ return /*#__PURE__*/ E.createElement(Lat.Provider, { value: n }, /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: n }, /*#__PURE__*/ E.createElement("rect", {x: i,y: a,height: s,width: o}))), t);-}, Nat = () => (0, E.useContext)(jat), Pat = class {+}, zat = () => (0, E.useContext)(Lat), Bat = class {constructor(e) {var t = e.x, n = e.y;this.xAxisScale = t, this.yAxisScale = n;@@ -101044,7 +101164,7 @@ var jat = /*#__PURE__*/ (0, E.createContext)(void 0), Mat = (e) => {};//#endregion//#region node_modules/recharts/es6/cartesian/ReferenceLine.js-function Fat(e, t) {+function Vat(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -101054,30 +101174,30 @@ function Fat(e, t) {}return n;}-function Iat(e) {+function Hat(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Fat(Object(n), !0).forEach(function(t) {- Lat(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fat(Object(n)).forEach(function(t) {+ t % 2 ? Vat(Object(n), !0).forEach(function(t) {+ Uat(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Vat(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Lat(e, t, n) {- return (t = Rat(t)) in e ? Object.defineProperty(e, t, {+function Uat(e, t, n) {+ return (t = Wat(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Rat(e) {- var t = zat(e, "string");+function Wat(e) {+ var t = Gat(e, "string");return typeof t == "symbol" ? t : t + "";}-function zat(e, t) {+function Gat(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -101096,7 +101216,7 @@ function W3() {return e;}, W3.apply(null, arguments);}-var Bat = (e, t) => {+var Kat = (e, t) => {var n;if (/*#__PURE__*/ E.isValidElement(e)) n = /*#__PURE__*/ E.cloneElement(e, t);else if (typeof e == "function") n = e(t);@@ -101105,7 +101225,7 @@ var Bat = (e, t) => {n = /*#__PURE__*/ E.createElement("line", W3({}, t, { className: "recharts-reference-line-line" }));}return n;-}, Vat = (e, t, n, r, i, a) => {+}, qat = (e, t, n, r, i, a) => {var o = a.x, s = a.width, c = i.map(e, { position: n });if (!nQ(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{@@ -101116,7 +101236,7 @@ var Bat = (e, t) => {y: c}];return r === "left" ? l.reverse() : l;-}, Hat = (e, t, n, r, i, a) => {+}, Jat = (e, t, n, r, i, a) => {var o = a.y, s = a.height, c = i.map(e, { position: n });if (!nQ(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{@@ -101127,7 +101247,7 @@ var Bat = (e, t) => {y: o}];return r === "top" ? l.reverse() : l;-}, Uat = (e, t, n, r) => {+}, Yat = (e, t, n, r) => {var i = [r.mapWithFallback(e[0], {position: n,fallback: "rangeMin"@@ -101136,43 +101256,43 @@ var Bat = (e, t) => {fallback: "rangeMax"})];return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;-}, Wat = (e, t, n, r, i, a, o) => {+}, Xat = (e, t, n, r, i, a, o) => {var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = NY(s);- return NY(c) ? Vat(c, u, r, a, t, n) : d ? Hat(s, u, r, i, e, n) : l != null && l.length === 2 ? Uat(l, u, r, new Pat({+ return NY(c) ? qat(c, u, r, a, t, n) : d ? Jat(s, u, r, i, e, n) : l != null && l.length === 2 ? Yat(l, u, r, new Bat({x: e,y: t})) : null;};-function Gat(e) {+function Zat(e) {var t = FX();- return (0, E.useEffect)(() => (t(Sat(e)), () => {- t(Cat(e));+ return (0, E.useEffect)(() => (t(Oat(e)), () => {+ t(kat(e));})), null;}-function Kat(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = bQ(), s = Nat(), c = LX((e) => G0(e, t)), l = LX((e) => q0(e, n)), u = LX((e) => k2(e, "xAxis", t, o)), d = LX((e) => k2(e, "yAxis", n, o)), f = OQ();+function Qat(e) {+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = bQ(), s = zat(), c = LX((e) => G0(e, t)), l = LX((e) => q0(e, n)), u = LX((e) => k2(e, "xAxis", t, o)), d = LX((e) => k2(e, "yAxis", n, o)), f = OQ();if (!s || !f || c == null || l == null || u == null || d == null) return null;- var p = Wat(u, d, f, e.position, c.orientation, l.orientation, e);+ var p = Xat(u, d, f, e.position, c.orientation, l.orientation, e);if (!p) return null;var m = p[0], h = p[1];if (m == null || h == null) return null;- var g = m.x, _ = m.y, v = h.x, y = h.y, b = Iat(Iat({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, _Y(e)), {}, {+ var g = m.x, _ = m.y, v = h.x, y = h.y, b = Hat(Hat({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, _Y(e)), {}, {x1: g,y1: _,x2: v,y2: y- }), x = vat({+ }), x = wat({x1: g,y1: _,x2: v,y2: y});- return /*#__PURE__*/ E.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: Uv("recharts-reference-line", i) }, Bat(r, b), /*#__PURE__*/ E.createElement(ret, W3({}, x, {+ return /*#__PURE__*/ E.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: Uv("recharts-reference-line", i) }, Kat(r, b), /*#__PURE__*/ E.createElement(uet, W3({}, x, {lowerWidth: x.width,upperWidth: x.width- }), /*#__PURE__*/ E.createElement(get, { label: e.label }), e.children)));+ }), /*#__PURE__*/ E.createElement(Cet, { label: e.label }), e.children)));}-var qat = {+var $at = {ifOverflow: "discard",xAxisId: 0,yAxisId: 0,@@ -101184,31 +101304,31 @@ var qat = {position: "middle",zIndex: D$.line};-function Jat(e) {- var t = _X(e, qat);- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Gat, {+function eot(e) {+ var t = _X(e, $at);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Zat, {yAxisId: t.yAxisId,xAxisId: t.xAxisId,ifOverflow: t.ifOverflow,x: t.x,y: t.y,segment: t.segment- }), /*#__PURE__*/ E.createElement(Kat, t));+ }), /*#__PURE__*/ E.createElement(Qat, t));}-Jat.displayName = "ReferenceLine";+eot.displayName = "ReferenceLine";//#endregion//#region node_modules/es-toolkit/dist/function/noop.mjs-function Yat() {}+function tot() {}//#endregion//#region node_modules/es-toolkit/dist/predicate/isPlainObject.mjs-function Xat(e) {+function not(e) {if (!e || typeof e != "object") return !1;let t = Object.getPrototypeOf(e);return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null ? !1 : Object.prototype.toString.call(e) === "[object Object]";}//#endregion//#region node_modules/es-toolkit/dist/predicate/isEqualWith.mjs-function Zat(e, t, n) {+function rot(e, t, n) {return G3(e, t, void 0, void 0, void 0, void 0, n);}function G3(e, t, n, r, i, a, o) {@@ -101234,10 +101354,10 @@ function K3(e, t, n, r) {case wX: return e.toString() === t.toString();case TX: return jX(e.valueOf(), t.valueOf());case EX:- case zGe:- case RGe: return Object.is(e.valueOf(), t.valueOf());- case IGe: return e.source === t.source && e.flags === t.flags;- case UGe: return e === t;+ case GGe:+ case WGe: return Object.is(e.valueOf(), t.valueOf());+ case HGe: return e.source === t.source && e.flags === t.flags;+ case YGe: return e === t;}n ??= /* @__PURE__ */ new Map();let o = n.get(e), s = n.get(t);@@ -101245,11 +101365,11 @@ function K3(e, t, n, r) {n.set(e, t), n.set(t, e);try {switch (i) {- case BGe:+ case KGe:if (e.size !== t.size) return !1;for (let [i, a] of e.entries()) if (!t.has(i) || !G3(a, t.get(i), i, e, t, n, r)) return !1;return !0;- case VGe: {+ case qGe: {if (e.size !== t.size) return !1;let i = Array.from(e.values()), a = Array.from(t.values());for (let o = 0; o < i.length; o++) {@@ -101259,26 +101379,26 @@ function K3(e, t, n, r) {}return !0;}- case HGe:- case qGe:case JGe:- case YGe:- case XGe:- case ZGe:- case QGe:case $Ge:case eKe:case tKe:case nKe:case rKe:+ case iKe:+ case aKe:+ case oKe:+ case sKe:+ case cKe:+ case lKe:if (OX(e) !== OX(t) || e.length !== t.length) return !1;for (let i = 0; i < e.length; i++) if (!G3(e[i], t[i], i, e, t, n, r)) return !1;return !0;- case WGe: return e.byteLength === t.byteLength && K3(new Uint8Array(e), new Uint8Array(t), n, r);- case KGe: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : K3(new Uint8Array(e), new Uint8Array(t), n, r);- case GGe: return e.name === t.name && e.message === t.message;+ case XGe: return e.byteLength === t.byteLength && K3(new Uint8Array(e), new Uint8Array(t), n, r);+ case QGe: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : K3(new Uint8Array(e), new Uint8Array(t), n, r);+ case ZGe: return e.name === t.name && e.message === t.message;case DX: {- if (!(K3(e.constructor, t.constructor, n, r) || Xat(e) && Xat(t))) return !1;+ if (!(K3(e.constructor, t.constructor, n, r) || not(e) && not(t))) return !1;let i = [...Object.keys(e), ...SX(e)], a = [...Object.keys(t), ...SX(t)];if (i.length !== a.length) return !1;for (let a = 0; a < i.length; a++) {@@ -101297,12 +101417,12 @@ function K3(e, t, n, r) {}//#endregion//#region node_modules/es-toolkit/dist/predicate/isEqual.mjs-function Qat(e, t) {- return Zat(e, t, Yat);+function iot(e, t) {+ return rot(e, t, tot);}//#endregion//#region node_modules/recharts/es6/util/getEveryNth.js-function $at(e, t) {+function aot(e, t) {if (t < 1) return [];if (t === 1) return e;for (var n = [], r = 0; r < e.length; r += t) {@@ -101313,13 +101433,13 @@ function $at(e, t) {}//#endregion//#region node_modules/recharts/es6/util/TickUtils.js-function eot(e, t, n) {- return bat({+function oot(e, t, n) {+ return Eat({width: e.width + t.width,height: e.height + t.height}, n);}-function tot(e, t, n) {+function sot(e, t, n) {var r = n === "width", i = e.x, a = e.y, o = e.width, s = e.height;return t === 1 ? {start: r ? i : a,@@ -101334,21 +101454,21 @@ function q3(e, t, n, r, i) {var a = n();return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;}-function not(e, t) {- return $at(e, t + 1);+function cot(e, t) {+ return aot(e, t + 1);}//#endregion//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js-function rot(e, t, n, r, i) {+function lot(e, t, n, r, i) {for (var a = (r || []).slice(), o = t.start, s = t.end, c = 0, l = 1, u = o, d = function() {var t = r?.[c];- if (t === void 0) return { v: $at(r, l) };+ if (t === void 0) return { v: aot(r, l) };var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || q3(e, p, f, u, s);m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);}, f; l <= a.length;) if (f = d(), f) return f.v;return [];}-function iot(e, t, n, r, i) {+function uot(e, t, n, r, i) {var a = (r || []).slice().length;if (a === 0) return [];for (var o = t.start, s = t.end, c = 1; c <= a; c++) {@@ -101371,7 +101491,7 @@ function iot(e, t, n, r, i) {}//#endregion//#region node_modules/recharts/es6/cartesian/getTicks.js-function aot(e, t) {+function dot(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -101384,27 +101504,27 @@ function aot(e, t) {function J3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? aot(Object(n), !0).forEach(function(t) {- oot(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aot(Object(n)).forEach(function(t) {+ t % 2 ? dot(Object(n), !0).forEach(function(t) {+ fot(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dot(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function oot(e, t, n) {- return (t = sot(t)) in e ? Object.defineProperty(e, t, {+function fot(e, t, n) {+ return (t = pot(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function sot(e) {- var t = cot(e, "string");+function pot(e) {+ var t = mot(e, "string");return typeof t == "symbol" ? t : t + "";}-function cot(e, t) {+function mot(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -101414,7 +101534,7 @@ function cot(e, t) {}return (t === "string" ? String : Number)(e);}-function lot(e, t, n, r, i) {+function hot(e, t, n, r, i) {for (var a = (r || []).slice(), o = a.length, s = t.start, c = t.end, l = function(t) {var r = a[t];if (r == null) return 1;@@ -101427,7 +101547,7 @@ function lot(e, t, n, r, i) {}, u = o - 1; u >= 0; u--) if (l(u)) continue;return a;}-function uot(e, t, n, r, i, a) {+function got(e, t, n, r, i, a) {var o = (r || []).slice(), s = o.length, c = t.start, l = t.end;if (a) {var u = r[s - 1];@@ -101451,7 +101571,7 @@ function uot(e, t, n, r, i, a) {function Y3(e, t, n) {var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;if (!i || !i.length || !r) return [];- if (MY(c) || GQ.isSsr) return not(i, MY(c) ? c : 0) ?? [];+ if (MY(c) || GQ.isSsr) return cot(i, MY(c) ? c : 0) ?? [];var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? g4(u, {fontSize: t,letterSpacing: n@@ -101460,19 +101580,19 @@ function Y3(e, t, n) {height: 0}, h = (e, r) => {var i = typeof l == "function" ? l(e.value, r) : e.value;- return p === "width" ? eot(g4(i, {+ return p === "width" ? oot(g4(i, {fontSize: t,letterSpacing: n}), m, d) : g4(i, {fontSize: t,letterSpacing: n})[p];- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? kY(_.coordinate - g.coordinate) : 1, y = tot(a, v, p);- return c === "equidistantPreserveStart" ? rot(v, y, h, i, o) : c === "equidistantPreserveEnd" ? iot(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? uot(v, y, h, i, o, c === "preserveStartEnd") : lot(v, y, h, i, o), f.filter((e) => e.isShow));+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? kY(_.coordinate - g.coordinate) : 1, y = sot(a, v, p);+ return c === "equidistantPreserveStart" ? lot(v, y, h, i, o) : c === "equidistantPreserveEnd" ? uot(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? got(v, y, h, i, o, c === "preserveStartEnd") : hot(v, y, h, i, o), f.filter((e) => e.isShow));}//#endregion//#region node_modules/recharts/es6/util/YAxisUtils.js-var dot = (e) => {+var _ot = (e) => {var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;if (t) {Array.from(t).forEach((e) => {@@ -101485,7 +101605,7 @@ var dot = (e) => {return Math.round(f);}return 0;-}, fot = (e) => {+}, vot = (e) => {var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;if (t) {Array.from(t).forEach((e) => {@@ -101498,7 +101618,7 @@ var dot = (e) => {return Math.round(f);}return 0;-}, pot = VZ({+}, yot = VZ({name: "renderedTicks",initialState: {xAxis: {},@@ -101514,7 +101634,7 @@ var dot = (e) => {delete e[r][i];}}-}), mot = pot.actions, hot = mot.setRenderedTicks, got = mot.removeRenderedTicks, _ot = pot.reducer, vot = [+}), bot = yot.actions, xot = bot.setRenderedTicks, Sot = bot.removeRenderedTicks, Cot = yot.reducer, wot = ["axisLine","width","height",@@ -101524,25 +101644,25 @@ var dot = (e) => {"axisType","axisId"];-function yot(e, t) {- return wot(e) || Cot(e, t) || xot(e, t) || bot();+function Tot(e, t) {+ return Aot(e) || kot(e, t) || Dot(e, t) || Eot();}-function bot() {+function Eot() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function xot(e, t) {+function Dot(e, t) {if (e) {- if (typeof e == "string") return Sot(e, t);+ if (typeof e == "string") return Oot(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Sot(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Oot(e, t) : void 0;}}-function Sot(e, t) {+function Oot(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function Cot(e, t) {+function kot(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -101563,19 +101683,19 @@ function Cot(e, t) {return s;}}-function wot(e) {+function Aot(e) {if (Array.isArray(e)) return e;}-function Tot(e, t) {+function jot(e, t) {if (e == null) return {};- var n, r, i = Eot(e, t);+ var n, r, i = Mot(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Eot(e, t) {+function Mot(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -101593,7 +101713,7 @@ function X3() {return e;}, X3.apply(null, arguments);}-function Dot(e, t) {+function Not(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -101606,27 +101726,27 @@ function Dot(e, t) {function Z3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Dot(Object(n), !0).forEach(function(t) {- Oot(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Dot(Object(n)).forEach(function(t) {+ t % 2 ? Not(Object(n), !0).forEach(function(t) {+ Pot(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Not(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Oot(e, t, n) {- return (t = kot(t)) in e ? Object.defineProperty(e, t, {+function Pot(e, t, n) {+ return (t = Fot(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function kot(e) {- var t = Aot(e, "string");+function Fot(e) {+ var t = Iot(e, "string");return typeof t == "symbol" ? t : t + "";}-function Aot(e, t) {+function Iot(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -101660,7 +101780,7 @@ var Q3 = {interval: "preserveEnd",zIndex: D$.axis};-function jot(e) {+function Lot(e) {var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;if (!s) return null;var l = Z3(Z3(Z3({}, c), hY(s)), {}, { fill: "none" });@@ -101683,7 +101803,7 @@ function jot(e) {}return /*#__PURE__*/ E.createElement("line", X3({}, l, { className: Uv("recharts-cartesian-axis-line", EY(s, "className")) }));}-function Mot(e, t, n, r, i, a, o, s, c) {+function Rot(e, t, n, r, i, a, o, s, c) {var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = MY(e.tickCoord) ? e.tickCoord : e.coordinate;switch (a) {case "top":@@ -101710,14 +101830,14 @@ function Mot(e, t, n, r, i, a, o, s, c) {}};}-function Not(e, t) {+function zot(e, t) {switch (e) {case "left": return t ? "start" : "end";case "right": return t ? "end" : "start";default: return "middle";}}-function Pot(e, t) {+function Bot(e, t) {switch (e) {case "left":case "right": return "middle";@@ -101725,7 +101845,7 @@ function Pot(e, t) {default: return t ? "end" : "start";}}-function Fot(e) {+function Vot(e) {var t = e.option, n = e.tickProps, r = e.value, i, a = Uv(n.className, "recharts-cartesian-axis-tick-value");if (/*#__PURE__*/ E.isValidElement(t)) i = /*#__PURE__*/ E.cloneElement(t, Z3(Z3({}, n), {}, { className: a }));else if (typeof t == "function") i = t(Z3(Z3({}, n), {}, { className: a }));@@ -101735,7 +101855,7 @@ function Fot(e) {}return i;}-function Iot(e) {+function Hot(e) {var t = e.ticks, n = e.axisType, r = e.axisId, i = FX(), a = (0, E.useRef)(null);return (0, E.useEffect)(() => {if (r != null && n != null) {@@ -101745,11 +101865,11 @@ function Iot(e) {offset: e.offset,index: e.index})), o = a.current;- o != null && o.axisId === r && o.axisType === n && Qat(o.ticks, e) || (a.current = {+ o != null && o.axisId === r && o.axisType === n && iot(o.ticks, e) || (a.current = {ticks: e,axisId: r,axisType: n- }, i(hot({+ }, i(xot({ticks: e,axisId: r,axisType: n@@ -101761,7 +101881,7 @@ function Iot(e) {r,n]), (0, E.useEffect)(() => r == null || n == null ? BY : () => {- i(got({+ i(Sot({axisId: r,axisType: n}));@@ -101771,10 +101891,10 @@ function Iot(e) {n]), null;}-var Lot = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, S = e.events, C = e.axisType, w = e.axisId, T = Y3(Z3(Z3({}, x), {}, { ticks: r }), y, b), D = hY(x), O = gY(i), k = L9e(D.textAnchor) ? D.textAnchor : Not(d, f), A = Pot(d, f), j = {};+var Uot = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, S = e.events, C = e.axisType, w = e.axisId, T = Y3(Z3(Z3({}, x), {}, { ticks: r }), y, b), D = hY(x), O = gY(i), k = U9e(D.textAnchor) ? D.textAnchor : zot(d, f), A = Bot(d, f), j = {};typeof a == "object" && (j = a);- var M = Z3(Z3({}, D), {}, { fill: "none" }, j), N = T.map((e) => Z3({ entry: e }, Mot(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {+ var M = Z3(Z3({}, D), {}, { fill: "none" }, j), N = T.map((e) => Z3({ entry: e }, Rot(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {var t = e.entry, n = e.line;return /*#__PURE__*/ E.createElement(xY, {className: "recharts-cartesian-axis-tick",@@ -101795,13 +101915,13 @@ var Lot = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {return /*#__PURE__*/ E.createElement(xY, X3({className: "recharts-cartesian-axis-tick-label",key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`- }, gX(S, n, t)), i && /*#__PURE__*/ E.createElement(Fot, {+ }, gX(S, n, t)), i && /*#__PURE__*/ E.createElement(Vot, {option: i,tickProps: a,value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`}));});- return /*#__PURE__*/ E.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${C}-ticks` }, /*#__PURE__*/ E.createElement(Iot, {+ return /*#__PURE__*/ E.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${C}-ticks` }, /*#__PURE__*/ E.createElement(Hot, {ticks: T,axisId: w,axisType: C@@ -101809,17 +101929,17 @@ var Lot = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {className: `recharts-cartesian-axis-tick-labels recharts-${C}-tick-labels`,ref: t}, F)), P.length > 0 && /*#__PURE__*/ E.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${C}-tick-lines` }, P));-}), Rot = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = Tot(e, vot), d = yot((0, E.useState)(""), 2), f = d[0], p = d[1], m = yot((0, E.useState)(""), 2), h = m[0], g = m[1], _ = (0, E.useRef)(null);+}), Wot = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = jot(e, wot), d = Tot((0, E.useState)(""), 2), f = d[0], p = d[1], m = Tot((0, E.useState)(""), 2), h = m[0], g = m[1], _ = (0, E.useRef)(null);(0, E.useImperativeHandle)(t, () => ({- getCalculatedWidth: () => dot({+ getCalculatedWidth: () => _ot({ticks: _.current,label: e.labelRef?.current,labelGapWithTick: 5,tickSize: e.tickSize,tickMargin: e.tickMargin}),- getCalculatedHeight: () => fot({+ getCalculatedHeight: () => vot({ticks: _.current,label: e.labelRef?.current,labelGapWithTick: 5,@@ -101838,7 +101958,7 @@ var Lot = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {}}}, [f, h]);- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ E.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: Uv("recharts-cartesian-axis", a) }, /*#__PURE__*/ E.createElement(jot, {+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ E.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(xY, { className: Uv("recharts-cartesian-axis", a) }, /*#__PURE__*/ E.createElement(Lot, {x: e.x,y: e.y,width: r,@@ -101847,7 +101967,7 @@ var Lot = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {mirror: e.mirror,axisLine: n,otherSvgProps: hY(e)- }), /*#__PURE__*/ E.createElement(Lot, {+ }), /*#__PURE__*/ E.createElement(Uot, {ref: v,axisType: c,events: u,@@ -101871,37 +101991,37 @@ var Lot = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {x: e.x,y: e.y,axisId: l- }), /*#__PURE__*/ E.createElement(ret, {+ }), /*#__PURE__*/ E.createElement(uet, {x: e.x,y: e.y,width: e.width,height: e.height,lowerWidth: e.width,upperWidth: e.width- }, /*#__PURE__*/ E.createElement(get, {+ }, /*#__PURE__*/ E.createElement(Cet, {label: e.label,labelRef: e.labelRef}), e.children)));}), $3 = /*#__PURE__*/ E.forwardRef((e, t) => {var n = _X(e, Q3);- return /*#__PURE__*/ E.createElement(Rot, X3({}, n, { ref: t }));+ return /*#__PURE__*/ E.createElement(Wot, X3({}, n, { ref: t }));});$3.displayName = "CartesianAxis";//#endregion//#region node_modules/recharts/es6/theme/RechartsThemeContext.js-var zot = /*#__PURE__*/ (0, E.createContext)({ grid: {+var Got = /*#__PURE__*/ (0, E.createContext)({ grid: {stroke: "#ccc",fill: "none"} });-zot.Provider;-var Bot = () => (0, E.useContext)(zot), Vot = [+Got.Provider;+var Kot = () => (0, E.useContext)(Got), qot = ["x1","y1","x2","y2","key"-], Hot = ["offset"], Uot = ["xAxisId", "yAxisId"], Wot = ["xAxisId", "yAxisId"];-function Got(e, t) {+], Jot = ["offset"], Yot = ["xAxisId", "yAxisId"], Xot = ["xAxisId", "yAxisId"];+function Zot(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -101914,27 +102034,27 @@ function Got(e, t) {function e6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Got(Object(n), !0).forEach(function(t) {- Kot(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Got(Object(n)).forEach(function(t) {+ t % 2 ? Zot(Object(n), !0).forEach(function(t) {+ Qot(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Zot(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Kot(e, t, n) {- return (t = qot(t)) in e ? Object.defineProperty(e, t, {+function Qot(e, t, n) {+ return (t = $ot(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function qot(e) {- var t = Jot(e, "string");+function $ot(e) {+ var t = est(e, "string");return typeof t == "symbol" ? t : t + "";}-function Jot(e, t) {+function est(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -101955,14 +102075,14 @@ function t6() {}function n6(e, t) {if (e == null) return {};- var n, r, i = Yot(e, t);+ var n, r, i = tst(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Yot(e, t) {+function tst(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -101971,7 +102091,7 @@ function Yot(e, t) {}return n;}-var Xot = (e) => {+var nst = (e) => {var t = e.fill;if (!t || t === "none") return null;var n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.ry;@@ -101987,14 +102107,14 @@ var Xot = (e) => {className: "recharts-cartesian-grid-bg"});};-function Zot(e) {+function rst(e) {var t = e.option, n = e.lineItemProps, r;if (/*#__PURE__*/ E.isValidElement(t)) r = /*#__PURE__*/ E.cloneElement(t, n);else if (typeof t == "function") r = t(n);else {- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = hY(n6(n, Vot)) ?? {};+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = hY(n6(n, qot)) ?? {};l.offset;- var u = n6(l, Hot), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;+ var u = n6(l, Jot), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;r = /*#__PURE__*/ E.createElement("line", t6({}, u, {strokeDasharray: d,x1: i,@@ -102007,11 +102127,11 @@ function Zot(e) {}return r;}-function Qot(e) {+function ist(e) {var t = e.x, n = e.width, r = e.horizontal, i = r === void 0 || r, a = e.horizontalPoints;if (!i || !a || !a.length) return null;e.xAxisId, e.yAxisId;- var o = n6(e, Uot), s = a.map((e, r) => {+ var o = n6(e, Yot), s = a.map((e, r) => {var a = e6(e6({}, o), {}, {x1: t,y1: e,@@ -102020,7 +102140,7 @@ function Qot(e) {key: `line-${r}`,index: r});- return /*#__PURE__*/ E.createElement(Zot, {+ return /*#__PURE__*/ E.createElement(rst, {key: `line-${r}`,option: i,lineItemProps: a@@ -102028,11 +102148,11 @@ function Qot(e) {});return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, s);}-function $ot(e) {+function ast(e) {var t = e.y, n = e.height, r = e.vertical, i = r === void 0 || r, a = e.verticalPoints;if (!i || !a || !a.length) return null;e.xAxisId, e.yAxisId;- var o = n6(e, Wot), s = a.map((e, r) => {+ var o = n6(e, Xot), s = a.map((e, r) => {var a = e6(e6({}, o), {}, {x1: e,y1: t,@@ -102041,7 +102161,7 @@ function $ot(e) {key: `line-${r}`,index: r});- return /*#__PURE__*/ E.createElement(Zot, {+ return /*#__PURE__*/ E.createElement(rst, {option: i,lineItemProps: a,key: `line-${r}`@@ -102049,7 +102169,7 @@ function $ot(e) {});return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid-vertical" }, s);}-function est(e) {+function ost(e) {var t = e.horizontalFill, n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.horizontalPoints, c = e.horizontal;if (!(c === void 0 || c) || !t || !t.length || s == null) return null;var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);@@ -102072,7 +102192,7 @@ function est(e) {});return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);}-function tst(e) {+function sst(e) {var t = e.vertical, n = t === void 0 || t, r = e.verticalFill, i = e.fillOpacity, a = e.x, o = e.y, s = e.width, c = e.height, l = e.verticalPoints;if (!n || !r || !r.length) return null;var u = l.map((e) => Math.round(e + a - a)).sort((e, t) => e - t);@@ -102095,10 +102215,10 @@ function tst(e) {});return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, d);}-var nst = (e, t) => {+var cst = (e, t) => {var n = e.xAxis, r = e.width, i = e.height, a = e.offset;- return eYe(Y3(e6(e6(e6({}, Q3), n), {}, {- ticks: tYe(n, !0),+ return oYe(Y3(e6(e6(e6({}, Q3), n), {}, {+ ticks: sYe(n, !0),viewBox: {x: 0,y: 0,@@ -102106,10 +102226,10 @@ var nst = (e, t) => {height: i}})), a.left, a.left + a.width, t);-}, rst = (e, t) => {+}, lst = (e, t) => {var n = e.yAxis, r = e.width, i = e.height, a = e.offset;- return eYe(Y3(e6(e6(e6({}, Q3), n), {}, {- ticks: tYe(n, !0),+ return oYe(Y3(e6(e6(e6({}, Q3), n), {}, {+ ticks: sYe(n, !0),viewBox: {x: 0,y: 0,@@ -102117,7 +102237,7 @@ var nst = (e, t) => {height: i}})), a.top, a.top + a.height, t);-}, ist = {+}, ust = {horizontal: !0,vertical: !0,horizontalPoints: [],@@ -102129,20 +102249,20 @@ var nst = (e, t) => {syncWithTicks: !1,zIndex: D$.grid};-function ast(e) {- var t = kQ(), n = AQ(), r = nXe(), i = e6(e6({}, _X(e, ist)), {}, {+function dst(e) {+ var t = kQ(), n = AQ(), r = cXe(), i = e6(e6({}, _X(e, ust)), {}, {x: MY(e.x) ? e.x : r.left,y: MY(e.y) ? e.y : r.top,width: MY(e.width) ? e.width : r.width,height: MY(e.height) ? e.height : r.height- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = bQ(), h = LX((e) => K6e(e, "xAxis", a, m)), g = LX((e) => K6e(e, "yAxis", o, m)), _ = Bot(), v = {+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = bQ(), h = LX((e) => Q6e(e, "xAxis", a, m)), g = LX((e) => Q6e(e, "yAxis", o, m)), _ = Kot(), v = {stroke: i.stroke ?? _.grid.stroke,strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray};if (!rQ(l) || !rQ(u) || !MY(s) || !MY(c)) return null;- var y = i.verticalCoordinatesGenerator || nst, b = i.horizontalCoordinatesGenerator || rst, x = i.horizontalPoints, S = i.verticalPoints;+ var y = i.verticalCoordinatesGenerator || cst, b = i.horizontalCoordinatesGenerator || lst, x = i.horizontalPoints, S = i.verticalPoints;if ((!x || !x.length) && typeof b == "function") {var C = f && f.length, w = b({yAxis: g ? e6(e6({}, g), {}, { ticks: C ? f : g.ticks }) : void 0,@@ -102161,7 +102281,7 @@ function ast(e) {}, T ? !0 : d);CQ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (S = D);}- return /*#__PURE__*/ E.createElement(s4, { zIndex: i.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ E.createElement(Xot, {+ return /*#__PURE__*/ E.createElement(s4, { zIndex: i.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ E.createElement(nst, {fill: i.fill ?? _.grid.fill,fillOpacity: i.fillOpacity ?? _.grid.fillOpacity,x: i.x,@@ -102169,22 +102289,22 @@ function ast(e) {width: i.width,height: i.height,ry: i.ry- }), /*#__PURE__*/ E.createElement(est, t6({}, i, { horizontalPoints: x })), /*#__PURE__*/ E.createElement(tst, t6({}, i, { verticalPoints: S })), /*#__PURE__*/ E.createElement(Qot, t6({}, i, v, {+ }), /*#__PURE__*/ E.createElement(ost, t6({}, i, { horizontalPoints: x })), /*#__PURE__*/ E.createElement(sst, t6({}, i, { verticalPoints: S })), /*#__PURE__*/ E.createElement(ist, t6({}, i, v, {offset: r,horizontalPoints: x,xAxis: h,yAxis: g- })), /*#__PURE__*/ E.createElement($ot, t6({}, i, v, {+ })), /*#__PURE__*/ E.createElement(ast, t6({}, i, v, {offset: r,verticalPoints: S,xAxis: h,yAxis: g}))));}-ast.displayName = "CartesianGrid";+dst.displayName = "CartesianGrid";//#endregion//#region node_modules/recharts/es6/cartesian/LineDrawShape.js-var ost = [+var fst = ["animationElapsedTime","isAnimating","isEntrance",@@ -102201,16 +102321,16 @@ function r6() {return e;}, r6.apply(null, arguments);}-function sst(e, t) {+function pst(e, t) {if (e == null) return {};- var n, r, i = cst(e, t);+ var n, r, i = mst(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function cst(e, t) {+function mst(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -102219,26 +102339,26 @@ function cst(e, t) {}return n;}-function lst(e) {+function hst(e) {try {return e && e.getTotalLength && e.getTotalLength() || 0;} catch {return 0;}}-function ust(e, t) {+function gst(e, t) {return `${t}px ${e}px`;}-function dst(e) {+function _st(e) {return e.length % 2 == 0 ? e : [...e, ...e];}-function fst(e, t) {+function vst(e, t) {for (var n = [], r = 0; r < t; ++r) n.push(...e);return n;}-function pst(e, t, n) {- var r = dst(n), i = r.reduce((e, t) => e + t, 0);- if (!i) return ust(t, e);+function yst(e, t, n) {+ var r = _st(n), i = r.reduce((e, t) => e + t, 0);+ if (!i) return gst(t, e);for (var a = Math.floor(e / i), o = e % i, s = [], c = 0, l = 0; c < r.length; l += (u = r[c]) ?? 0, ++c) {var u, d = r[c];if (d != null && l + d > o) {@@ -102248,20 +102368,20 @@ function pst(e, t, n) {}var f = s.length % 2 == 0 ? [0, t] : [t];return [- ...fst(r, a),+ ...vst(r, a),...s,...f].map((e) => `${e}px`).join(", ");}-function mst(e, t, n) {- return e ? pst(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : ust(t, n);+function bst(e, t, n) {+ return e ? yst(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : gst(t, n);}-function hst(e) {+function xst(e) {e.animationElapsedTime, e.isAnimating, e.isEntrance;- var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = sst(e, ost), a = r ?? !1, o;+ var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = pst(e, fst), a = r ?? !1, o;if (t != null) {var s = i.pathRef;- o = mst(n, lst(s?.current ?? null), t);+ o = bst(n, hst(s?.current ?? null), t);} else n != null && (o = String(n));return /*#__PURE__*/ E.createElement(ZQ, r6({}, i, {connectNulls: a,@@ -102270,7 +102390,7 @@ function hst(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/useAnimatedLineLength.js-function gst(e) {+function Sst(e) {var t = (0, E.useRef)(0), n = (0, E.useRef)(0), r = (0, E.useRef)(!1), i = (0, E.useRef)(e);return i.current !== e && (t.current = n.current, i.current = e), (0, E.useCallback)((e, i) => {if (r.current) return null;@@ -102280,7 +102400,7 @@ function gst(e) {}//#endregion//#region node_modules/recharts/es6/state/errorBarSlice.js-var _st = VZ({+var Cst = VZ({name: "errorBars",initialState: {},reducers: {@@ -102297,19 +102417,19 @@ var _st = VZ({e[r] && (e[r] = e[r].filter((e) => e.dataKey !== i.dataKey || e.direction !== i.direction));}}-}), i6 = _st.actions;+}), i6 = Cst.actions;i6.addErrorBar, i6.replaceErrorBar, i6.removeErrorBar;-var vst = _st.reducer, yst = ["children"];-function bst(e, t) {+var wst = Cst.reducer, Tst = ["children"];+function Est(e, t) {if (e == null) return {};- var n, r, i = xst(e, t);+ var n, r, i = Dst(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function xst(e, t) {+function Dst(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -102318,7 +102438,7 @@ function xst(e, t) {}return n;}-var Sst = /*#__PURE__*/ (0, E.createContext)({+var Ost = /*#__PURE__*/ (0, E.createContext)({data: [],xAxisId: "xAxis-0",yAxisId: "yAxis-0",@@ -102329,9 +102449,9 @@ var Sst = /*#__PURE__*/ (0, E.createContext)({}),errorBarOffset: 0});-function Cst(e) {- var t = e.children, n = bst(e, yst);- return /*#__PURE__*/ E.createElement(Sst.Provider, { value: n }, t);+function kst(e) {+ var t = e.children, n = Est(e, Tst);+ return /*#__PURE__*/ E.createElement(Ost.Provider, { value: n }, t);}//#endregion//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js@@ -102344,7 +102464,7 @@ function a6(e, t) {};}function o6(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = S3(), a = a6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = LX((e) => O6e(e, t, !1)), u = LX((e) => k6e(e, n, !1));+ var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = S3(), a = a6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = LX((e) => P6e(e, t, !1)), u = LX((e) => F6e(e, n, !1));if (!c || !i) return null;var d = i.x, f = i.y, p = i.width, m = i.height, h = o && l ? Math.min(l[0], l[1]) : d - p / 2, g = s && u ? Math.min(u[0], u[1]) : f - m / 2, _ = o && l ? Math.abs(l[1] - l[0]) : p * 2, v = s && u ? Math.abs(u[1] - u[0]) : m * 2;return /*#__PURE__*/ E.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ E.createElement("rect", {@@ -102356,30 +102476,30 @@ function o6(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/lineSelectors.js-var wst = (e, t, n, r) => P2(e, "xAxis", t, r), Tst = (e, t, n, r) => N2(e, "xAxis", t, r), Est = (e, t, n, r) => P2(e, "yAxis", n, r), Dst = (e, t, n, r) => N2(e, "yAxis", n, r), Ost = X([+var Ast = (e, t, n, r) => P2(e, "xAxis", t, r), jst = (e, t, n, r) => N2(e, "xAxis", t, r), Mst = (e, t, n, r) => P2(e, "yAxis", n, r), Nst = (e, t, n, r) => N2(e, "yAxis", n, r), Pst = X([jQ,- wst,- Est,- Tst,- Dst-], (e, t, n, r, i) => oQ(e, "xAxis") ? uQ(t, r, !1) : uQ(n, i, !1)), kst = (e, t, n, r, i) => i;-function Ast(e) {+ Ast,+ Mst,+ jst,+ Nst+], (e, t, n, r, i) => oQ(e, "xAxis") ? uQ(t, r, !1) : uQ(n, i, !1)), Fst = (e, t, n, r, i) => i;+function Ist(e) {return e.type === "line";}-var jst = X([+var Lst = X([jQ,- wst,- Est,- Tst,- Dst,- X([Q0, kst], (e, t) => e.filter(Ast).find((e) => e.id === t)),- Ost,+ Ast,+ Mst,+ jst,+ Nst,+ X([Q0, Fst], (e, t) => e.filter(Ist).find((e) => e.id === t)),+ Pst,m$], (e, t, n, r, i, a, o, s) => {var c = s.chartData, l = s.dataStartIndex, u = s.dataEndIndex;if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {var d = a.dataKey, f = a.data, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);- if (p != null) return $st({+ if (p != null) return act({layout: e,xAxis: t,yAxis: n,@@ -102393,7 +102513,7 @@ var jst = X([});//#endregion//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js-function Mst(e) {+function Rst(e) {var t = gY(e), n = 3, r = 2;if (t != null) {var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);@@ -102409,14 +102529,14 @@ function Mst(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/Line.js-var Nst = ["id"], Pst = [+var zst = ["id"], Bst = ["type","layout","connectNulls","needClip","shape","strokeDasharray"-], Fst = [+], Vst = ["activeDot","animateNewValues","animationBegin",@@ -102443,14 +102563,14 @@ function s6() {}function c6(e, t) {if (e == null) return {};- var n, r, i = Ist(e, t);+ var n, r, i = Hst(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Ist(e, t) {+function Hst(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -102459,7 +102579,7 @@ function Ist(e, t) {}return n;}-function Lst(e, t) {+function Ust(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -102472,27 +102592,27 @@ function Lst(e, t) {function l6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Lst(Object(n), !0).forEach(function(t) {- Rst(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Lst(Object(n)).forEach(function(t) {+ t % 2 ? Ust(Object(n), !0).forEach(function(t) {+ Wst(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ust(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Rst(e, t, n) {- return (t = zst(t)) in e ? Object.defineProperty(e, t, {+function Wst(e, t, n) {+ return (t = Gst(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function zst(e) {- var t = Bst(e, "string");+function Gst(e) {+ var t = Kst(e, "string");return typeof t == "symbol" ? t : t + "";}-function Bst(e, t) {+function Kst(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -102502,14 +102622,14 @@ function Bst(e, t) {}return (t === "string" ? String : Number)(e);}-function Vst(e) {+function qst(e) {try {return e && e.getTotalLength && e.getTotalLength() || 0;} catch {return 0;}}-function Hst(e) {+function Jst(e) {var t = 0, n = 0;for (var r of e) r.status === "matched" && r.prev.x != null && r.next.x != null && (t += r.next.x - r.prev.x, n++);return n > 0 ? t / n : 0;@@ -102523,7 +102643,7 @@ var u6 = {animationInterpolateFn: (e, t) => {if (e == null) return [];if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);- var n = Hst(e), r = [];+ var n = Jst(e), r = [];for (var i of e) if (i.status === "matched") r.push(l6(l6({}, i.next), {}, {x: IY(i.prev.x, i.next.x, t),y: IY(i.prev.y, i.next.y, t)@@ -102553,14 +102673,14 @@ var u6 = {isAnimationActive: "auto",label: !1,legendType: "line",- shape: hst,+ shape: xst,stroke: "#3182bd",strokeWidth: 1,xAxisId: 0,yAxisId: 0,zIndex: D$.line,type: "linear"-}, Ust = (e) => {+}, Yst = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.legendType;return [{inactive: e.hide,@@ -102570,7 +102690,7 @@ var u6 = {value: dQ(n, t),payload: e}];-}, Wst = /*#__PURE__*/ E.memo((e) => {+}, Xst = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,getPosition: BY,@@ -102591,10 +102711,10 @@ var u6 = {};return /*#__PURE__*/ E.createElement(o3, { tooltipEntrySettings: f });});-function Gst(e) {+function Zst(e) {var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;r.id;- var s = hY(c6(r, Nst));+ var s = hY(c6(r, zst));return /*#__PURE__*/ E.createElement(y3, {points: n,dot: i,@@ -102606,7 +102726,7 @@ function Gst(e) {clipPathId: t});}-function Kst(e) {+function Qst(e) {var t = e.showLabels, n = e.children, r = e.points, i = (0, E.useMemo)(() => r?.map((e) => {var t = {x: e.x ?? 0,@@ -102626,8 +102746,8 @@ function Kst(e) {}), [r]);return /*#__PURE__*/ E.createElement(k4, { value: t ? i : void 0 }, n);}-function qst(e) {- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = l6(l6({}, _Y(c6(i, Pst))), {}, {+function $st(e) {+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = l6(l6({}, _Y(c6(i, Bst))), {}, {fill: "none",className: "recharts-line-curve",clipPath: f ? `url(#clipPath-${t})` : void 0,@@ -102646,15 +102766,15 @@ function qst(e) {option: p,DefaultShape: u6.shape,shapeProps: h- }), /*#__PURE__*/ E.createElement(Gst, {+ }), /*#__PURE__*/ E.createElement(Zst, {points: r,clipPathId: t,props: i}));}-function Jst(e) {- var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = Vst(r.current), m = f3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = gst(a), b = (0, E.useCallback)((e) => e > 0 && p > 0, [p]);- return /*#__PURE__*/ E.createElement(Kst, {+function ect(e) {+ var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = qst(r.current), m = f3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = Sst(a), b = (0, E.useCallback)((e) => e > 0 && p > 0, [p]);+ return /*#__PURE__*/ E.createElement(Qst, {points: a,showLabels: v}, n.children, /*#__PURE__*/ E.createElement(p3, {@@ -102674,7 +102794,7 @@ function Jst(e) {layout: f}, (e, i, a) => {var o = h || i < 1, s = o ? y(i, p) : null;- return /*#__PURE__*/ E.createElement(qst, {+ return /*#__PURE__*/ E.createElement($st, {props: n,points: e,clipPathId: t,@@ -102686,25 +102806,25 @@ function Jst(e) {});}), /*#__PURE__*/ E.createElement(j4, { label: n.label }));}-function Yst(e) {+function tct(e) {var t = e.clipPathId, n = e.props, r = (0, E.useRef)(null), i = (0, E.useRef)(null);- return /*#__PURE__*/ E.createElement(Jst, {+ return /*#__PURE__*/ E.createElement(ect, {props: n,clipPathId: t,previousPointsRef: r,pathRef: i});}-var Xst = (e, t) => ({+var nct = (e, t) => ({x: e.x ?? void 0,y: e.y ?? void 0,value: e.value,errorVal: aQ(e.payload, t)-}), Zst = class extends E.Component {+}), rct = class extends E.Component {render() {var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;if (t) return null;- var m = Uv("recharts-line", i), h = d, g = Mst(n), _ = g.r, v = g.strokeWidth, y = t3(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;+ var m = Uv("recharts-line", i), h = d, g = Rst(n), _ = g.r, v = g.strokeWidth, y = t3(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;return /*#__PURE__*/ E.createElement(s4, { zIndex: p }, /*#__PURE__*/ E.createElement(xY, { className: m }, f && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(o6, {clipPathId: h,xAxisId: a,@@ -102714,13 +102834,13 @@ var Xst = (e, t) => ({y: s - b / 2,width: l + b,height: u + b- }))), /*#__PURE__*/ E.createElement(Cst, {+ }))), /*#__PURE__*/ E.createElement(kst, {xAxisId: a,yAxisId: o,data: r,- dataPointFormatter: Xst,+ dataPointFormatter: nct,errorBarOffset: 0- }, /*#__PURE__*/ E.createElement(Yst, {+ }, /*#__PURE__*/ E.createElement(tct, {props: this.props,clipPathId: h}))), /*#__PURE__*/ E.createElement(w3, {@@ -102732,11 +102852,11 @@ var Xst = (e, t) => ({}));}};-function Qst(e) {- var t = _X(e, u6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = c6(t, Fst), _ = a6(p, m).needClip, v = S3(), y = MQ(), b = bQ(), x = LX((e) => jst(e, p, m, b, h));+function ict(e) {+ var t = _X(e, u6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = c6(t, Vst), _ = a6(p, m).needClip, v = S3(), y = MQ(), b = bQ(), x = LX((e) => Lst(e, p, m, b, h));if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;var S = v.height, C = v.width, w = v.x, T = v.y;- return /*#__PURE__*/ E.createElement(Zst, s6({}, g, {+ return /*#__PURE__*/ E.createElement(rct, s6({}, g, {id: h,connectNulls: s,dot: c,@@ -102760,7 +102880,7 @@ function Qst(e) {needClip: _}));}-function $st(e) {+function act(e) {var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;return e.displayedData.map((e, c) => {var l = aQ(e, o);@@ -102791,12 +102911,12 @@ function $st(e) {};}).filter(Boolean);}-function ect(e) {+function oct(e) {var t = _X(e, u6), n = bQ();return /*#__PURE__*/ E.createElement(m3, {id: t.id,type: "line"- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(s3, { legendPayload: Ust(t) }), /*#__PURE__*/ E.createElement(Wst, {+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(s3, { legendPayload: Yst(t) }), /*#__PURE__*/ E.createElement(Xst, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -102818,10 +102938,10 @@ function ect(e) {dataKey: t.dataKey,hide: t.hide,isPanorama: n- }), /*#__PURE__*/ E.createElement(Qst, s6({}, t, { id: e }))));+ }), /*#__PURE__*/ E.createElement(ict, s6({}, t, { id: e }))));}-var tct = /*#__PURE__*/ E.memo(ect, RQ);-tct.displayName = "Line";+var sct = /*#__PURE__*/ E.memo(oct, RQ);+sct.displayName = "Line";//#endregion//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.jsfunction d6(e, t) {@@ -102832,19 +102952,19 @@ function f6(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/areaSelectors.js-var nct = (e, t, n) => P2(e, "xAxis", d6(e, t), n), rct = (e, t, n) => N2(e, "xAxis", d6(e, t), n), ict = (e, t, n) => P2(e, "yAxis", f6(e, t), n), act = (e, t, n) => N2(e, "yAxis", f6(e, t), n), oct = X([+var cct = (e, t, n) => P2(e, "xAxis", d6(e, t), n), lct = (e, t, n) => N2(e, "xAxis", d6(e, t), n), uct = (e, t, n) => P2(e, "yAxis", f6(e, t), n), dct = (e, t, n) => N2(e, "yAxis", f6(e, t), n), fct = X([jQ,- nct,- ict,- rct,- act-], (e, t, n, r, i) => oQ(e, "xAxis") ? uQ(t, r, !1) : uQ(n, i, !1)), p6 = X([Q0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), sct = (e) => oQ(jQ(e), "xAxis") ? "yAxis" : "xAxis", cct = (e, t) => sct(e) === "yAxis" ? f6(e, t) : d6(e, t), lct = (e, t, n) => u2(e, sct(e), cct(e, t), n), uct = X([+ cct,+ uct,+ lct,+ dct+], (e, t, n, r, i) => oQ(e, "xAxis") ? uQ(t, r, !1) : uQ(n, i, !1)), p6 = X([Q0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), pct = (e) => oQ(jQ(e), "xAxis") ? "yAxis" : "xAxis", mct = (e, t) => pct(e) === "yAxis" ? f6(e, t) : d6(e, t), hct = (e, t, n) => u2(e, pct(e), mct(e, t), n), gct = X([jQ,- nct,- ict,- rct,- act,- X([p6, lct], (e, t) => {+ cct,+ uct,+ lct,+ dct,+ X([p6, hct], (e, t) => {if (e != null && t != null) {var n = e.stackId, r = B$(e);if (n != null && r != null) {@@ -102853,11 +102973,11 @@ var nct = (e, t, n) => P2(e, "xAxis", d6(e, t), n), rct = (e, t, n) => N2(e, "xA}}}),- U$e,- oct,+ Y$e,+ fct,p6,- _1e,- X([p6, lct], (e, t) => {+ C1e,+ X([p6, hct], (e, t) => {if (e != null && e.stackId != null && t != null) {var n = t[e.stackId];if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(zY);@@ -102867,7 +102987,7 @@ var nct = (e, t, n) => P2(e, "xAxis", d6(e, t), n), rct = (e, t, n) => N2(e, "xAvar d = o.chartData, f = o.dataStartIndex, p = o.dataEndIndex;if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {var m = c.data, h = m && m.length > 0 ? m : d?.slice(f, p + 1);- if (h != null) return zct({+ if (h != null) return Gct({layout: e,xAxis: t,yAxis: n,@@ -102882,7 +103002,7 @@ var nct = (e, t, n) => P2(e, "xAxis", d6(e, t), n), rct = (e, t, n) => N2(e, "xAstackDataKeys: u});}-}), dct = [+}), _ct = ["animationElapsedTime","isAnimating","isEntrance",@@ -102890,7 +103010,7 @@ var nct = (e, t, n) => P2(e, "xAxis", d6(e, t), n), rct = (e, t, n) => N2(e, "xA"isRange","stroke","connectNulls"-], fct = ["id", "baseLine"];+], vct = ["id", "baseLine"];function m6() {return m6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -102900,16 +103020,16 @@ function m6() {return e;}, m6.apply(null, arguments);}-function pct(e, t) {+function yct(e, t) {if (e == null) return {};- var n, r, i = mct(e, t);+ var n, r, i = bct(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function mct(e, t) {+function bct(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -102918,7 +103038,7 @@ function mct(e, t) {}return n;}-function hct(e) {+function xct(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;if (!nQ(a) || !nQ(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));@@ -102929,7 +103049,7 @@ function hct(e) {height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))}) : null;}-function gct(e) {+function Sct(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;if (!nQ(a) || !nQ(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));@@ -102940,22 +103060,22 @@ function gct(e) {height: Math.floor(s)}) : null;}-function _ct(e) {+function Cct(e) {var t = e.alpha, n = e.layout, r = e.points, i = e.baseLine, a = e.strokeWidth;- return n === "vertical" ? /*#__PURE__*/ E.createElement(gct, {+ return n === "vertical" ? /*#__PURE__*/ E.createElement(Sct, {alpha: t,points: r,baseLine: i,strokeWidth: a- }) : /*#__PURE__*/ E.createElement(hct, {+ }) : /*#__PURE__*/ E.createElement(xct, {alpha: t,points: r,baseLine: i,strokeWidth: a});}-function vct(e) {- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = pct(e, dct), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = znt(), h = d.id, g = d.baseLine, _ = hY(pct(d, fct)), v = /*#__PURE__*/ E.createElement(ZQ, m6({}, d, {+function wct(e) {+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = yct(e, _ct), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = Gnt(), h = d.id, g = d.baseLine, _ = hY(yct(d, vct)), v = /*#__PURE__*/ E.createElement(ZQ, m6({}, d, {id: h,baseLine: g,connectNulls: p,@@ -102979,7 +103099,7 @@ function vct(e) {stroke: l,points: g}));- return o && (i || n < 1) ? /*#__PURE__*/ E.createElement(xY, null, /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: m }, /*#__PURE__*/ E.createElement(_ct, {+ return o && (i || n < 1) ? /*#__PURE__*/ E.createElement(xY, null, /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: m }, /*#__PURE__*/ E.createElement(Cct, {alpha: n,points: d.points ?? [],baseLine: g,@@ -102989,7 +103109,7 @@ function vct(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/Area.js-var yct = ["id"], bct = [+var Tct = ["id"], Ect = ["activeDot","animationBegin","animationDuration",@@ -103014,16 +103134,16 @@ function h6() {return e;}, h6.apply(null, arguments);}-function xct(e, t) {+function Dct(e, t) {if (e == null) return {};- var n, r, i = Sct(e, t);+ var n, r, i = Oct(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Sct(e, t) {+function Oct(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -103032,7 +103152,7 @@ function Sct(e, t) {}return n;}-function Cct(e, t) {+function kct(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -103045,27 +103165,27 @@ function Cct(e, t) {function g6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Cct(Object(n), !0).forEach(function(t) {- wct(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Cct(Object(n)).forEach(function(t) {+ t % 2 ? kct(Object(n), !0).forEach(function(t) {+ Act(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kct(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function wct(e, t, n) {- return (t = Tct(t)) in e ? Object.defineProperty(e, t, {+function Act(e, t, n) {+ return (t = jct(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Tct(e) {- var t = Ect(e, "string");+function jct(e) {+ var t = Mct(e, "string");return typeof t == "symbol" ? t : t + "";}-function Ect(e, t) {+function Mct(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -103075,7 +103195,7 @@ function Ect(e, t) {}return (t === "string" ? String : Number)(e);}-var Dct = {+var Nct = {activeDot: !0,animationBegin: 0,animationDuration: 1500,@@ -103096,7 +103216,7 @@ var Dct = {strokeWidth: 1,type: "linear",label: !1,- shape: vct,+ shape: wct,xAxisId: 0,yAxisId: 0,zIndex: D$.area@@ -103104,7 +103224,7 @@ var Dct = {function _6(e, t) {return e && e !== "none" ? e : t;}-var Oct = (e) => {+var Pct = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;return [{inactive: e.hide,@@ -103114,7 +103234,7 @@ var Oct = (e) => {value: dQ(n, t),payload: e}];-}, kct = /*#__PURE__*/ E.memo((e) => {+}, Fct = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,getPosition: BY,@@ -103135,7 +103255,7 @@ var Oct = (e) => {};return /*#__PURE__*/ E.createElement(o3, { tooltipEntrySettings: f });});-function Act(e) {+function Ict(e) {var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = hY(r);return /*#__PURE__*/ E.createElement(y3, {points: n,@@ -103148,7 +103268,7 @@ function Act(e) {clipPathId: t});}-function jct(e) {+function Lct(e) {var t = e.showLabels, n = e.children, r = e.points.map((e) => {var t = {x: e.x ?? 0,@@ -103168,8 +103288,8 @@ function jct(e) {});return /*#__PURE__*/ E.createElement(k4, { value: t ? r : void 0 }, n);}-function Mct(e) {- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = xct(a, yct), _ = g6(g6({}, _Y(g)), {}, {+function Rct(e) {+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = Dct(a, Tct), _ = g6(g6({}, _Y(g)), {}, {id: h,points: t,connectNulls: f,@@ -103184,18 +103304,18 @@ function Mct(e) {});return /*#__PURE__*/ E.createElement(E.Fragment, null, t?.length > 1 && /*#__PURE__*/ E.createElement(xY, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ E.createElement(n3, {option: m,- DefaultShape: Dct.shape,+ DefaultShape: Nct.shape,shapeProps: _- })), /*#__PURE__*/ E.createElement(Act, {+ })), /*#__PURE__*/ E.createElement(Ict, {points: t,props: g,clipPathId: i}));}-function Nct(e, t, n) {+function zct(e, t, n) {return MY(e) ? IY(MY(t) ? t : void 0, e, n) : LY(e) || AY(e) ? IY(MY(t) ? t : void 0, 0, n) : e;}-function Pct(e) {+function Bct(e) {var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, E.useMemo)(() => ({points: o,baseLine: s@@ -103217,11 +103337,11 @@ function Pct(e) {animationMatchBy: f,layout: g}, (e, i, a) => {- var c = i === 1 ? s : Array.isArray(s) ? p(S, i, g) : a ? s : Nct(s, x, i);- return h.syncStepValue(c, i), /*#__PURE__*/ E.createElement(jct, {+ var c = i === 1 ? s : Array.isArray(s) ? p(S, i, g) : a ? s : zct(s, x, i);+ return h.syncStepValue(c, i), /*#__PURE__*/ E.createElement(Lct, {showLabels: !v,points: o- }, r.children, /*#__PURE__*/ E.createElement(Mct, {+ }, r.children, /*#__PURE__*/ E.createElement(Rct, {points: e,baseLine: c,needClip: t,@@ -103233,9 +103353,9 @@ function Pct(e) {}), /*#__PURE__*/ E.createElement(j4, { label: r.label }));});}-function Fct(e) {+function Vct(e) {var t = e.needClip, n = e.clipPathId, r = e.props, i = (0, E.useRef)(null), a = (0, E.useRef)();- return /*#__PURE__*/ E.createElement(Pct, {+ return /*#__PURE__*/ E.createElement(Bct, {needClip: t,clipPathId: n,props: r,@@ -103243,11 +103363,11 @@ function Fct(e) {previousBaselineRef: a});}-var Ict = class extends E.PureComponent {+var Hct = class extends E.PureComponent {render() {var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;if (t) return null;- var h = Uv("recharts-area", i), g = f, _ = Mst(n), v = _.r, y = _.strokeWidth, b = t3(n), x = v * 2 + y, S = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;+ var h = Uv("recharts-area", i), g = f, _ = Rst(n), v = _.r, y = _.strokeWidth, b = t3(n), x = v * 2 + y, S = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;return /*#__PURE__*/ E.createElement(s4, { zIndex: m }, /*#__PURE__*/ E.createElement(xY, { className: h }, s && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(o6, {clipPathId: g,xAxisId: c,@@ -103257,7 +103377,7 @@ var Ict = class extends E.PureComponent {y: a - x / 2,width: u + x,height: d + x- }))), /*#__PURE__*/ E.createElement(Fct, {+ }))), /*#__PURE__*/ E.createElement(Vct, {needClip: s,clipPathId: g,props: this.props@@ -103276,11 +103396,11 @@ var Ict = class extends E.PureComponent {}));}};-function Lct(e) {- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = xct(e, bct), g = MQ(), _ = C5e(), v = a6(p, m).needClip, y = bQ(), b = LX((t) => uct(t, e.id, y)) ?? {}, x = b.points, S = b.isRange, C = b.baseLine, w = S3();+function Uct(e) {+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = Dct(e, Ect), g = MQ(), _ = k5e(), v = a6(p, m).needClip, y = bQ(), b = LX((t) => gct(t, e.id, y)) ?? {}, x = b.points, S = b.isRange, C = b.baseLine, w = S3();if (g !== "horizontal" && g !== "vertical" || w == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;var T = w.height, D = w.width, O = w.x, k = w.y;- return !x || !x.length ? null : /*#__PURE__*/ E.createElement(Ict, h6({}, h, {+ return !x || !x.length ? null : /*#__PURE__*/ E.createElement(Hct, h6({}, h, {activeDot: t,animationBegin: n,animationDuration: r,@@ -103306,7 +103426,7 @@ function Lct(e) {yAxisId: m}));}-var Rct = (e, t, n, r, i) => {+var Wct = (e, t, n, r, i) => {var a = n ?? t;if (MY(a)) return a;var o = e === "horizontal" ? i : r, s = o.scale.domain();@@ -103316,8 +103436,8 @@ var Rct = (e, t, n, r, i) => {}return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];};-function zct(e) {- var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = Rct(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {+function Gct(e) {+ var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = Wct(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {var r;if (g) r = a[d + t];else {@@ -103366,12 +103486,12 @@ function zct(e) {isRange: y};}-function Bct(e) {- var t = _X(e, Dct), n = bQ();+function Kct(e) {+ var t = _X(e, Nct), n = bQ();return /*#__PURE__*/ E.createElement(m3, {id: t.id,type: "area"- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(s3, { legendPayload: Oct(t) }), /*#__PURE__*/ E.createElement(kct, {+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(s3, { legendPayload: Pct(t) }), /*#__PURE__*/ E.createElement(Fct, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -103397,29 +103517,29 @@ function Bct(e) {baseValue: t.baseValue,isPanorama: n,connectNulls: t.connectNulls- }), /*#__PURE__*/ E.createElement(Lct, h6({}, t, { id: e }))));+ }), /*#__PURE__*/ E.createElement(Uct, h6({}, t, { id: e }))));}-var Vct = /*#__PURE__*/ E.memo(Bct, RQ);-Vct.displayName = "Area";+var qct = /*#__PURE__*/ E.memo(Kct, RQ);+qct.displayName = "Area";//#endregion//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js-var Hct = "Invariant failed";-function Uct(e, t) {- if (!e) throw Error(Hct);+var Jct = "Invariant failed";+function Yct(e, t) {+ if (!e) throw Error(Jct);}//#endregion//#region node_modules/recharts/es6/util/BarUtils.js-var Wct = ["option"];-function Gct(e, t) {+var Xct = ["option"];+function Zct(e, t) {if (e == null) return {};- var n, r, i = Kct(e, t);+ var n, r, i = Qct(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Kct(e, t) {+function Qct(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -103430,7 +103550,7 @@ function Kct(e, t) {}var v6 = r$;function y6(e) {- var t = e.option, n = Gct(e, Wct);+ var t = e.option, n = Zct(e, Xct);return /*#__PURE__*/ E.createElement(n3, {option: t,DefaultShape: v6,@@ -103439,43 +103559,43 @@ function y6(e) {inActiveClassName: "recharts-inactive-bar"});}-var qct = function(e) {+var $ct = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;return (n, r) => {if (MY(e)) return e;var i = MY(n) || LY(n);- return i ? e(n, r) : (!i && Uct(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);+ return i ? e(n, r) : (!i && Yct(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);};-}, Jct = (e, t, n) => n, b6 = X([Q0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Yct = X([b6], (e) => e?.maxBarSize), Xct = (e, t, n, r) => r, Zct = X([+}, elt = (e, t, n) => n, b6 = X([Q0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), tlt = X([b6], (e) => e?.maxBarSize), nlt = (e, t, n, r) => r, rlt = X([jQ,Q0,d6,f6,- Jct-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), Qct = (e, t, n) => {+ elt+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), ilt = (e, t, n) => {var r = jQ(e), i = d6(e, t), a = f6(e, t);if (i != null && a != null) return r === "horizontal" ? u2(e, "yAxis", a, n) : u2(e, "xAxis", i, n);-}, $ct = X([- Zct,- h1e,+}, alt = X([+ rlt,+ x1e,(e, t) => {var n = jQ(e), r = d6(e, t), i = f6(e, t);- if (r != null && i != null) return n === "horizontal" ? W6e(e, "xAxis", r) : W6e(e, "yAxis", i);+ if (r != null && i != null) return n === "horizontal" ? X6e(e, "xAxis", r) : X6e(e, "yAxis", i);}-], Sit), elt = (e, t, n) => {+], Oit), olt = (e, t, n) => {var r = b6(e, t);if (r == null) return 0;var i = d6(e, t), a = f6(e, t);if (i == null || a == null) return 0;var o = jQ(e), s = b$(e), c = r.maxBarSize, l = LY(c) ? s : c, u, d;return o === "horizontal" ? (u = P2(e, "xAxis", i, n), d = N2(e, "xAxis", i, n)) : (u = P2(e, "yAxis", a, n), d = N2(e, "yAxis", a, n)), uQ(u, d, !0) ?? l ?? 0;-}, tlt = (e, t, n) => {+}, slt = (e, t, n) => {var r = jQ(e), i = d6(e, t), a = f6(e, t);if (i != null && a != null) {var o, s;return r === "horizontal" ? (o = P2(e, "xAxis", i, n), s = N2(e, "xAxis", i, n)) : (o = P2(e, "yAxis", a, n), s = N2(e, "yAxis", a, n)), uQ(o, s);}-}, nlt = X([+}, clt = X([vQ,yQ,(e, t, n) => {@@ -103495,25 +103615,25 @@ var qct = function(e) {if (r != null) return N2(e, "yAxis", r, n);},X([X([- $ct,+ alt,b$,- m1e,+ b1e,x$,- elt,- tlt,- Yct- ], Oit), b6], Ait),+ olt,+ slt,+ tlt+ ], Pit), b6], Iit),jQ,- U$e,- tlt,- X([Qct, b6], kit),+ Y$e,+ slt,+ X([ilt, b6], Fit),b6,- Xct+ nlt], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var p = c.chartData, m = c.dataStartIndex, h = c.dataEndIndex;if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {var g = d.data, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);- if (_ != null) return Vlt({+ if (_ != null) return qlt({layout: s,barSettings: d,pos: o,@@ -103530,7 +103650,7 @@ var qct = function(e) {dataStartIndex: m});}-}), rlt = ["index"];+}), llt = ["index"];function x6() {return x6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -103540,16 +103660,16 @@ function x6() {return e;}, x6.apply(null, arguments);}-function ilt(e, t) {+function ult(e, t) {if (e == null) return {};- var n, r, i = alt(e, t);+ var n, r, i = dlt(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function alt(e, t) {+function dlt(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -103558,54 +103678,54 @@ function alt(e, t) {}return n;}-var olt = /*#__PURE__*/ (0, E.createContext)(void 0), slt = (e) => {- var t = (0, E.useContext)(olt);+var flt = /*#__PURE__*/ (0, E.createContext)(void 0), plt = (e) => {+ var t = (0, E.useContext)(flt);if (t != null) return t.stackId;if (e != null) return sQ(e);-}, clt = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, llt = (e) => {- var t = (0, E.useContext)(olt);+}, mlt = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, hlt = (e) => {+ var t = (0, E.useContext)(flt);if (t != null) {var n = t.stackId;- return `url(#${clt(n, e)})`;+ return `url(#${mlt(n, e)})`;}-}, ult = (e) => {- var t = e.index, n = ilt(e, rlt), r = llt(t);+}, glt = (e) => {+ var t = e.index, n = ult(e, llt), r = hlt(t);return /*#__PURE__*/ E.createElement(xY, x6({className: "recharts-bar-stack-layer",clipPath: r}, n));-}, dlt = [+}, _lt = ["onMouseEnter","onMouseLeave","onClick"-], flt = [+], vlt = ["value","background","tooltipPosition"-], plt = ["id"], mlt = [+], ylt = ["id"], blt = ["onMouseEnter","onClick","onMouseLeave"];-function hlt(e, t) {- return blt(e) || ylt(e, t) || _lt(e, t) || glt();+function xlt(e, t) {+ return Elt(e) || Tlt(e, t) || Clt(e, t) || Slt();}-function glt() {+function Slt() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function _lt(e, t) {+function Clt(e, t) {if (e) {- if (typeof e == "string") return vlt(e, t);+ if (typeof e == "string") return wlt(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? vlt(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wlt(e, t) : void 0;}}-function vlt(e, t) {+function wlt(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function ylt(e, t) {+function Tlt(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -103626,7 +103746,7 @@ function ylt(e, t) {return s;}}-function blt(e) {+function Elt(e) {if (Array.isArray(e)) return e;}function S6() {@@ -103638,7 +103758,7 @@ function S6() {return e;}, S6.apply(null, arguments);}-function xlt(e, t) {+function Dlt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -103651,27 +103771,27 @@ function xlt(e, t) {function C6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? xlt(Object(n), !0).forEach(function(t) {- Slt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xlt(Object(n)).forEach(function(t) {+ t % 2 ? Dlt(Object(n), !0).forEach(function(t) {+ Olt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Dlt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Slt(e, t, n) {- return (t = Clt(t)) in e ? Object.defineProperty(e, t, {+function Olt(e, t, n) {+ return (t = klt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Clt(e) {- var t = wlt(e, "string");+function klt(e) {+ var t = Alt(e, "string");return typeof t == "symbol" ? t : t + "";}-function wlt(e, t) {+function Alt(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -103683,14 +103803,14 @@ function wlt(e, t) {}function w6(e, t) {if (e == null) return {};- var n, r, i = Tlt(e, t);+ var n, r, i = jlt(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Tlt(e, t) {+function jlt(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -103699,7 +103819,7 @@ function Tlt(e, t) {}return n;}-var Elt = (e) => {+var Mlt = (e) => {var t = e.dataKey, n = e.name, r = e.fill, i = e.legendType;return [{inactive: e.hide,@@ -103709,7 +103829,7 @@ var Elt = (e) => {value: dQ(n, t),payload: e}];-}, Dlt = /*#__PURE__*/ E.memo((e) => {+}, Nlt = /*#__PURE__*/ E.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {dataDefinedOnItem: void 0,getPosition: BY,@@ -103730,15 +103850,15 @@ var Elt = (e) => {};return /*#__PURE__*/ E.createElement(o3, { tooltipEntrySettings: d });});-function Olt(e) {- var t = LX(Q2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = w6(a, dlt), u = r3(o, r, a.id), d = i3(s), f = a3(c, r, a.id);+function Plt(e) {+ var t = LX(Q2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = w6(a, _lt), u = r3(o, r, a.id), d = i3(s), f = a3(c, r, a.id);if (!i || n == null) return null;var p = gY(i);- return /*#__PURE__*/ E.createElement(s4, { zIndex: qit(i, D$.barBackground) }, n.map((e, n) => {+ return /*#__PURE__*/ E.createElement(s4, { zIndex: $it(i, D$.barBackground) }, n.map((e, n) => {e.value;var a = e.background;e.tooltipPosition;- var o = w6(e, flt);+ var o = w6(e, vlt);if (!a) return null;var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = C6(C6(C6(C6(C6({option: i,@@ -103754,7 +103874,7 @@ function Olt(e) {return /*#__PURE__*/ E.createElement(y6, S6({ key: `background-bar-${n}` }, h));}));}-function klt(e) {+function Flt(e) {var t = e.showLabels, n = e.children, r = e.rects?.map((e) => {var t = {x: e.x,@@ -103774,8 +103894,8 @@ function klt(e) {});return /*#__PURE__*/ E.createElement(k4, { value: t ? r : void 0 }, n);}-function Alt(e) {- var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = LX(Q2), c = LX(n5e), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = hlt((0, E.useState)(!1), 2), f = d[0], p = d[1], m = hlt((0, E.useState)(!1), 2), h = m[0], g = m[1];+function Ilt(e) {+ var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = LX(Q2), c = LX(c5e), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = xlt((0, E.useState)(!1), 2), f = d[0], p = d[1], m = xlt((0, E.useState)(!1), 2), h = m[0], g = m[1];(0, E.useEffect)(() => {var e;return l ? (p(!0), e = requestAnimationFrame(() => {@@ -103796,9 +103916,9 @@ function Alt(e) {isEntrance: e.isEntrance,onTransitionEnd: _}));- return y ? /*#__PURE__*/ E.createElement(s4, { zIndex: D$.activeBar }, /*#__PURE__*/ E.createElement(ult, { index: i.originalDataIndex }, x)) : x;+ return y ? /*#__PURE__*/ E.createElement(s4, { zIndex: D$.activeBar }, /*#__PURE__*/ E.createElement(glt, { index: i.originalDataIndex }, x)) : x;}-function jlt(e) {+function Llt(e) {var t = e.shape, n = e.baseProps, r = e.entry, i = e.index, a = e.dataKey;return /*#__PURE__*/ E.createElement(y6, S6({}, n, { name: String(n.name) }, r, {isActive: !1,@@ -103810,9 +103930,9 @@ function jlt(e) {isEntrance: e.isEntrance}));}-function Mlt(e) {- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = hY(n) ?? {}, s = o.id, c = w6(o, plt), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = w6(n, mlt), g = r3(f, u, s), _ = i3(m), v = a3(p, u, s);- return t ? /*#__PURE__*/ E.createElement(E.Fragment, null, t.map((e, t) => /*#__PURE__*/ E.createElement(ult, S6({+function Rlt(e) {+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = hY(n) ?? {}, s = o.id, c = w6(o, ylt), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = w6(n, blt), g = r3(f, u, s), _ = i3(m), v = a3(p, u, s);+ return t ? /*#__PURE__*/ E.createElement(E.Fragment, null, t.map((e, t) => /*#__PURE__*/ E.createElement(glt, S6({index: e.originalDataIndex,key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className: "recharts-bar-rectangle"@@ -103820,7 +103940,7 @@ function Mlt(e) {onMouseEnter: g(e, e.originalDataIndex),onMouseLeave: _(e, e.originalDataIndex),onClick: v(e, e.originalDataIndex)- }), d ? /*#__PURE__*/ E.createElement(Alt, {+ }), d ? /*#__PURE__*/ E.createElement(Ilt, {shape: l,activeBar: d,baseProps: c,@@ -103830,7 +103950,7 @@ function Mlt(e) {animationElapsedTime: r,isAnimating: i,isEntrance: a- }) : /*#__PURE__*/ E.createElement(jlt, {+ }) : /*#__PURE__*/ E.createElement(Llt, {shape: l,baseProps: c,entry: e,@@ -103841,7 +103961,7 @@ function Mlt(e) {isEntrance: a})))) : null;}-var Nlt = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {+var zlt = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {if (e.status === "removed") return n === "horizontal" ? [C6(C6({}, e.prev), {}, {height: IY(e.prev.height, 0, t),y: IY(e.prev.y, e.prev.y + e.prev.height, t)@@ -103861,9 +103981,9 @@ var Nlt = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status ===x: IY(r.stackedBarStart, r.x, t)})];});-function Plt(e) {+function Blt(e) {var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = f3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;- return /*#__PURE__*/ E.createElement(klt, {+ return /*#__PURE__*/ E.createElement(Flt, {showLabels: !d,rects: r}, /*#__PURE__*/ E.createElement(p3, {@@ -103880,7 +104000,7 @@ function Plt(e) {animationInterpolateFn: c,animationMatchBy: t.animationMatchBy,layout: l- }, (e, n, r) => /*#__PURE__*/ E.createElement(xY, null, /*#__PURE__*/ E.createElement(Mlt, {+ }, (e, n, r) => /*#__PURE__*/ E.createElement(xY, null, /*#__PURE__*/ E.createElement(Rlt, {props: t,data: e,animationElapsedTime: n,@@ -103888,14 +104008,14 @@ function Plt(e) {isEntrance: r}))), /*#__PURE__*/ E.createElement(j4, { label: t.label }), t.children);}-function Flt(e) {+function Vlt(e) {var t = (0, E.useRef)(null);- return /*#__PURE__*/ E.createElement(Plt, {+ return /*#__PURE__*/ E.createElement(Blt, {previousRectanglesRef: t,props: e});}-var Ilt = 0, Llt = (e, t) => {+var Hlt = 0, Ult = (e, t) => {var n = Array.isArray(e.value) ? e.value[1] : e.value;return {x: e.x,@@ -103903,7 +104023,7 @@ var Ilt = 0, Llt = (e, t) => {value: n,errorVal: aQ(e, t)};-}, Rlt = class extends E.PureComponent {+}, Wlt = class extends E.PureComponent {render() {var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;if (t || n == null) return null;@@ -103918,42 +104038,42 @@ var Ilt = 0, Llt = (e, t) => {})), /*#__PURE__*/ E.createElement(xY, {className: "recharts-bar-rectangles",clipPath: s ? `url(#clipPath-${d})` : void 0- }, /*#__PURE__*/ E.createElement(Olt, {+ }, /*#__PURE__*/ E.createElement(Plt, {data: n,dataKey: r,background: c,allOtherBarProps: this.props- }), /*#__PURE__*/ E.createElement(Flt, this.props)));+ }), /*#__PURE__*/ E.createElement(Vlt, this.props)));}-}, zlt = {+}, Glt = {activeBar: !1,animationBegin: 0,animationDuration: 400,animationEasing: "ease",- animationInterpolateFn: Nlt,- animationMatchBy: Snt,+ animationInterpolateFn: zlt,+ animationMatchBy: Ont,background: !1,hide: !1,isAnimationActive: "auto",label: !1,legendType: "rect",- minPointSize: Ilt,+ minPointSize: Hlt,shape: v6,xAxisId: 0,yAxisId: 0,zIndex: D$.bar};-function Blt(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = a6(t, n).needClip, f = MQ(), p = bQ(), m = int(e.children, h4), h = LX((t) => nlt(t, e.id, p, m));+function Klt(e) {+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = a6(t, n).needClip, f = MQ(), p = bQ(), m = unt(e.children, h4), h = LX((t) => clt(t, e.id, p, m));if (f !== "vertical" && f !== "horizontal") return null;var g, _ = h?.[0];- return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ E.createElement(Cst, {+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ E.createElement(kst, {xAxisId: t,yAxisId: n,data: h,- dataPointFormatter: Llt,+ dataPointFormatter: Ult,errorBarOffset: g- }, /*#__PURE__*/ E.createElement(Rlt, S6({}, e, {+ }, /*#__PURE__*/ E.createElement(Wlt, S6({}, e, {layout: f,needClip: d,data: h,@@ -103969,16 +104089,16 @@ function Blt(e) {isAnimationActive: u})));}-function Vlt(e) {- var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = aYe({ numericAxis: v }), x = v.scale.map(b);+function qlt(e) {+ var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = dYe({ numericAxis: v }), x = v.scale.map(b);return p.map((e, n) => {var p, v, S, C, w, T;if (f) {var E = f[n + _];if (E == null) return null;- p = nYe(E, y);+ p = cYe(E, y);} else p = aQ(e, r), Array.isArray(p) || (p = [b, p]);- var D = qct(i, Ilt)(p[1], n);+ var D = $ct(i, Hlt)(p[1], n);if (t === "horizontal") {var O = l.scale.map(p[0]), k = l.scale.map(p[1]);if (O == null || k == null) return null;@@ -104038,12 +104158,12 @@ function Vlt(e) {}, h && h[n] && h[n].props);}).filter(Boolean);}-function Hlt(e) {- var t = _X(e, zlt), n = slt(t.stackId), r = bQ();+function Jlt(e) {+ var t = _X(e, Glt), n = plt(t.stackId), r = bQ();return /*#__PURE__*/ E.createElement(m3, {id: t.id,type: "bar"- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(s3, { legendPayload: Elt(t) }), /*#__PURE__*/ E.createElement(Dlt, {+ }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(s3, { legendPayload: Mlt(t) }), /*#__PURE__*/ E.createElement(Nlt, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -104069,23 +104189,23 @@ function Hlt(e) {maxBarSize: t.maxBarSize,isPanorama: r,hasCustomShape: t.shape != null && t.shape !== v6- }), /*#__PURE__*/ E.createElement(s4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(Blt, S6({}, t, { id: e })))));+ }), /*#__PURE__*/ E.createElement(s4, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(Klt, S6({}, t, { id: e })))));}-var T6 = /*#__PURE__*/ E.memo(Hlt, RQ);+var T6 = /*#__PURE__*/ E.memo(Jlt, RQ);T6.displayName = "Bar";//#endregion//#region node_modules/recharts/es6/util/axisPropsAreEqual.js-var Ult = ["domain", "range"], Wlt = ["domain", "range"];-function Glt(e, t) {+var Ylt = ["domain", "range"], Xlt = ["domain", "range"];+function Zlt(e, t) {if (e == null) return {};- var n, r, i = Klt(e, t);+ var n, r, i = Qlt(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Klt(e, t) {+function Qlt(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -104094,21 +104214,21 @@ function Klt(e, t) {}return n;}-function qlt(e, t) {+function $lt(e, t) {return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;}-function Jlt(e, t) {+function eut(e, t) {if (e === t) return !0;- var n = e.domain, r = e.range, i = Glt(e, Ult), a = t.domain, o = t.range, s = Glt(t, Wlt);- return !qlt(n, a) || !qlt(r, o) ? !1 : RQ(i, s);+ var n = e.domain, r = e.range, i = Zlt(e, Ylt), a = t.domain, o = t.range, s = Zlt(t, Xlt);+ return !$lt(n, a) || !$lt(r, o) ? !1 : RQ(i, s);}//#endregion//#region node_modules/recharts/es6/cartesian/XAxis.js-var Ylt = ["type"], Xlt = [+var tut = ["type"], nut = ["dangerouslySetInnerHTML","ticks","scale"-], Zlt = ["id", "scale"];+], rut = ["id", "scale"];function E6() {return E6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -104118,7 +104238,7 @@ function E6() {return e;}, E6.apply(null, arguments);}-function Qlt(e, t) {+function iut(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -104128,30 +104248,30 @@ function Qlt(e, t) {}return n;}-function $lt(e) {+function aut(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Qlt(Object(n), !0).forEach(function(t) {- eut(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Qlt(Object(n)).forEach(function(t) {+ t % 2 ? iut(Object(n), !0).forEach(function(t) {+ out(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iut(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function eut(e, t, n) {- return (t = tut(t)) in e ? Object.defineProperty(e, t, {+function out(e, t, n) {+ return (t = sut(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function tut(e) {- var t = nut(e, "string");+function sut(e) {+ var t = cut(e, "string");return typeof t == "symbol" ? t : t + "";}-function nut(e, t) {+function cut(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -104163,14 +104283,14 @@ function nut(e, t) {}function D6(e, t) {if (e == null) return {};- var n, r, i = rut(e, t);+ var n, r, i = lut(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function rut(e, t) {+function lut(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -104179,27 +104299,27 @@ function rut(e, t) {}return n;}-function iut(e) {- var t = FX(), n = (0, E.useRef)(null), r = NQ(), i = e.type, a = D6(e, Ylt), o = j$(r, "xAxis", i), s = (0, E.useMemo)(() => {- if (o != null) return $lt($lt({}, a), {}, { type: o });+function uut(e) {+ var t = FX(), n = (0, E.useRef)(null), r = NQ(), i = e.type, a = D6(e, tut), o = j$(r, "xAxis", i), s = (0, E.useMemo)(() => {+ if (o != null) return aut(aut({}, a), {}, { type: o });}, [a, o]);return (0, E.useLayoutEffect)(() => {- s != null && (n.current === null ? t(prt(s)) : n.current !== s && t(mrt({+ s != null && (n.current === null ? t(yrt(s)) : n.current !== s && t(brt({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, E.useLayoutEffect)(() => () => {- n.current &&= (t(hrt(n.current)), null);+ n.current &&= (t(xrt(n.current)), null);}, [t]), null;}-var aut = (e) => {- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = LX(yQ), c = bQ(), l = FX(), u = "xAxis", d = LX((e) => J6e(e, u, t, c)), f = LX((e) => I6e(e, t)), p = LX((e) => V6e(e, t)), m = LX((e) => P3e(e, t));+var dut = (e) => {+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = LX(yQ), c = bQ(), l = FX(), u = "xAxis", d = LX((e) => e8e(e, u, t, c)), f = LX((e) => H6e(e, t)), p = LX((e) => q6e(e, t)), m = LX((e) => B3e(e, t));if ((0, E.useLayoutEffect)(() => {if (!(r !== "auto" || !f || T4(i) || /*#__PURE__*/ (0, E.isValidElement)(i) || m == null)) {var e = a.current;if (e) {var n = e.getCalculatedHeight();- Math.round(f.height) !== Math.round(n) && l(brt({+ Math.round(f.height) !== Math.round(n) && l(Ert({id: t,height: n}));@@ -104215,9 +104335,9 @@ var aut = (e) => {m]), f == null || p == null || m == null) return null;e.dangerouslySetInnerHTML, e.ticks, e.scale;- var h = D6(e, Xlt);+ var h = D6(e, nut);m.id, m.scale;- var g = D6(m, Zlt);+ var g = D6(m, rut);return /*#__PURE__*/ E.createElement($3, E6({}, h, g, {ref: a,labelRef: o,@@ -104231,7 +104351,7 @@ var aut = (e) => {axisType: u,axisId: t}));-}, out = {+}, fut = {allowDataOverflow: W0.allowDataOverflow,allowDecimals: W0.allowDecimals,allowDuplicatedCategory: W0.allowDuplicatedCategory,@@ -104255,9 +104375,9 @@ var aut = (e) => {type: W0.type,niceTicks: W0.niceTicks,xAxisId: 0-}, sut = /*#__PURE__*/ E.memo((e) => {- var t = _X(e, out);- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(iut, {+}, put = /*#__PURE__*/ E.memo((e) => {+ var t = _X(e, fut);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(uut, {allowDataOverflow: t.allowDataOverflow,allowDecimals: t.allowDecimals,allowDuplicatedCategory: t.allowDuplicatedCategory,@@ -104283,16 +104403,16 @@ var aut = (e) => {type: t.type,unit: t.unit,niceTicks: t.niceTicks- }), /*#__PURE__*/ E.createElement(aut, t));-}, Jlt);-sut.displayName = "XAxis";+ }), /*#__PURE__*/ E.createElement(dut, t));+}, eut);+put.displayName = "XAxis";//#endregion//#region node_modules/recharts/es6/cartesian/YAxis.js-var cut = ["type"], lut = [+var mut = ["type"], hut = ["dangerouslySetInnerHTML","ticks","scale"-], uut = ["id", "scale"];+], gut = ["id", "scale"];function O6() {return O6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -104302,7 +104422,7 @@ function O6() {return e;}, O6.apply(null, arguments);}-function dut(e, t) {+function _ut(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -104312,30 +104432,30 @@ function dut(e, t) {}return n;}-function fut(e) {+function vut(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? dut(Object(n), !0).forEach(function(t) {- put(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dut(Object(n)).forEach(function(t) {+ t % 2 ? _ut(Object(n), !0).forEach(function(t) {+ yut(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _ut(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function put(e, t, n) {- return (t = mut(t)) in e ? Object.defineProperty(e, t, {+function yut(e, t, n) {+ return (t = but(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function mut(e) {- var t = hut(e, "string");+function but(e) {+ var t = xut(e, "string");return typeof t == "symbol" ? t : t + "";}-function hut(e, t) {+function xut(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -104347,14 +104467,14 @@ function hut(e, t) {}function k6(e, t) {if (e == null) return {};- var n, r, i = gut(e, t);+ var n, r, i = Sut(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function gut(e, t) {+function Sut(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -104363,27 +104483,27 @@ function gut(e, t) {}return n;}-function _ut(e) {- var t = FX(), n = (0, E.useRef)(null), r = NQ(), i = e.type, a = k6(e, cut), o = j$(r, "yAxis", i), s = (0, E.useMemo)(() => {- if (o != null) return fut(fut({}, a), {}, { type: o });+function Cut(e) {+ var t = FX(), n = (0, E.useRef)(null), r = NQ(), i = e.type, a = k6(e, mut), o = j$(r, "yAxis", i), s = (0, E.useMemo)(() => {+ if (o != null) return vut(vut({}, a), {}, { type: o });}, [o, a]);return (0, E.useLayoutEffect)(() => {- s != null && (n.current === null ? t(grt(s)) : n.current !== s && t(_rt({+ s != null && (n.current === null ? t(Srt(s)) : n.current !== s && t(Crt({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, E.useLayoutEffect)(() => () => {- n.current &&= (t(vrt(n.current)), null);+ n.current &&= (t(wrt(n.current)), null);}, [t]), null;}-function vut(e) {- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = LX(yQ), c = bQ(), l = FX(), u = "yAxis", d = LX((e) => U6e(e, t)), f = LX((e) => H6e(e, t)), p = LX((e) => J6e(e, u, t, c)), m = LX((e) => F3e(e, t));+function wut(e) {+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = LX(yQ), c = bQ(), l = FX(), u = "yAxis", d = LX((e) => Y6e(e, t)), f = LX((e) => J6e(e, t)), p = LX((e) => e8e(e, u, t, c)), m = LX((e) => V3e(e, t));if ((0, E.useLayoutEffect)(() => {if (!(r !== "auto" || !d || T4(i) || /*#__PURE__*/ (0, E.isValidElement)(i) || m == null)) {var e = a.current;if (e) {var n = e.getCalculatedWidth();- Math.round(d.width) !== Math.round(n) && l(yrt({+ Math.round(d.width) !== Math.round(n) && l(Trt({id: t,width: n}));@@ -104399,9 +104519,9 @@ function vut(e) {m]), d == null || f == null || m == null) return null;e.dangerouslySetInnerHTML, e.ticks, e.scale;- var h = k6(e, lut);+ var h = k6(e, hut);m.id, m.scale;- var g = k6(m, uut);+ var g = k6(m, gut);return /*#__PURE__*/ E.createElement($3, O6({}, h, g, {ref: a,labelRef: o,@@ -104417,7 +104537,7 @@ function vut(e) {axisId: t}));}-var yut = {+var Tut = {allowDataOverflow: K0.allowDataOverflow,allowDecimals: K0.allowDecimals,allowDuplicatedCategory: K0.allowDuplicatedCategory,@@ -104441,9 +104561,9 @@ var yut = {niceTicks: K0.niceTicks,width: K0.width,yAxisId: 0-}, but = /*#__PURE__*/ E.memo((e) => {- var t = _X(e, yut);- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(_ut, {+}, Eut = /*#__PURE__*/ E.memo((e) => {+ var t = _X(e, Tut);+ return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Cut, {interval: t.interval,id: t.yAxisId,scale: t.scale,@@ -104469,27 +104589,27 @@ var yut = {tick: t.tick,tickFormatter: t.tickFormatter,niceTicks: t.niceTicks- }), /*#__PURE__*/ E.createElement(vut, t));-}, Jlt);-but.displayName = "YAxis";+ }), /*#__PURE__*/ E.createElement(wut, t));+}, eut);+Eut.displayName = "YAxis";var A6 = X([(e, t) => t,jQ,L$,G$,- Q8e,+ i5e,J2,- T5e,+ j5e,vQ-], P5e);+], B5e);//#endregion//#region node_modules/recharts/es6/util/getRelativeCoordinate.js-function xut(e) {+function Dut(e) {return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";}function j6(e) {var t = e.currentTarget.getBoundingClientRect(), n, r;- if (xut(e)) {+ if (Dut(e)) {var i = e.currentTarget.getBBox();n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;} else {@@ -104504,20 +104624,20 @@ function j6(e) {}//#endregion//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js-var Sut = RZ("mouseClick"), Cut = $Z();-Cut.startListening({- actionCreator: Sut,+var Out = RZ("mouseClick"), kut = $Z();+kut.startListening({+ actionCreator: Out,effect: (e, t) => {var n = e.payload, r = A6(t.getState(), j6(n));- r?.activeIndex != null && t.dispatch(p8e({+ r?.activeIndex != null && t.dispatch(y8e({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate}));}});-var M6 = RZ("mouseMove"), wut = $Z(), N6 = null, P6 = null, F6 = null;-wut.startListening({+var M6 = RZ("mouseMove"), Aut = $Z(), N6 = null, P6 = null, F6 = null;+Aut.startListening({actionCreator: M6,effect: (e, t) => {var n = e.payload, r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a?.includes("mousemove");@@ -104528,7 +104648,7 @@ wut.startListening({else {if (n === "axis") {var r = A6(e, F6);- r?.activeIndex == null ? t.dispatch(u8e()) : t.dispatch(f8e({+ r?.activeIndex == null ? t.dispatch(g8e()) : t.dispatch(v8e({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate@@ -104542,12 +104662,12 @@ wut.startListening({});//#endregion//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js-function Tut(e, t) {+function jut(e, t) {return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;}//#endregion//#region node_modules/recharts/es6/state/rootPropsSlice.js-var Eut = {+var Mut = {accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -104559,19 +104679,19 @@ var Eut = {syncMethod: "index",baseValue: void 0,reverseStackOrder: !1-}, Dut = VZ({+}, Nut = VZ({name: "rootProps",- initialState: Eut,+ initialState: Mut,reducers: { updateOptions: (e, t) => {- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? Eut.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? Mut.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;} }-}), Out = Dut.reducer, kut = Dut.actions.updateOptions, Aut = VZ({+}), Put = Nut.reducer, Fut = Nut.actions.updateOptions, Iut = VZ({name: "polarOptions",initialState: null,reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }-}), jut = Aut.actions.updatePolarOptions, Mut = Aut.reducer, Nut = RZ("keyDown"), Put = RZ("focus"), Fut = RZ("blur"), I6 = $Z(), L6 = null, R6 = null, z6 = null;+}), Lut = Iut.actions.updatePolarOptions, Rut = Iut.reducer, zut = RZ("keyDown"), But = RZ("focus"), Vut = RZ("blur"), I6 = $Z(), L6 = null, R6 = null, z6 = null;I6.startListening({- actionCreator: Nut,+ actionCreator: zut,effect: (e, t) => {z6 = e.payload, L6 !== null && (cancelAnimationFrame(L6), L6 = null);var n = t.getState().eventSettings, r = n.throttleDelay, i = n.throttledEvents, a = i === "all" || i.includes("keydown");@@ -104593,7 +104713,7 @@ I6.startListening({}));return;}- var d = X6e(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;+ var d = n8e(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;if (o) {var m = c2(e), h = q2(e), g = f * d, _ = (e) => ({active: !1,@@ -104632,7 +104752,7 @@ I6.startListening({}, r)) : o();}}), I6.startListening({- actionCreator: Put,+ actionCreator: But,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {@@ -104648,7 +104768,7 @@ I6.startListening({}}}), I6.startListening({- actionCreator: Fut,+ actionCreator: Vut,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {@@ -104663,7 +104783,7 @@ I6.startListening({});//#endregion//#region node_modules/recharts/es6/util/createEventProxy.js-function Iut(e) {+function Hut(e) {e.persist();var t = e.currentTarget;return new Proxy(e, { get: (e, n) => {@@ -104674,13 +104794,13 @@ function Iut(e) {}//#endregion//#region node_modules/recharts/es6/state/externalEventsMiddleware.js-var B6 = RZ("externalEvent"), Lut = $Z(), V6 = /* @__PURE__ */ new Map(), H6 = /* @__PURE__ */ new Map(), U6 = /* @__PURE__ */ new Map();-Lut.startListening({+var B6 = RZ("externalEvent"), Uut = $Z(), V6 = /* @__PURE__ */ new Map(), H6 = /* @__PURE__ */ new Map(), U6 = /* @__PURE__ */ new Map();+Uut.startListening({actionCreator: B6,effect: (e, t) => {var n = e.payload, r = n.handler, i = n.reactEvent;if (r != null) {- var a = i.type, o = Iut(i);+ var a = i.type, o = Hut(i);U6.set(a, {handler: r,reactEvent: o@@ -104694,12 +104814,12 @@ Lut.startListening({try {if (!e) return;var n = e.handler, r = e.reactEvent, i = t.getState(), o = {- activeCoordinate: a5e(i),- activeDataKey: n5e(i),+ activeCoordinate: d5e(i),+ activeDataKey: c5e(i),activeIndex: Q2(i),- activeLabel: t5e(i),+ activeLabel: s5e(i),activeTooltipIndex: Q2(i),- isTooltipActive: o5e(i)+ isTooltipActive: f5e(i)};n && n(o, r);} finally {@@ -104720,7 +104840,7 @@ Lut.startListening({}}});-var Rut = X([+var Wut = X([X([H2], (e) => e.tooltipItemPayloads),(e, t) => t,(e, t, n) => n@@ -104732,15 +104852,15 @@ var Rut = X([if (i != null) return i(t);}}-}), zut = RZ("touchMove"), But = $Z(), W6 = null, G6 = null, Vut = null, K6 = null;-But.startListening({- actionCreator: zut,+}), Gut = RZ("touchMove"), Kut = $Z(), W6 = null, G6 = null, qut = null, K6 = null;+Kut.startListening({+ actionCreator: Gut,effect: (e, t) => {var n = e.payload;if (n.touches != null && n.touches.length !== 0) {- K6 = Iut(n);+ K6 = Hut(n);var r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a.includes("touchmove");- W6 !== null && (cancelAnimationFrame(W6), W6 = null), G6 !== null && (typeof i != "number" || !o) && (clearTimeout(G6), G6 = null), Vut = Array.from(n.touches).map((e) => j6({+ W6 !== null && (cancelAnimationFrame(W6), W6 = null), G6 !== null && (typeof i != "number" || !o) && (clearTimeout(G6), G6 = null), qut = Array.from(n.touches).map((e) => j6({clientX: e.clientX,clientY: e.clientY,currentTarget: n.currentTarget@@ -104749,13 +104869,13 @@ But.startListening({if (K6 != null) {var e = t.getState(), n = F2(e, e.tooltip.settings.shared);if (n === "axis") {- var r = Vut?.[0];+ var r = qut?.[0];if (r == null) {W6 = null, G6 = null;return;}var i = A6(e, r);- i?.activeIndex != null && t.dispatch(f8e({+ i?.activeIndex != null && t.dispatch(v8e({activeIndex: i.activeIndex,activeDataKey: void 0,activeCoordinate: i.activeCoordinate@@ -104765,10 +104885,10 @@ But.startListening({if (document.elementFromPoint == null || a == null) return;var o = document.elementFromPoint(a.clientX, a.clientY);if (!o || !o.getAttribute) return;- var s = o.getAttribute(hYe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = W2(e).find((e) => e.id === c);+ var s = o.getAttribute(xYe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = W2(e).find((e) => e.id === c);if (s == null || l == null || c == null) return;- var u = l.dataKey, d = Rut(e, s, c);- t.dispatch(c8e({+ var u = l.dataKey, d = Wut(e, s, c);+ t.dispatch(m8e({activeDataKey: u,activeIndex: s,activeCoordinate: d,@@ -104795,33 +104915,33 @@ var q6 = {"scroll","wheel"]-}, Hut = VZ({+}, Jut = VZ({name: "eventSettings",initialState: q6,reducers: { setEventSettings: (e, t) => {t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = LZ(t.payload.throttledEvents));} }-}), Uut = Hut.actions.setEventSettings, Wut = Hut.reducer, Gut = uqe({- brush: gat,- cartesianAxis: xrt,- chartData: m7e,- errorBars: vst,- eventSettings: Wut,- graphicalItems: Ynt,- layout: qJe,- legend: dXe,- options: c7e,- polarAxis: htt,- polarOptions: Mut,- referenceElements: wat,- renderedTicks: _ot,- rootProps: Out,- tooltip: m8e,- zIndex: Y5e-}), Kut = function(e) {+}), Yut = Jut.actions.setEventSettings, Xut = Jut.reducer, Zut = gqe({+ brush: Sat,+ cartesianAxis: Drt,+ chartData: b7e,+ errorBars: wst,+ eventSettings: Xut,+ graphicalItems: trt,+ layout: $Je,+ legend: _Xe,+ options: m7e,+ polarAxis: xtt,+ polarOptions: Rut,+ referenceElements: Aat,+ renderedTicks: Cot,+ rootProps: Put,+ tooltip: b8e,+ zIndex: t7e+}), Qut = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";- return iJe({- reducer: Gut,+ return uJe({+ reducer: Zut,preloadedState: e,middleware: (e) => e({serializableCheck: !1,@@ -104831,40 +104951,40 @@ var q6 = {"production"].includes("es6")}).concat([- Cut.middleware,- wut.middleware,+ kut.middleware,+ Aut.middleware,I6.middleware,- Lut.middleware,- But.middleware+ Uut.middleware,+ Kut.middleware]),enhancers: (e) => {var t = e;- return typeof e == "function" && (t = e()), t.concat(nJe({ type: "raf" }));+ return typeof e == "function" && (t = e()), t.concat(cJe({ type: "raf" }));},devTools: GQ.devToolsEnabled && {- serialize: { replacer: Tut },+ serialize: { replacer: jut },name: `recharts-${t}`}});};//#endregion//#region node_modules/recharts/es6/state/RechartsStoreProvider.js-function qut(e) {+function $ut(e) {var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = bQ(), a = (0, E.useRef)(null);if (i) return n;- a.current ??= Kut(t, r);+ a.current ??= Qut(t, r);var o = PX;- return /*#__PURE__*/ E.createElement(DXe, {+ return /*#__PURE__*/ E.createElement(NXe, {context: o,store: a.current}, n);}//#endregion//#region node_modules/recharts/es6/state/ReportMainChartProps.js-function Jut(e) {+function edt(e) {var t = e.layout, n = e.margin, r = FX(), i = bQ();return (0, E.useEffect)(() => {- i || (r(WJe(t)), r(UJe(n)));+ i || (r(XJe(t)), r(YJe(n)));}, [r,i,@@ -104872,31 +104992,31 @@ function Jut(e) {n]), null;}-var Yut = /*#__PURE__*/ (0, E.memo)(Jut, RQ);+var tdt = /*#__PURE__*/ (0, E.memo)(edt, RQ);//#endregion//#region node_modules/recharts/es6/state/ReportChartProps.js-function Xut(e) {+function ndt(e) {var t = FX();return (0, E.useEffect)(() => {- t(kut(e));+ t(Fut(e));}, [t, e]), null;}-var Zut = /*#__PURE__*/ (0, E.memo)((e) => {+var rdt = /*#__PURE__*/ (0, E.memo)((e) => {var t = FX();return (0, E.useEffect)(() => {- t(Uut(e));+ t(Yut(e));}, [t, e]), null;}, RQ);//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js-function Qut(e) {+function idt(e) {var t = e.zIndex, n = e.isPanorama, r = (0, E.useRef)(null), i = FX();- return (0, E.useLayoutEffect)(() => (r.current && i(q5e({+ return (0, E.useLayoutEffect)(() => (r.current && i($5e({zIndex: t,element: r.current,isPanorama: n})), () => {- i(J5e({+ i(e7e({zIndex: t,isPanorama: n}));@@ -104910,15 +105030,15 @@ function Qut(e) {className: `recharts-zIndex-layer_${t}`});}-function $ut(e) {- var t = e.children, n = e.isPanorama, r = LX(I5e);+function adt(e) {+ var t = e.children, n = e.isPanorama, r = LX(H5e);if (!r || r.length === 0) return t;var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);- return /*#__PURE__*/ E.createElement(E.Fragment, null, i.map((e) => /*#__PURE__*/ E.createElement(Qut, {+ return /*#__PURE__*/ E.createElement(E.Fragment, null, i.map((e) => /*#__PURE__*/ E.createElement(idt, {key: e,zIndex: e,isPanorama: n- })), t, a.map((e) => /*#__PURE__*/ E.createElement(Qut, {+ })), t, a.map((e) => /*#__PURE__*/ E.createElement(idt, {key: e,zIndex: e,isPanorama: n@@ -104926,17 +105046,17 @@ function $ut(e) {}//#endregion//#region node_modules/recharts/es6/container/RootSurface.js-var edt = ["children"];-function tdt(e, t) {+var odt = ["children"];+function sdt(e, t) {if (e == null) return {};- var n, r, i = ndt(e, t);+ var n, r, i = cdt(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function ndt(e, t) {+function cdt(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -104954,12 +105074,12 @@ function J6() {return e;}, J6.apply(null, arguments);}-var rdt = {+var ldt = {width: "100%",height: "100%",display: "block"-}, idt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = kQ(), r = AQ(), i = VZe();+}, udt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = kQ(), r = AQ(), i = qZe();if (!rQ(n) || !rQ(r)) return null;var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ E.createElement(yY, J6({}, o, {@@ -104969,10 +105089,10 @@ var rdt = {tabIndex: l,width: n,height: r,- style: rdt,+ style: ldt,ref: t}), a);-}), adt = (e) => {+}), ddt = (e) => {var t = e.children, n = LX(SQ);if (!n) return null;var r = n.width, i = n.height, a = n.y, o = n.x;@@ -104982,31 +105102,31 @@ var rdt = {x: o,y: a}, t);-}, odt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.children, r = tdt(e, edt);- return bQ() ? /*#__PURE__*/ E.createElement(adt, null, /*#__PURE__*/ E.createElement($ut, { isPanorama: !0 }, n)) : /*#__PURE__*/ E.createElement(idt, J6({ ref: t }, r), /*#__PURE__*/ E.createElement($ut, { isPanorama: !1 }, n));+}, fdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = e.children, r = sdt(e, odt);+ return bQ() ? /*#__PURE__*/ E.createElement(ddt, null, /*#__PURE__*/ E.createElement(adt, { isPanorama: !0 }, n)) : /*#__PURE__*/ E.createElement(udt, J6({ ref: t }, r), /*#__PURE__*/ E.createElement(adt, { isPanorama: !1 }, n));});//#endregion//#region node_modules/recharts/es6/util/useReportScale.js-function sdt(e, t) {- return fdt(e) || ddt(e, t) || ldt(e, t) || cdt();+function pdt(e, t) {+ return vdt(e) || _dt(e, t) || hdt(e, t) || mdt();}-function cdt() {+function mdt() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function ldt(e, t) {+function hdt(e, t) {if (e) {- if (typeof e == "string") return udt(e, t);+ if (typeof e == "string") return gdt(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? udt(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? gdt(e, t) : void 0;}}-function udt(e, t) {+function gdt(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function ddt(e, t) {+function _dt(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -105027,15 +105147,15 @@ function ddt(e, t) {return s;}}-function fdt(e) {+function vdt(e) {if (Array.isArray(e)) return e;}-function pdt() {- var e = FX(), t = sdt((0, E.useState)(null), 2), n = t[0], r = t[1], i = LX(mYe);+function ydt() {+ var e = FX(), t = pdt((0, E.useState)(null), 2), n = t[0], r = t[1], i = LX(bYe);return (0, E.useEffect)(() => {if (n != null) {var t = n.getBoundingClientRect().width / n.offsetWidth;- nQ(t) && t !== i && e(KJe(t));+ nQ(t) && t !== i && e(QJe(t));}}, [n,@@ -105045,7 +105165,7 @@ function pdt() {}//#endregion//#region node_modules/recharts/es6/chart/RechartsWrapper.js-function mdt(e, t) {+function bdt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -105055,30 +105175,30 @@ function mdt(e, t) {}return n;}-function hdt(e) {+function xdt(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? mdt(Object(n), !0).forEach(function(t) {- gdt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mdt(Object(n)).forEach(function(t) {+ t % 2 ? bdt(Object(n), !0).forEach(function(t) {+ Sdt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bdt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function gdt(e, t, n) {- return (t = _dt(t)) in e ? Object.defineProperty(e, t, {+function Sdt(e, t, n) {+ return (t = Cdt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function _dt(e) {- var t = vdt(e, "string");+function Cdt(e) {+ var t = wdt(e, "string");return typeof t == "symbol" ? t : t + "";}-function vdt(e, t) {+function wdt(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -105098,24 +105218,24 @@ function Y6() {}, Y6.apply(null, arguments);}function X6(e, t) {- return Cdt(e) || Sdt(e, t) || bdt(e, t) || ydt();+ return kdt(e) || Odt(e, t) || Edt(e, t) || Tdt();}-function ydt() {+function Tdt() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function bdt(e, t) {+function Edt(e, t) {if (e) {- if (typeof e == "string") return xdt(e, t);+ if (typeof e == "string") return Ddt(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? xdt(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ddt(e, t) : void 0;}}-function xdt(e, t) {+function Ddt(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function Sdt(e, t) {+function Odt(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -105136,10 +105256,10 @@ function Sdt(e, t) {return s;}}-function Cdt(e) {+function kdt(e) {if (Array.isArray(e)) return e;}-var wdt = () => (w7e(), null);+var Adt = () => (A7e(), null);function Z6(e) {if (typeof e == "number") return e;if (typeof e == "string") {@@ -105148,7 +105268,7 @@ function Z6(e) {}return 0;}-var Tdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+var jdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {var n = (0, E.useRef)(null), r = X6((0, E.useState)({containerWidth: Z6(e.style?.width),containerHeight: Z6(e.style?.height)@@ -105180,7 +105300,7 @@ var Tdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {width: i.containerWidth,height: i.containerHeight}), /*#__PURE__*/ E.createElement("div", Y6({ ref: s }, e)));-}), Edt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+}), Mdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {var n = e.width, r = e.height, i = X6((0, E.useState)({containerWidth: Z6(n),containerHeight: Z6(r)@@ -105202,15 +105322,15 @@ var Tdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {width: a.containerWidth,height: a.containerHeight}), /*#__PURE__*/ E.createElement("div", Y6({ ref: c }, e)));-}), Ddt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+}), Ndt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {var n = e.width, r = e.height;return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(IQ, {width: n,height: r}), /*#__PURE__*/ E.createElement("div", Y6({ ref: t }, e)));-}), Odt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+}), Pdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {var n = e.width, r = e.height;- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ E.createElement(Edt, Y6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ E.createElement(Ddt, Y6({}, e, {+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ E.createElement(Mdt, Y6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ E.createElement(Ndt, Y6({}, e, {width: n,height: r,ref: t@@ -105219,11 +105339,11 @@ var Tdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {height: r}), /*#__PURE__*/ E.createElement("div", Y6({ ref: t }, e)));});-function kdt(e) {- return e ? Tdt : Odt;+function Fdt(e) {+ return e ? jdt : Pdt;}-var Adt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, b = y === void 0 || y, x = (0, E.useRef)(null), S = FX(), C = X6((0, E.useState)(null), 2), w = C[0], T = C[1], D = X6((0, E.useState)(null), 2), O = D[0], k = D[1], A = pdt(), j = EQ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, E.useCallback)((e) => {+var Idt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, b = y === void 0 || y, x = (0, E.useRef)(null), S = FX(), C = X6((0, E.useState)(null), 2), w = C[0], T = C[1], D = X6((0, E.useState)(null), 2), O = D[0], k = D[1], A = ydt(), j = EQ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, E.useCallback)((e) => {A(e), typeof t == "function" && t(e), T(e), k(e), e != null && (x.current = e);}, [A,@@ -105231,7 +105351,7 @@ var Adt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {T,k]), F = (0, E.useCallback)((e) => {- S(Sut(e)), S(B6({+ S(Out(e)), S(B6({handler: a,reactEvent: e}));@@ -105241,7 +105361,7 @@ var Adt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {reactEvent: e}));}, [S, l]), ee = (0, E.useCallback)((e) => {- S(u8e()), S(B6({+ S(g8e()), S(B6({handler: u,reactEvent: e}));@@ -105251,11 +105371,11 @@ var Adt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {reactEvent: e}));}, [S, d]), te = (0, E.useCallback)(() => {- S(Put());+ S(But());}, [S]), ne = (0, E.useCallback)(() => {- S(Fut());+ S(Vut());}, [S]), re = (0, E.useCallback)((e) => {- S(Nut(e.key));+ S(zut(e.key));}, [S]), ie = (0, E.useCallback)((e) => {S(B6({handler: o,@@ -105282,7 +105402,7 @@ var Adt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {reactEvent: e}));}, [S, h]), le = (0, E.useCallback)((e) => {- b && S(zut(e)), S(B6({+ b && S(Gut(e)), S(B6({handler: m,reactEvent: e}));@@ -105295,12 +105415,12 @@ var Adt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {handler: p,reactEvent: e}));- }, [S, p]), de = kdt(v);- return /*#__PURE__*/ E.createElement(r7e.Provider, { value: w }, /*#__PURE__*/ E.createElement(QUe.Provider, { value: O }, /*#__PURE__*/ E.createElement(de, {+ }, [S, p]), de = Fdt(v);+ return /*#__PURE__*/ E.createElement(l7e.Provider, { value: w }, /*#__PURE__*/ E.createElement(iWe.Provider, { value: O }, /*#__PURE__*/ E.createElement(de, {width: M ?? g?.width,height: N ?? g?.height,className: Uv("recharts-wrapper", r),- style: hdt({+ style: xdt({position: "relative",cursor: "default",width: M,@@ -105321,8 +105441,8 @@ var Adt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {onTouchMove: le,onTouchStart: ce,ref: P- }, /*#__PURE__*/ E.createElement(wdt, null), n)));-}), jdt = [+ }, /*#__PURE__*/ E.createElement(Adt, null), n)));+}), Ldt = ["width","height","responsive",@@ -105333,16 +105453,16 @@ var Adt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {"title","desc"];-function Mdt(e, t) {+function Rdt(e, t) {if (e == null) return {};- var n, r, i = Ndt(e, t);+ var n, r, i = zdt(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Ndt(e, t) {+function zdt(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -105351,16 +105471,16 @@ function Ndt(e, t) {}return n;}-var Pdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = hY(Mdt(e, jdt));+var Bdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = hY(Rdt(e, Ldt));return c ? /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(IQ, {width: n,height: r- }), /*#__PURE__*/ E.createElement(odt, {+ }), /*#__PURE__*/ E.createElement(fdt, {otherAttributes: d,title: l,desc: u- }, a)) : /*#__PURE__*/ E.createElement(Adt, {+ }, a)) : /*#__PURE__*/ E.createElement(Idt, {className: o,style: s,width: n,@@ -105377,12 +105497,12 @@ var Pdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {onTouchStart: e.onTouchStart,onTouchMove: e.onTouchMove,onTouchEnd: e.onTouchEnd- }, /*#__PURE__*/ E.createElement(odt, {+ }, /*#__PURE__*/ E.createElement(fdt, {otherAttributes: d,title: l,desc: u,ref: t- }, /*#__PURE__*/ E.createElement(Mat, null, a)));+ }, /*#__PURE__*/ E.createElement(Rat, null, a)));});//#endregion//#region node_modules/recharts/es6/chart/CartesianChart.js@@ -105395,7 +105515,7 @@ function Q6() {return e;}, Q6.apply(null, arguments);}-function Fdt(e, t) {+function Vdt(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -105405,30 +105525,30 @@ function Fdt(e, t) {}return n;}-function Idt(e) {+function Hdt(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Fdt(Object(n), !0).forEach(function(t) {- Ldt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fdt(Object(n)).forEach(function(t) {+ t % 2 ? Vdt(Object(n), !0).forEach(function(t) {+ Udt(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Vdt(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Ldt(e, t, n) {- return (t = Rdt(t)) in e ? Object.defineProperty(e, t, {+function Udt(e, t, n) {+ return (t = Wdt(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Rdt(e) {- var t = zdt(e, "string");+function Wdt(e) {+ var t = Gdt(e, "string");return typeof t == "symbol" ? t : t + "";}-function zdt(e, t) {+function Gdt(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -105438,7 +105558,7 @@ function zdt(e, t) {}return (t === "string" ? String : Number)(e);}-var Bdt = Idt({+var Kdt = Hdt({accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -105454,23 +105574,23 @@ var Bdt = Idt({stackOffset: "none",syncMethod: "index"}, q6), $6 = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- var n = _X(e.categoricalChartProps, Bdt), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {+ var n = _X(e.categoricalChartProps, Kdt), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {chartName: r,defaultTooltipEventType: i,validateTooltipEventTypes: a,tooltipPayloadSearcher: o,eventEmitter: void 0};- return /*#__PURE__*/ E.createElement(qut, {+ return /*#__PURE__*/ E.createElement($ut, {preloadedState: { options: c },reduxStoreName: s.id ?? r- }, /*#__PURE__*/ E.createElement(pat, { chartData: s.data }), /*#__PURE__*/ E.createElement(Yut, {+ }, /*#__PURE__*/ E.createElement(yat, { chartData: s.data }), /*#__PURE__*/ E.createElement(tdt, {layout: n.layout,margin: n.margin- }), /*#__PURE__*/ E.createElement(Zut, {+ }), /*#__PURE__*/ E.createElement(rdt, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ E.createElement(Xut, {+ }), /*#__PURE__*/ E.createElement(ndt, {baseValue: n.baseValue,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -105482,33 +105602,33 @@ var Bdt = Idt({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ E.createElement(Pdt, Q6({}, n, { ref: t })));-}), Vdt = ["axis"], Hdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement($6, {+ }), /*#__PURE__*/ E.createElement(Bdt, Q6({}, n, { ref: t })));+}), qdt = ["axis"], Jdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement($6, {chartName: "LineChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: Vdt,+ validateTooltipEventTypes: qdt,tooltipPayloadSearcher: f4,categoricalChartProps: e,ref: t-})), Udt = ["axis", "item"], Wdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement($6, {+})), Ydt = ["axis", "item"], Xdt = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement($6, {chartName: "BarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: Udt,+ validateTooltipEventTypes: Ydt,tooltipPayloadSearcher: f4,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/state/ReportPolarOptions.js-function Gdt(e) {+function Zdt(e) {var t = FX();return (0, E.useEffect)(() => {- t(jut(e));+ t(Lut(e));}, [t, e]), null;}//#endregion//#region node_modules/recharts/es6/chart/PolarChart.js-var Kdt = ["layout"];+var Qdt = ["layout"];function e8() {return e8 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -105518,16 +105638,16 @@ function e8() {return e;}, e8.apply(null, arguments);}-function qdt(e, t) {+function $dt(e, t) {if (e == null) return {};- var n, r, i = Jdt(e, t);+ var n, r, i = eft(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function Jdt(e, t) {+function eft(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -105536,7 +105656,7 @@ function Jdt(e, t) {}return n;}-function Ydt(e, t) {+function tft(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -105546,30 +105666,30 @@ function Ydt(e, t) {}return n;}-function Xdt(e) {+function nft(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Ydt(Object(n), !0).forEach(function(t) {- Zdt(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ydt(Object(n)).forEach(function(t) {+ t % 2 ? tft(Object(n), !0).forEach(function(t) {+ rft(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tft(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Zdt(e, t, n) {- return (t = Qdt(t)) in e ? Object.defineProperty(e, t, {+function rft(e, t, n) {+ return (t = ift(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Qdt(e) {- var t = $dt(e, "string");+function ift(e) {+ var t = aft(e, "string");return typeof t == "symbol" ? t : t + "";}-function $dt(e, t) {+function aft(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -105579,7 +105699,7 @@ function $dt(e, t) {}return (t === "string" ? String : Number)(e);}-var t8 = Xdt({+var t8 = nft({accessibilityLayer: !0,stackOffset: "none",barCategoryGap: "10%",@@ -105598,24 +105718,24 @@ var t8 = Xdt({cy: "50%",innerRadius: 0,outerRadius: "80%"-}, q6), eft = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {- var n = _X(e.categoricalChartProps, t8), r = n.layout, i = qdt(n, Kdt), a = e.chartName, o = {+}, q6), oft = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {+ var n = _X(e.categoricalChartProps, t8), r = n.layout, i = $dt(n, Qdt), a = e.chartName, o = {chartName: a,defaultTooltipEventType: e.defaultTooltipEventType,validateTooltipEventTypes: e.validateTooltipEventTypes,tooltipPayloadSearcher: e.tooltipPayloadSearcher,eventEmitter: void 0};- return /*#__PURE__*/ E.createElement(qut, {+ return /*#__PURE__*/ E.createElement($ut, {preloadedState: { options: o },reduxStoreName: n.id ?? a- }, /*#__PURE__*/ E.createElement(pat, { chartData: n.data }), /*#__PURE__*/ E.createElement(Yut, {+ }, /*#__PURE__*/ E.createElement(yat, { chartData: n.data }), /*#__PURE__*/ E.createElement(tdt, {layout: r,margin: n.margin- }), /*#__PURE__*/ E.createElement(Zut, {+ }), /*#__PURE__*/ E.createElement(rdt, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ E.createElement(Xut, {+ }), /*#__PURE__*/ E.createElement(ndt, {baseValue: void 0,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -105627,18 +105747,18 @@ var t8 = Xdt({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ E.createElement(Gdt, {+ }), /*#__PURE__*/ E.createElement(Zdt, {cx: n.cx,cy: n.cy,startAngle: n.startAngle,endAngle: n.endAngle,innerRadius: n.innerRadius,outerRadius: n.outerRadius- }), /*#__PURE__*/ E.createElement(Pdt, e8({}, i, { ref: t })));+ }), /*#__PURE__*/ E.createElement(Bdt, e8({}, i, { ref: t })));});//#endregion//#region node_modules/recharts/es6/chart/RadarChart.js-function tft(e, t) {+function sft(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -105648,30 +105768,30 @@ function tft(e, t) {}return n;}-function nft(e) {+function cft(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? tft(Object(n), !0).forEach(function(t) {- rft(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tft(Object(n)).forEach(function(t) {+ t % 2 ? sft(Object(n), !0).forEach(function(t) {+ lft(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sft(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function rft(e, t, n) {- return (t = ift(t)) in e ? Object.defineProperty(e, t, {+function lft(e, t, n) {+ return (t = uft(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function ift(e) {- var t = aft(e, "string");+function uft(e) {+ var t = dft(e, "string");return typeof t == "symbol" ? t : t + "";}-function aft(e, t) {+function dft(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -105681,31 +105801,31 @@ function aft(e, t) {}return (t === "string" ? String : Number)(e);}-var oft = ["axis"], sft = nft(nft({}, t8), {}, {+var fft = ["axis"], pft = cft(cft({}, t8), {}, {layout: "centric",startAngle: 90,endAngle: -270-}), cft = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = _X(e, sft);- return /*#__PURE__*/ E.createElement(eft, {+}), mft = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = _X(e, pft);+ return /*#__PURE__*/ E.createElement(oft, {chartName: "RadarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: oft,+ validateTooltipEventTypes: fft,tooltipPayloadSearcher: f4,categoricalChartProps: n,ref: t});-}), lft = ["axis"], uft = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement($6, {+}), hft = ["axis"], gft = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement($6, {chartName: "AreaChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: lft,+ validateTooltipEventTypes: hft,tooltipPayloadSearcher: f4,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/chart/RadialBarChart.js-function dft(e, t) {+function _ft(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -105715,30 +105835,30 @@ function dft(e, t) {}return n;}-function fft(e) {+function vft(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? dft(Object(n), !0).forEach(function(t) {- pft(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dft(Object(n)).forEach(function(t) {+ t % 2 ? _ft(Object(n), !0).forEach(function(t) {+ yft(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _ft(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function pft(e, t, n) {- return (t = mft(t)) in e ? Object.defineProperty(e, t, {+function yft(e, t, n) {+ return (t = bft(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function mft(e) {- var t = hft(e, "string");+function bft(e) {+ var t = xft(e, "string");return typeof t == "symbol" ? t : t + "";}-function hft(e, t) {+function xft(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -105748,16 +105868,16 @@ function hft(e, t) {}return (t === "string" ? String : Number)(e);}-var gft = ["axis", "item"], _ft = fft(fft({}, t8), {}, {+var Sft = ["axis", "item"], Cft = vft(vft({}, t8), {}, {layout: "radial",startAngle: 0,endAngle: 360-}), vft = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {- var n = _X(e, _ft);- return /*#__PURE__*/ E.createElement(eft, {+}), wft = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {+ var n = _X(e, Cft);+ return /*#__PURE__*/ E.createElement(oft, {chartName: "RadialBarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: gft,+ validateTooltipEventTypes: Sft,tooltipPayloadSearcher: f4,categoricalChartProps: n,ref: t@@ -105766,20 +105886,20 @@ var gft = ["axis", "item"], _ft = fft(fft({}, t8), {}, {//#endregion//#region src/react/charts/cn.tsfunction n8(...e) {- return hO(Uv(e));+ return mO(Uv(e));}//#endregion//#region src/react/evilcharts/registry/ui/recharts-chart.tsx-var yft = {+var Tft = {light: "",dark: ".dark"-}, r8 = Object.keys(yft);-function bft(e) {+}, r8 = Object.keys(Tft);+function Eft(e) {for (let [t, n] of Object.entries(e)) if (n.colors && !r8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${r8.join(", ")}). Received empty object or invalid keys.`);}-var xft = E.createContext(null);+var Dft = E.createContext(null);function i8() {- let e = E.useContext(xft);+ let e = E.useContext(Dft);if (!e) throw Error("useChart must be used within a <ChartContainer />");return e;}@@ -105788,7 +105908,7 @@ function a8({ id: e, config: t, initialDimension: n = {height: 200}, className: r, children: i, footer: a, ...o }) {let s = E.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;- return bft(t), /* @__PURE__ */ (0, D.jsx)(xft.Provider, {+ return Eft(t), /* @__PURE__ */ (0, D.jsx)(Dft.Provider, {value: { config: t },children: /* @__PURE__ */ (0, D.jsxs)("div", {"data-slot": "chart",@@ -105796,7 +105916,7 @@ function a8({ id: e, config: t, initialDimension: n = {className: n8("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),...o,children: [- /* @__PURE__ */ (0, D.jsx)(Cft, {+ /* @__PURE__ */ (0, D.jsx)(kft, {id: c,config: t}),@@ -105819,7 +105939,7 @@ function o8({ isLoading: e }) {})}) : null;}-function Sft(e, t) {+function Oft(e, t) {let n = e.length;if (n >= t) return e.slice(0, t);let r = [], i = Math.floor(t / n), a = t % n;@@ -105829,13 +105949,13 @@ function Sft(e, t) {}return r;}-var Cft = ({ id: e, config: t }) => {+var kft = ({ id: e, config: t }) => {let n = Object.entries(t).filter(([, e]) => e.colors);if (!n.length) return null;let r = (e) => n.flatMap(([t, n]) => {let r = n.colors?.[e];- return !r || !Array.isArray(r) || r.length === 0 ? [] : Sft(r, c8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);- }).filter(Boolean).join("\n"), i = Object.entries(yft).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");+ return !r || !Array.isArray(r) || r.length === 0 ? [] : Oft(r, c8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);+ }).filter(Boolean).join("\n"), i = Object.entries(Tft).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");return /* @__PURE__ */ (0, D.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });};function s8(e, t, n) {@@ -105848,15 +105968,15 @@ function c8(e) {let t = r8.map((t) => e.colors?.[t]?.length ?? 0);return Math.max(...t, 1);}-var wft = (e = 10, t = 0, n = 70) => {+var Aft = (e = 10, t = 0, n = 70) => {let r = n - t;return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));-}, Tft = {+}, jft = {sm: "rounded-sm",md: "rounded-md",lg: "rounded-lg",xl: "rounded-xl"-}, Eft = {+}, Mft = {default: "bg-background","frosted-glass": "bg-background/70 backdrop-blur-sm"};@@ -105883,7 +106003,7 @@ function l8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabif (!e || !t?.length) return /* @__PURE__ */ (0, D.jsx)("span", { className: "p-4" });let _ = t.length === 1 && r !== "dot";return /* @__PURE__ */ (0, D.jsxs)("div", {- className: n8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Tft[p], Eft[m], n),+ className: n8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", jft[p], Mft[m], n),children: [_ ? null : g, /* @__PURE__ */ (0, D.jsx)("div", {className: "grid gap-1.5",children: t.filter((e) => e.type !== "none").map((e, t) => {@@ -105897,7 +106017,7 @@ function l8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed","my-0.5": _ && r === "dashed"}),- style: Dft(n, o)+ style: Nft(n, o)}), /* @__PURE__ */ (0, D.jsxs)("div", {className: n8("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -105916,10 +106036,10 @@ function l8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab})]});}-function Dft(e, t) {+function Nft(e, t) {return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };}-var u8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, D.jsx)(V7e, {+var u8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, D.jsx)(q7e, {animationDuration: e,...t});@@ -105936,7 +106056,7 @@ function d8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlonClick: () => {c && s?.(o === r ? null : r);},- children: [i?.icon && !t ? /* @__PURE__ */ (0, D.jsx)(i.icon, {}) : /* @__PURE__ */ (0, D.jsx)(Oft, {+ children: [i?.icon && !t ? /* @__PURE__ */ (0, D.jsx)(i.icon, {}) : /* @__PURE__ */ (0, D.jsx)(Pft, {variant: l,dataKey: r,colorsCount: d@@ -105945,8 +106065,8 @@ function d8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl})}) : null;}-function Oft({ variant: e, dataKey: t, colorsCount: n }) {- let r = kft(t, n), i = Aft(t, n);+function Pft({ variant: e, dataKey: t, colorsCount: n }) {+ let r = Fft(t, n), i = Ift(t, n);switch (e) {case "square": return /* @__PURE__ */ (0, D.jsx)("div", {className: "h-2 w-2 shrink-0",@@ -105978,10 +106098,10 @@ function Oft({ variant: e, dataKey: t, colorsCount: n }) {});}}-function kft(e, t) {+function Fft(e, t) {return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };}-function Aft(e, t) {+function Ift(e, t) {let n = {WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite: "xor",@@ -105996,12 +106116,12 @@ function Aft(e, t) {...n};}-var f8 = nZe, p8 = () => null, jft = {+var f8 = cZe, p8 = () => null, Lft = {stiffness: 300,damping: 35,mass: .8};-function Mft({ range: e, totalPoints: t, containerRef: n, commit: r }) {+function Rft({ range: e, totalPoints: t, containerRef: n, commit: r }) {let i = E.useRef(null), [a, o] = E.useState(!1), s = (0, E.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, E.useCallback)((t, n) => {t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {type: n,@@ -106047,7 +106167,7 @@ function Mft({ range: e, totalPoints: t, containerRef: n, commit: r }) {])};}-function Nft({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {+function zft({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {let x = E.useRef(null), S = E.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = E.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [O, k] = E.useState(() => ({startIndex: Math.max(0, Math.min(p, C - 1)),endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))@@ -106081,7 +106201,7 @@ function Nft({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "startIndex: n,endIndex: r};- }, [C, v]), { isDragging: M, bind: N } = Mft({+ }, [C, v]), { isDragging: M, bind: N } = Rft({range: O,totalPoints: C,containerRef: x,@@ -106108,7 +106228,7 @@ function Nft({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "]);let F = C > 1 ? P.startIndex / (C - 1) * 100 : 0, I = C > 1 ? P.endIndex / (C - 1) * 100 : 100, ee = j_(F), L = j_(I);ee.get() !== F && ee.set(F), L.get() !== I && L.set(I);- let te = bie(ee, jft), ne = bie(L, jft), re = M_(te, (e) => `${e}%`), ie = M_(ne, (e) => `${e}%`), ae = M_(te, (e) => `${e}%`), oe = M_(ne, (e) => `${Math.max(0, 100 - e)}%`), se = j_(`${Math.max(0, I - F)}%`), ce = (0, E.useCallback)(() => {+ let te = bie(ee, Lft), ne = bie(L, Lft), re = M_(te, (e) => `${e}%`), ie = M_(ne, (e) => `${e}%`), ae = M_(te, (e) => `${e}%`), oe = M_(ne, (e) => `${Math.max(0, 100 - e)}%`), se = j_(`${Math.max(0, I - F)}%`), ce = (0, E.useCallback)(() => {se.set(`${Math.max(0, ne.get() - te.get())}%`);}, [te,@@ -106131,13 +106251,13 @@ function Nft({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "className: n8("group relative select-none", o),style: { height: a },children: [- !b && /* @__PURE__ */ (0, D.jsx)(Cft, {+ !b && /* @__PURE__ */ (0, D.jsx)(kft, {id: w,config: t}),/* @__PURE__ */ (0, D.jsx)("div", {className: "absolute inset-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, D.jsx)(Fft, {+ children: /* @__PURE__ */ (0, D.jsx)(Vft, {data: e,keys: S,chartConfig: t,@@ -106166,13 +106286,13 @@ function Nft({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "},...N("middle")}),- /* @__PURE__ */ (0, D.jsx)(Pft, {+ /* @__PURE__ */ (0, D.jsx)(Bft, {side: "left",position: re,label: y ? le(P.startIndex) : void 0,bind: N("left")}),- /* @__PURE__ */ (0, D.jsx)(Pft, {+ /* @__PURE__ */ (0, D.jsx)(Bft, {side: "right",position: ie,label: y ? le(P.endIndex) : void 0,@@ -106181,7 +106301,7 @@ function Nft({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "]});}-function Pft({ side: e, position: t, label: n, bind: r }) {+function Bft({ side: e, position: t, label: n, bind: r }) {let i = e === "left";return /* @__PURE__ */ (0, D.jsxs)(F_.div, {className: "absolute inset-y-0 z-10",@@ -106206,7 +106326,7 @@ function Pft({ side: e, position: t, label: n, bind: r }) {})]});}-function Fft({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {+function Vft({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {let u = E.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({dataKey: e,colorsCount: c8(t)@@ -106266,7 +106386,7 @@ function Fft({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartif (r === "line") return /* @__PURE__ */ (0, D.jsx)(DQ, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, D.jsxs)(Hdt, {+ children: /* @__PURE__ */ (0, D.jsxs)(Jdt, {data: e,margin: {top: 4,@@ -106274,7 +106394,7 @@ function Fft({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartbottom: 0,left: 0},- children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(tct, {+ children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(sct, {type: i,dataKey: e,stroke: `url(#${a}-zm-${e})`,@@ -106293,7 +106413,7 @@ function Fft({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartreturn /* @__PURE__ */ (0, D.jsx)(DQ, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, D.jsxs)(Wdt, {+ children: /* @__PURE__ */ (0, D.jsxs)(Xdt, {data: e,margin: {top: 2,@@ -106322,7 +106442,7 @@ function Fft({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartreturn /* @__PURE__ */ (0, D.jsx)(DQ, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, D.jsxs)(uft, {+ children: /* @__PURE__ */ (0, D.jsxs)(gft, {data: e,margin: {top: 4,@@ -106330,7 +106450,7 @@ function Fft({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartbottom: 0,left: 0},- children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(Vct, {+ children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(qct, {type: i,dataKey: e,stroke: `url(#${a}-zm-${e})`,@@ -106348,7 +106468,7 @@ function Fft({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})});}-function Ift({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {+function Hft({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {let [r, i] = E.useState({startIndex: t,endIndex: n ?? Math.max(0, e.length - 1)@@ -106372,7 +106492,7 @@ function Ift({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {}};}-var Lft = {+var Uft = {dots: ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {id: e,x: "0",@@ -106545,7 +106665,7 @@ var Lft = {})};function m8({ variant: e }) {- let t = (0, E.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Lft[e];+ let t = (0, E.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Uft[e];return /* @__PURE__ */ (0, D.jsxs)(s4, {zIndex: -1,children: [/* @__PURE__ */ (0, D.jsxs)("defs", { children: [@@ -106576,19 +106696,19 @@ function m8({ variant: e }) {}//#endregion//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx-var Rft = 2, zft = "loading", Bft = 2e3, Vft = "evil-stacked", Hft = .5, Uft = .05, Wft = [+var Wft = 2, Gft = "loading", Kft = 2e3, qft = "evil-stacked", Jft = .5, Yft = .05, Xft = [0,.7,.5,1-], Gft = (0, E.createContext)(null);+], Zft = (0, E.createContext)(null);function h8() {- let e = (0, E.use)(Gft);+ let e = (0, E.use)(Zft);if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");return e;}-function g8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = Rft, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {- let _ = (0, E.useId)().replace(/:/g, ""), [v] = (0, E.useState)(() => Date.now()), [y, b] = (0, E.useState)(f), [x, S] = (0, E.useState)(!1), { loadingData: C, onShimmerExit: w } = dpt(m, h), { visibleData: T, brushProps: O } = Ift({ data: t }), k = (0, E.useMemo)(() => {+function g8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = Wft, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {+ let _ = (0, E.useId)().replace(/:/g, ""), [v] = (0, E.useState)(() => Date.now()), [y, b] = (0, E.useState)(f), [x, S] = (0, E.useState)(!1), { loadingData: C, onShimmerExit: w } = _pt(m, h), { visibleData: T, brushProps: O } = Hft({ data: t }), k = (0, E.useMemo)(() => {let e = E.Children.toArray(n), t = e.find((e) => (0, E.isValidElement)(e) && e.type === p8), r = (0, E.isValidElement)(t) ? t.props : {};return {slot: {@@ -106626,12 +106746,12 @@ function g8({ config: e, data: t, children: n, className: r, chartProps: i, stacP,x]);- return /* @__PURE__ */ (0, D.jsx)(Gft, {+ return /* @__PURE__ */ (0, D.jsx)(Zft, {value: F,children: /* @__PURE__ */ (0, D.jsxs)(a8, {className: r,config: e,- footer: A && !m && /* @__PURE__ */ (0, D.jsx)(Nft, {+ footer: A && !m && /* @__PURE__ */ (0, D.jsx)(zft, {data: t,chartConfig: e,xDataKey: g,@@ -106647,7 +106767,7 @@ function g8({ config: e, data: t, children: n, className: r, chartProps: i, stacO.onChange(e), k.slot.onChange?.(e);}}),- children: [/* @__PURE__ */ (0, D.jsx)(o8, { isLoading: m }), /* @__PURE__ */ (0, D.jsxs)(Wdt, {+ children: [/* @__PURE__ */ (0, D.jsx)(o8, { isLoading: m }), /* @__PURE__ */ (0, D.jsxs)(Xdt, {id: _,accessibilityLayer: !0,layout: M ? "vertical" : "horizontal",@@ -106660,9 +106780,9 @@ function g8({ config: e, data: t, children: n, className: r, chartProps: i, stac...i,children: [d && /* @__PURE__ */ (0, D.jsx)(m8, { variant: d }),- /* @__PURE__ */ (0, D.jsx)(Jat, { color: "white" }),+ /* @__PURE__ */ (0, D.jsx)(eot, { color: "white" }),k.chartChildren,- m && /* @__PURE__ */ (0, D.jsx)(fpt, {+ m && /* @__PURE__ */ (0, D.jsx)(vpt, {chartId: _,onShimmerExit: w})@@ -106671,7 +106791,7 @@ function g8({ config: e, data: t, children: n, className: r, chartProps: i, stac})});}-function Kft({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {+function Qft({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = h8(), b = (0, E.useId)().replace(/:/g, ""), x = N_();if (f) return null;let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {@@ -106694,63 +106814,63 @@ function Kft({ dataKey: e, variant: t = "default", radius: n, animationType: r,};return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(T6, {dataKey: e,- stackId: u ? Vft : void 0,+ stackId: u ? qft : void 0,fill: `url(#${b}-colors-${e})`,radius: S,isAnimationActive: !1,style: i || a ? { cursor: "pointer" } : void 0,- shape: (e) => /* @__PURE__ */ (0, D.jsx)(Qft, {+ shape: (e) => /* @__PURE__ */ (0, D.jsx)(ipt, {...e,...T,animationType: w}),- activeBar: (e) => /* @__PURE__ */ (0, D.jsx)(Qft, {+ activeBar: (e) => /* @__PURE__ */ (0, D.jsx)(ipt, {...e,...T,animationType: "none"}),...c}), /* @__PURE__ */ (0, D.jsxs)("defs", { children: [- /* @__PURE__ */ (0, D.jsx)(npt, {+ /* @__PURE__ */ (0, D.jsx)(cpt, {id: b,dataKey: e,config: l}),- t === "hatched" && /* @__PURE__ */ (0, D.jsx)(rpt, {+ t === "hatched" && /* @__PURE__ */ (0, D.jsx)(lpt, {id: b,dataKey: e}),- t === "duotone" && /* @__PURE__ */ (0, D.jsx)(apt, {+ t === "duotone" && /* @__PURE__ */ (0, D.jsx)(dpt, {id: b,dataKey: e,config: l}),- t === "duotone-reverse" && /* @__PURE__ */ (0, D.jsx)(opt, {+ t === "duotone-reverse" && /* @__PURE__ */ (0, D.jsx)(fpt, {id: b,dataKey: e,config: l}),- t === "gradient" && /* @__PURE__ */ (0, D.jsx)(spt, {+ t === "gradient" && /* @__PURE__ */ (0, D.jsx)(ppt, {id: b,dataKey: e}),- t === "stripped" && /* @__PURE__ */ (0, D.jsx)(cpt, {+ t === "stripped" && /* @__PURE__ */ (0, D.jsx)(mpt, {id: b,dataKey: e}),- s && /* @__PURE__ */ (0, D.jsx)(ipt, {+ s && /* @__PURE__ */ (0, D.jsx)(upt, {id: b,dataKey: e}),- o && /* @__PURE__ */ (0, D.jsx)(lpt, {+ o && /* @__PURE__ */ (0, D.jsx)(hpt, {id: b,dataKey: e})] })] });}-function qft({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {+function $ft({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {let { isLoading: o, isHorizontal: s } = h8();- return o ? null : /* @__PURE__ */ (0, D.jsx)(sut, {+ return o ? null : /* @__PURE__ */ (0, D.jsx)(put, {tickLine: e,axisLine: t,tickMargin: n,@@ -106759,9 +106879,9 @@ function qft({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap...a});}-function Jft({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {+function ept({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {let { isLoading: s, isHorizontal: c } = h8();- return s ? null : /* @__PURE__ */ (0, D.jsx)(but, {+ return s ? null : /* @__PURE__ */ (0, D.jsx)(Eut, {tickLine: e,axisLine: t,tickMargin: n,@@ -106771,16 +106891,16 @@ function Jft({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap...o});}-function Yft({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {+function tpt({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {let { isHorizontal: i } = h8();- return /* @__PURE__ */ (0, D.jsx)(ast, {+ return /* @__PURE__ */ (0, D.jsx)(dst, {strokeDasharray: e,vertical: t ?? i,horizontal: n ?? !i,...r});}-function Xft({ variant: e, roundness: t, defaultIndex: n }) {+function npt({ variant: e, roundness: t, defaultIndex: n }) {let { isLoading: r, selectedDataKey: i } = h8();return r ? null : /* @__PURE__ */ (0, D.jsx)(u8, {cursor: !1,@@ -106792,7 +106912,7 @@ function Xft({ variant: e, roundness: t, defaultIndex: n }) {})});}-function Zft({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {+function rpt({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {let { selectedDataKey: i, selectDataKey: a } = h8();return /* @__PURE__ */ (0, D.jsx)(f8, {verticalAlign: n,@@ -106805,8 +106925,8 @@ function Zft({ variant: e, align: t = "right", verticalAlign: n = "top", isClick})});}-var Qft = (e) => {- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = $ft(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : ept(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, O = tpt({+var ipt = (e) => {+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = apt(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : opt(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, O = spt({isClickable: d,selectedDataKey: _,dataKey: o,@@ -106851,7 +106971,7 @@ var Qft = (e) => {children: j}) : j]});-}, $ft = (e, t, n, r, i) => {+}, apt = (e, t, n, r, i) => {if (e === "none" || t < 0 || n <= 0) return null;let a = n - 1, o = a / 2, s;switch (e) {@@ -106866,11 +106986,11 @@ var Qft = (e) => {break;default: s = t;}- let c = s * Uft * 1e3, l = Hft * 1e3, u = c + l, d = Date.now() - i;+ let c = s * Yft * 1e3, l = Jft * 1e3, u = c + l, d = Date.now() - i;if (d >= u) return null;let f = d <= c ? 0 : (d - c) / l, p = {duration: (u - Math.max(d, c)) / 1e3,- ease: Wft,+ ease: Xft,delay: Math.max(0, c - d) / 1e3};return r ? {@@ -106884,7 +107004,7 @@ var Qft = (e) => {transition: p,style: { originY: 1 }};-}, ept = (e, t, n) => {+}, opt = (e, t, n) => {switch (e) {case "hatched": return `url(#${t}-hatched-${n})`;case "duotone": return `url(#${t}-duotone-${n})`;@@ -106893,10 +107013,10 @@ var Qft = (e) => {case "stripped": return `url(#${t}-stripped-${n})`;default: return `url(#${t}-colors-${n})`;}-}, tpt = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {+}, spt = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;return r && i ? a ? o : o * .3 : o;-}, npt = ({ id: e, dataKey: t, config: n }) => {+}, cpt = ({ id: e, dataKey: t, config: n }) => {let r = c8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsx)("linearGradient", {id: `${e}-colors-${t}`,@@ -106918,7 +107038,7 @@ var Qft = (e) => {}, i);})});-}, rpt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+}, lpt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("pattern", {id: `${e}-hatched-mask-pattern`,x: "0",@@ -106959,7 +107079,7 @@ var Qft = (e) => {mask: `url(#${e}-hatched-mask-${t})`})})-] }), ipt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+] }), upt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("pattern", {id: `${e}-buffer-hatched-mask-pattern`,x: "0",@@ -107000,7 +107120,7 @@ var Qft = (e) => {mask: `url(#${e}-buffer-hatched-mask-${t})`})})-] }), apt = ({ id: e, dataKey: t, config: n }) => {+] }), dpt = ({ id: e, dataKey: t, config: n }) => {let r = c8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("linearGradient", {@@ -107068,7 +107188,7 @@ var Qft = (e) => {})})] });-}, opt = ({ id: e, dataKey: t, config: n }) => {+}, fpt = ({ id: e, dataKey: t, config: n }) => {let r = c8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("linearGradient", {@@ -107136,7 +107256,7 @@ var Qft = (e) => {})})] });-}, spt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+}, ppt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("linearGradient", {id: `${e}-gradient-mask-gradient`,x1: "0",@@ -107173,7 +107293,7 @@ var Qft = (e) => {mask: `url(#${e}-gradient-mask-${t})`})})-] }), cpt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+] }), mpt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("linearGradient", {id: `${e}-stripped-mask-gradient`,x1: "0",@@ -107210,7 +107330,7 @@ var Qft = (e) => {mask: `url(#${e}-stripped-mask-${t})`})})-] }), lpt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)("filter", {+] }), hpt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)("filter", {id: `${e}-bar-glow-${t}`,x: "-100%",y: "-100%",@@ -107230,35 +107350,35 @@ var Qft = (e) => {}),/* @__PURE__ */ (0, D.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "SourceGraphic" })] })]-}), upt = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {+}), gpt = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);return {offset: `${(a * 100).toFixed(0)}%`,opacity: Number(o.toFixed(3))};});-function dpt(e, t = 12) {+function _pt(e, t = 12) {let [n, r] = (0, E.useState)(!1), i = (0, E.useCallback)(() => {e && r((e) => !e);}, [e]);return {- loadingData: (0, E.useMemo)(() => wft(t, 20, 80), [t, n]),+ loadingData: (0, E.useMemo)(() => Aft(t, 20, 80), [t, n]),onShimmerExit: i};}-var fpt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(T6, {- dataKey: zft,+var vpt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(T6, {+ dataKey: Gft,fill: "currentColor",fillOpacity: .15,- radius: Rft,+ radius: Wft,isAnimationActive: !1,legendType: "none",style: { mask: `url(#${e}-loading-mask)` }-}), /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)(ppt, {+}), /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)(ypt, {chartId: e,onShimmerExit: t-}) })] }), ppt = ({ chartId: e, onShimmerExit: t }) => {- let n = upt(), r = (0, E.useRef)(-1);+}) })] }), ypt = ({ chartId: e, onShimmerExit: t }) => {+ let n = gpt(), r = (0, E.useRef)(-1);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("linearGradient", {id: `${e}-loading-mask-gradient`,@@ -107289,7 +107409,7 @@ var fpt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Frinitial: { x: -1 },animate: { x: 2 },transition: {- duration: Bft / 1e3,+ duration: Kft / 1e3,ease: "linear",repeat: Infinity,repeatType: "loop"@@ -107311,10 +107431,10 @@ var fpt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fr})] });};-g8.Bar = Kft, g8.XAxis = qft, g8.YAxis = Jft, g8.Grid = Yft, g8.Tooltip = Xft, g8.Legend = Zft, g8.Brush = p8;+g8.Bar = Qft, g8.XAxis = $ft, g8.YAxis = ept, g8.Grid = tpt, g8.Tooltip = npt, g8.Legend = rpt, g8.Brush = p8;//#endregion//#region src/react/charts/chart-card.tsx-var _8 = `${GO({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;+var _8 = `${WO({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;function v8({ title: e, children: t }) {return /* @__PURE__ */ (0, D.jsxs)("section", {className: _8,@@ -107328,8 +107448,8 @@ function v8({ title: e, children: t }) {})]});}-var mpt = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, hpt = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), y8;-function gpt(e) {+var bpt = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, xpt = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), y8;+function Spt(e) {if (y8 === void 0) try {y8 = document.createElement("canvas").getContext("2d"), y8 && (y8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);} catch {@@ -107337,19 +107457,19 @@ function gpt(e) {}return y8 ? y8.measureText(e).width : null;}-var b8 = (e) => gpt(e) ?? hpt(e).reduce((e, t) => e + mpt(t), 0);-function _pt(e, t) {+var b8 = (e) => Spt(e) ?? xpt(e).reduce((e, t) => e + bpt(t), 0);+function Cpt(e, t) {if (b8(e) <= t) return e;- let n = hpt(e), r = 0;+ let n = xpt(e), r = 0;for (; r < n.length && b8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;return `${n.slice(0, r).join("")}…`;}-var vpt = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(b8)) + 12);+var wpt = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(b8)) + 12);function x8(e) {let { along: t, payload: n, width: r = 0, visibleTicksCount: i = 1, ...a } = e, o = String(n?.value ?? ""), s = t === "x" ? r / Math.max(1, i) - 2 : r - 8;return /* @__PURE__ */ (0, D.jsxs)("g", { children: [/* @__PURE__ */ (0, D.jsx)("title", { children: o }), /* @__PURE__ */ (0, D.jsx)(S4, {...a,- children: _pt(o, s)+ children: Cpt(o, s)})] });}function S8({ title: e, figure: t, note: n }) {@@ -107378,7 +107498,7 @@ var C8 = ["var(--color-chart-5)","var(--color-chart-6)"], w8 = (e) => ({ light: [e] }), T8 = (e) => `s${e}`;-function ypt(e) {+function Tpt(e) {return Object.fromEntries(e.map((e, t) => [T8(t), {label: e,colors: w8(C8[t % C8.length])@@ -107386,8 +107506,8 @@ function ypt(e) {}//#endregion//#region src/react/charts/chart-tip.tsx-var bpt = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";-function xpt({ swatch: e, name: t, value: n }) {+var Ept = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";+function Dpt({ swatch: e, name: t, value: n }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex w-full items-center gap-2",children: [e, /* @__PURE__ */ (0, D.jsxs)("div", {@@ -107402,23 +107522,23 @@ function xpt({ swatch: e, name: t, value: n }) {})]});}-var Spt = "size-2.5 shrink-0 rounded-xs";-function Cpt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {+var Opt = "size-2.5 shrink-0 rounded-xs";+function kpt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {let { config: o } = i8(), s = (t ?? []).filter((e) => e.type !== "none");if (!e || !s.length) return /* @__PURE__ */ (0, D.jsx)("span", { className: "p-4" });let c = a || typeof n != "string" ? null : o[n]?.label ?? n;return /* @__PURE__ */ (0, D.jsxs)("div", {- className: bpt,+ className: Ept,children: [c ? /* @__PURE__ */ (0, D.jsx)("div", {className: "font-medium text-foreground",children: c}) : null, s.map((e, t) => {let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = s8(o, e, a), c = i ? n[i] : e.value;- return /* @__PURE__ */ (0, D.jsx)(xpt, {+ return /* @__PURE__ */ (0, D.jsx)(Dpt, {name: s?.label ?? e.name,value: Number(c ?? 0),swatch: /* @__PURE__ */ (0, D.jsx)("i", {- className: Spt,+ className: Opt,style: { background: `var(--color-${a}-0)` }})}, a + t);@@ -107428,7 +107548,7 @@ function Cpt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabfunction E8({ nameKey: e, valueKey: t, hideLabel: n }) {return /* @__PURE__ */ (0, D.jsx)(u8, {cursor: !1,- content: /* @__PURE__ */ (0, D.jsx)(Cpt, {+ content: /* @__PURE__ */ (0, D.jsx)(kpt, {nameKey: e,valueKey: t,hideLabel: n@@ -107438,17 +107558,17 @@ function E8({ nameKey: e, valueKey: t, hideLabel: n }) {//#endregion//#region src/react/charts/bar-card.tsxvar D8 = [0, (e) => e * 1.2];-function wpt(e) {+function Apt(e) {let t = Math.abs(e), n = (t, n) => {let r = e / t;return `${r.toLocaleString(void 0, { maximumFractionDigits: +(Math.abs(r) < 100) })}${n}`;};return t >= 1e8 ? n(1e8, "亿") : t >= 1e5 ? n(1e4, "万") : e.toLocaleString();}-var Tpt = (e) => ({+var jpt = (e) => ({position: e,className: "fill-text-secondary",- formatter: (e) => wpt(Number(e))+ formatter: (e) => Apt(Number(e))});function O8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {let s = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({@@ -107488,7 +107608,7 @@ function O8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:dataKey: "name",interval: 0,tick: /* @__PURE__ */ (0, D.jsx)(x8, { along: "y" }),- width: vpt(s.map((e) => e.name))+ width: wpt(s.map((e) => e.name))}) : /* @__PURE__ */ (0, D.jsx)(g8.XAxis, {dataKey: "name",interval: 0,@@ -107506,7 +107626,7 @@ function O8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:enableHoverHighlight: !0,barProps: {dataKey: "value",- label: Tpt(l ? "right" : "top")+ label: jpt(l ? "right" : "top")}}),/* @__PURE__ */ (0, D.jsx)(E8, {})@@ -107516,7 +107636,7 @@ function O8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:}//#endregion//#region src/react/charts/heat.ts-var Ept = [+var Mpt = ["周一","周二","周三",@@ -107524,8 +107644,8 @@ var Ept = ["周五","周六","周日"-], Dpt = (e, t) => e ? Math.max(.12, e / t) : 0;-function Opt(e) {+], Npt = (e, t) => e ? Math.max(.12, e / t) : 0;+function Ppt(e) {let t = Array.from({ length: 7 }, () => Array(24).fill(0));for (let n of e?.hours || []) {let { weekday: e, hour: r, count: i } = n;@@ -107535,14 +107655,14 @@ function Opt(e) {return {cells: t.flatMap((e, t) => e.map((e, n) => ({key: `${t}-${n}`,- label: `${Ept[t]} ${n}:00`,+ label: `${Mpt[t]} ${n}:00`,count: e,- share: Dpt(e, r)+ share: Npt(e, r)}))),total: n.reduce((e, t) => e + t, 0)};}-function kpt(e) {+function Fpt(e) {let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {cells: [],total: 0,@@ -107560,7 +107680,7 @@ function kpt(e) {key: r,label: r,count: s,- share: Dpt(s, o)+ share: Npt(s, o)};});return {@@ -107572,7 +107692,7 @@ function kpt(e) {}//#endregion//#region src/react/charts/heat-card.tsx-var k8 = 14, A8 = 17, Apt = {+var k8 = 14, A8 = 17, Ipt = {4: {fill: "fill-chart-4",dot: "bg-chart-4"@@ -107581,30 +107701,30 @@ var k8 = 14, A8 = 17, Apt = {fill: "fill-chart-5",dot: "bg-chart-5"}-}, jpt = {+}, Lpt = {start: "translate-x-0",center: "-translate-x-1/2",end: "-translate-x-full"};-function Mpt({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {+function Rpt({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {return /* @__PURE__ */ (0, D.jsxs)("div", {"aria-hidden": !0,style: {left: `${r}%`,top: `${i}%`},- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${bpt} ${jpt[a]}`,+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${Ept} ${Lpt[a]}`,children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "font-medium text-foreground",children: e.label- }), /* @__PURE__ */ (0, D.jsx)(xpt, {+ }), /* @__PURE__ */ (0, D.jsx)(Dpt, {name: t,value: e.count,- swatch: /* @__PURE__ */ (0, D.jsx)("i", { className: `${Spt} ${Apt[n].dot}` })+ swatch: /* @__PURE__ */ (0, D.jsx)("i", { className: `${Opt} ${Ipt[n].dot}` })})]});}-function Npt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {+function zpt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {let [l, u] = (0, E.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * A8, m = f + a * A8, h = (e) => ({x: d + e % i * A8,y: f + Math.floor(e / i) * A8@@ -107644,14 +107764,14 @@ function Npt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axisrx: 3,fillOpacity: e.share || 1,opacity: l >= 0 && l !== n ? .4 : 1,- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${Apt[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${Ipt[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",onPointerEnter: () => u(n),onFocus: () => u(n),onBlur: () => u(-1)}, e.key);})]})- }), g && _ ? /* @__PURE__ */ (0, D.jsx)(Mpt, {+ }), g && _ ? /* @__PURE__ */ (0, D.jsx)(Rpt, {cell: g,series: t.series,tone: c,@@ -107667,7 +107787,7 @@ function Npt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis]});}-var Ppt = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [Ept.map((e, t) => /* @__PURE__ */ (0, D.jsx)("text", {+var Bpt = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [Mpt.map((e, t) => /* @__PURE__ */ (0, D.jsx)("text", {x: 0,y: 18 + t * A8 + 7,dominantBaseline: "middle",@@ -107680,11 +107800,11 @@ var Ppt = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [Ept.map((e, t) =>className: "fill-text-secondary text-caption-1-regular",children: t}, t))] });-function Fpt({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {- let o = Opt(e), s = kpt(e);+function Vpt({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {+ let o = Ppt(e), s = Fpt(e);return s.cells.length ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",- children: [/* @__PURE__ */ (0, D.jsx)(Npt, {+ children: [/* @__PURE__ */ (0, D.jsx)(zpt, {title: t,words: r,tone: i,@@ -107692,9 +107812,9 @@ function Fpt({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: atotal: o.total,columns: 24,rows: 7,- axis: Ppt,+ axis: Bpt,footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })- }), /* @__PURE__ */ (0, D.jsx)(Npt, {+ }), /* @__PURE__ */ (0, D.jsx)(zpt, {title: n,words: r,tone: i,@@ -107711,7 +107831,7 @@ function Fpt({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a}//#endregion//#region src/react/components/expandable-ranking.tsx-function Ipt({ children: e, className: t = "", previewCount: n = 10 }) {+function Hpt({ children: e, className: t = "", previewCount: n = 10 }) {let r = (0, E.useId)(), i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(!1), l = E.Children.toArray(e), u = l.length > n;(0, E.useLayoutEffect)(() => {let e = i.current;@@ -107752,20 +107872,20 @@ function Ipt({ children: e, className: t = "", previewCount: n = 10 }) {onClick: () => {c(!0), o((e) => !e);},- children: /* @__PURE__ */ (0, D.jsx)(wO, { "aria-hidden": !0 })+ children: /* @__PURE__ */ (0, D.jsx)(CO, { "aria-hidden": !0 })}) : null]});}//#endregion//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx-var Lpt = "30%", Rpt = "100%", zpt = 5, Bpt = 14, Vpt = 5, Hpt = 1500, Upt = (0, E.createContext)(null);+var Upt = "30%", Wpt = "100%", Gpt = 5, Kpt = 14, qpt = 5, Jpt = 1500, Ypt = (0, E.createContext)(null);function j8() {- let e = (0, E.use)(Upt);+ let e = (0, E.use)(Ypt);if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");return e;}-function M8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Lpt, outerRadius: l = Rpt, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {- let m = (0, E.useId)().replace(/:/g, ""), [h, g] = (0, E.useState)(u), _ = Xpt(f), v = qpt(o), y = (0, E.useCallback)((e, t) => {+function M8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Upt, outerRadius: l = Wpt, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {+ let m = (0, E.useId)().replace(/:/g, ""), [h, g] = (0, E.useState)(u), _ = nmt(f), v = $pt(o), y = (0, E.useCallback)((e, t) => {g(e), d?.(e === null ? null : {dataKey: e,value: t ?? 0@@ -107792,12 +107912,12 @@ function M8({ config: e, data: t, nameKey: n, children: r, className: i, chartPrh,y]);- return /* @__PURE__ */ (0, D.jsx)(Upt, {+ return /* @__PURE__ */ (0, D.jsx)(Ypt, {value: x,children: /* @__PURE__ */ (0, D.jsxs)(a8, {className: i,config: e,- children: [/* @__PURE__ */ (0, D.jsx)(o8, { isLoading: f }), /* @__PURE__ */ (0, D.jsxs)(vft, {+ children: [/* @__PURE__ */ (0, D.jsx)(o8, { isLoading: f }), /* @__PURE__ */ (0, D.jsxs)(wft, {id: m,data: f ? _ : b,innerRadius: c,@@ -107816,8 +107936,8 @@ function M8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr}),p && /* @__PURE__ */ (0, D.jsx)(m8, { variant: p }),r,- f && /* @__PURE__ */ (0, D.jsx)(Zpt, {}),- /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)(Jpt, {+ f && /* @__PURE__ */ (0, D.jsx)(rmt, {}),+ /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)(emt, {config: e,chartId: m}) })@@ -107826,7 +107946,7 @@ function M8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr})});}-function Wpt({ dataKey: e, cornerRadius: t = zpt, barSize: n = Bpt, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {+function Xpt({ dataKey: e, cornerRadius: t = Gpt, barSize: n = Kpt, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = j8();return s ? null : /* @__PURE__ */ (0, D.jsx)(H3, {dataKey: e,@@ -107851,7 +107971,7 @@ function Wpt({ dataKey: e, cornerRadius: t = zpt, barSize: n = Bpt, showBackgrou...a});}-function Gpt({ variant: e, roundness: t, defaultIndex: n }) {+function Zpt({ variant: e, roundness: t, defaultIndex: n }) {let { nameKey: r, isLoading: i } = j8();return i ? null : /* @__PURE__ */ (0, D.jsx)(u8, {defaultIndex: n,@@ -107864,7 +107984,7 @@ function Gpt({ variant: e, roundness: t, defaultIndex: n }) {})});}-function Kpt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+function Qpt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = j8();return a ? null : /* @__PURE__ */ (0, D.jsx)(f8, {verticalAlign: n,@@ -107878,7 +107998,7 @@ function Kpt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC})});}-function qpt(e) {+function $pt(e) {switch (e) {case "semi": return {startAngle: 180,@@ -107894,7 +108014,7 @@ function qpt(e) {};}}-var Jpt = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: Object.entries(e).map(([e, n]) => {+var emt = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: Object.entries(e).map(([e, n]) => {let r = c8(n);return /* @__PURE__ */ (0, D.jsx)("linearGradient", {id: `${t}-radial-colors-${e}`,@@ -107917,29 +108037,29 @@ var Jpt = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, D.jsx)(D.Fragment,})}, `${t}-radial-colors-${e}`);}) });-function Ypt() {- return Array.from({ length: Vpt }, (e, t) => ({+function tmt() {+ return Array.from({ length: qpt }, (e, t) => ({name: `loading${t}`,value: 40 + Math.random() * 60}));}-function Xpt(e) {+function nmt(e) {let [t, n] = (0, E.useState)(0);return (0, E.useEffect)(() => {if (!e) return;let t = setInterval(() => {n((e) => e + 1);- }, Hpt);+ }, Jpt);return () => clearInterval(t);- }, [e]), (0, E.useMemo)(() => Ypt(), [t]);+ }, [e]), (0, E.useMemo)(() => tmt(), [t]);}-var Zpt = () => /* @__PURE__ */ (0, D.jsx)(H3, {+var rmt = () => /* @__PURE__ */ (0, D.jsx)(H3, {dataKey: "value",- cornerRadius: zpt,- barSize: Bpt,+ cornerRadius: Gpt,+ barSize: Kpt,background: !0,isAnimationActive: !0,- animationDuration: Hpt,+ animationDuration: Jpt,animationEasing: "ease-in-out",shape: (e) => /* @__PURE__ */ (0, D.jsx)(u$, {...e,@@ -107947,17 +108067,17 @@ var Zpt = () => /* @__PURE__ */ (0, D.jsx)(H3, {fillOpacity: .25})});-M8.RadialBar = Wpt, M8.Tooltip = Gpt, M8.Legend = Kpt;+M8.RadialBar = Xpt, M8.Tooltip = Zpt, M8.Legend = Qpt;//#endregion//#region src/react/stats/radial-card.tsx-var Qpt = [+var imt = ["bg-chart-1","bg-chart-2","bg-chart-3","bg-chart-4","bg-chart-5","bg-chart-6"-], $pt = [+], amt = ["aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1","aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2","aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",@@ -107965,16 +108085,16 @@ var Qpt = ["aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5","aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"];-function emt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {- let [i, a] = (0, E.useState)(-1), [o, s] = (0, E.useState)(-1), c = hUe(t);+function omt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {+ let [i, a] = (0, E.useState)(-1), [o, s] = (0, E.useState)(-1), c = xUe(t);if (!c.length) return /* @__PURE__ */ (0, D.jsx)(v8, {title: e,children: n});- let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = gUe(c.map((e) => e.value)), m = c.map((e, t) => ({+ let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = SUe(c.map((e) => e.value)), m = c.map((e, t) => ({slice: T8(t),value: e.value,- arc: _Ue(e.value, p)+ arc: CUe(e.value, p)}));return /* @__PURE__ */ (0, D.jsxs)("section", {className: _8,@@ -107985,7 +108105,7 @@ function emt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsxs)("h3", {className: "flex items-center gap-1.5 text-title-2-medium wrap-anywhere text-text-primary",- children: [d?.mark ? /* @__PURE__ */ (0, D.jsx)(hk, { mark: d.mark }) : null, d ? d.name : e]+ children: [d?.mark ? /* @__PURE__ */ (0, D.jsx)(mk, { mark: d.mark }) : null, d ? d.name : e]}), /* @__PURE__ */ (0, D.jsx)("b", {className: "text-display-4-medium tabular-nums text-text-primary",children: (d ? d.value : u).toLocaleString()@@ -108002,13 +108122,13 @@ function emt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {children: /* @__PURE__ */ (0, D.jsxs)(M8, {data: m,nameKey: "slice",- config: ypt(c.map((e) => e.name)),+ config: Tpt(c.map((e) => e.name)),max: p,innerRadius: "22%",className: "aspect-auto h-75 max-sm:h-65",children: [/* @__PURE__ */ (0, D.jsx)(M8.RadialBar, {dataKey: "arc",- barSize: vUe(c.length),+ barSize: wUe(c.length),radialBarProps: {shape: (e) => /* @__PURE__ */ (0, D.jsx)(u$, {...e,@@ -108035,16 +108155,16 @@ function emt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {onPointerLeave: () => s(-1),onFocus: () => s(t),onBlur: () => s(-1),- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${$pt[t % 6]}`,+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${amt[t % 6]}`,children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 max-w-full items-start gap-1.5 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, D.jsx)("i", {"aria-hidden": !0,- className: `mt-0.5 size-3 shrink-0 rounded-sm ${Qpt[t % 6]}`+ className: `mt-0.5 size-3 shrink-0 rounded-sm ${imt[t % 6]}`}), /* @__PURE__ */ (0, D.jsxs)("span", {className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",- children: [e.mark ? /* @__PURE__ */ (0, D.jsx)(hk, { mark: e.mark }) : null, e.name]+ children: [e.mark ? /* @__PURE__ */ (0, D.jsx)(mk, { mark: e.mark }) : null, e.name]})]}),/* @__PURE__ */ (0, D.jsx)("b", {@@ -108063,7 +108183,7 @@ function emt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {}//#endregion//#region src/react/stats/stats-page.tsx-var tmt = NN("媒体库与入库"), nmt = 10, N8 = C8[5], rmt = C8[4], imt = `${GO()} flex flex-col gap-4`, P8 = "添加媒体目录或关注来源后,这里会显示馆藏统计。", amt = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", omt = "开始播放后,这里会显示最近的真实观看证据。", smt = "补充作品资料或手动添加标签后,这里会显示各个标签来源对应的视频数量。", cmt = "添加媒体目录后,这里会显示存储空间。", lmt = "把媒体目录归进媒体库后,这里会按库显示视频数。", umt = "探测时长后,这里会显示时长分布。", dmt = "探测画质后,这里会显示画质分布。", fmt = "开始播放后,这里会显示播放落在一周的哪些时段。", pmt = "开始播放后,这里会显示每个作品播了几次。", F8 = (e, t) => Math.min(Math.max(e, 0), t);+var smt = MN("媒体库与入库"), cmt = 10, N8 = C8[5], lmt = C8[4], umt = `${WO()} flex flex-col gap-4`, P8 = "添加媒体目录或关注来源后,这里会显示馆藏统计。", dmt = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", fmt = "开始播放后,这里会显示最近的真实观看证据。", pmt = "补充作品资料或手动添加标签后,这里会显示各个标签来源对应的视频数量。", mmt = "添加媒体目录后,这里会显示存储空间。", hmt = "把媒体目录归进媒体库后,这里会按库显示视频数。", gmt = "探测时长后,这里会显示时长分布。", _mt = "探测画质后,这里会显示画质分布。", vmt = "开始播放后,这里会显示播放落在一周的哪些时段。", ymt = "开始播放后,这里会显示每个作品播了几次。", F8 = (e, t) => Math.min(Math.max(e, 0), t);function I8({ term: e, value: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",@@ -108089,7 +108209,7 @@ function L8({ term: e, value: t, total: n }) {children: pY(t, n)}) : null]})]- }), /* @__PURE__ */ (0, D.jsx)($O, {+ }), /* @__PURE__ */ (0, D.jsx)(QO, {label: `${e}:${fY(t)} / ${n.toLocaleString()}`,value: dY(t) ? F8(t, r) : 0,max: r@@ -108117,19 +108237,19 @@ function R8({ term: e, figure: t, unit: n }) {}function z8({ headline: e, children: t }) {return /* @__PURE__ */ (0, D.jsxs)("div", {- className: `${imt} md:flex-row md:gap-6`,+ className: `${umt} md:flex-row md:gap-6`,children: [e, /* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 grow",children: t})]});}-function mmt({ data: e }) {+function bmt({ data: e }) {return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "inline-grid w-full gap-5 md:grid-cols-2",- children: [/* @__PURE__ */ (0, D.jsx)(emt, {+ children: [/* @__PURE__ */ (0, D.jsx)(omt, {title: "网盘与本地",empty: P8,rows: e.by_loc.map((e) => ({@@ -108138,9 +108258,9 @@ function mmt({ data: e }) {bytes: e.bytes,mark: So[e.k] || "database"}))- }), /* @__PURE__ */ (0, D.jsx)(emt, {+ }), /* @__PURE__ */ (0, D.jsx)(omt, {title: "媒体库",- empty: lmt,+ empty: hmt,rows: e.by_library.map((e) => ({name: e.name,value: e.videos,@@ -108156,16 +108276,16 @@ function mmt({ data: e }) {unit: "个视频",series: "视频",color: N8,- rows: CUe(e.by_length),- empty: umt+ rows: kUe(e.by_length),+ empty: gmt}),/* @__PURE__ */ (0, D.jsx)(O8, {title: "画质",unit: "个视频",series: "视频",color: N8,- rows: SUe(e.by_quality),- empty: dmt+ rows: OUe(e.by_quality),+ empty: _mt}),/* @__PURE__ */ (0, D.jsx)(O8, {title: "文件类型",@@ -108173,30 +108293,30 @@ function mmt({ data: e }) {series: "条目",color: N8,layout: "horizontal",- rows: bUe(e.by_medium),+ rows: EUe(e.by_medium),empty: P8})]})]- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: i_e,+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: a_e,title: "还没有视频",- actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(VO, {variant: "secondary",href: "/subscriptions?tab=add",size: "small",children: "添加关注"- }), /* @__PURE__ */ (0, D.jsx)(HO, {+ }), /* @__PURE__ */ (0, D.jsx)(VO, {variant: "primary",- href: tmt,+ href: smt,size: "small",children: "添加媒体"})] }),children: P8});}-function hmt({ data: e }) {- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Fpt, {+function xmt({ data: e }) {+ return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Vpt, {activity: e.play_activity,title: "播放时间",dailyTitle: "每日播放",@@ -108206,17 +108326,17 @@ function hmt({ data: e }) {cellUnit: "个作品"},tone: 5,- empty: fmt+ empty: vmt}), /* @__PURE__ */ (0, D.jsx)(O8, {title: "播放次数",unit: "个作品",series: "作品",- color: rmt,- rows: TUe(e.replays),- empty: pmt+ color: lmt,+ rows: jUe(e.replays),+ empty: ymt})] });}-function gmt({ attribution: e }) {+function Smt({ attribution: e }) {let t = e.videos;return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col",@@ -108249,7 +108369,7 @@ function gmt({ attribution: e }) {]});}-function _mt({ volume: e }) {+function Cmt({ volume: e }) {let t = e.total, n = e.used ?? 0;return /* @__PURE__ */ (0, D.jsxs)("article", {className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -108259,7 +108379,7 @@ function _mt({ volume: e }) {children: [/* @__PURE__ */ (0, D.jsx)("h3", {className: "min-w-0 break-words",children: e.label- }), t == null ? e.online ? /* @__PURE__ */ (0, D.jsx)(jV, { children: "容量未取得" }) : /* @__PURE__ */ (0, D.jsx)(eH, { online: !1 }) : /* @__PURE__ */ (0, D.jsxs)("b", {+ }), t == null ? e.online ? /* @__PURE__ */ (0, D.jsx)(AV, { children: "容量未取得" }) : /* @__PURE__ */ (0, D.jsx)($V, { online: !1 }) : /* @__PURE__ */ (0, D.jsxs)("b", {className: "whitespace-nowrap tabular-nums",children: [pn(n), /* @__PURE__ */ (0, D.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",@@ -108267,7 +108387,7 @@ function _mt({ volume: e }) {})]})]}),- t == null ? null : /* @__PURE__ */ (0, D.jsx)($O, {+ t == null ? null : /* @__PURE__ */ (0, D.jsx)(QO, {label: `${e.label}空间使用率`,value: F8(n, Math.max(t, 1)),max: Math.max(t, 1)@@ -108285,25 +108405,25 @@ function _mt({ volume: e }) {]});}-function vmt({ volumes: e }) {+function wmt({ volumes: e }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-col",- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(_mt, { volume: e }, `${e.kind}:${e.label}`))- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: NO,+ children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(Cmt, { volume: e }, `${e.kind}:${e.label}`))+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: MO,title: "还没有存储来源",- actions: /* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsx)(VO, {variant: "primary",- href: tmt,+ href: smt,size: "small",children: "添加媒体"}),- children: cmt+ children: mmt});}-function ymt({ tags: e, tagLabel: t, onTag: n, hasMedia: r }) {- return e.length ? /* @__PURE__ */ (0, D.jsx)(Ipt, {- previewCount: nmt,+function Tmt({ tags: e, tagLabel: t, onTag: n, hasMedia: r }) {+ return e.length ? /* @__PURE__ */ (0, D.jsx)(Hpt, {+ previewCount: cmt,className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",children: e.map((e, r) => /* @__PURE__ */ (0, D.jsx)("li", {className: "min-w-0",@@ -108327,23 +108447,23 @@ function ymt({ tags: e, tagLabel: t, onTag: n, hasMedia: r }) {]})}, `${e.k}:${r}`))- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: IO,+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: FO,title: "还没有内容标签",- actions: /* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsx)(VO, {variant: "secondary",href: r ? "/data-cleanup" : "/settings/library",size: "small",children: r ? "补全资料" : "添加媒体"}),- children: amt+ children: dmt});}-function bmt({ rows: e, hasMedia: t }) {+function Emt({ rows: e, hasMedia: t }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "flex flex-col gap-5",children: e.map((e) => {- let t = dUe(e);+ let t = _Ue(e);return /* @__PURE__ */ (0, D.jsxs)("article", {className: "flex flex-wrap items-center gap-x-6 gap-y-2",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -108351,7 +108471,7 @@ function bmt({ rows: e, hasMedia: t }) {children: [/* @__PURE__ */ (0, D.jsx)("h3", {className: "min-w-0 text-body-2-medium text-text-primary",children: /* @__PURE__ */ (0, D.jsx)("a", {- href: mUe(e),+ href: bUe(e),"data-middle-truncate": !0,className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",children: e.name@@ -108361,33 +108481,33 @@ function bmt({ rows: e, hasMedia: t }) {children: [e.creator ? /* @__PURE__ */ (0, D.jsx)("span", {className: "min-w-0 wrap-anywhere",children: e.creator- }) : null, /* @__PURE__ */ (0, D.jsx)("span", { children: pUe(e) })]+ }) : null, /* @__PURE__ */ (0, D.jsx)("span", { children: yUe(e) })]})]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "min-w-0 basis-40",- children: [/* @__PURE__ */ (0, D.jsx)($O, {+ children: [/* @__PURE__ */ (0, D.jsx)(QO, {label: `真实观看 ${t.toFixed(0)}%`,value: t}), /* @__PURE__ */ (0, D.jsx)("small", {className: "mt-1.5 block text-caption-1-regular text-text-secondary",- children: `真实 ${t.toFixed(0)}% · 到达 ${fUe(e).toFixed(0)}%`+ children: `真实 ${t.toFixed(0)}% · 到达 ${vUe(e).toFixed(0)}%`})]})]}, `${e.kind}:${e.id}`);})- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: PO,+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: NO,title: "还没有观看记录",- actions: /* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsx)(VO, {variant: "secondary",href: t ? "/" : "/settings/library",size: "small",children: t ? "浏览馆藏" : "添加媒体"}),- children: omt+ children: fmt});}-function xmt({ sources: e, videos: t }) {+function Dmt({ sources: e, videos: t }) {return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("article", {@@ -108406,7 +108526,7 @@ function xmt({ sources: e, videos: t }) {})]})]}),- /* @__PURE__ */ (0, D.jsx)($O, {+ /* @__PURE__ */ (0, D.jsx)(QO, {label: `${e.k} 覆盖视频`,value: F8(e.assets, Math.max(t, 1)),max: Math.max(t, 1)@@ -108417,26 +108537,26 @@ function xmt({ sources: e, videos: t }) {})]}, e.k))- }) : /* @__PURE__ */ (0, D.jsx)(YO, {- icon: IO,+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {+ icon: FO,title: "还没有标签来源",- actions: /* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsx)(VO, {variant: "secondary",href: t ? "/data-cleanup" : "/settings/library",size: "small",children: t ? "补全资料" : "添加媒体"}),- children: smt+ children: pmt});}function B8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {- return /* @__PURE__ */ (0, D.jsx)(Kj, {+ return /* @__PURE__ */ (0, D.jsx)(Gj, {id: e,- className: fV({+ className: dV({interactive: !0,selectable: !0}),- children: /* @__PURE__ */ (0, D.jsx)(gV, {+ children: /* @__PURE__ */ (0, D.jsx)(hV, {label: t,icon: i,accent: a,@@ -108445,34 +108565,34 @@ function B8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {})});}-function Smt(e) {+function Omt(e) {let t = yt({- queryKey: oUe,- queryFn: ({ signal: e }) => sUe(e)+ queryKey: fUe,+ queryFn: ({ signal: e }) => pUe(e)}), n = t.data;- if (!n) return /* @__PURE__ */ (0, D.jsx)(ZO, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ if (!n) return /* @__PURE__ */ (0, D.jsx)(XO, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "馆藏统计读取失败",children: t.error ? V(t.error) : "未取得统计数据,请刷新页面重试。"}) });let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = dY(n.tag_cov) ? pY(n.tag_cov, n.attribution.videos) : "未取得", c = `${fY(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;- return /* @__PURE__ */ (0, D.jsxs)(ZO, { children: [+ return /* @__PURE__ */ (0, D.jsxs)(XO, { children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: `数据库中的当前统计 · ${a.toLocaleString()} 个视频 · ${pn(o)}`}),- /* @__PURE__ */ (0, D.jsxs)(Wj, {+ /* @__PURE__ */ (0, D.jsxs)(Uj, {defaultSelectedKey: "inventory",className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, D.jsxs)(Gj, {+ /* @__PURE__ */ (0, D.jsxs)(Wj, {"aria-label": "统计视图",- className: pV,+ className: fV,children: [/* @__PURE__ */ (0, D.jsx)(B8, {id: "inventory",label: "馆藏视频",- icon: kO,+ icon: OO,accent: 0,figure: a.toLocaleString(),detail: pn(o)@@ -108480,15 +108600,15 @@ function Smt(e) {/* @__PURE__ */ (0, D.jsx)(B8, {id: "viewing",label: "看过",- icon: Nge,+ icon: Pge,accent: 1,figure: fY(r.played),- detail: uUe(r.play_seconds)+ detail: gUe(r.play_seconds)}),/* @__PURE__ */ (0, D.jsx)(B8, {id: "coverage",label: "内容标签",- icon: IO,+ icon: FO,accent: 2,figure: s,detail: c@@ -108496,21 +108616,21 @@ function Smt(e) {/* @__PURE__ */ (0, D.jsx)(B8, {id: "storage",label: "使用空间",- icon: NO,+ icon: MO,accent: 3,figure: `${i.online.toLocaleString()} 个卷`,detail: i.measured ? `已用 ${pn(i.used)}` : "容量未取得"})]}),- /* @__PURE__ */ (0, D.jsx)(qj, {+ /* @__PURE__ */ (0, D.jsx)(Kj, {id: "inventory",- children: /* @__PURE__ */ (0, D.jsx)(mmt, {+ children: /* @__PURE__ */ (0, D.jsx)(bmt, {data: n,...e})}),- /* @__PURE__ */ (0, D.jsxs)(qj, {+ /* @__PURE__ */ (0, D.jsxs)(Kj, {id: "viewing",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsx)(z8, {@@ -108556,9 +108676,9 @@ function Smt(e) {})]})- }), /* @__PURE__ */ (0, D.jsx)(hmt, { data: n })]+ }), /* @__PURE__ */ (0, D.jsx)(xmt, { data: n })]}),- /* @__PURE__ */ (0, D.jsx)(qj, {+ /* @__PURE__ */ (0, D.jsx)(Kj, {id: "coverage",children: /* @__PURE__ */ (0, D.jsx)(z8, {headline: /* @__PURE__ */ (0, D.jsx)(R8, {@@ -108566,10 +108686,10 @@ function Smt(e) {figure: s,unit: c}),- children: /* @__PURE__ */ (0, D.jsx)(gmt, { attribution: n.attribution })+ children: /* @__PURE__ */ (0, D.jsx)(Smt, { attribution: n.attribution })})}),- /* @__PURE__ */ (0, D.jsx)(qj, {+ /* @__PURE__ */ (0, D.jsx)(Kj, {id: "storage",children: /* @__PURE__ */ (0, D.jsx)(z8, {headline: /* @__PURE__ */ (0, D.jsx)(R8, {@@ -108577,7 +108697,7 @@ function Smt(e) {figure: i.measured.toLocaleString(),unit: "个卷已取得容量"}),- children: /* @__PURE__ */ (0, D.jsx)(vmt, {+ children: /* @__PURE__ */ (0, D.jsx)(wmt, {volumes: n.storage_volumes,...e})@@ -108585,55 +108705,55 @@ function Smt(e) {})]}),- /* @__PURE__ */ (0, D.jsxs)(Wj, {+ /* @__PURE__ */ (0, D.jsxs)(Uj, {defaultSelectedKey: "tags",- className: `${GO({ padding: "none" })} flex flex-col`,+ className: `${WO({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, D.jsxs)(SF, {+ children: /* @__PURE__ */ (0, D.jsxs)(xF, {"aria-label": "统计维度",- className: wF,+ className: CF,children: [- /* @__PURE__ */ (0, D.jsx)(Kj, {+ /* @__PURE__ */ (0, D.jsx)(Gj, {id: "tags",- className: TF,+ className: wF,children: "内容标签"}),- /* @__PURE__ */ (0, D.jsx)(Kj, {+ /* @__PURE__ */ (0, D.jsx)(Gj, {id: "recent",- className: TF,+ className: wF,children: "最近看过"}),- /* @__PURE__ */ (0, D.jsx)(Kj, {+ /* @__PURE__ */ (0, D.jsx)(Gj, {id: "sources",- className: TF,+ className: wF,children: "标签来源"})]})}),- /* @__PURE__ */ (0, D.jsx)(qj, {+ /* @__PURE__ */ (0, D.jsx)(Kj, {id: "tags",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, D.jsx)(ymt, {+ children: /* @__PURE__ */ (0, D.jsx)(Tmt, {tags: n.top_tags,hasMedia: a > 0,...e})}),- /* @__PURE__ */ (0, D.jsx)(qj, {+ /* @__PURE__ */ (0, D.jsx)(Kj, {id: "recent",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, D.jsx)(bmt, {+ children: /* @__PURE__ */ (0, D.jsx)(Emt, {rows: n.recent,hasMedia: a > 0})}),- /* @__PURE__ */ (0, D.jsx)(qj, {+ /* @__PURE__ */ (0, D.jsx)(Kj, {id: "sources",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, D.jsx)(xmt, {+ children: /* @__PURE__ */ (0, D.jsx)(Dmt, {sources: n.tag_source,videos: n.attribution.videos})@@ -108644,7 +108764,7 @@ function Smt(e) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function Cmt(e, t) {+function kmt(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion@@ -108656,10 +108776,10 @@ function V8(e) {}//#endregion//#region node_modules/d3-sankey/src/sankey.js-function wmt(e, t) {+function Amt(e, t) {return H8(e.source, t.source) || e.index - t.index;}-function Tmt(e, t) {+function jmt(e, t) {return H8(e.target, t.target) || e.index - t.index;}function H8(e, t) {@@ -108668,38 +108788,38 @@ function H8(e, t) {function U8(e) {return e.value;}-function Emt(e) {+function Mmt(e) {return e.index;}-function Dmt(e) {+function Nmt(e) {return e.nodes;}-function Omt(e) {+function Pmt(e) {return e.links;}-function kmt(e, t) {+function Fmt(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function Amt({ nodes: e }) {+function Imt({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function jmt() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Emt, c = Cmt, l, u, d = Dmt, f = Omt, p = 6;+function Lmt() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Mmt, c = kmt, l, u, d = Nmt, f = Pmt, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), Amt(e), e;+ return h(e), g(e), _(e), v(e), x(e), Imt(e), e;}m.update = function(e) {- return Amt(e), e;+ return Imt(e), e;}, m.nodeId = function(e) {return arguments.length ? (s = typeof e == "function" ? e : V8(e), m) : s;}, m.nodeAlign = function(e) {@@ -108729,7 +108849,7 @@ function jmt() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = kmt(n, t)), typeof i != "object" && (i = r.target = kmt(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = Fmt(n, t)), typeof i != "object" && (i = r.target = Fmt(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}@@ -108841,12 +108961,12 @@ function jmt() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(Tmt);- for (let { target: { targetLinks: t } } of e) t.sort(wmt);+ for (let { source: { sourceLinks: e } } of t) e.sort(jmt);+ for (let { target: { targetLinks: t } } of e) t.sort(Amt);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(Tmt), n.sort(wmt);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(jmt), n.sort(Amt);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -108876,14 +108996,14 @@ function jmt() {}//#endregion//#region node_modules/d3-path/src/path.js-var W8 = Math.PI, G8 = 2 * W8, K8 = 1e-6, Mmt = G8 - K8;+var W8 = Math.PI, G8 = 2 * W8, K8 = 1e-6, Rmt = G8 - K8;function q8() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function Nmt() {+function zmt() {return new q8();}-q8.prototype = Nmt.prototype = {+q8.prototype = zmt.prototype = {constructor: q8,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);@@ -108917,7 +109037,7 @@ q8.prototype = Nmt.prototype = {e = +e, t = +t, n = +n, a = !!a;var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;if (n < 0) throw Error("negative radius: " + n);- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > K8 || Math.abs(this._y1 - l) > K8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % G8 + G8), d > Mmt ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > K8 && (this._ += "A" + n + "," + n + ",0," + +(d >= W8) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > K8 || Math.abs(this._y1 - l) > K8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % G8 + G8), d > Rmt ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > K8 && (this._ += "A" + n + "," + n + ",0," + +(d >= W8) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));},rect: function(e, t, n, r) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";@@ -108928,93 +109048,93 @@ q8.prototype = Nmt.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function Pmt(e) {+function Bmt(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function Fmt(e) {+function Vmt(e) {return e[0];}-function Imt(e) {+function Hmt(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var Lmt = Array.prototype.slice;+var Umt = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function Rmt(e) {+function Wmt(e) {return e.source;}-function zmt(e) {+function Gmt(e) {return e.target;}-function Bmt(e) {- var t = Rmt, n = zmt, r = Fmt, i = Imt, a = null;+function Kmt(e) {+ var t = Wmt, n = Gmt, r = Vmt, i = Hmt, a = null;function o() {- var o, s = Lmt.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = Nmt(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = Umt.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = zmt(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : Pmt(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : Bmt(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : Pmt(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : Bmt(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function Vmt(e, t, n, r, i) {+function qmt(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function Hmt() {- return Bmt(Vmt);+function Jmt() {+ return Kmt(qmt);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function Umt(e) {+function Ymt(e) {return [e.source.x1, e.y0];}-function Wmt(e) {+function Xmt(e) {return [e.target.x0, e.y1];}-function Gmt() {- return Hmt().source(Umt).target(Wmt);+function Zmt() {+ return Jmt().source(Ymt).target(Xmt);}//#endregion//#region src/react/taste/taste.ts-var Kmt = "/api/taste", qmt = "/api/taste/refresh", Jmt = "/api/taste/import", Ymt = "/api/taste/source", J8 = (e) => ["taste", e], Xmt = ["taste", "refresh"], Zmt = [+var Qmt = "/api/taste", $mt = "/api/taste/refresh", eht = "/api/taste/import", tht = "/api/taste/source", J8 = (e) => ["taste", e], nht = ["taste", "refresh"], rht = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], Qmt = (e, t) => U(Ymt, {+], iht = (e, t) => U(tht, {...e,window: t-}), $mt = (e, t) => H(`${Kmt}?window=${e}`, t), eht = (e) => H(qmt, e);-async function tht(e, t) {+}), aht = (e, t) => H(`${Qmt}?window=${e}`, t), oht = (e) => H($mt, e);+async function sht(e, t) {await W.fetchQuery({queryKey: J8(e),- queryFn: () => $mt(e, t)+ queryFn: () => aht(e, t)});}-var nht = (e) => U(qmt, {+var cht = (e) => U($mt, {window: e,background: !0-}), rht = (e, t) => U(Ymt, {+}), lht = (e, t) => U(tht, {operation: "remove",source_key: e,window: t});-async function iht(e) {- let t = await fetch(Jmt, {+async function uht(e) {+ let t = await fetch(eht, {method: "POST",credentials: "same-origin",headers: {@@ -109032,8 +109152,8 @@ async function iht(e) {}return n;}-var aht = 1e4, Y8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function oht(e) {+var dht = 1e4, Y8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function fht(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;if (!e.range_start && !e.range_end) return t;let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {@@ -109042,42 +109162,42 @@ function oht(e) {}) : Y8(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var sht = uUe, cht = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), lht = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function uht(e) {+var pht = gUe, mht = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), hht = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function ght(e) {if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function dht(e) {- let t = e.map(lht), n = Math.max(1, ...t);+function _ht(e) {+ let t = e.map(hht), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var fht = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var vht = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({name: e.name,value: Number(e.score)})).sort((e, t) => t.value - e.value).slice(0, t);-function pht(e) {- let t = fht(e, 6);+function yht(e) {+ let t = vht(e, 6);return t.length < 3 ? [] : t;}-var mht = {+var bht = {width: 720,height: 435-}, hht = {+}, xht = {source: 145,target: 545-}, ght = 30, _ht = 240;-function vht(e, t, n) {+}, Sht = 30, Cht = 240;+function wht(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);return (e) => a.has(e) ? e : o;}-function yht(e = []) {+function Tht(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = vht(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = vht(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = wht(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = wht(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -109086,7 +109206,7 @@ function yht(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * ght + _ht), u = jmt().nodeId((e) => e.id).nodeWidth(10).nodePadding(ght).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Sht + Cht), u = Lmt().nodeId((e) => e.id).nodeWidth(10).nodePadding(Sht).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -109101,7 +109221,7 @@ function yht(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = Gmt();+ }), d = a.reduce((e, t) => e + t.value, 0), f = Zmt();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -109129,14 +109249,14 @@ function yht(e = []) {};}),total: d,- height: l + mht.height - 404+ height: l + bht.height - 404};}-var bht = (e) => vn(e, 17), xht = E.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {+var Eht = (e) => vn(e, 17), Dht = E.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {let c = E.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;if (e === void 0 || t === void 0) return null;switch (o) {- case "border": return /* @__PURE__ */ (0, D.jsx)(Cht, {+ case "border": return /* @__PURE__ */ (0, D.jsx)(kht, {cx: e,cy: t,dotId: c,@@ -109145,7 +109265,7 @@ var bht = (e) => vn(e, 17), xht = E.memo(function({ cx: e, cy: t, dataKey: n, chclassName: i,maskId: s});- case "colored-border": return /* @__PURE__ */ (0, D.jsx)(wht, {+ case "colored-border": return /* @__PURE__ */ (0, D.jsx)(Aht, {cx: e,cy: t,dotId: c,@@ -109154,7 +109274,7 @@ var bht = (e) => vn(e, 17), xht = E.memo(function({ cx: e, cy: t, dataKey: n, chclassName: i,maskId: s});- default: return /* @__PURE__ */ (0, D.jsx)(Sht, {+ default: return /* @__PURE__ */ (0, D.jsx)(Oht, {cx: e,cy: t,dotId: c,@@ -109164,7 +109284,7 @@ var bht = (e) => vn(e, 17), xht = E.memo(function({ cx: e, cy: t, dataKey: n, chmaskId: s});}-}), Sht = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {+}), Oht = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {className: a,mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)("clipPath", {@@ -109184,8 +109304,8 @@ var bht = (e) => vn(e, 17), xht = E.memo(function({ cx: e, cy: t, dataKey: n, chclipPath: `url(#dot-clip-${n})`})]}));-Sht.displayName = "DefaultDot";-var Cht = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {+Oht.displayName = "DefaultDot";+var kht = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {className: n8(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [@@ -109222,8 +109342,8 @@ var Cht = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas}) })]}));-Cht.displayName = "PrimaryBorderDot";-var wht = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {+kht.displayName = "PrimaryBorderDot";+var Aht = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {className: n8(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [@@ -109252,17 +109372,17 @@ var wht = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas})]}));-wht.displayName = "ColoredBorderDot";+Aht.displayName = "ColoredBorderDot";//#endregion//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx-var Tht = 1, Eht = .3, Dht = 6, Oht = 1500, kht = "value", Aht = (0, E.createContext)(null);+var jht = 1, Mht = .3, Nht = 6, Pht = 1500, Fht = "value", Iht = (0, E.createContext)(null);function X8() {- let e = (0, E.use)(Aht);+ let e = (0, E.use)(Iht);if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");return e;}function Z8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {- let u = (0, E.useId)().replace(/:/g, ""), [d, f] = (0, E.useState)(o), p = Ght(c, l), m = (0, E.useCallback)((e) => {+ let u = (0, E.useId)().replace(/:/g, ""), [d, f] = (0, E.useState)(o), p = Zht(c, l), m = (0, E.useCallback)((e) => {f(e), s?.(e);}, [s]), h = (0, E.useMemo)(() => ({config: e,@@ -109275,37 +109395,37 @@ function Z8({ config: e, data: t, children: n, className: r, chartProps: i, backd,m]);- return /* @__PURE__ */ (0, D.jsx)(Aht, {+ return /* @__PURE__ */ (0, D.jsx)(Iht, {value: h,children: /* @__PURE__ */ (0, D.jsxs)(a8, {className: r,config: e,- children: [/* @__PURE__ */ (0, D.jsx)(o8, { isLoading: c }), /* @__PURE__ */ (0, D.jsxs)(cft, {+ children: [/* @__PURE__ */ (0, D.jsx)(o8, { isLoading: c }), /* @__PURE__ */ (0, D.jsxs)(mft, {id: u,data: c ? p : t,...i,children: [a && /* @__PURE__ */ (0, D.jsx)(m8, { variant: a }),n,- c && /* @__PURE__ */ (0, D.jsx)(Kht, {})+ c && /* @__PURE__ */ (0, D.jsx)(Qht, {})]})]})});}-function jht({ dataKey: e, variant: t = "filled", fillOpacity: n = Eht, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {+function Lht({ dataKey: e, variant: t = "filled", fillOpacity: n = Mht, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = X8(), d = (0, E.useId)().replace(/:/g, "");if (c) return null;let f = i && l !== null && l !== e, p = {stroke: f ? .2 : 1,fill: f ? .1 : 1,dot: f ? .2 : 1- }, m = t === "filled", { dot: h, activeDot: g } = zht(a, d, e, p.dot);+ }, m = t === "filled", { dot: h, activeDot: g } = Ght(a, d, e, p.dot);return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(k3, {dataKey: e,stroke: `url(#${d}-radar-stroke-${e})`,strokeOpacity: p.stroke,- strokeWidth: Tht,+ strokeWidth: jht,fill: m ? `url(#${d}-radar-fill-${e})` : "none",fillOpacity: m ? n * p.fill : 0,dot: h,@@ -109318,30 +109438,30 @@ function jht({ dataKey: e, variant: t = "filled", fillOpacity: n = Eht, isGlowin},...o}), /* @__PURE__ */ (0, D.jsxs)("defs", { children: [- /* @__PURE__ */ (0, D.jsx)(Bht, {+ /* @__PURE__ */ (0, D.jsx)(Kht, {id: d,dataKey: e,config: s}),- /* @__PURE__ */ (0, D.jsx)(Vht, {+ /* @__PURE__ */ (0, D.jsx)(qht, {id: d,dataKey: e,config: s}),- m && /* @__PURE__ */ (0, D.jsx)(Hht, {+ m && /* @__PURE__ */ (0, D.jsx)(Jht, {id: d,dataKey: e,config: s}),- r && /* @__PURE__ */ (0, D.jsx)(Uht, {+ r && /* @__PURE__ */ (0, D.jsx)(Yht, {id: d,dataKey: e})] })] });}-var Mht = () => null, Nht = () => null;-function Pht({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {- return /* @__PURE__ */ (0, D.jsx)(stt, {+var Rht = () => null, zht = () => null;+function Bht({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {+ return /* @__PURE__ */ (0, D.jsx)(ptt, {gridType: e,stroke: t,strokeOpacity: n,@@ -109349,7 +109469,7 @@ function Pht({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit...i});}-function Fht({ tick: e = {+function Vht({ tick: e = {fill: "currentColor",fontSize: 12}, tickLine: t = !1, ...n }) {@@ -109360,19 +109480,19 @@ function Fht({ tick: e = {...n});}-function Iht({ tick: e = {+function Hht({ tick: e = {fill: "currentColor",fontSize: 10}, tickLine: t = !1, axisLine: n = !1, ...r }) {let { isLoading: i } = X8();- return i ? null : /* @__PURE__ */ (0, D.jsx)(Ntt, {+ return i ? null : /* @__PURE__ */ (0, D.jsx)(ztt, {tick: e,tickLine: t,axisLine: n,...r});}-function Lht({ variant: e, roundness: t, defaultIndex: n }) {+function Uht({ variant: e, roundness: t, defaultIndex: n }) {let { isLoading: r, selectedDataKey: i } = X8();return r ? null : /* @__PURE__ */ (0, D.jsx)(u8, {defaultIndex: n,@@ -109384,7 +109504,7 @@ function Lht({ variant: e, roundness: t, defaultIndex: n }) {})});}-function Rht({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+function Wht({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {let { isLoading: i, selectedDataKey: a, selectDataKey: o } = X8();return i ? null : /* @__PURE__ */ (0, D.jsx)(f8, {verticalAlign: n,@@ -109397,22 +109517,22 @@ function Rht({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC})});}-var zht = (e, t, n, r) => {+var Ght = (e, t, n, r) => {let i = !1, a = !1;return E.Children.forEach(e, (e) => {if ((0, E.isValidElement)(e)) {- if (e.type === Mht) {+ if (e.type === Rht) {let { variant: a } = e.props;- i = /* @__PURE__ */ (0, D.jsx)(xht, {+ i = /* @__PURE__ */ (0, D.jsx)(Dht, {type: a,dataKey: n,chartId: t,fillOpacity: r});}- if (e.type === Nht) {+ if (e.type === zht) {let { variant: i } = e.props;- a = /* @__PURE__ */ (0, D.jsx)(xht, {+ a = /* @__PURE__ */ (0, D.jsx)(Dht, {type: i,dataKey: n,chartId: t,@@ -109439,7 +109559,7 @@ var zht = (e, t, n, r) => {stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,stopOpacity: n?.[i]}, a);-}) }), Bht = ({ id: e, dataKey: t, config: n }) => {+}) }), Kht = ({ id: e, dataKey: t, config: n }) => {let r = c8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsx)("linearGradient", {id: `${e}-colors-${t}`,@@ -109452,7 +109572,7 @@ var zht = (e, t, n, r) => {colorsCount: r})});-}, Vht = ({ id: e, dataKey: t, config: n }) => {+}, qht = ({ id: e, dataKey: t, config: n }) => {let r = c8(n[t] ?? {});return /* @__PURE__ */ (0, D.jsx)("linearGradient", {id: `${e}-radar-stroke-${t}`,@@ -109465,7 +109585,7 @@ var zht = (e, t, n, r) => {colorsCount: r})});-}, Hht = ({ id: e, dataKey: t, config: n }) => {+}, Jht = ({ id: e, dataKey: t, config: n }) => {let r = c8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);return /* @__PURE__ */ (0, D.jsx)("radialGradient", {id: `${e}-radar-fill-${t}`,@@ -109478,7 +109598,7 @@ var zht = (e, t, n, r) => {opacities: i})});-}, Uht = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)("filter", {+}, Yht = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)("filter", {id: `${e}-radar-glow-${t}`,x: "-50%",y: "-50%",@@ -109498,7 +109618,7 @@ var zht = (e, t, n, r) => {}),/* @__PURE__ */ (0, D.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "SourceGraphic" })] })]-}), Wht = (e) => [+}), Xht = (e) => ["A","B","C",@@ -109507,20 +109627,20 @@ var zht = (e, t, n, r) => {"F"].slice(0, e).map((e) => ({skill: e,- [kht]: 30 + Math.random() * 70+ [Fht]: 30 + Math.random() * 70}));-function Ght(e, t = Dht) {+function Zht(e, t = Nht) {let [n, r] = (0, E.useState)(0);return (0, E.useEffect)(() => {if (!e) return;let t = setInterval(() => {r((e) => e + 1);- }, Oht);+ }, Pht);return () => clearInterval(t);- }, [e]), (0, E.useMemo)(() => Wht(t), [t, n]);+ }, [e]), (0, E.useMemo)(() => Xht(t), [t, n]);}-var Kht = () => /* @__PURE__ */ (0, D.jsx)(k3, {- dataKey: kht,+var Qht = () => /* @__PURE__ */ (0, D.jsx)(k3, {+ dataKey: Fht,stroke: "currentColor",strokeOpacity: .3,strokeWidth: 2,@@ -109528,13 +109648,13 @@ var Kht = () => /* @__PURE__ */ (0, D.jsx)(k3, {fillOpacity: .1,dot: !1,isAnimationActive: !0,- animationDuration: Oht,+ animationDuration: Pht,animationEasing: "ease-in-out"});-Z8.Radar = jht, Z8.Dot = Mht, Z8.ActiveDot = Nht, Z8.PolarGrid = Pht, Z8.PolarAngleAxis = Fht, Z8.PolarRadiusAxis = Iht, Z8.Tooltip = Lht, Z8.Legend = Rht;+Z8.Radar = Lht, Z8.Dot = Rht, Z8.ActiveDot = zht, Z8.PolarGrid = Bht, Z8.PolarAngleAxis = Vht, Z8.PolarRadiusAxis = Hht, Z8.Tooltip = Uht, Z8.Legend = Wht;//#endregion//#region src/react/taste/charts.tsx-function qht(e) {+function $ht(e) {let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;return /* @__PURE__ */ (0, D.jsxs)("g", { children: [/* @__PURE__ */ (0, D.jsx)("title", { children: o }), /* @__PURE__ */ (0, D.jsx)(S4, {...a,@@ -109542,27 +109662,27 @@ function qht(e) {textAnchor: r,fill: "currentColor",fontSize: 12,- children: _pt(o, c - 4)+ children: Cpt(o, c - 4)})] });}-var Jht = [+var egt = ["stroke-chart-1","stroke-chart-2","stroke-chart-3","stroke-chart-4","stroke-chart-5","stroke-chart-6"-], Yht = [+], tgt = ["fill-chart-1","fill-chart-2","fill-chart-3","fill-chart-4","fill-chart-5","fill-chart-6"-], Xht = { value: {+], ngt = { value: {label: "标签出现次数",colors: w8(C8[3])-} }, Zht = [+} }, rgt = ["min-h-24","min-h-24","min-h-24",@@ -109572,27 +109692,27 @@ var Jht = ["min-h-52","min-h-60","min-h-64"-], Qht = 26, $ht = { radius: Xht.value }, egt = (e, t) => Math.sqrt(e / t);-function tgt({ rows: e, label: t }) {- let n = pht(e);+], igt = 26, agt = { radius: ngt.value }, ogt = (e, t) => Math.sqrt(e / t);+function sgt({ rows: e, label: t }) {+ let n = yht(e);if (!n.length) return null;let r = n[0].value, i = n.map((e) => ({...e,- radius: egt(e.value, r)+ radius: ogt(e.value, r)}));return /* @__PURE__ */ (0, D.jsx)("div", {role: "img","aria-label": `${t}:${i.map((e) => e.name).join(",")}`,children: /* @__PURE__ */ (0, D.jsxs)(Z8, {data: i,- config: $ht,+ config: agt,chartProps: { outerRadius: "58%" },className: "aspect-auto h-70 text-text-secondary",children: [/* @__PURE__ */ (0, D.jsx)(Z8.PolarGrid, {}),/* @__PURE__ */ (0, D.jsx)(Z8.PolarAngleAxis, {dataKey: "name",- tick: /* @__PURE__ */ (0, D.jsx)(qht, {})+ tick: /* @__PURE__ */ (0, D.jsx)($ht, {})}),/* @__PURE__ */ (0, D.jsx)(Z8.PolarRadiusAxis, {domain: [0, 1],@@ -109605,18 +109725,18 @@ function tgt({ rows: e, label: t }) {})});}-function ngt({ rows: e, label: t }) {- let n = fht(e, 8);+function cgt({ rows: e, label: t }) {+ let n = vht(e, 8);return n.length ? /* @__PURE__ */ (0, D.jsx)("section", {"aria-label": t,- className: `flex grow flex-col ${Zht[n.length]}`,+ className: `flex grow flex-col ${rgt[n.length]}`,children: /* @__PURE__ */ (0, D.jsxs)(g8, {data: n,- config: Xht,+ config: ngt,layout: "horizontal",barRadius: 4,chartProps: {- maxBarSize: Qht,+ maxBarSize: igt,margin: {top: 5,right: 56,@@ -109630,7 +109750,7 @@ function ngt({ rows: e, label: t }) {dataKey: "name",interval: 0,tick: /* @__PURE__ */ (0, D.jsx)(x8, { along: "y" }),- width: vpt(n.map((e) => e.name))+ width: wpt(n.map((e) => e.name))}),/* @__PURE__ */ (0, D.jsx)(g8.XAxis, {hide: !0,@@ -109641,7 +109761,7 @@ function ngt({ rows: e, label: t }) {enableHoverHighlight: !0,barProps: {dataKey: "value",- label: Tpt("right")+ label: jpt("right")}}),/* @__PURE__ */ (0, D.jsx)(E8, {})@@ -109649,8 +109769,8 @@ function ngt({ rows: e, label: t }) {})}) : null;}-function rgt({ flows: e }) {- let [t, n] = (0, E.useState)(null), r = yht(e);+function lgt({ flows: e }) {+ let [t, n] = (0, E.useState)(null), r = Tht(e);if (!r) return null;let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;return /* @__PURE__ */ (0, D.jsxs)("section", {@@ -109678,7 +109798,7 @@ function rgt({ flows: e }) {/* @__PURE__ */ (0, D.jsx)("div", {className: "min-w-0 max-sm:hidden",children: /* @__PURE__ */ (0, D.jsxs)("svg", {- viewBox: `0 0 ${mht.width} ${r.height}`,+ viewBox: `0 0 ${bht.width} ${r.height}`,fill: "none",role: "img","aria-label": "来源网站与创作者线索",@@ -109692,7 +109812,7 @@ function rgt({ flows: e }) {"aria-label": `${e.label}:${e.value} 条线索`,fillOpacity: 0,strokeOpacity: a(e, e.label) ? .55 : .08,- className: `outline-none transition-opacity ${Jht[e.color]}`,+ className: `outline-none transition-opacity ${egt[e.color]}`,onPointerEnter: () => n({value: e.value,label: e.label,@@ -109726,15 +109846,15 @@ function rgt({ flows: e }) {width: 10,height: e.height,rx: 5,- className: e.side === "source" ? Yht[e.color] : "fill-text-secondary"+ className: e.side === "source" ? tgt[e.color] : "fill-text-secondary"}), /* @__PURE__ */ (0, D.jsxs)("text", {- x: hht[e.side],+ x: xht[e.side],y: e.y + e.height / 2,textAnchor: e.side === "source" ? "end" : "start",dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",- children: [bht(e.name), /* @__PURE__ */ (0, D.jsx)("tspan", {- x: hht[e.side],+ children: [Eht(e.name), /* @__PURE__ */ (0, D.jsx)("tspan", {+ x: xht[e.side],dy: 15,children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`})]@@ -109751,16 +109871,16 @@ function rgt({ flows: e }) {}//#endregion//#region src/react/taste/browser-sources.tsx-var igt = "flex min-w-0 items-center gap-3 rounded-xl bg-background-primary-default p-3";-function agt({ browsers: e, sources: t, range: n, children: r }) {+var ugt = "flex min-w-0 items-center gap-3 rounded-xl bg-background-primary-default p-3";+function dgt({ browsers: e, sources: t, range: n, children: r }) {let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(""), u = bt({- mutationFn: (e) => Qmt(e, n),+ mutationFn: (e) => iht(e, n),onSuccess: (e) => {W.setQueryData(J8(n), e.dashboard), a(!1), s(""), l("");}});return /* @__PURE__ */ (0, D.jsxs)("section", {- className: `${GO()} flex flex-col gap-4`,+ className: `${WO()} flex flex-col gap-4`,"aria-label": "数据源",children: [/* @__PURE__ */ (0, D.jsxs)("div", {@@ -109789,7 +109909,7 @@ function agt({ browsers: e, sources: t, range: n, children: r }) {});},children: [- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "浏览器名称",value: o,onChange: s,@@ -109797,7 +109917,7 @@ function agt({ browsers: e, sources: t, range: n, children: r }) {isRequired: !0,isDisabled: u.isPending}),- /* @__PURE__ */ (0, D.jsx)(iM, {+ /* @__PURE__ */ (0, D.jsx)(rM, {label: "资料目录或历史文件",value: c,onChange: l,@@ -109831,11 +109951,11 @@ function agt({ browsers: e, sources: t, range: n, children: r }) {let n = t.filter((t) => e.source_keys?.includes(t.source_key)), r = n.reduce((e, t) => e + (t.visits || 0), 0), i = n.reduce((e, t) => e + (t.bookmarks || 0), 0);return /* @__PURE__ */ (0, D.jsxs)("div", {"data-taste-source": "browser",- className: igt,+ className: ugt,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",- children: /* @__PURE__ */ (0, D.jsx)(OO, {+ children: /* @__PURE__ */ (0, D.jsx)(DO, {"aria-hidden": !0,className: "size-4"})@@ -109873,7 +109993,7 @@ function agt({ browsers: e, sources: t, range: n, children: r }) {size: "small",...Y(u.isPending),iconOnly: !0,- leadingIcon: e.enabled ? Yge : FO,+ leadingIcon: e.enabled ? Xge : PO,"aria-label": `${e.enabled ? "停止读取" : "启用"} ${e.name}`,onClick: () => {e.enabled ? Ys({@@ -109893,7 +110013,7 @@ function agt({ browsers: e, sources: t, range: n, children: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: AO,+ leadingIcon: kO,...Y(u.isPending),"aria-label": `删除 ${e.name}`,onClick: () => {@@ -109919,18 +110039,18 @@ function agt({ browsers: e, sources: t, range: n, children: r }) {}//#endregion//#region src/react/taste/taste-page.tsx-var ogt = 10, $8 = hO(bN, xN, "text-body-2-medium"), e5 = `${GO()} flex flex-col gap-4`, sgt = "rounded-xl bg-background-primary-default p-3", cgt = "读取运行 Peach 的这台电脑上的浏览历史与书签", lgt = "导入或读取浏览记录后,这里会列出记录来自哪些设备。", ugt = "馆藏中暂时没有与你浏览过的内容相符的标签。", dgt = "读取浏览记录后,这里会按类别汇总你浏览过的内容。", fgt = "这些标签出现在浏览记录中,Peach 的观看或评价记录中尚未出现这些标签", pgt = "采集浏览记录后,这里会列出浏览过的标签。", mgt = "采集浏览记录后,这里会列出浏览过的创作者。", hgt = "采集浏览记录后,这里会列出常访问的网站。", ggt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", _gt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", vgt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", ygt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器记录」。", bgt = "记录在其他设备上:导出文件后,选择「导入历史文件」或「导入书签文件」。书签支持浏览器导出的 HTML 文件和 Chromium Bookmarks JSON 文件。", xgt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Sgt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", Cgt = "peach-taste-guide-dismissed", wgt = (0, E.createContext)(/* @__PURE__ */ (0, D.jsx)(HO, {+var fgt = 10, $8 = mO(yN, bN, "text-body-2-medium"), e5 = `${WO()} flex flex-col gap-4`, pgt = "rounded-xl bg-background-primary-default p-3", mgt = "读取运行 Peach 的这台电脑上的浏览历史与书签", hgt = "导入或读取浏览记录后,这里会列出记录来自哪些设备。", ggt = "馆藏中暂时没有与你浏览过的内容相符的标签。", _gt = "读取浏览记录后,这里会按类别汇总你浏览过的内容。", vgt = "这些标签出现在浏览记录中,Peach 的观看或评价记录中尚未出现这些标签", ygt = "采集浏览记录后,这里会列出浏览过的标签。", bgt = "采集浏览记录后,这里会列出浏览过的创作者。", xgt = "采集浏览记录后,这里会列出常访问的网站。", Sgt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Cgt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", wgt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Tgt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器记录」。", Egt = "记录在其他设备上:导出文件后,选择「导入历史文件」或「导入书签文件」。书签支持浏览器导出的 HTML 文件和 Chromium Bookmarks JSON 文件。", Dgt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Ogt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", kgt = "peach-taste-guide-dismissed", Agt = (0, E.createContext)(/* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/",children: "浏览馆藏"}));-function Tgt() {- return (0, E.useContext)(wgt);+function jgt() {+ return (0, E.useContext)(Agt);}function t5({ icon: e, term: t, figure: n, detail: r, detailTitle: i, accent: a }) {return /* @__PURE__ */ (0, D.jsx)("div", {- className: fV(),- children: /* @__PURE__ */ (0, D.jsx)(gV, {+ className: dV(),+ children: /* @__PURE__ */ (0, D.jsx)(hV, {label: t,icon: e,accent: a,@@ -109943,7 +110063,7 @@ function t5({ icon: e, term: t, figure: n, detail: r, detailTitle: i, accent: a})});}-function Egt({ name: e, domain: t }) {+function Mgt({ name: e, domain: t }) {return /* @__PURE__ */ (0, D.jsxs)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",children: [_n(e).toUpperCase(), /* @__PURE__ */ (0, D.jsx)("img", {@@ -109957,23 +110077,23 @@ function Egt({ name: e, domain: t }) {})]});}-function Dgt({ html: e }) {+function Ngt({ html: e }) {return /* @__PURE__ */ (0, D.jsx)("span", {- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${VV}`,+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${BV}`,dangerouslySetInnerHTML: { __html: e }});}-function Ogt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {- if (!e.length) return /* @__PURE__ */ (0, D.jsx)(YO, {+function Pgt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {+ if (!e.length) return /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: RO,+ icon: LO,title: "记录还不够",- actions: /* @__PURE__ */ (0, D.jsx)(Tgt, {}),+ actions: /* @__PURE__ */ (0, D.jsx)(jgt, {}),children: r});- let a = dht(e);- return /* @__PURE__ */ (0, D.jsx)(Ipt, {- previewCount: ogt,+ let a = _ht(e);+ return /* @__PURE__ */ (0, D.jsx)(Hpt, {+ previewCount: fgt,className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",children: e.map((e, r) => {let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [@@ -109992,15 +110112,15 @@ function Ogt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: r + 1}),- n === "domain" ? /* @__PURE__ */ (0, D.jsx)(Egt, {+ n === "domain" ? /* @__PURE__ */ (0, D.jsx)(Mgt, {name: e.name,domain: e.name}) : null,- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, D.jsx)(Egt, {+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, D.jsx)(Mgt, {name: e.name,domain: s}) : null,- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, D.jsx)(Dgt, { html: Da(e.name, e.entity_id ? {+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, D.jsx)(Ngt, { html: Da(e.name, e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,image_version: e.image_version,@@ -110014,10 +110134,10 @@ function Ogt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {children: e.name}), /* @__PURE__ */ (0, D.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: uht(e)+ children: ght(e)})]}),- o ? /* @__PURE__ */ (0, D.jsx)(EO, {+ o ? /* @__PURE__ */ (0, D.jsx)(TO, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"}) : null@@ -110037,31 +110157,31 @@ function Ogt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {})});}-function kgt({ label: e, panels: t, onSignal: n }) {- return /* @__PURE__ */ (0, D.jsxs)(Wj, {- className: `${GO({ padding: "none" })} flex flex-col`,+function Fgt({ label: e, panels: t, onSignal: n }) {+ return /* @__PURE__ */ (0, D.jsxs)(Uj, {+ className: `${WO({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, D.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, D.jsx)(SF, {+ children: /* @__PURE__ */ (0, D.jsx)(xF, {"aria-label": e,- className: wF,- children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(Kj, {+ className: CF,+ children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(Gj, {id: e.id,- className: TF,+ className: wF,children: e.name}, e.id))})- }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(qj, {+ }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(Kj, {id: e.id,className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, D.jsx)(Ogt, {+ children: /* @__PURE__ */ (0, D.jsx)(Pgt, {...e.props,onSignal: n})}, e.id))]});}-function Agt({ data: e, onSignal: t, navigate: n }) {+function Igt({ data: e, onSignal: t, navigate: n }) {let r = e.analysis;if (!r?.headline) return null;let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({@@ -110105,7 +110225,7 @@ function Agt({ data: e, onSignal: t, navigate: n }) {r.points?.length ? /* @__PURE__ */ (0, D.jsx)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: r.points.map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {- className: `flex min-w-0 flex-col gap-1 ${sgt}`,+ className: `flex min-w-0 flex-col gap-1 ${pgt}`,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: e.label@@ -110120,7 +110240,7 @@ function Agt({ data: e, onSignal: t, navigate: n }) {children: a.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {type: "button",onClick: e.act,- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${sgt} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${pgt} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [/* @__PURE__ */ (0, D.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-1",children: [/* @__PURE__ */ (0, D.jsx)("b", {@@ -110130,49 +110250,49 @@ function Agt({ data: e, onSignal: t, navigate: n }) {className: "text-caption-1-regular wrap-anywhere text-text-secondary",children: e.detail})]- }), /* @__PURE__ */ (0, D.jsx)(EO, {+ }), /* @__PURE__ */ (0, D.jsx)(TO, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"})]}, e.key))- }) : /* @__PURE__ */ (0, D.jsx)(YO, {+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: RO,+ icon: LO,title: "还没有可探索的入口",- actions: /* @__PURE__ */ (0, D.jsx)(HO, {+ actions: /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",href: "/",children: "浏览馆藏"}),- children: ugt+ children: ggt})]});}-function jgt({ onboarding: e, done: t }) {+function Lgt({ onboarding: e, done: t }) {let [n, r] = (0, E.useState)(() => {try {- return localStorage.getItem(Cgt) === "1";+ return localStorage.getItem(kgt) === "1";} catch {return !1;}});return t || n ? null : /* @__PURE__ */ (0, D.jsx)("div", {- className: GO({+ className: WO({padding: "none",className: "p-4"}),- children: /* @__PURE__ */ (0, D.jsxs)(mk, {+ children: /* @__PURE__ */ (0, D.jsxs)(pk, {summary: "浏览器历史记录导入指南",defaultOpen: e,children: [/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: ygt+ children: Tgt}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: bgt+ children: Egt}),/* @__PURE__ */ (0, D.jsxs)("ul", {className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",@@ -110183,7 +110303,7 @@ function jgt({ onboarding: e, done: t }) {target: "_blank",rel: "noopener noreferrer",className: "text-text-primary underline-offset-4 hover:underline",- children: ["Google Takeout", /* @__PURE__ */ (0, D.jsx)(jO, {+ children: ["Google Takeout", /* @__PURE__ */ (0, D.jsx)(AO, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"})]@@ -110197,7 +110317,7 @@ function jgt({ onboarding: e, done: t }) {target: "_blank",rel: "noopener noreferrer",className: "text-text-primary underline-offset-4 hover:underline",- children: ["browserexport", /* @__PURE__ */ (0, D.jsx)(jO, {+ children: ["browserexport", /* @__PURE__ */ (0, D.jsx)(AO, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"})]@@ -110208,7 +110328,7 @@ function jgt({ onboarding: e, done: t }) {}),/* @__PURE__ */ (0, D.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: xgt+ children: Dgt}),/* @__PURE__ */ (0, D.jsx)("span", {className: "self-start",@@ -110217,7 +110337,7 @@ function jgt({ onboarding: e, done: t }) {size: "small",onClick: () => {try {- localStorage.setItem(Cgt, "1");+ localStorage.setItem(kgt, "1");} catch {}r(!0);},@@ -110228,7 +110348,7 @@ function jgt({ onboarding: e, done: t }) {})});}-function Mgt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {+function Rgt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), s = (e) => {o(!1), e();};@@ -110237,15 +110357,15 @@ function Mgt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, D.jsx)(q, {- leadingIcon: OO,- title: cgt,+ leadingIcon: DO,+ title: mgt,onClick: t,...Y(e),children: "读取浏览器记录"}), /* @__PURE__ */ (0, D.jsx)(q, {ref: i,iconOnly: !0,- leadingIcon: wO,+ leadingIcon: CO,"aria-label": "更多取得浏览记录的方式","aria-haspopup": "dialog","aria-expanded": a,@@ -110254,14 +110374,14 @@ function Mgt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {e || o(!0);}})]- }), /* @__PURE__ */ (0, D.jsx)(UA, {+ }), /* @__PURE__ */ (0, D.jsx)(HA, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom end",offset: 4,- className: yN,- children: /* @__PURE__ */ (0, D.jsxs)(UP, {+ className: vN,+ children: /* @__PURE__ */ (0, D.jsxs)(HP, {"aria-label": "更多取得浏览记录的方式",className: "flex w-52 flex-col gap-1 outline-none",children: [@@ -110269,7 +110389,7 @@ function Mgt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {type: "button",className: $8,onClick: () => s(t),- children: [/* @__PURE__ */ (0, D.jsx)(OO, {+ children: [/* @__PURE__ */ (0, D.jsx)(DO, {"aria-hidden": !0,className: "size-4 shrink-0"}), "读取浏览器记录"]@@ -110278,7 +110398,7 @@ function Mgt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {type: "button",className: $8,onClick: () => s(n),- children: [/* @__PURE__ */ (0, D.jsx)(n_e, {+ children: [/* @__PURE__ */ (0, D.jsx)(r_e, {"aria-hidden": !0,className: "size-4 shrink-0"}), "导入历史文件"]@@ -110287,7 +110407,7 @@ function Mgt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {type: "button",className: $8,onClick: () => s(r),- children: [/* @__PURE__ */ (0, D.jsx)(Cge, {+ children: [/* @__PURE__ */ (0, D.jsx)(wge, {"aria-hidden": !0,className: "size-4 shrink-0"}), "导入书签文件"]@@ -110296,14 +110416,14 @@ function Mgt({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {})})] });}-function Ngt({ sources: e, browsers: t, window: n, toast: r, emptyActions: i }) {+function zgt({ sources: e, browsers: t, window: n, toast: r, emptyActions: i }) {let a = bt({- mutationFn: (e) => rht(e, n),+ mutationFn: (e) => lht(e, n),onSuccess: (e) => {W.setQueryData(J8(n), e.dashboard), r("已移除口味数据源");}});- return /* @__PURE__ */ (0, D.jsxs)(agt, {+ return /* @__PURE__ */ (0, D.jsxs)(dgt, {browsers: t,sources: e,range: n,@@ -110315,14 +110435,14 @@ function Ngt({ sources: e, browsers: t, window: n, toast: r, emptyActions: i })})}) : null, e.length ? /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: e.filter((e) => !t.some((t) => t.source_keys?.includes(e.source_key))).map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {"data-taste-source": "import",- className: igt,+ className: ugt,children: [/* @__PURE__ */ (0, D.jsx)("span", {className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, D.jsx)(n_e, {+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, D.jsx)(r_e, {"aria-hidden": !0,className: "size-4"- }) : /* @__PURE__ */ (0, D.jsx)(kO, {+ }) : /* @__PURE__ */ (0, D.jsx)(OO, {"aria-hidden": !0,className: "size-4"})@@ -110343,42 +110463,42 @@ function Ngt({ sources: e, browsers: t, window: n, toast: r, emptyActions: i })"aria-label": `移除 ${e.profile}`,className: "shrink-0",iconOnly: !0,- leadingIcon: AO,+ leadingIcon: kO,...Y(a.isPending),onClick: () => {a.isPending || Ys({title: "移除口味数据源",- body: Sgt,+ body: Ogt,confirmLabel: "移除口味数据源",onConfirm: () => a.mutateAsync(e.source_key)});}})]- }, e.source_key)) }) : t.length ? null : /* @__PURE__ */ (0, D.jsx)(YO, {+ }, e.source_key)) }) : t.length ? null : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: kO,+ icon: OO,title: "还没有数据源",actions: i,- children: lgt+ children: hgt})]});}-function Pgt(e) {+function Bgt(e) {let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, E.useState)("all"), [s, c] = (0, E.useState)("browser"), l = (0, E.useRef)(null), u = (0, E.useRef)(null), d = yt({queryKey: J8(a),- queryFn: ({ signal: e }) => $mt(a, e),+ queryFn: ({ signal: e }) => aht(a, e),placeholderData: he- }), { job: f, running: p, outcome: m, start: h } = PV({- queryKey: Xmt,- queryFn: ({ signal: e }) => eht(e),- start: () => nht(a),- idlePollMs: aht,+ }), { job: f, running: p, outcome: m, start: h } = NV({+ queryKey: nht,+ queryFn: ({ signal: e }) => oht(e),+ start: () => cht(a),+ idlePollMs: dht,onFinish: (e) => {e.status !== "failed" && (W.invalidateQueries({ queryKey: ["taste"] }), r(e.warnings?.length ? "部分浏览记录未取得" : "已更新口味分析"));}}), g = bt({- mutationFn: (e) => iht(e),+ mutationFn: (e) => uht(e),onSuccess: (e) => {W.setQueryData(J8("all"), e.dashboard), o("all"), r("已导入口味数据");}@@ -110388,12 +110508,12 @@ function Pgt(e) {}, v = () => {p || h.isPending || (h.reset(), h.mutate());}, y = d.data;- if (!y) return /* @__PURE__ */ (0, D.jsx)(ZO, { children: /* @__PURE__ */ (0, D.jsx)(J, {+ if (!y) return /* @__PURE__ */ (0, D.jsx)(XO, { children: /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",title: "口味分析读取失败",children: d.error ? V(d.error) : "读取口味分析失败"}) });- let b = y.summary || {}, x = y.coverage || {}, S = y.rankings || {}, C = y.storage || {}, w = cht(S.browser_categories || []), T = pht(w).length > 0, O = y.gaps || [], k = x.tagged || 0, A = x.identified || 0, j = h.error ? V(h.error) : g.error ? V(g.error) : m?.status === "failed" ? m.error || "读取未取得" : "", M = /* @__PURE__ */ (0, D.jsxs)("div", {+ let b = y.summary || {}, x = y.coverage || {}, S = y.rankings || {}, C = y.storage || {}, w = mht(S.browser_categories || []), T = yht(w).length > 0, O = y.gaps || [], k = x.tagged || 0, A = x.identified || 0, j = h.error ? V(h.error) : g.error ? V(g.error) : m?.status === "failed" ? m.error || "读取未取得" : "", M = /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap justify-center gap-2",children: [/* @__PURE__ */ (0, D.jsx)(q, {variant: "secondary",@@ -110407,8 +110527,8 @@ function Pgt(e) {children: "导入历史文件"})]});- return /* @__PURE__ */ (0, D.jsx)(ZO, { children: /* @__PURE__ */ (0, D.jsxs)(wgt, {- value: a === "all" ? s === "peach" ? /* @__PURE__ */ (0, D.jsx)(HO, {+ return /* @__PURE__ */ (0, D.jsx)(XO, { children: /* @__PURE__ */ (0, D.jsxs)(Agt, {+ value: a === "all" ? s === "peach" ? /* @__PURE__ */ (0, D.jsx)(VO, {size: "small",variant: "secondary",href: "/",@@ -110420,40 +110540,40 @@ function Pgt(e) {children: "查看全部时间"}),children: [- /* @__PURE__ */ (0, D.jsxs)(Wj, {+ /* @__PURE__ */ (0, D.jsxs)(Uj, {selectedKey: s,onSelectionChange: (e) => c(String(e)),className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-3",- children: [/* @__PURE__ */ (0, D.jsxs)(SF, {+ children: [/* @__PURE__ */ (0, D.jsxs)(xF, {"aria-label": "口味分析的数据来源",- className: wF,- children: [/* @__PURE__ */ (0, D.jsx)(Kj, {+ className: CF,+ children: [/* @__PURE__ */ (0, D.jsx)(Gj, {id: "browser",- className: TF,+ className: wF,children: "浏览器记录"- }), /* @__PURE__ */ (0, D.jsx)(Kj, {+ }), /* @__PURE__ */ (0, D.jsx)(Gj, {id: "peach",- className: TF,+ className: wF,children: "Peach 观看与评价"})]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, D.jsx)(hF, {+ /* @__PURE__ */ (0, D.jsx)(mF, {"aria-label": "分析范围",selectedKey: a,onSelectionChange: (e) => {e !== null && o(String(e));},- children: Zmt.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(gF, {+ children: rht.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(hF, {id: e,children: t}, e))}),- /* @__PURE__ */ (0, D.jsx)(Mgt, {+ /* @__PURE__ */ (0, D.jsx)(Rgt, {busy: p || h.isPending || g.isPending,onRefresh: v,onImport: () => l.current?.click(),@@ -110479,7 +110599,7 @@ function Pgt(e) {]})]}),- /* @__PURE__ */ (0, D.jsx)(jgt, {+ /* @__PURE__ */ (0, D.jsx)(Lgt, {onboarding: i,done: !!(b.history_sources || y.updated_at)}),@@ -110487,12 +110607,12 @@ function Pgt(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- p ? /* @__PURE__ */ (0, D.jsx)(ZP, {+ p ? /* @__PURE__ */ (0, D.jsx)(XP, {label: f?.message || "正在读取浏览记录并更新口味分析",value: f?.checked,total: f?.total}) : null,- g.isPending ? /* @__PURE__ */ (0, D.jsx)(ZP, { label: "正在导入口味数据" }) : null,+ g.isPending ? /* @__PURE__ */ (0, D.jsx)(XP, { label: "正在导入口味数据" }) : null,j ? /* @__PURE__ */ (0, D.jsx)(J, {tone: "error",children: j@@ -110503,37 +110623,37 @@ function Pgt(e) {}) : null]}),- /* @__PURE__ */ (0, D.jsxs)(qj, {+ /* @__PURE__ */ (0, D.jsxs)(Kj, {id: "browser",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: pV,+ className: fV,children: [/* @__PURE__ */ (0, D.jsx)(t5, {accent: 0,- icon: PO,+ icon: NO,term: "浏览记录",figure: Number(b.history_visits || 0).toLocaleString(),- detail: oht(b),+ detail: fht(b),detailTitle: `${Y8(b.range_start)}—${Y8(b.range_end)}`}),/* @__PURE__ */ (0, D.jsx)(t5, {accent: 1,- icon: IO,+ icon: FO,term: "口味维度",figure: w.length.toLocaleString(),detail: w[0]?.name || "尚无主维度"}),/* @__PURE__ */ (0, D.jsx)(t5, {accent: 2,- icon: RO,+ icon: LO,term: "浏览线索",figure: O.length.toLocaleString()}),/* @__PURE__ */ (0, D.jsx)(t5, {accent: 3,- icon: Cge,+ icon: wge,term: "浏览器书签",figure: Number(b.bookmarks || 0).toLocaleString(),detail: `${Number(C.exports || 0).toLocaleString()} 份私有导出 · ${pn(C.bytes || 0)}`@@ -110550,7 +110670,7 @@ function Pgt(e) {className: "text-caption-1-regular text-text-secondary",children: "浏览器画像"}),- T ? /* @__PURE__ */ (0, D.jsx)(tgt, {+ T ? /* @__PURE__ */ (0, D.jsx)(sgt, {rows: w,label: "主要口味维度"}) : null,@@ -110561,19 +110681,19 @@ function Pgt(e) {]}), /* @__PURE__ */ (0, D.jsx)("div", {className: "flex min-w-0 grow flex-col",- children: w.length ? /* @__PURE__ */ (0, D.jsx)(ngt, {+ children: w.length ? /* @__PURE__ */ (0, D.jsx)(cgt, {rows: w,label: "口味维度排名"- }) : /* @__PURE__ */ (0, D.jsx)(YO, {+ }) : /* @__PURE__ */ (0, D.jsx)(JO, {size: "compact",- icon: RO,+ icon: LO,title: "暂无口味维度",- actions: /* @__PURE__ */ (0, D.jsx)(Tgt, {}),- children: dgt+ actions: /* @__PURE__ */ (0, D.jsx)(jgt, {}),+ children: _gt})})]}),- /* @__PURE__ */ (0, D.jsx)(Fpt, {+ /* @__PURE__ */ (0, D.jsx)(Vpt, {activity: y.activity,title: "浏览活跃时间",dailyTitle: "每日活跃",@@ -110585,8 +110705,8 @@ function Pgt(e) {tone: 4,empty: "还没有可用于分析的口味网站访问记录。"}),- /* @__PURE__ */ (0, D.jsx)(rgt, { flows: y.creator_flows }),- /* @__PURE__ */ (0, D.jsx)(kgt, {+ /* @__PURE__ */ (0, D.jsx)(lgt, { flows: y.creator_flows }),+ /* @__PURE__ */ (0, D.jsx)(Fgt, {label: "浏览器口味维度",onSignal: t,panels: [@@ -110597,7 +110717,7 @@ function Pgt(e) {rows: S.browser_tags || [],kind: "tag",visual: "none",- empty: pgt+ empty: ygt}},{@@ -110607,7 +110727,7 @@ function Pgt(e) {rows: S.browser_creators || [],kind: "creator",visual: "creator",- empty: mgt+ empty: bgt}},{@@ -110627,7 +110747,7 @@ function Pgt(e) {rows: S.domains || [],kind: "",visual: "domain",- empty: hgt+ empty: xgt}},{@@ -110637,42 +110757,42 @@ function Pgt(e) {rows: O,kind: "",visual: "none",- empty: fgt+ empty: vgt}}]})]}),- /* @__PURE__ */ (0, D.jsxs)(qj, {+ /* @__PURE__ */ (0, D.jsxs)(Kj, {id: "peach",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, D.jsxs)("div", {- className: pV,+ className: fV,children: [/* @__PURE__ */ (0, D.jsx)(t5, {accent: 0,- icon: Nge,+ icon: Pge,term: "Peach 看过",figure: Number(b.peach_items || 0).toLocaleString(),- detail: sht(b.peach_seconds || 0)+ detail: pht(b.peach_seconds || 0)}),/* @__PURE__ */ (0, D.jsx)(t5, {accent: 1,- icon: t_e,+ icon: n_e,term: "喜欢",figure: Number(b.liked || 0).toLocaleString()}),/* @__PURE__ */ (0, D.jsx)(t5, {accent: 2,- icon: e_e,+ icon: t_e,term: "不合口味",figure: Number(b.disliked || 0).toLocaleString()}),/* @__PURE__ */ (0, D.jsx)(t5, {accent: 3,- icon: IO,+ icon: FO,term: "有标签",figure: k.toLocaleString()})@@ -110699,18 +110819,18 @@ function Pgt(e) {]}), /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex min-w-0 grow flex-col",- children: [/* @__PURE__ */ (0, D.jsx)(Fgt, {+ children: [/* @__PURE__ */ (0, D.jsx)(Vgt, {term: "有标签",value: k,rest: x.untagged || 0- }), /* @__PURE__ */ (0, D.jsx)(Fgt, {+ }), /* @__PURE__ */ (0, D.jsx)(Vgt, {term: "有身份",value: A,rest: x.unidentified || 0})]})]}),- /* @__PURE__ */ (0, D.jsx)(kgt, {+ /* @__PURE__ */ (0, D.jsx)(Fgt, {label: "Peach 口味维度",onSignal: t,panels: [@@ -110721,7 +110841,7 @@ function Pgt(e) {rows: S.peach_tags || [],kind: "tag",visual: "none",- empty: ggt+ empty: Sgt}},{@@ -110731,7 +110851,7 @@ function Pgt(e) {rows: S.peach_creators || [],kind: "creator",visual: "creator",- empty: _gt+ empty: Cgt}},{@@ -110741,7 +110861,7 @@ function Pgt(e) {rows: S.peach_performers || [],kind: "performer",visual: "entity",- empty: vgt+ empty: wgt}}]@@ -110750,12 +110870,12 @@ function Pgt(e) {})]}),- /* @__PURE__ */ (0, D.jsx)(Agt, {+ /* @__PURE__ */ (0, D.jsx)(Igt, {data: y,onSignal: t,navigate: n}),- /* @__PURE__ */ (0, D.jsx)(Ngt, {+ /* @__PURE__ */ (0, D.jsx)(zgt, {sources: y.sources || [],browsers: y.browsers || [],window: a,@@ -110765,7 +110885,7 @@ function Pgt(e) {]}) });}-function Fgt({ term: e, value: t, rest: n }) {+function Vgt({ term: e, value: t, rest: n }) {let r = Math.max(t + n, 1);return /* @__PURE__ */ (0, D.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -110778,7 +110898,7 @@ function Fgt({ term: e, value: t, rest: n }) {children: `${n.toLocaleString()} 项待补`})]})]- }), /* @__PURE__ */ (0, D.jsx)($O, {+ }), /* @__PURE__ */ (0, D.jsx)(QO, {label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,value: t,max: r@@ -110793,7 +110913,7 @@ var n5 = {studios: "厂牌",agencies: "事务所",tags: "标签"-}, Igt = [[+}, Hgt = [["big","大图 · 竖幅头像","maximize"@@ -110801,7 +110921,7 @@ var n5 = {"compact","紧凑 · 圆形头像","layout-grid"-]], Lgt = [[+]], Ugt = [["big","大图 · 完整标识","maximize"@@ -110809,7 +110929,7 @@ var n5 = {"compact","紧凑 · 圆形标识","layout-grid"-]], Rgt = [[+]], Wgt = [["studios","厂牌","clapperboard"@@ -110817,7 +110937,7 @@ var n5 = {"agencies","事务所","briefcase"-]], zgt = [[+]], Ggt = [["local","本地","hard-drive"@@ -110825,7 +110945,7 @@ var n5 = {"online","在线","rss"-]], Bgt = [+]], Kgt = [["performers","艺人",@@ -110841,7 +110961,7 @@ var n5 = {"在线","rss"]-], Vgt = [[+], qgt = [["cloud","标签云","tags"@@ -110849,8 +110969,8 @@ var n5 = {"alphabet","字母表","text-aa"-]], Hgt = (e) => e === "compact" ? "compact" : "big";-function Ugt(e, t) {+]], Jgt = (e) => e === "compact" ? "compact" : "big";+function Ygt(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -110868,12 +110988,12 @@ var r5 = (e, t, n) => see(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), Wgt = (e) => `<div class="board-filter-frame" data-filter-frame>+}), Xgt = (e) => `<div class="board-filter-frame" data-filter-frame><div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div><div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>- ${Vs("tag-view", "标签视图", Vgt, e)}</div></div>`;-function Ggt({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = n5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Vs("people-layout", o + "索引版式", c ? Lgt : Igt, a) : "";+ ${Vs("tag-view", "标签视图", qgt, e)}</div></div>`;+function Zgt({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = n5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Vs("people-layout", o + "索引版式", c ? Ugt : Hgt, a) : "";return `<div class="ihead peach-react" data-index-head><h2 class="disp indexheading">${o}</h2>${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}@@ -110885,27 +111005,27 @@ function Ggt({ kind: e, q: t, scope: n, view: r, category: i }, a) {}) : ""}<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Mo("", t, "过滤" + o)}</div></div>- ${e === "tags" ? r5(zgt, n, "词表") : e === "performers" || e === "creators" ? r5(Bgt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? r5(Rgt, e, "公司类型") : ""}- ${e === "tags" ? Wgt(r) : ""}- ${e === "performers" && n !== "online" ? kje(i) : ""}+ ${e === "tags" ? r5(Ggt, n, "词表") : e === "performers" || e === "creators" ? r5(Kgt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? r5(Wgt, e, "公司类型") : ""}+ ${e === "tags" ? Xgt(r) : ""}+ ${e === "performers" && n !== "online" ? Aje(i) : ""}${as({kind: e,layout: a,mode: r})}`;}-var Kgt = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function qgt(e, t, n) {- let r = Ggt(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== Kgt(r) && (e.innerHTML = r, fs(e));+var Qgt = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function $gt(e, t, n) {+ let r = Zgt(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== Qgt(r) && (e.innerHTML = r, fs(e));}//#endregion//#region src/react/router/pages/index-entity.tsx-var Jgt = () => pl, Ygt = () => Qc, i5 = () => document.getElementById("index");+var e_t = () => pl, t_t = () => Qc, i5 = () => document.getElementById("index");function a5(e, t, n = {}) {- let r = (0, E.useSyncExternalStore)(wl, Jgt);- oN();- let i = RN(_P.navigation.location.pathname), a = (0, E.useRef)({+ let r = (0, E.useSyncExternalStore)(wl, e_t);+ aN();+ let i = LN(gP.navigation.location.pathname), a = (0, E.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -110930,7 +111050,7 @@ function a5(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== pl, r = t.opens !== pl;- if (t.epoch = e, t.opens = pl, RN(_P.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = pl, LN(gP.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -110951,13 +111071,13 @@ function a5(e, t, n = {}) {i]);}-async function Xgt(e, t, n, r) {+async function n_t(e, t, n, r) {let i = i5();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = Ugt(t, n), s = Hgt(qT().value.peopleLayout);- qgt(i, o, s), await oP(a, {+ let o = Ygt(t, n), s = Jgt(KT().value.peopleLayout);+ $gt(i, o, s), await aP(a, {...o,layout: s,selectMode: Qc,@@ -110967,23 +111087,23 @@ async function Xgt(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function Zgt(e) {- let t = i5(), n = t ? nP(t) : null;+function r_t(e) {+ let t = i5(), n = t ? tP(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function Qgt({ epoch: e }) {- let t = (0, E.useContext)(pF), n = oN(), r = n.pathname.split("/").filter(Boolean)[0];+function i_t({ epoch: e }) {+ let t = (0, E.useContext)(fF), n = aN(), r = n.pathname.split("/").filter(Boolean)[0];return a5(e, (e, i) => {- t && Xgt(t, r, n.search, i);- }, { shown: () => Zgt(`/${r}`) }), null;+ t && n_t(t, r, n.search, i);+ }, { shown: () => r_t(`/${r}`) }), null;}-function $gt() {- let e = fF(), t = (0, E.useSyncExternalStore)(wl, Ygt), n = (0, E.useRef)(t);+function a_t() {+ let e = dF(), t = (0, E.useSyncExternalStore)(wl, t_t), n = (0, E.useRef)(t);return (0, E.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && sP(i5(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, D.jsx)(Qgt, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && oP(i5(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, D.jsx)(i_t, { epoch: e }, e);}-function e_t(e) {+function o_t(e) {let t;try {t = decodeURIComponent(e);@@ -110997,9 +111117,9 @@ function e_t(e) {name: a} : null;}-var t_t = /* @__PURE__ */ new WeakMap();-function n_t(e) {- let t = t_t.get(e);+var s_t = /* @__PURE__ */ new WeakMap();+function c_t(e) {+ let t = s_t.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -111009,13 +111129,13 @@ function n_t(e) {...e.grid.actions,revealSource: e.revealSource}- }, t_t.set(e, t)), t;+ }, s_t.set(e, t)), t;}-function r_t() {- let e = i5(), t = e ? nP(e) : null;+function l_t() {+ let e = i5(), t = e ? tP(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function i_t(e, t, n, r, i, a, o) {+async function u_t(e, t, n, r, i, a, o) {let s = i5();if (!s) return;let { segment: c, kind: l, name: u } = n;@@ -111030,7 +111150,7 @@ async function i_t(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: n_t(e),+ card: c_t(e),resolvedEntity: o,actions: {...h.actions,@@ -111039,17 +111159,17 @@ async function i_t(e, t, n, r, i, a, o) {}}};- await oP(`/${c}/*`, g, {+ await aP(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && r_t() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && l_t() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function a_t({ target: e }) {- let t = (0, E.useContext)(pF), n = fF(), r = oN();+function d_t({ target: e }) {+ let t = (0, E.useContext)(fF), n = dF(), r = aN();return a5(n, (n, i) => {let a = t?.entity;t && a && (async () => {@@ -111066,9 +111186,9 @@ function a_t({ target: e }) {}).catch(() => null);if (!i()) return;if (s?.redirect) {- vP(Qt(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ _P(Qt(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state});return;}@@ -111077,37 +111197,37 @@ function a_t({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = Qt(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && i_t(t, a, {+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && u_t(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : vP(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : _P(l + r.search + r.hash, {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state});})();- }, { shown: () => r_t() && !i5()?.hidden }), null;+ }, { shown: () => l_t() && !i5()?.hidden }), null;}-function o_t() {- let e = e_t(oN().pathname);- return e ? /* @__PURE__ */ (0, D.jsx)(a_t, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function f_t() {+ let e = o_t(aN().pathname);+ return e ? /* @__PURE__ */ (0, D.jsx)(d_t, { target: e }, JSON.stringify([e.kind, e.name])) : null;}//#endregion//#region src/react/router/pages/catalog.tsx-var s_t = () => pl, c_t = _P.navigation.seq, o5 = _P.navigation.openEpoch, s5 = _P.navigation.location.pathname, c5 = {- seq: c_t,+var p_t = () => pl, m_t = gP.navigation.seq, h_t = gP.navigation.openEpoch, o5 = gP.navigation.location.pathname, s5 = {+ seq: m_t,claimed: !0,- from: s5+ from: o5};-_P.listen((e) => {- c5 = {+gP.listen((e) => {+ s5 = {seq: e.seq,- claimed: e.openEpoch === o5,- from: s5- }, o5 = e.openEpoch, s5 = e.location.pathname;+ claimed: e.openEpoch === h_t,+ from: o5+ }, h_t = e.openEpoch, o5 = e.location.pathname;});-var l5 = !1;-function l_t(e) {- let { seq: t, openEpoch: n, location: r } = _P.navigation, i = RN(r.pathname), a = bP() ?? r, o = G ?? {};+var c5 = !1;+function g_t(e) {+ let { seq: t, openEpoch: n, location: r } = gP.navigation, i = LN(r.pathname), a = yP() ?? r, o = G ?? {};return {seq: t,epoch: n,@@ -111118,7 +111238,7 @@ function l_t(e) {opened: e};}-function u_t(e, t, n, r) {+function __t(e, t, n, r) {let i = { ...G };if (e === "/trash") return {...i,@@ -111129,7 +111249,7 @@ function u_t(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = qT().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = KT().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),@@ -111143,7 +111263,7 @@ function u_t(e, t, n, r) {dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",state: qt[e] || a.get("state") || "",- ...RT(a.get("sort"), a.get("dir"), o, s),+ ...LT(a.get("sort"), a.get("dir"), o, s),seed: a.get("seed") || (n ? xn() : i.seed || xn()),q: a.get("q") || "",jav: a.get("jav") || "",@@ -111154,13 +111274,13 @@ function u_t(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function d_t(e, t) {- let n = { ...e }, r = l_t(n.opened);+function v_t(e, t) {+ let n = { ...e }, r = g_t(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- bP() || i.fill();+ yP() || i.fill();return;}let a = !1;@@ -111170,41 +111290,41 @@ function d_t(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = _P.navigation.action === "POP" && c5.from !== "/");+ r.epoch !== n.epoch && (a = gP.navigation.action === "POP" && s5.from !== "/");}- let { pathname: o, search: s } = _P.navigation.location;+ let { pathname: o, search: s } = gP.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = oG(s);- l5 = !0, vP(sG(e, t), { replace: !0 });+ let { kind: e, view: t } = aG(s);+ c5 = !0, _P(oG(e, t), { replace: !0 });return;}- let c = l5;- l5 = !1, a &&= o === "/", e.opened = !0, Sl({ state: u_t(o, s, a, i) }), i.open(o, {+ let c = c5;+ c5 = !1, a &&= o === "/", e.opened = !0, Sl({ state: __t(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function f_t(e) {- return Yt(e) || e === "/trash" || RN(e) || e === "/immerse" || !!e_t(e);+function y_t(e) {+ return Yt(e) || e === "/trash" || LN(e) || e === "/immerse" || !!o_t(e);}-function p_t() {- let e = (0, E.useContext)(pF), t = fF(), n = (0, E.useSyncExternalStore)(wl, s_t), r = oN(), i = (0, E.useRef)(null), a = (0, E.useRef)({+function b_t() {+ let e = (0, E.useContext)(fF), t = dF(), n = (0, E.useSyncExternalStore)(wl, p_t), r = aN(), i = (0, E.useRef)(null), a = (0, E.useRef)({mounted: !0,queued: !1});return (0, E.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = l_t(!RN(_P.navigation.location.pathname));- return !n.covered && n.opens > 0 && (l5 || c5.seq === c_t ? n.opens = -1 : c5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = g_t(!LN(gP.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (c5 || s5.seq === m_t ? n.opens = -1 : s5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !f_t(_P.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !y_t(gP.navigation.location.pathname) && e.catalog.release();});};}, []), (0, E.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && d_t(i.current, e);+ t.queued = !1, t.mounted && i.current && v_t(i.current, e);}));}, [t,@@ -111213,8 +111333,8 @@ function p_t() {e]), null;}-function m_t() {- let { pathname: e, search: t } = oN();+function l5() {+ let { pathname: e, search: t } = aN();(0, E.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -111227,15 +111347,15 @@ function m_t() {});};}, [e]);- let n = (0, E.useContext)(pF), r = document.getElementById("javLibraryHeader"), i = Yt(e) && new URLSearchParams(t).get("jav") === "1";+ let n = (0, E.useContext)(fF), r = document.getElementById("javLibraryHeader"), i = Yt(e) && new URLSearchParams(t).get("jav") === "1";return (0, E.useLayoutEffect)(() => {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), RN(e) && !LN(e) ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [- /* @__PURE__ */ (0, D.jsx)(p_t, {}, e === "/junk-files" ? "/junk-files" : "/"),- Yt(e) ? /* @__PURE__ */ (0, D.jsx)(xF, {}) : null,- i && r && n ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(aIe, {+ }, [r, i]), LN(e) && !IN(e) ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [+ /* @__PURE__ */ (0, D.jsx)(b_t, {}, e === "/junk-files" ? "/junk-files" : "/"),+ Yt(e) ? /* @__PURE__ */ (0, D.jsx)(bF, {}) : null,+ i && r && n ? (0, St.createPortal)(/* @__PURE__ */ (0, D.jsx)(oIe, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null@@ -111243,21 +111363,21 @@ function m_t() {}//#endregion//#region src/react/router/pages/follow.tsx-var u5 = () => document.getElementById("stats"), h_t = () => yl;-function g_t(e) {+var u5 = () => document.getElementById("stats"), x_t = () => yl;+function S_t(e) {let t = document.createElement("div");return t.className = "peach-react", rs(e, () => {e.textContent = "", e.append(t);}), t;}-async function __t(e, t) {+async function C_t(e, t) {let n = u5(), r = e.follow;if (!n || !r || r.refresh()) return;let i = vl;- e.surfaceChanged("follow", "/follow"), bJ(n, r.skeleton()), await oP("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), bJ(n, r.skeleton()), await aP("/follow", r.props(), {container: n,isCurrent: t,- place: g_t+ place: S_t}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -111266,32 +111386,32 @@ async function __t(e, t) {behavior: "smooth"});}-function v_t() {- let e = u5(), t = e ? nP(e) : null;+function w_t() {+ let e = u5(), t = e ? tP(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function y_t() {- let e = (0, E.useContext)(pF);- return a5(fF(), (t, n) => {- e && __t(e, n);+function T_t() {+ let e = (0, E.useContext)(fF);+ return a5(dF(), (t, n) => {+ e && C_t(e, n);}, {- shown: v_t,+ shown: w_t,onCovered: () => {- _P.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ gP.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function b_t(e) {- let t = e ? nP(e) : null;+function E_t(e) {+ let t = e ? tP(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function x_t(e, t) {+async function D_t(e, t) {let n = u5();n && (e.surfaceChanged("playlists", "/playlists"), bJ(n, yJ("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await oP("/playlists", { revision: yl }, {+ })), await aP("/playlists", { revision: yl }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -111299,39 +111419,39 @@ async function x_t(e, t) {behavior: "smooth"}));}-function S_t() {- let e = (0, E.useContext)(pF), t = (0, E.useSyncExternalStore)(wl, h_t), n = (0, E.useRef)(t);+function O_t() {+ let e = (0, E.useContext)(fF), t = (0, E.useSyncExternalStore)(wl, x_t), n = (0, E.useRef)(t);return (0, E.useEffect)(() => {if (n.current === t) return;n.current = t;let e = u5();- b_t(e) && sP(e, { revision: t });- }, [t]), a5(fF(), (t, n) => {- e && x_t(e, n);+ E_t(e) && oP(e, { revision: t });+ }, [t]), a5(dF(), (t, n) => {+ e && D_t(e, n);}, { shown: () => {let e = u5();- return b_t(e) && !e.hidden;+ return E_t(e) && !e.hidden;} }), null;}//#endregion//#region src/react/router/pages/immerse.tsx-function C_t() {- let e = new URLSearchParams(_P.navigation.location.search).get("id");+function k_t() {+ let e = new URLSearchParams(gP.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function w_t() {- let e = (0, E.useContext)(pF);- return uF(() => {- e?.openImmerse(C_t());+function A_t() {+ let e = (0, E.useContext)(fF);+ return lF(() => {+ e?.openImmerse(k_t());}, !0), null;}-function T_t() {- return /* @__PURE__ */ (0, D.jsx)(w_t, {}, fF());+function j_t() {+ return /* @__PURE__ */ (0, D.jsx)(A_t, {}, dF());}//#endregion//#region src/ui-kit/anchor-scroll.ts-var E_t = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function D_t(e, t) {+var M_t = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function N_t(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -111346,20 +111466,20 @@ async function D_t(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: E_t()+ behavior: M_t()});}//#endregion//#region src/react/router/pages/managed.tsx-var O_t = [+var P_t = ["list","add","feeds"-], k_t = () => pl > 0, A_t = () => (0, E.useSyncExternalStore)(wl, k_t), j_t = () => qT().value.followLayout === "table" ? "table" : "default", d5 = () => new URLSearchParams(window.location.search);-function M_t(e) {+], F_t = () => pl > 0, I_t = () => (0, E.useSyncExternalStore)(wl, F_t), L_t = () => KT().value.followLayout === "table" ? "table" : "default", d5 = () => new URLSearchParams(window.location.search);+function R_t(e) {let t = d5();return yJ(e, {- followLayout: j_t(),+ followLayout: L_t(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});@@ -111370,18 +111490,18 @@ function f5(e) {throw e;});}-function N_t(e, t) {+function z_t(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function P_t(e, t) {+async function B_t(e, t) {if (e === "/jav") {let e = await f5(t);return t.live ? {- tab: mG(d5().get("tab")),+ tab: pG(d5().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -111392,40 +111512,40 @@ async function P_t(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && Sl({ configurationRequestedSection: "网络与访问" });- let t = d5().get("section") || ul || kN(e);+ let t = d5().get("section") || ul || ON(e);return t ? { section: t } : {};}if (e === "/review") {let e = d5().get("category") || "", n = await f5(t);return t.live ? {- category: eB(e) ? e : "",- ...N_t(n, "/review")+ category: $z(e) ? e : "",+ ...z_t(n, "/review")} : null;}if (e === "/subscriptions") {let e = d5(), n = e.get("tab") || "", r = {- tab: O_t.includes(n) ? n : "list",+ tab: P_t.includes(n) ? n : "list",page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),sort: e.get("sort") || "",dir: e.get("dir") || ""}, i = await f5(t);if (!t.live) return null;- let a = qT().value;+ let a = KT().value;return {...r,pageSize: Number(a.followPageSize) || 20,- layout: j_t(),- ...N_t(i, "/subscriptions")+ layout: L_t(),+ ...z_t(i, "/subscriptions")};}return {};}-var F_t = () => {+var V_t = () => {window.scrollTo({top: 0,- behavior: E_t()+ behavior: M_t()});-}, I_t = /* @__PURE__ */ new Set([+}, H_t = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -111433,18 +111553,18 @@ var F_t = () => {"/tasks","/subscriptions"]);-async function L_t(e, t, n) {- let r = _P.navigation.seq, i = () => n.live && _P.navigation.seq === r;- if (e === "/jav" && mG(d5().get("tab")) === "library") {- _P.replace(kFe(window.location.search));+async function U_t(e, t, n) {+ let r = gP.navigation.seq, i = () => n.live && gP.navigation.seq === r;+ if (e === "/jav" && pG(d5().get("tab")) === "library") {+ gP.replace(AFe(window.location.search));return;}if (e === "/subscriptions" && d5().get("tab") === "wants") {- vP("/jav?tab=wants", { replace: !0 });+ _P("/jav?tab=wants", { replace: !0 });return;}if (e === "/subscriptions" && d5().get("tab") === "source") {- vP("/settings/subscriptions", { replace: !0 });+ _P("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -111466,38 +111586,38 @@ async function L_t(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), bJ(a, M_t(e));- let o = await P_t(e, n);+ } }), t.clearSearch()), bJ(a, R_t(e));+ let o = await B_t(e, n);if (!o) return;- let s = await oP(e, o, {+ let s = await aP(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = nP(a)?.revision ?? 0), e.startsWith("/settings/") && s && Sl({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = tP(a)?.revision ?? 0), e.startsWith("/settings/") && s && Sl({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && vP("/data-cleanup#libraryProcessing", {+ i() && _P("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? D_t(t, i) : (I_t.has(e) || e === "/settings/library") && F_t();+ }) : t ? N_t(t, i) : (H_t.has(e) || e === "/settings/library") && V_t();}}function p5({ path: e }) {- let t = fF();- oN();- let n = RN(_P.navigation.location.pathname), r = (0, E.useRef)(n ? null : t), i = (0, E.useRef)(n);+ let t = dF();+ aN();+ let n = LN(gP.navigation.location.pathname), r = (0, E.useRef)(n ? null : t), i = (0, E.useRef)(n);!n && (!i.current || r.current === null) && (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, D.jsx)(R_t, {+ return /* @__PURE__ */ (0, D.jsx)(W_t, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function R_t({ path: e, covered: t }) {- let n = (0, E.useContext)(pF), r = A_t(), i = (0, E.useRef)(null);+function W_t({ path: e, covered: t }) {+ let n = (0, E.useContext)(fF), r = I_t(), i = (0, E.useRef)(null);return (0, E.useEffect)(() => {- e.startsWith("/settings/") && sP(document.getElementById("stats"), { section: kN(e) });+ e.startsWith("/settings/") && oP(document.getElementById("stats"), { section: ON(e) });}, [e]), (0, E.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -111506,7 +111626,7 @@ function R_t({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && L_t(e, n, a);+ a.live && U_t(e, n, a);});}, [r]), (0, E.useEffect)(() => () => {let e = i.current;@@ -111514,18 +111634,18 @@ function R_t({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && nP(t)?.revision === e.revision && cP(t);+ t && e.revision && !t.hidden && tP(t)?.revision === e.revision && sP(t);});}, []), null;}-function z_t() {- let e = A_t(), t = (0, E.useRef)(!1);+function G_t() {+ let e = I_t(), t = (0, E.useRef)(!1);return (0, E.useEffect)(() => {- if (!e || t.current || RN(_P.navigation.location.pathname)) return;+ if (!e || t.current || LN(gP.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && vP("/data-cleanup#resource-sync", { replace: !0 });+ n && _P("/data-cleanup#resource-sync", { replace: !0 });}), () => {n = !1;};@@ -111533,7 +111653,7 @@ function z_t() {}//#endregion//#region src/react/router/managed-routes.tsx-function B_t(e, t, n) {+function K_t(e, t, n) {if (e === "duplicates") {n("/duplicates");return;@@ -111544,13 +111664,13 @@ function B_t(e, t, n) {var m5 = (e) => ({element: /* @__PURE__ */ (0, D.jsx)(p5, { path: e }),prefetch: async (t, n) => {- await Promise.all([yLe(n), ...e === "/settings/diagnostics" ? [QNe(n)] : []]);+ await Promise.all([bLe(n), ...e === "/settings/diagnostics" ? [$Ne(n)] : []]);},- page: (t, n) => /* @__PURE__ */ (0, D.jsx)(sze, {+ page: (t, n) => /* @__PURE__ */ (0, D.jsx)(pze, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,section: e === "/settings/diagnostics" ? "系统诊断" : t.section ?? "",- diagnostics: /* @__PURE__ */ (0, D.jsx)(iPe, {+ diagnostics: /* @__PURE__ */ (0, D.jsx)(aPe, {openItem: n.openItem,receipt: (e) => n.receipt(e)})@@ -111558,8 +111678,8 @@ var m5 = (e) => ({}), h5 = {"/jav": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/jav" }),- prefetch: (e, t) => iIe(e.tab, t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(lIe, {+ prefetch: (e, t) => aIe(e.tab, t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(uIe, {...e,navigate: t.navigate,receipt: (e) => t.receipt(e)@@ -111567,16 +111687,16 @@ var m5 = (e) => ({},"/stats": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/stats" }),- prefetch: (e, t) => cUe(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(Smt, {+ prefetch: (e, t) => mUe(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(Omt, {tagLabel: Lc,onTag: t.openTag})},"/taste": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/taste" }),- prefetch: (e, t) => tht("all", t),- page: (e, t, n) => /* @__PURE__ */ (0, D.jsx)(Pgt, {+ prefetch: (e, t) => sht("all", t),+ page: (e, t, n) => /* @__PURE__ */ (0, D.jsx)(Bgt, {onSignal: t.openTasteSignal,navigate: n,toast: (e) => t.receipt(e),@@ -111585,8 +111705,8 @@ var m5 = (e) => ({},"/review": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/review" }),- prefetch: (e, t) => Ske(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(UIe, {+ prefetch: (e, t) => Cke(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(WIe, {...e,route: t.routeReview,openItem: t.openItem,@@ -111597,17 +111717,17 @@ var m5 = (e) => ({},"/data-cleanup": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/data-cleanup" }),- prefetch: (e, t) => _Ae(t),- page: (e, t, n) => /* @__PURE__ */ (0, D.jsx)(yje, {+ prefetch: (e, t) => vAe(t),+ page: (e, t, n) => /* @__PURE__ */ (0, D.jsx)(bje, {failure: t.failure,- open: (e) => B_t(e, t, n),+ open: (e) => K_t(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)})},"/duplicates": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/duplicates" }),- prefetch: (e, t) => YOe(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(ZNe, {+ prefetch: (e, t) => XOe(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(QNe, {openItem: t.openItem,failure: t.failure,toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})@@ -111615,19 +111735,19 @@ var m5 = (e) => ({},"/quality-goals": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/quality-goals" }),- prefetch: (e, t) => ike(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(EIe, {+ prefetch: (e, t) => ake(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(DIe, {openItem: t.openItem,- javTitleHtml: CO,- javDisplayName: SO,+ javTitleHtml: SO,+ javDisplayName: xO,toast: (e) => t.receipt(e),srcBadge: t.srcBadge})},"/sources": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/sources" }),- prefetch: (e, t) => XIe(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(uLe, { toast: (e) => t.toast(e) })+ prefetch: (e, t) => ZIe(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(dLe, { toast: (e) => t.toast(e) })},"/settings/library": m5("/settings/library"),"/settings/subscriptions": m5("/settings/subscriptions"),@@ -111637,13 +111757,13 @@ var m5 = (e) => ({"/settings/diagnostics": m5("/settings/diagnostics"),"/tasks": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/tasks" }),- prefetch: (e, t) => S_e(t),- page: () => /* @__PURE__ */ (0, D.jsx)(fve, {})+ prefetch: (e, t) => C_e(t),+ page: () => /* @__PURE__ */ (0, D.jsx)(pve, {})},"/subscriptions": {element: /* @__PURE__ */ (0, D.jsx)(p5, { path: "/subscriptions" }),prefetch: (e, t) => Zr(t, e.tab),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(GPe, {+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(KPe, {...e,route: t.routeFollowManage,savePreference: t.saveFollowPreference,@@ -111651,11 +111771,11 @@ var m5 = (e) => ({openFollow: t.openFollow})}-}, g5 = (e) => Object.hasOwn(h5, e), V_t = { "/resource-sync": { element: /* @__PURE__ */ (0, D.jsx)(z_t, {}) } }, H_t = { "/immerse": { element: /* @__PURE__ */ (0, D.jsx)(T_t, {}) } }, _5 = {+}, g5 = (e) => Object.hasOwn(h5, e), q_t = { "/resource-sync": { element: /* @__PURE__ */ (0, D.jsx)(G_t, {}) } }, J_t = { "/immerse": { element: /* @__PURE__ */ (0, D.jsx)(j_t, {}) } }, _5 = {"/playlists": {- element: /* @__PURE__ */ (0, D.jsx)(S_t, {}),- prefetch: (e, t) => fIe(t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(wIe, {+ element: /* @__PURE__ */ (0, D.jsx)(O_t, {}),+ prefetch: (e, t) => pIe(t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(TIe, {revision: e.revision,openPlaylist: t.openPlaylist,openEntity: t.openEntity,@@ -111664,14 +111784,14 @@ var m5 = (e) => ({})},"/follow": {- element: /* @__PURE__ */ (0, D.jsx)(y_t, {}),+ element: /* @__PURE__ */ (0, D.jsx)(T_t, {}),prefetch: (e, t) => yi(e, t),- page: (e) => /* @__PURE__ */ (0, D.jsx)(TMe, { ...e })+ page: (e) => /* @__PURE__ */ (0, D.jsx)(EMe, { ...e })}-}, U_t = (e) => Object.hasOwn(_5, e), v5 = {- element: /* @__PURE__ */ (0, D.jsx)($gt, {}),- prefetch: (e, t) => Bje(e, t),- page: (e, t) => /* @__PURE__ */ (0, D.jsx)(cFe, {+}, Y_t = (e) => Object.hasOwn(_5, e), v5 = {+ element: /* @__PURE__ */ (0, D.jsx)(a_t, {}),+ prefetch: (e, t) => Vje(e, t),+ page: (e, t) => /* @__PURE__ */ (0, D.jsx)(lFe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -111691,9 +111811,9 @@ var m5 = (e) => ({"/agencies": v5,"/tags": v5}, b5 = {- element: /* @__PURE__ */ (0, D.jsx)(o_t, {}),- prefetch: (e) => Oje(e),- page: (e) => /* @__PURE__ */ (0, D.jsx)(VNe, { ...e })+ element: /* @__PURE__ */ (0, D.jsx)(f_t, {}),+ prefetch: (e) => kje(e),+ page: (e) => /* @__PURE__ */ (0, D.jsx)(HNe, { ...e })}, x5 = {"/performers/*": b5,"/studios/*": b5,@@ -111703,62 +111823,62 @@ var m5 = (e) => ({"/tags/*": b5}, S5 = {"/": {- element: /* @__PURE__ */ (0, D.jsx)(m_t, {}),- prefetch: (e, t) => Yfe(e, t),- page: (e) => /* @__PURE__ */ (0, D.jsx)(kz, { ...e })+ element: /* @__PURE__ */ (0, D.jsx)(l5, {}),+ prefetch: (e, t) => Xfe(e, t),+ page: (e) => /* @__PURE__ */ (0, D.jsx)(Oz, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, D.jsx)(m_t, {}),+ element: /* @__PURE__ */ (0, D.jsx)(l5, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, D.jsx)(CFe, { ...e })+ page: (e) => /* @__PURE__ */ (0, D.jsx)(wFe, { ...e })}-}, W_t = (e) => Object.hasOwn(S5, e), G_t = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, D.jsx)(YCe, { ...e }) : /* @__PURE__ */ (0, D.jsx)(NV, { ...e }), K_t = {+}, X_t = (e) => Object.hasOwn(S5, e), Z_t = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, D.jsx)(XCe, { ...e }) : /* @__PURE__ */ (0, D.jsx)(MV, { ...e }), Q_t = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, D.jsx)(Gwe, { ...e })+ page: (e) => /* @__PURE__ */ (0, D.jsx)(Kwe, { ...e })},"feed-new": {- prefetch: (e) => wje(e),- page: (e) => /* @__PURE__ */ (0, D.jsx)(aPe, { ...e })+ prefetch: (e) => Tje(e),+ page: (e) => /* @__PURE__ */ (0, D.jsx)(oPe, { ...e })},"library-processing": {- prefetch: (e, t) => IP(t),- page: (e) => /* @__PURE__ */ (0, D.jsx)(G_t, { ...e })+ prefetch: (e, t) => FP(t),+ page: (e) => /* @__PURE__ */ (0, D.jsx)(Z_t, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, D.jsx)(hLe, { ...e })+ page: (e) => /* @__PURE__ */ (0, D.jsx)(gLe, { ...e })}-}, q_t = (e) => Object.hasOwn(K_t, e), J_t = {+}, $_t = (e) => Object.hasOwn(Q_t, e), evt = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(lue, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(uue, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(wde, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(Tde, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(lge, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(uge, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(Nme, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(Pme, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(Dze, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(Nze, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(Vze, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(qze, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, D.jsx)(iUe, {})+ page: () => /* @__PURE__ */ (0, D.jsx)(uUe, {})}-}, Y_t = (e) => Object.hasOwn(J_t, e), X_t = [+}, tvt = (e) => Object.hasOwn(evt, e), nvt = ["/","/wall","/unseen",@@ -111772,97 +111892,97 @@ var m5 = (e) => ({...Object.keys(_5),...Object.keys(y5),...Object.keys(x5),- ...X_t+ ...nvt];-var Z_t = (e) => g5(e) || U_t(e) || Object.hasOwn(y5, e) || Object.hasOwn(x5, e) || W_t(e) || q_t(e) || Y_t(e);-function Q_t(e) {- return g5(e) ? h5[e] : U_t(e) ? _5[e] : W_t(e) ? S5[e] : q_t(e) ? K_t[e] : Y_t(e) ? J_t[e] : Object.hasOwn(y5, e) ? y5[e] : x5[e];+var rvt = (e) => g5(e) || Y_t(e) || Object.hasOwn(y5, e) || Object.hasOwn(x5, e) || X_t(e) || $_t(e) || tvt(e);+function ivt(e) {+ return g5(e) ? h5[e] : Y_t(e) ? _5[e] : X_t(e) ? S5[e] : $_t(e) ? Q_t[e] : tvt(e) ? evt[e] : Object.hasOwn(y5, e) ? y5[e] : x5[e];}-function $_t(e, t, n) {- return Z_t(e) ? Q_t(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function avt(e, t, n) {+ return rvt(e) ? ivt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function evt(e, t, n, r) {- return Q_t(e).page(t, n, r);+function ovt(e, t, n, r) {+ return ivt(e).page(t, n, r);}//#endregion//#region src/react/application-residents.tsvar C5 = null, w5 = null, T5 = 0, E5 = /* @__PURE__ */ new Set();-function tvt(e) {+function svt(e) {return C5 = e, w5 && e(w5), () => {C5 === e && (C5 = null);};}-function nvt(e) {- return C5 && (w5 = e, C5(e), eCe(Promise.resolve($_t))), Promise.resolve();+function cvt(e) {+ return C5 && (w5 = e, C5(e), tCe(Promise.resolve(avt))), Promise.resolve();}async function D5(e, t, n = (e) => e) {let r = T5;- if (t.isConnected || E5.add(t), !await oP(e, {}, {+ if (t.isConnected || E5.add(t), !await aP(e, {}, {container: t,resident: !0,isCurrent: () => !!C5 && r === T5,place: () => n(t)}) || r !== T5 || !C5) throw new DOMException("应用已卸载", "AbortError");}-function rvt() {+function lvt() {T5 += 1, C5 = null, w5 = null, O5 = null, k5 = null, M5 = null, N5 = null, F5 = null, I5 = null, L5 = null, R5 = null, B5 = null, V5 = null, H5 = null, U5 = null, W5 = null;for (let e of E5) e.remove();- E5.clear(), JW();+ E5.clear(), qW();}var O5 = null, k5 = null;function A5(e) {return O5 ??= (async () => {- let t = rUe(e), n = document.createElement("div");+ let t = lUe(e), n = document.createElement("div");return n.dataset.stageHost = "", await D5("stage", n, (e) => (document.body.append(e), e)), k5 = t, t;})(), O5;}var j5 = () => k5, M5 = null, N5 = null;-function ivt(e) {+function uvt(e) {return M5 ??= (async () => {- let t = Mme(e), n = document.createElement("div");+ let t = Nme(e), n = document.createElement("div");return n.dataset.immerseHost = "", await D5("immerse", n, (e) => (document.body.append(e), e)), N5 = t, t;})(), M5;}var P5 = () => N5, F5 = null, I5 = null;-function avt(e) {+function dvt(e) {return F5 ??= (async () => {- let t = Eze(e), n = document.createElement("div");+ let t = Mze(e), n = document.createElement("div");return n.dataset.settingsHost = "", await D5("settings-panel", n, (e) => (document.body.append(e), e)), I5 = t, t;})(), F5;}-var ovt = () => I5, L5 = null, R5 = null;-function svt(e) {+var fvt = () => I5, L5 = null, R5 = null;+function pvt(e) {return L5 ??= (async () => {- let t = Bze(e);+ let t = Kze(e);return await D5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), R5 = t, t;})(), L5;}var z5 = () => R5, B5 = null, V5 = null;-function cvt(e) {+function mvt(e) {return B5 ??= (async () => {- let t = cge(e);+ let t = lge(e);return await D5("manage-header", e.root, (e) => (e.replaceChildren(), e)), V5 = t, t;})(), B5;}-var lvt = () => V5, H5 = null, U5 = null;-function uvt(e) {+var hvt = () => V5, H5 = null, U5 = null;+function gvt(e) {return H5 ??= (async () => {- let t = cue(e);+ let t = lue(e);return await D5("batch-dock", e.root), U5 = t, t;})(), H5;}-var dvt = () => U5, W5 = null;-function fvt(e) {+var _vt = () => U5, W5 = null;+function vvt(e) {return W5 ??= (async () => {- Cde(e), await D5("glow-picker", e.root);+ wde(e), await D5("glow-picker", e.root);})(), W5;}-function pvt(e, t, n, r) {- YW(e, t), XW(n, r);+function yvt(e, t, n, r) {+ JW(e, t), YW(n, r);}//#endregion//#region src/application/effects.ts-var mvt = class {+var bvt = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -111943,9 +112063,9 @@ var mvt = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, G5 = new mvt();-function hvt() {- return G5.dispose(), G5 = new mvt(), G5;+}, G5 = new bvt();+function xvt() {+ return G5.dispose(), G5 = new bvt(), G5;}//#endregion//#region src/application/receipts.js@@ -111959,13 +112079,13 @@ var K5 = {rollSeed: void 0,seededSample: void 0};-function gvt() {- YW(R("#toasts"), {+function Svt() {+ JW(R("#toasts"), {success: z("check"),error: z("circle-alert")}), K5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), K5.toastSeq = 0, K5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {let a = `toast-${++K5.toastSeq}`, o = (e, t, n, r) => {- no(i || (t ? "error" : "success")), pvt(R("#toasts"), {+ no(i || (t ? "error" : "success")), yvt(R("#toasts"), {success: z("check"),error: z("circle-alert")}, a, {@@ -112007,7 +112127,7 @@ function gvt() {}//#endregion//#region src/react/catalog-grid/catalog-state.ts-var _vt = [+var Cvt = ["loc","creator","studio",@@ -112027,10 +112147,10 @@ var _vt = ["folder","folder_recursive"];-function vvt(e, t, n, r = n.defaultSort) {- return RT(e, t, n.defaultSort, n.defaultSortDirection, r);+function wvt(e, t, n, r = n.defaultSort) {+ return LT(e, t, n.defaultSort, n.defaultSortDirection, r);}-function yvt(e, t, n) {+function Tvt(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Yt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -112045,7 +112165,7 @@ function yvt(e, t, n) {orient: o("orient") || "",region: o("region") || "",state: qt[r] || o("state") || "",- ...vvt(o("sort"), o("dir"), t),+ ...wvt(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -112055,18 +112175,18 @@ function yvt(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function bvt(e, t) {+function Evt(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function xvt(e) {+function Dvt(e) {let t = Kt[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of _vt) {+ for (let t of Cvt) {let r = e[t];- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== FT(e.sort ?? "")) && n.set(t, r);+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== PT(e.sort ?? "")) && n.set(t, r);}return !Kt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function Svt(e, t, n) {+function Ovt(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -112081,7 +112201,7 @@ function Svt(e, t, n) {region: "",state: "",sort: t.defaultSort,- dir: LT(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: IT(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -112091,7 +112211,7 @@ function Svt(e, t, n) {folder_recursive: ""};}-function Cvt(e) {+function kvt(e) {return {state: e,barsContext: {@@ -112103,7 +112223,7 @@ function Cvt(e) {}//#endregion//#region src/react/catalog-grid/catalog-controller.ts-var wvt = class {+var Avt = class {currentRevision = 0;currentPage = "";painting = null;@@ -112148,39 +112268,39 @@ var wvt = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, q5 = 3e4, J5 = 0, Tvt = (e, t = J5) => [+}, q5 = 3e4, J5 = 0, jvt = (e, t = J5) => ["facets",e,t-], Evt = (e, t, n = J5) => [+], Mvt = (e, t, n = J5) => ["tops",e,t,n-], Dvt = (e, t = J5) => [+], Nvt = (e, t = J5) => ["tops",e,t];-async function Ovt(e) {+async function Pvt(e) {let t = String(e), n = await Ut(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Ut(`/api/tops?${r}`));}-function kvt(e, t) {+function Fvt(e, t) {return Promise.all([W.fetchQuery({- queryKey: Tvt(e),+ queryKey: jvt(e),queryFn: () => Ut(`/api/facets${e ? `?${e}` : ""}`),staleTime: q5}), W.fetchQuery({- queryKey: Evt(t, e),- queryFn: () => Ovt(t),+ queryKey: Mvt(t, e),+ queryFn: () => Pvt(t),staleTime: q5})]);}-function Avt(e) {+function Ivt(e) {return W.fetchQuery({- queryKey: Dvt(e),- queryFn: () => Ovt(e),+ queryKey: Nvt(e),+ queryFn: () => Pvt(e),staleTime: q5});}@@ -112197,7 +112317,7 @@ function Y5() {}//#endregion//#region src/application/navigation-items.ts-var jvt = [+var Lvt = [["","首页",@@ -112294,18 +112414,18 @@ var jvt = ["Peach 配置","folder-cog"]-], Mvt = [+], Rvt = ["stats","taste","cleanup","follow","activity","configuration"-], Nvt = (e) => X5.filter(([t]) => Mvt.includes(t) && (t !== "configuration" || e)), Pvt = X5.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], zvt = (e) => X5.filter(([t]) => Rvt.includes(t) && (t !== "configuration" || e)), Bvt = X5.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), Fvt = [...jvt, ...Pvt], Ivt = {+]]), Vvt = [...Lvt, ...Bvt], Hvt = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -112316,11 +112436,11 @@ var jvt = [};//#endregion//#region src/react/index/index-controller.ts-function Lvt({ kind: e, q: t, scope: n, view: r, category: i }) {+function Uvt({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function Rvt(e, t, n) {+function Wvt(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: Da(e.k, r ? {@@ -112333,20 +112453,20 @@ function Rvt(e, t, n) {face: ka(e.avatar_focus)};}-function zvt(e) {+function Gvt(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${B(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${ea({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${B(n)}</span>${r}`;}-function Bvt(e) {+function Kvt(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(Hi(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(Lvt(t), n);+ e.route(Uvt(t), n);},- personAvatar: Rvt,- authorAvatar: zvt,+ personAvatar: Wvt,+ authorAvatar: Gvt,openFollowAuthor(n) {t(Ui(e.followView(), n));},@@ -112357,7 +112477,7 @@ function Bvt(e) {}//#endregion//#region src/application/source-action.ts-function Vvt(e) {+function qvt(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -112373,36 +112493,36 @@ function Vvt(e) {}//#endregion//#region src/react/entity-page/entity-route.ts-var Z5 = () => Object.fromEntries(uH.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function Hvt(e, t) {+var Z5 = () => Object.fromEntries(lH.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function Jvt(e, t) {let n = new URLSearchParams(e), r = Z5();- for (let e of uH) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+ for (let e of lH) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...RT(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...LT(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function Uvt(e) {+function Yvt(e) {let t = new URLSearchParams();- for (let n of uH) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== FT(e.sort || "")) && t.set(n, e[n]);+ for (let n of lH) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== PT(e.sort || "")) && t.set(n, e[n]);return t.toString();}-function Wvt(e) {+function Xvt(e) {let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");return {media: r === "photos" || r === "online" ? r : "videos",set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0};}-function Gvt(e, t) {- let n = new URLSearchParams(Uvt(e));+function Zvt(e, t) {+ let n = new URLSearchParams(Yvt(e));return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();}-function Kvt(e, t, n, r) {- let i = Gvt(n, r);+function Qvt(e, t, n, r) {+ let i = Zvt(n, r);return Qt(e, t) + (i ? `?${i}` : "");}-function qvt() {+function $vt() {let e = "";return {fresh(t, n) {@@ -112411,23 +112531,23 @@ function qvt() {read(t, n, r, i) {let a = e === Qt(t, n) && !r;e = "";- let o = a ? Z5() : { ...Hvt(r, i) };+ let o = a ? Z5() : { ...Jvt(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : Wvt(r)+ } : Xvt(r)};}};}//#endregion//#region src/react/entity-page/photo-surface.ts-function Jvt(e, t) {+function eyt(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function Yvt(e) {+function tyt(e) {let t = () => {let t = e.preferences();for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);@@ -112450,12 +112570,12 @@ function Yvt(e) {}//#endregion//#region src/react/entity-page/entity-controller.ts-function Xvt(e, t, n) {+function nyt(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(Kvt(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(Qvt(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -112482,7 +112602,7 @@ function Xvt(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = IT(e, n.sort || "new", n.dir || "");+ let n = c(), i = FT(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -112534,7 +112654,7 @@ function Xvt(e, t, n) {}//#endregion//#region src/react/entity-page/entity-loading.ts-function Zvt(e) {+function ryt(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -112543,7 +112663,7 @@ function Zvt(e) {}//#endregion//#region src/react/entity-page/entity-portrait.ts-function Qvt(e, t) {+function iyt(e, t) {let n = e === "studio" || e === "agency", r = t.id ? Ea({kind: e,id: t.id,@@ -112565,11 +112685,11 @@ function Qvt(e, t) {}//#endregion//#region src/react/entity-page/entity-application.ts-function $vt(e) {- let t = qvt(), n = {+function ayt(e) {+ let t = $vt(), n = {...e.helpers,- portraitImg: Qvt- }, r = Xvt(e.controller, n, e.actions);+ portraitImg: iyt+ }, r = nyt(e.controller, n, e.actions);return {...r,helpers: n,@@ -112578,13 +112698,13 @@ function $vt(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: Zvt(e.loading),- photos: Yvt(e.photos)+ loading: ryt(e.loading),+ photos: tyt(e.photos)};}//#endregion//#region src/card-art/feed-identity.ts-function eyt(e) {+function oyt(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : Da(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${B(Qt("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;@@ -112609,26 +112729,26 @@ var Q5 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function tyt(e) {+function syt(e) {return e.has_cover ? Ma(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Ko("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : Ma(e, "big").replace(/ src="[^"]*"/, ` src="${B(Sa(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function nyt(e) {- let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = tyt(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? CO({+function cyt(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = syt(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? SO({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : B(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${B(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${ZT}">${n}+ ${a}<div class="pic" style="--card-ratio:${XT}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${B(r)}">${z("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${B(r)}">${z("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${B(r)}">${z("check")}</button></div></div>- <div class="meta">${eyt(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${oyt(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function ryt() {+function lyt() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");@@ -112638,27 +112758,27 @@ function ryt() {}async function $5() {let e = G5, t = await Ut("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (Q5.entityShapesComplete = !0, Q5.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${sn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && ayt(t.home.feed), t7(location.pathname) && e7(R("#feedNew"))), Q5.entityShapes;+ return e.isActive && t && !t.error && (Q5.entityShapesComplete = !0, Q5.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${sn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && dyt(t.home.feed), t7(location.pathname) && e7(R("#feedNew"))), Q5.entityShapes;}-var iyt = "peach.home-feed.v1";-function ayt(e) {+var uyt = "peach.home-feed.v1";+function dyt(e) {Z.homeHasFeed = e;try {- localStorage.setItem(iyt, e ? "1" : "0");+ localStorage.setItem(uyt, e ? "1" : "0");} catch {}}-function oyt() {+function fyt() {try {- let e = localStorage.getItem(iyt);+ let e = localStorage.getItem(uyt);return e === "1" || e !== "0" && null;} catch {return null;}}function e7(e) {- !e || rP(e) || e.querySelector("[data-feed-id]") || (e.hidden = Z.homeHasFeed !== !0, Z.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = Q5.feedNewSkeletonHtml())));+ !e || nP(e) || e.querySelector("[data-feed-id]") || (e.hidden = Z.homeHasFeed !== !0, Z.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = Q5.feedNewSkeletonHtml())));}-function syt(e, t) {+function pyt(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Wo(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -112666,19 +112786,19 @@ function syt(e, t) {actionHref: "/sources"});}-function cyt(e) {+function myt(e) {let t = e && !e.error && e.items || [];- return syt(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(nyt).join("")}</div>`;+ return pyt(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(cyt).join("")}</div>`;}-function lyt(e) {+function hyt(e) {e && (g9(e), Q.appSettings.feedAutoScroll && As(e));}function t7(e) {return Yt(e) && e !== "/junk-files";}-function uyt() {+function gyt() {let e = R("#feedNew");- rP(e) ? sP(e, { revision: ++Q5.feedRevision }) : (e7(e), oP("feed-new", {+ nP(e) ? oP(e, { revision: ++Q5.feedRevision }) : (e7(e), aP("feed-new", {host: e,revision: Q5.feedRevision,helpers: Q5.feedNewHelpers,@@ -112690,28 +112810,28 @@ function uyt() {}function n7() {let e = R("#feedNew");- e.querySelectorAll(".feednewrow").forEach(js), cP(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+ e.querySelectorAll(".feednewrow").forEach(js), sP(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}-function dyt() {- Q5.feedRevision += 1, sP(R("#feedNew"), { revision: Q5.feedRevision }), s7({ feedRevision: Q5.feedRevision });+function _yt() {+ Q5.feedRevision += 1, oP(R("#feedNew"), { revision: Q5.feedRevision }), s7({ feedRevision: Q5.feedRevision });}-function fyt() {+function vyt() {document.querySelectorAll(".feednewrow").forEach((e) => Q.appSettings.feedAutoScroll ? As(e) : js(e));}-function pyt([e]) {+function yyt([e]) {R("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= Q5.HERO_WIDE_PX);}-function myt() {- Q5.FEED_SKELETON_CARDS = 8, Q5.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${ZT}"></div>+function byt() {+ Q5.FEED_SKELETON_CARDS = 8, Q5.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${XT}"></div><div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span><div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(Q5.FEED_SKELETON_CARDS)}</div>`, Q5.entityShapes = null, Q5.entityShapesComplete = !1, Q5.hasEntityShape = (e, t) => Q5.entityShapesComplete || !!Q5.entityShapes?.has(`${e}/${sn(t)}`), Q5.hasEntityPart = (e, t, n) => !!t && !!Q5.entityShapes?.get(`${e}/${sn(t)}`)?.includes(n), Q5.feedNewSkeletonSection = () => `<section class="feednew">${Q5.feedNewSkeletonHtml()}</section>`, Q5.COSTAR_SKELETON_PEOPLE = 12, Q5.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(Q5.COSTAR_SKELETON_PEOPLE)}</div></div>`, Q5.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, Q5.feedRevision = 0, Q5.feedNewHelpers = {- feedRowHtml: cyt,- wireFeedRow: (e) => lyt(e)- }, Q5.feedNewActions = { settled: (e) => ayt(e) }, Q5.HERO_WIDE_PX = 900, G5.resize(pyt).observe(R("#index"));+ feedRowHtml: myt,+ wireFeedRow: (e) => hyt(e)+ }, Q5.feedNewActions = { settled: (e) => dyt(e) }, Q5.HERO_WIDE_PX = 900, G5.resize(yyt).observe(R("#index"));}//#endregion//#region src/entity-skeleton.ts-function hyt(e, t, n, r = "") {+function xyt(e, t, n, r = "") {let i = e === "studio" || e === "agency", a = new URLSearchParams(location.search), o = a.get("browse") === "folders" || a.get("folder") ? `<div class="peach-react entity-folder-workspace" data-folder-workspace data-folder-browse><aside data-folder-tree-host><div class="flex flex-col gap-3"><span class="skeleton ui-configuration-skeleton-input"></span>${"<span class=\"skeleton\" style=\"width:75%;height:32px\"></span>".repeat(8)}</div></aside><div class="min-w-0"><div data-folder-header-host><span class="skeleton" style="width:160px;height:32px"></span></div>${n}</div></div>` : n;return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料"><span class="sr-only">正在读取资料</span><div aria-hidden="true" inert><div class="peach-react contents">@@ -112726,10 +112846,10 @@ function hyt(e, t, n, r = "") {}//#endregion//#region src/filter-controls-skeleton.ts-var r7 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Ao(e, "size-4 shrink-0"), i7 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", gyt = (e, t, n) => `<span data-entity-layout="" class="${EF}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${DF}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${i7}>${r7(r)}</span>`).join("")}</span>`;-function _yt(e, t) {- let n = XE(), r = new URLSearchParams(location.search), i = t && n === "cards" ? gyt(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${i7}>${r7("shuffle")}</button>${i}${gyt("馆藏显示方式", n, [[+var r7 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Ao(e, "size-4 shrink-0"), i7 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", Syt = (e, t, n) => `<span data-entity-layout="" class="${TF}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${EF}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${i7}>${r7(r)}</span>`).join("")}</span>`;+function Cyt(e, t) {+ let n = YE(), r = new URLSearchParams(location.search), i = t && n === "cards" ? Syt(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${i7}>${r7("shuffle")}</button>${i}${Syt("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -112767,11 +112887,11 @@ var a7 = {application: void 0};function o7() {- let e = nP(R("#index"));+ let e = tP(R("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}function s7(e) {- a7.entityPageCurrent() && sP(R("#index"), e);+ a7.entityPageCurrent() && oP(R("#index"), e);}function c7() {if (Jc.type === "item") return Jc;@@ -112788,14 +112908,14 @@ function c7() {return Jc;}function l7(e, t, n = B7()) {- return Dbt(n).map(([n, r]) => {- let i = e === n, a = IT(n, e, t);+ return Nbt(n).map(([n, r]) => {+ let i = e === n, a = FT(n, e, t);return {key: n,label: r,pressed: i,- dir: i && hue(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? hue(a.sort, a.dir) : ""}排序` : ""+ dir: i && gue(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? gue(a.sort, a.dir) : ""}排序` : ""};});}@@ -112803,7 +112923,7 @@ function u7(e, t, n, r = a7.EMPTY_ENTITY_MEDIA, i = {}) {return a7.application.route(e, t, n, r, i);}function d7() {- return Jvt({+ return eyt({entityWall: a7.entityPageWall,entityCurrent: a7.entityPageCurrent(),indexVisible: !R("#index").hidden,@@ -112815,13 +112935,13 @@ function d7() {function f7() {a7.photos.sync();}-function vyt() {- d7() ? fde(eE()) : aE();+function wyt() {+ d7() ? pde($T()) : iE();}-function yyt(e) {+function Tyt(e) {a7.photos.setSize(e);}-var byt = Vvt({+var Eyt = qvt({request: (e) => Ut("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })@@ -112829,20 +112949,20 @@ var byt = Vvt({success: () => K5.toast({ text: "已在资源管理器中显示" }),failureText: (e) => a7.sourceHint(e instanceof Error ? e.message : String(e))});-async function xyt(e) {+async function Dyt(e) {let t = { textContent: "" };- return await byt(e, t), t.textContent;+ return await Eyt(e, t), t.textContent;}-async function Syt(e) {+async function Oyt(e) {let t = { textContent: "" }, n = [];- return await Cyt(e, t, (e) => {+ return await kyt(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function Cyt(e, t, n) {+async function kyt(e, t, n) {t.textContent = "正在核对目录…";try {let r = await Ut("/api/purge-missing", {@@ -112872,17 +112992,17 @@ async function Cyt(e, t, n) {t.textContent = a7.sourceHint(e.message), K5.actionFailure("核对目录", e);}}-function wyt(e) {+function Ayt(e) {return `<div class="srctools">${a7.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function Tyt(e, t) {+function jyt(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && G5.handler(r, "onclick", () => byt(Number(r.dataset.reveal), n, { button: r })), i && G5.handler(i, "onclick", () => Cyt(Number(i.dataset.sync), n, t));+ r && G5.handler(r, "onclick", () => Eyt(Number(r.dataset.reveal), n, { button: r })), i && G5.handler(i, "onclick", () => kyt(Number(i.dataset.sync), n, t));}-async function Eyt(e, t) {+async function Myt(e, t) {let n = Js({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -112920,16 +113040,16 @@ async function Eyt(e, t) {});} }) : K5.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function Dyt(e, t) {- let n = ["performer", "studio"].includes(e) && Q5.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${jo()}${e === "agency" ? "" : _yt(l7(G.sort, G.dir, n), n ? {+function Nyt(e, t) {+ let n = ["performer", "studio"].includes(e) && Q5.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${jo()}${e === "agency" ? "" : Cyt(l7(G.sort, G.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: $T(),- options: XT- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${i7}>${z("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${i7}>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${Z.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${G.state === e.k}" ${i7}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = hyt(e, r, e === "agency" ? as({+ value: QT(),+ options: YT+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${i7}>${z("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${i7}>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${Z.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${G.state === e.k}" ${i7}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = xyt(e, r, e === "agency" ? as({kind: "performers",layout: S7.peopleIndexLayout()- }) : fz("正在读取作品", iE(rE({+ }) : dz("正在读取作品", rE(nE({active: n,home: !1,portrait: !1@@ -112944,14 +113064,14 @@ function p7(e, t) {};r(n.querySelector(".entityfoot"), e !== "agency" && Q5.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", Q5.costarSkeletonFoot())), r(n.querySelector(".feednew"), Q5.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", Q5.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && Q5.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", Q5.factsSkeleton()));}-function Oyt(e) {+function Pyt(e) {let t = Xt[e] || e, n = n5[t] || "条目", r = n5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";R("#index").innerHTML = Q.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}function m7(e, t) {k9(a7.application.fresh(e, t));}-function kyt() {+function Fyt() {a7.ENTITY_FILTER_KEYS = ["loc","creator",@@ -112962,10 +113082,10 @@ function kyt() {"orient","sort","dir"- ], a7.emptyEntityFilters = Z5, a7.parseEntityFilters = (e) => Hvt(e, {+ ], a7.emptyEntityFilters = Z5, a7.parseEntityFilters = (e) => Jvt(e, {sort: Q.appSettings.defaultSort,dir: Q.appSettings.defaultSortDirection- }), a7.entityFilterSearch = Uvt, a7.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), a7.entityFilterSearch = Yvt, a7.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, a7.activeFilterState = () => {@@ -112973,28 +113093,28 @@ function kyt() {return e.type === "home" ? G : e.filters;}, R("#q").value = G.q, Z.rememberSearchValue();}-function Ayt() {+function Iyt() {a7.entityPageView = "", a7.entityPageWall = !1, a7.entityPageRevision = 0, a7.entityPageCurrent = () => !!o7(), a7.entityPageLive = (e, t) => {let n = o7();return !!n && !R("#index").hidden && n.props.kind === e && n.props.name === t;}, a7.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, a7.parseMediaView = Wvt, a7.entityViewSearch = Gvt, a7.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, a7.entityBodySkeleton = () => d9(), a7.entityPageHelpers = {+ }, a7.parseMediaView = Xvt, a7.entityViewSearch = Zvt, a7.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, a7.entityBodySkeleton = () => d9(), a7.entityPageHelpers = {wireDrag: (e) => {e && g9(e);},wireScroller: (e) => {e && Cs(e);},- wireFeedRow: (e) => lyt(e),- feedRowHtml: cyt,+ wireFeedRow: (e) => hyt(e),+ feedRowHtml: myt,receipt: (e, t) => K5.actionReceipt(e, t),failure: (e, t) => K5.actionFailure(e, t),- aliasForm: (e, t) => Eyt(e, t),- sourceToolsHtml: (e) => wyt(e),- wireSourceTools: (e, t) => Tyt(e, t),- comboItems: (e) => sxt(e),+ aliasForm: (e, t) => Myt(e, t),+ sourceToolsHtml: (e) => Ayt(e),+ wireSourceTools: (e, t) => jyt(e, t),+ comboItems: (e) => pxt(e),sortKeys: (e, t, n) => l7(e, t, n)}, a7.entityFollowActions = {...A9.followFeedActions,@@ -113018,8 +113138,8 @@ function Ayt() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${z("folder-sync")}</button>`;}-function jyt() {- a7.application = $vt({+function Lyt() {+ a7.application = ayt({controller: {context: () => {let e = c7();@@ -113042,12 +113162,12 @@ function jyt() {preferences: () => ({revision: a7.entityPageRevision,feedRevision: Q5.feedRevision,- photoSize: eE(),- photoLayout: tE(),- photoLayouts: Xue,+ photoSize: $T(),+ photoLayout: eE(),+ photoLayouts: Zue,followImagesOnly: !!Q.appSettings.followImagesOnly,- javLayout: $T(),- javLayouts: XT,+ javLayout: QT(),+ javLayouts: YT,states: Z.VIEW_PILLS,peopleLayout: S7.peopleIndexLayout(),layout: u9(),@@ -113068,25 +113188,25 @@ function jyt() {writeSeed: (e) => {G.seed = e, Cl();},- setJavLayout: kbt,- javLayout: $T,- setPhotoLayout: ade,+ setJavLayout: Fbt,+ javLayout: QT,+ setPhotoLayout: ode,syncPhotoWalls: f7,openEntity: m7,photoViewActive: d7,recordPainted: (e, t) => {a7.entityPageView = e, a7.entityPageWall = t;},- syncDensity: vyt,+ syncDensity: wyt,scheduleSticky: q7,- releasePage: () => cP(R("#index")),- showMissing: Oyt,+ releasePage: () => sP(R("#index")),+ showMissing: Pyt,dropBars: Y5},loading: {shapesReady: (e, t) => Q5.hasEntityShape(e, t),- waitShapes: dbt,- paintSkeleton: Dyt,+ waitShapes: _bt,+ paintSkeleton: Nyt,resetView: () => {Sl({ detailReturnBarsContext: null }), a7.entityPageView = "", a7.entityPageWall = !1;},@@ -113095,20 +113215,20 @@ function jyt() {},photos: {preferences: () => ({- size: eE(),- layout: tE(),+ size: $T(),+ layout: eE(),imagesOnly: !!Q.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),pushEntity: s7,pushFollow: F9,- syncDensity: vyt,- storeSize: ide+ syncDensity: wyt,+ storeSize: ade},helpers: a7.entityPageHelpers,actions: {toggleTag: r9,- openFollowAuthor: sbt,+ openFollowAuthor: pbt,javContext: (e) => Sl({ entityJavLayout: !!e })},sortPreference: () => ({@@ -113120,7 +113240,7 @@ function jyt() {//#endregion//#region src/application/playlists.jsvar h7 = { playlistWrite: void 0 };-function Myt(e, t) {+function Ryt(e, t) {e === "tag" ? (Sl({ state: {...G,tag: t,@@ -113132,15 +113252,15 @@ function Myt(e, t) {orient: ""} }), Z.clearSearchField(), $.route(Y7()), j7(), n9()) : m7(e, t);}-function Nyt(e = "") {+function zyt(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;}-async function Pyt({ title: e, count: t, save: n }) {+async function Byt({ title: e, count: t, save: n }) {let r = Js({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: Nyt(e),+ body: zyt(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -113150,19 +113270,19 @@ async function Pyt({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await Ixt(a.id, a.current_asset_id, !0), K5.actionReceipt("已保存为播放列表", { undo: async () => {+ i && (await Hxt(a.id, a.current_asset_id, !0), K5.actionReceipt("已保存为播放列表", { undo: async () => {await h7.playlistWrite({action: "delete",id: a.id}), k9("/playlists");} }));}-async function Fyt(e) {+async function Vyt(e) {let t = ((await Ut("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Jo(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = Js({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: Nyt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Wo("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: zyt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Wo("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {@@ -113201,18 +113321,18 @@ async function Fyt(e) {});} });}-function Iyt() {+function Hyt() {Nc(), v9(!1), A7();- let e = nP(R("#stats"));+ let e = tP(R("#stats"));e?.path !== "/playlists" || !e.host.isConnected ? Sl({ pageOpens: pl + 1 }) : (k7({ manage: !1 }), Sl({ playlistsRevision: yl + 1 }));}-function Lyt(e) {+function Uyt(e) {$.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));}-function Ryt(e) {- Sl({ configurationRequestedSection: e }), $.navigatePath(NN(e));+function Wyt(e) {+ Sl({ configurationRequestedSection: e }), $.navigatePath(MN(e));}-function zyt() {+function Gyt() {h7.playlistWrite = (e) => Ut("/api/playlist", {method: "POST",body: JSON.stringify(e)@@ -113223,7 +113343,7 @@ function zyt() {function g7(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function Byt(e, t, n, r, i = !1) {+function Kyt(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -113231,19 +113351,19 @@ function Byt(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function Vyt(e, t, n, r, i, a = !1) {- let o = n === "follow", s = Xz(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+function qyt(e, t, n, r, i, a = !1) {+ let o = n === "follow", s = Yz(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...Byt(e, t, n, !0),+ ...Kyt(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function Hyt(e, t, n, r) {+function Jyt(e, t, n, r) {let i = g7(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: oG(n).view === "dismissed"+ junkDismissed: aG(n).view === "dismissed"};}//#endregion@@ -113266,33 +113386,33 @@ function v7() {}), F9({selected: new Set(Zc),selectMode: Qc- }), _7.batchDockProps = Qyt(), dvt() && (dvt().render(_7.batchDockProps), Q.syncGlassOptics());+ }), _7.batchDockProps = ibt(), _vt() && (_vt().render(_7.batchDockProps), Q.syncGlassOptics());}function y7(e, t = !1) {- Sl(Byt({+ Sl(Kyt({selected: Xc,followSelected: Zc}, x7(), g7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Qc), Qc && Nc(), R("#selectMode").setAttribute("aria-pressed", String(Qc)), v7();}-function Uyt() {+function Yyt() {return [...w7.gridCards()].map((e) => +e.dataset.id);}function b7(e, t = !1) {- Sl(Vyt({+ Sl(qyt({selected: Xc,followSelected: Zc- }, x7(), g7(location.pathname), Uyt(), e, t)), y7(!0);+ }, x7(), g7(location.pathname), Yyt(), e, t)), y7(!0);}-function Wyt() {+function Xyt() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function Gyt(e, t = !1) {- Sl(Vyt({+function Zyt(e, t = !1) {+ Sl(qyt({selected: Xc,followSelected: Zc- }, x7(), "follow", Wyt(), e, t)), y7(!0);+ }, x7(), "follow", Xyt(), e, t)), y7(!0);}-async function Kyt(e, t) {+async function Qyt(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -113361,7 +113481,7 @@ async function Kyt(e, t) {}});}-async function qyt() {+async function $yt() {let e = [...Xc];if (!e.length) return;let t = Js({@@ -113393,7 +113513,7 @@ async function qyt() {let { confirmed: n, result: r } = await t.done;n && (y7(!1, !0), await W7(), K5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function Jyt(e, t) {+async function ebt(e, t) {let n = [...Zc];if (!n.length) return;let r = {@@ -113428,7 +113548,7 @@ async function Jyt(e, t) {}});}-async function Yyt(e, t) {+async function tbt(e, t) {let n = [...Xc];if (!n.length) return;let r = {@@ -113474,8 +113594,8 @@ async function Yyt(e, t) {}});}-function Xyt() {- uvt({+function nbt() {+ gvt({root: R("[data-batch-dock]"),run: (e, t, n) => {_7.BATCH_RUNNERS[e]?.(t, n);@@ -113484,7 +113604,7 @@ function Xyt() {e.render(_7.batchDockProps), Q.syncGlassOptics();}).catch(() => {});}-function Zyt() {+function rbt() {_7.batchDockProps = {count: 0,context: "catalog",@@ -113497,14 +113617,14 @@ function Zyt() {["other", "其他"],["none", "撤回判定"]], _7.BATCH_RUNNERS = {- batch: Kyt,- region: qyt,- follow: Jyt,- junk: Yyt,+ batch: Qyt,+ region: $yt,+ follow: ebt,+ junk: tbt,clear: () => y7(!1, !0)}, G5.handler(R("#density"), "onclick", () => {- d7() ? yyt(eE() === "big" ? "small" : "big") : dde();- }), aE(), jc({+ d7() ? Tyt($T() === "big" ? "small" : "big") : fde();+ }), iE(), jc({selecting: () => Qc,censored: () => h9(),delaySeconds: () => Q.appSettings.hoverDelaySeconds@@ -113524,8 +113644,8 @@ function x7() {followLastSelectedId: el};}-function Qyt() {- return Hyt({+function ibt() {+ return Jyt({selected: Xc,followSelected: Zc}, location.pathname, location.search, G.state);@@ -113536,31 +113656,31 @@ var S7 = {peopleIndexLayout: void 0,personAvatar: void 0};-function $yt() {+function abt() {return Q.appSettings.followLayout === "table" ? "table" : "default";}-function ebt() {- return cU(location.search);+function obt() {+ return sU(location.search);}-function tbt(e) {- return lU(e);+function sbt(e) {+ return cU(e);}-function nbt(e) {- $.route(tbt(e));+function cbt(e) {+ $.route(sbt(e));}-function rbt(e = "") {- return uU(location.search, e);+function lbt(e = "") {+ return lU(location.search, e);}-function ibt(e) {- return zvt(e);+function ubt(e) {+ return Gvt(e);}-function abt(e) {- return Lvt(e);+function dbt(e) {+ return Uvt(e);}function C7() {R("#stats").hidden = !0, R("#index").hidden = !1, o9(), Z.hideCatalogCombo(), R("#count").textContent = "", R("#loadSentinel").hidden = !0;}-function obt(e, t) {+function fbt(e, t) {Sl({ state: {...G,state: "",@@ -113568,23 +113688,23 @@ function obt(e, t) {tag_match: t} }), y7(!1, !1), $.route(Y7()), j7(), T9(), n9();}-function sbt(e) {+function pbt(e) {S7.controller.openFollowAuthor(e);}-function cbt(e) {+function mbt(e) {S7.controller.openFollowTag(e);}-function lbt() {+function hbt() {A9.FOLLOW_MANAGE_TABS = ["list","add","feeds"], G5.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && Ryt("媒体库与入库");- }), S7.peopleIndexLayout = () => Hgt(Q.appSettings.peopleLayout), S7.personAvatar = Rvt;+ e.target.closest?.("[data-empty-settings]") && Wyt("媒体库与入库");+ }), S7.peopleIndexLayout = () => Jgt(Q.appSettings.peopleLayout), S7.personAvatar = Wvt;}-function ubt() {- S7.controller = Bvt({+function gbt() {+ S7.controller = Kvt({route: $.route,followView: M9,adoptFollowView: N9,@@ -113611,17 +113731,17 @@ function T7(e = "正在读取作品") {return;}let t = R("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = yFe(oG(location.search)), fs(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && t9({+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = bFe(aG(location.search)), fs(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && t9({count: null,- ...ext()+ ...oxt()})), R("#loadSentinel").hidden = !0, c9()) return;let r = R("#grid"), i = d9(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== JBe(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== fxt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : w7.setGridCards(i), fs(R("#grid")));+ (a?.dataset.skeleton !== eVe(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== vxt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : w7.setGridCards(i), fs(R("#grid")));}function E7() {R("#catalogFilter").style.display = "none", e9();}-function dbt() {+function _bt() {let e = new Promise((e) => {let t = w7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();@@ -113631,32 +113751,32 @@ function dbt() {});return Promise.race([w7.entityShapesReady ||= $5(), e]);}-function fbt() {+function vbt() {let e = decodeURIComponent(location.pathname);if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), E7();else if (/^\/assets\/\d+$/.test(e)) E7();else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) E7();else if (e === "/junk-files") T7("正在读取垃圾文件");- else if (e === "/jav" && mG(new URLSearchParams(location.search).get("tab")) === "library") T7("正在读取馆藏");+ else if (e === "/jav" && pG(new URLSearchParams(location.search).get("tab")) === "library") T7("正在读取馆藏");else if ($.managedPagePath(e)) {E7();let t = R("#stats");t.hidden = !1, o9(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? A9.followSkeletonHtml("正在读取关注内容") : w7.managementPlaceholder(e), fs(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) E7(), C7(), qgt(R("#index"), Ugt(e.slice(1), location.search), S7.peopleIndexLayout());+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) E7(), C7(), $gt(R("#index"), Ygt(e.slice(1), location.search), S7.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {E7(), R("#index").hidden = !1, o9();let t = Zt[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (Q5.hasEntityShape(t, n) ? Promise.resolve() : dbt()).then(() => {- R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (Dyt(t, n), fs(R("#index")));+ (Q5.hasEntityShape(t, n) ? Promise.resolve() : _bt()).then(() => {+ R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (Nyt(t, n), fs(R("#index")));});} else $.routeMeta(e) ? T7() : (o9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);}-function pbt() {+function ybt() {A9.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => vJ(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: eE()+ gridSize: $T()}), A9.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed><div data-follow-head><h2 data-follow-title>关注</h2></div><div class="tier followauthors" data-skeleton-tier="av"></div>@@ -113667,15 +113787,15 @@ function pbt() {${A9.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = Ko("继续载入中…"), w7.setGridCards = (e) => rs(R("#grid"), () => {R("#grid").innerHTML = `<div class="grid">${e}</div>`;}), w7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), w7.managementPlaceholder = (e) => yJ(e, {- followLayout: $yt(),+ followLayout: abt(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(ebt())+ }))(obt())}), w7.wantsDiscoveryBars = () => R("#catalogFilter").style.display !== "none", w7.entityShapesReady = null, w7.ENTITY_SHAPES_WAIT = 400, w7.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = JN(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Wxt();+ let t = new URL(e, location.origin), n = qN(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Xxt();};}//#endregion@@ -113687,7 +113807,7 @@ var D7 = (e) => e.replace(/[&<>"']/g, (e) => ({"\"": ""","'": "'"})[e]);-function mbt(e, t, n) {+function bbt(e, t, n) {let r = new Map(t.map((e) => [e[0], e]));return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${D7(r)}"/></svg>`;@@ -113696,7 +113816,7 @@ function mbt(e, t, n) {}//#endregion//#region src/application/filter-scroll.js-function hbt(e, t, n, r = !1) {+function xbt(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -113744,12 +113864,12 @@ function A7() {Z.hideCatalogCombo(), E7(), document.body.classList.remove("entity-open", "index-open");}function j7() {- document.body.classList.remove("entity-open", "index-open"), cP(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, t7(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", e9(), I7(), R7();+ document.body.classList.remove("entity-open", "index-open"), sP(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, t7(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", e9(), I7(), R7();}-function gbt() {+function Sbt() {$.route("/"), j7();}-function _bt({ tags: e = [], providers: t = [], duration: n = !1 }) {+function Cbt({ tags: e = [], providers: t = [], duration: n = !1 }) {w9({content: e.length || t.length || n ? {kind: "follow",@@ -113773,8 +113893,8 @@ function _bt({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: A9.followSidebarFilters()});}-function vbt(e) {- eSt({+function wbt(e) {+ oSt({...M9(),...e}), w9({ filters: A9.followSidebarFilters() });@@ -113786,39 +113906,39 @@ function N7(e) {let t = R("#drawer"), n = !e && t.contains(document.activeElement);t.inert = !e && M7(), t.classList.toggle("open", e), R("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), R("#filterBtn").setAttribute("aria-expanded", String(!!e)), R("#filterBtn").setAttribute("aria-controls", "drawer"), R("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && R("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function ybt() {+function Tbt() {M7() && N7(!1);}-function bbt() {+function Ebt() {dl === null && (Sl({ runtimeConfigurable: !1 }), Ut("/healthz").then((e) => {Sl({ runtimeConfigurable: !!e.configurable }), dl && F7() && I7();}).catch(() => {}));}function P7(e = "", t = !1) {- if (!t && !jN(location.pathname)) {- let t = _P.navigation;- _P.push(NN(e), { settingsBackground: {+ if (!t && !AN(location.pathname)) {+ let t = gP.navigation;+ gP.push(MN(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && vP(NN(e), {+ } else !t && e && _P(MN(e), {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state});- return e ||= MN(location.pathname), avt(O7.settingsHost()).then((t) => (t.open(e), t));+ return e ||= jN(location.pathname), dvt(O7.settingsHost()).then((t) => (t.open(e), t));}-function xbt() {- jN(location.pathname) && (PN(_P.navigation.location.state) ? _P.go(-1) : $.navigatePath("/", !0));+function Dbt() {+ AN(location.pathname) && (NN(gP.navigation.location.state) ? gP.go(-1) : $.navigatePath("/", !0));}-function Sbt() {+function Obt() {return {scroll: R("#drawerScroll"),store: Q.settingsStore,navCatalog: O7.NAV_CATALOG,navOn: G7,- navTo: Mbt,+ navTo: Rbt,toggleChip: (e, t, n) => $7((r) => {if (n) {let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);@@ -113834,8 +113954,8 @@ function Sbt() {selectFollowTag: (e) => {A9.followTags = /* @__PURE__ */ new Set([e]), N7(!1), k9(j9());},- selectFollowProvider: (e) => vbt({ provider: A9.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => vbt({+ selectFollowProvider: (e) => wbt({ provider: A9.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => wbt({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -113844,31 +113964,31 @@ function Sbt() {}};}-function Cbt() {+function kbt() {let e = R("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = mbt(Q.appSettings.sidebarOrder, O7.NAV_CATALOG, G7), e.querySelector("[data-sidebar-head]").append(...t), G5.listen(e, "click", (e) => {+ e.innerHTML = bbt(Q.appSettings.sidebarOrder, O7.NAV_CATALOG, G7), e.querySelector("[data-sidebar-head]").append(...t), G5.listen(e, "click", (e) => {if (z5()) return;let t = e.target.closest?.("[data-nav]");- t && Mbt(t.dataset.nav);- }), svt(Sbt()).then((e) => e.render(O7.sidebarProps)).catch(() => {});+ t && Rbt(t.dataset.nav);+ }), pvt(Obt()).then((e) => e.render(O7.sidebarProps)).catch(() => {});}-async function wbt() {+async function Abt() {let e = G5, t = null;try {t = await Ut("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && Vue(t, (e) => Q.settingsEffects[e]?.());+ e.isActive && Hue(t, (e) => Q.settingsEffects[e]?.());}function F7() {return $.routeMeta(decodeURIComponent(location.pathname))?.route.section || (G.state === "ads" ? "cleanup" : "");}function I7() {let e = F7();- bbt(), e && E7(), R("#count").classList.toggle("no-tagbar", !!e), T9(), e !== "trash" && (_7.trashCount = null), L7(e);+ Ebt(), e && E7(), R("#count").classList.toggle("no-tagbar", !!e), T9(), e !== "trash" && (_7.trashCount = null), L7(e);}-function Tbt(e) {+function jbt(e) {return {section: e,path: decodeURIComponent(location.pathname),@@ -113879,30 +113999,30 @@ function Tbt(e) {}function L7(e = F7()) {R7();- let t = Tbt(e), n = lvt();+ let t = jbt(e), n = hvt();if (n) n.render(t);else {- let e = Bme(t);+ let e = Vme(t);e !== O7.manageHeaderSkeleton && (O7.manageHeaderSkeleton = e, O7.manageHeaderRoot().innerHTML = e);}- let r = WD(t)?.title || "";+ let r = UD(t)?.title || "";r !== O7.lastManagePageLabel && (O7.lastManagePageLabel = r, r && ns(O7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function Ebt() {+function Mbt() {let e = O7.manageHeaderRoot();G5.listen(e, "click", (e) => {- if (lvt()) return;+ if (hvt()) return;let t = e.target.closest?.("[data-manage]");if (t) z7(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), $.navigatePath("/data-cleanup");- } else e.target.closest?.("[data-empty-trash]") && oxt();- }), cvt({+ } else e.target.closest?.("[data-empty-trash]") && fxt();+ }), mvt({root: e,openManage: z7,openDataCleanup: () => $.navigatePath("/data-cleanup"),- emptyTrash: oxt+ emptyTrash: fxt}).then(() => L7()).catch(() => {});}function R7() {@@ -113913,46 +114033,46 @@ function R7() {}function z7(e = "stats") {let t = $.routePathOf("section", e);- t ? $.openRoutePath(t) : (G.orient = "", G.state = "ads", Cl(), $.route(sG()), j7(), T9(), n9());+ t ? $.openRoutePath(t) : (G.orient = "", G.state = "ads", Cl(), $.route(oG()), j7(), T9(), n9());}function B7() {let e = decodeURIComponent(location.pathname);return e === "/" ? G.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? G.jav === "1" || hl : !1;}-function Dbt(e = B7()) {- let t = fue.filter(([e]) => e !== "seed");- return e ? [NT, ...t] : t;+function Nbt(e = B7()) {+ let t = pue.filter(([e]) => e !== "seed");+ return e ? [MT, ...t] : t;}function V7() {return decodeURIComponent(location.pathname) === "/" && G.jav !== "1";}function H7() {- return Que(V7());+ return $ue(V7());}-function Obt(e) {- tde(e), U7(), R("#grid").hidden || f9();+function Pbt(e) {+ nde(e), U7(), R("#grid").hidden || f9();}-function kbt(e) {- nde(e), U7(), f9();+function Fbt(e) {+ rde(e), U7(), f9();}function U7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {e.checked = e.value === H7();- }), Z.catalogFilterProps && t9({ layout: $bt() });+ }), Z.catalogFilterProps && t9({ layout: axt() });}-function Abt(e) {- rde(e), U7(), f9();+function Ibt(e) {+ ide(e), U7(), f9();}async function W7() {- Y5(), Z.mixRelatedCache.clear(), await Promise.all([jbt(), n9()]);+ Y5(), Z.mixRelatedCache.clear(), await Promise.all([Lbt(), n9()]);}-async function jbt() {+async function Lbt() {if (a7.entityPageCurrent() && !R("#index").hidden) {s7({ revision: ++a7.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (JN(e)?.reload === "reopen" || e === "/follow") {+ if (qN(e)?.reload === "reopen" || e === "/follow") {Sl({ pageOpens: pl + 1 });return;}@@ -113968,8 +114088,8 @@ function G7(e) {}return e === "jav" ? t === "/jav" || B7() : e === "shorts" ? G.orient === "竖屏" : e === "" ? t === "/" && !F7() && !G.state && !B7() && G.orient !== "竖屏" : Kt[e] ? n === e && G.orient !== "竖屏" : n ? n === e : t === "/" && G.state === e && G.orient !== "竖屏";}-function Mbt(e) {- if (ybt(), O7.DIRECT_MANAGE_NAV[e]) {+function Rbt(e) {+ if (Tbt(), O7.DIRECT_MANAGE_NAV[e]) {z7(O7.DIRECT_MANAGE_NAV[e]);return;}@@ -113994,11 +114114,11 @@ function K7() {let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Zt, t[0]), r = Yt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";R("#selectMode").hidden = !i, R("#density").hidden = !a, f7(), !i && Qc && y7(!1, !0);}-function Nbt() {+function zbt() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);(t !== O7.mobileFilterHost || location.pathname !== O7.mobileFilterPath) && (O7.mobileFilterScroll = null), O7.mobileFilterHost = t, O7.mobileFilterPath = location.pathname;let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");- O7.mobileFilterScroll = hbt(O7.mobileFilterScroll, n, innerWidth <= 760, r);+ O7.mobileFilterScroll = xbt(O7.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {let e = n === t && O7.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;@@ -114012,44 +114132,44 @@ function Nbt() {});}}-function Pbt() {- Nbt(), [".board-filter-frame", "#count"].forEach((e) => {+function Bbt() {+ zbt(), [".board-filter-frame", "#count"].forEach((e) => {let t = R(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);});}function q7() {O7.stickyFrame ||= G5.frame(() => {- O7.stickyFrame = 0, Pbt();+ O7.stickyFrame = 0, Bbt();});}-function Fbt() {+function Vbt() {A9.followSidebarFilters = () => ({provider: [...A9.followProviders][0] || "",dur_min: A9.followDurMin || "",dur_max: A9.followDurMax || ""- }), G5.handler(R("#filterBtn"), "onclick", () => N7(!R("#drawer").classList.contains("open"))), O7.SIDEBAR_ITEMS = jvt, O7.MANAGE_SECTIONS = X5, O7.MANAGE_MENU_SECTIONS = Mvt, O7.manageMenuSections = () => Nvt(dl === !0), O7.OPTIONAL_SIDEBAR_ITEMS = Pvt, O7.NAV_CATALOG = Fvt, O7.DIRECT_MANAGE_NAV = Ivt, O7.settingsHost = () => ({- selectSection: (e) => vP(NN(e), {+ }), G5.handler(R("#filterBtn"), "onclick", () => N7(!R("#drawer").classList.contains("open"))), O7.SIDEBAR_ITEMS = Lvt, O7.MANAGE_SECTIONS = X5, O7.MANAGE_MENU_SECTIONS = Rvt, O7.manageMenuSections = () => zvt(dl === !0), O7.OPTIONAL_SIDEBAR_ITEMS = Bvt, O7.NAV_CATALOG = Vvt, O7.DIRECT_MANAGE_NAV = Hvt, O7.settingsHost = () => ({+ selectSection: (e) => _P(MN(e), {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state}),- closed: xbt,+ closed: Dbt,store: Q.settingsStore,changed: (e) => Q.settingsEffects[e]?.(),sound: (e) => no(e),navCatalog: O7.NAV_CATALOG,- themeOptions: Uue,- videoLayouts: XT,+ themeOptions: Wue,+ videoLayouts: YT,followInitialRanges: xq,videoLayout: () => H7(),- setVideoLayout: Abt,+ setVideoLayout: Ibt,censored: h9,- setCensored: wxt,+ setCensored: Axt,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: Txt,+ setHighContrast: jxt,receipt: (e) => K5.actionReceipt(e),failure: K5.actionFailure,- syncRemote: (e) => Vue(e, (e) => Q.settingsEffects[e]?.()),+ syncRemote: (e) => Hue(e, (e) => Q.settingsEffects[e]?.()),openConfiguration: () => $.navigatePath("/settings/library"),attached: () => Q.syncGlassOptics(),configurable: () => Ut("/healthz").then((e) => (Sl({ runtimeConfigurable: !!e.configurable }), dl)).catch(() => null)@@ -114061,15 +114181,15 @@ function Fbt() {}//#endregion//#region src/catalog-filter-skeleton.ts-var Ibt = 64, J7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var Hbt = 64, J7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), Lbt = (e) => e.repeat(Ibt);-function Rbt(e, t, n) {+})[e]), Ubt = (e) => e.repeat(Hbt);+function Wbt(e, t, n) {let r = e.map((e) => `<a href="${J7(e.href)}" data-catalog-view="${J7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${J7(e.label)}</a>`).join("");- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Lbt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + Lbt("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(Ibt) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${jo()}</span>` + (n ? _yt(n.sorts, n.layout) : "") + "</div></div></div></div>";+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Ubt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + Ubt("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(Hbt) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${jo()}</span>` + (n ? Cyt(n.sorts, n.layout) : "") + "</div></div></div></div>";}//#endregion//#region src/application/catalog.js@@ -114108,40 +114228,40 @@ var Z = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function zbt() {- Z.initialParams.has("loc") || (G.loc = Bbt(G.loc), Cl());+function Gbt() {+ Z.initialParams.has("loc") || (G.loc = Kbt(G.loc), Cl());}-function Bbt(e) {- return bvt(e, Q.sourceOnline);+function Kbt(e) {+ return Evt(e, Q.sourceOnline);}function Y7(e = G) {- return xvt(e);+ return Dvt(e);}-function Vbt() {- Sl(Cvt(Svt(G, Q.appSettings, K5.rollSeed))), Y5();+function qbt() {+ Sl(kvt(Ovt(G, Q.appSettings, K5.rollSeed))), Y5();}function X7(e = null, t = !1) {- Vbt(), e && (Object.assign(G, e), Cl()), $.route(e ? Y7() : "/"), Z.clearSearchField(), v9(!1), j7(), T9(), n9(), t && window.scrollTo({+ qbt(), e && (Object.assign(G, e), Cl()), $.route(e ? Y7() : "/"), Z.clearSearchField(), v9(!1), j7(), T9(), n9(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function Hbt(e, t = null) {+function Jbt(e, t = null) {let n = e.id;!e.medium || e.medium === "video" ? b9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : b7(n);}-function Ubt(e) {+function Ybt(e) {return Z.mixRelatedCache.has(e) || Z.mixRelatedCache.set(e, Ut("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {throw Z.mixRelatedCache.delete(e), t;})), Z.mixRelatedCache.get(e);}-function Wbt(e, t) {- j5()?.miniplayerTakesCard(e) ? j5().miniplayerPlay(e.id) : Gbt(e, t);+function Xbt(e, t) {+ j5()?.miniplayerTakesCard(e) ? j5().miniplayerPlay(e.id) : Zbt(e, t);}-function Gbt(e, t) {- e.edition_group ? Pxt(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Fxt(e.part_group.seed_id, e.id, !0, t) : b9(e.id, !0, null, t);+function Zbt(e, t) {+ e.edition_group ? Bxt(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Vxt(e.part_group.seed_id, e.id, !0, t) : b9(e.id, !0, null, t);}-async function Kbt(e, t) {+async function Qbt(e, t) {try {let n = await Ut("/api/watch-later", {method: "POST",@@ -114158,7 +114278,7 @@ async function Kbt(e, t) {K5.actionFailure("更新稍后看", e);}}-async function qbt(e, t) {+async function $bt(e, t) {try {await Ut("/api/batch", {method: "POST",@@ -114182,8 +114302,8 @@ async function qbt(e, t) {throw K5.actionFailure("操作", e), e;}}-async function Jbt(e, t, n, r) {- let i = Number(e.rating) || 0, a = ope(i, t), o = async (t, r) => {+async function ext(e, t, n, r) {+ let i = Number(e.rating) || 0, a = spe(i, t), o = async (t, r) => {let i = (await Ut("/api/feedback", {method: "POST",body: JSON.stringify({@@ -114197,12 +114317,12 @@ async function Jbt(e, t, n, r) {};try {let e = await o(a, r);- K5.actionReceipt(e ? `已评 ${tD(e)} 星` : "已取消评分", { undo: () => o(i) });+ K5.actionReceipt(e ? `已评 ${eD(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {throw r?.aborted || K5.actionFailure("评分", e), e;}}-async function Ybt(e) {+async function txt(e) {let t = new URLSearchParams();if (B7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && G.state && t.set("state", G.state), e.type !== "item") {let e = a7.activeFilterState();@@ -114225,9 +114345,9 @@ async function Ybt(e) {e[n] && t.set(n, e[n]);});}- return kvt(t.toString(), Z.topsQueryParams(e).toString());+ return Fvt(t.toString(), Z.topsQueryParams(e).toString());}-function Xbt() {+function nxt() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -114240,14 +114360,14 @@ function Xbt() {});}function Z7(e) {- c7().type !== "entity" && t9({ tags: txt(e) }), w9({ filters: { ...e } }), i9();+ c7().type !== "entity" && t9({ tags: sxt(e) }), w9({ filters: { ...e } }), i9();}async function Q7(e) {- let t = ++Z.facetCountsSeq, [n] = await Ybt(e);- t === Z.facetCountsSeq && (e.type === "home" && (_9.facets = n), w9({ latest: xxt(n, e) }));+ let t = ++Z.facetCountsSeq, [n] = await txt(e);+ t === Z.facetCountsSeq && (e.type === "home" && (_9.facets = n), w9({ latest: Dxt(n, e) }));}function $7(e) {- Xbt();+ nxt();let t = c7();if (t.type === "entity") {let n = { ...t.filters };@@ -114264,7 +114384,7 @@ function $7(e) {} }), $.route(Y7()), j7(), n9();} else e(G), Cl(), $.route(Y7()), Z7(G), Q7(Jc);}-function Zbt() {+function rxt() {return {tiers: null,empty: !1,@@ -114281,7 +114401,7 @@ function Zbt() {combo: [],comboHidden: !0,comboHost: R("#combo"),- actions: Qbt(),+ actions: ixt(),helpers: {wireDrag: g9,wireScroller: (e) => {@@ -114299,16 +114419,16 @@ function t9(e) {...e,offscreen: n}, Z.catalogFilterProps = {- ...Z.catalogFilterProps || Zbt(),+ ...Z.catalogFilterProps || rxt(),...e- }, !Z.catalogFilterMounting && (rP(t) ? sP(t, e) : (!t.firstChild && !n && (t.innerHTML = Rbt(Z.catalogViews(), Z.catalogFilterProps.state, ext()), fs(t)), Z.catalogFilterMounting = oP("catalog-filter", Z.catalogFilterProps, {+ }, !Z.catalogFilterMounting && (nP(t) ? oP(t, e) : (!t.firstChild && !n && (t.innerHTML = Wbt(Z.catalogViews(), Z.catalogFilterProps.state, oxt()), fs(t)), Z.catalogFilterMounting = aP("catalog-filter", Z.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => sP(t, Z.catalogFilterProps)).finally(() => {+ }).then(() => oP(t, Z.catalogFilterProps)).finally(() => {Z.catalogFilterMounting = null;})));}-function Qbt() {+function ixt() {return {currentHref: () => {let e = new URL(Y7(), location.origin);@@ -114326,49 +114446,49 @@ function Qbt() {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = IT(e, G.sort, G.dir);+ let t = FT(e, G.sort, G.dir);t && (G.sort = t.sort, G.dir = t.dir, Cl(), m9());},- reshuffle: () => Sxt(),+ reshuffle: () => Oxt(),setLayout: (e) => {- B7() ? kbt(e) : Obt(e);+ B7() ? Fbt(e) : Pbt(e);},moreTops: async (e) => {let t = Z.catalogTopsPages;if (!t) return [];- let n = (await Avt(Z.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(nxt) : n.map(rxt);+ let n = (await Ivt(Z.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(cxt) : n.map(lxt);}};}-function $bt() {+function axt() {return B7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: $T(),- options: XT+ value: QT(),+ options: YT} : V7() ? {name: "home-layout",label: "首页卡片版式",value: H7(),- options: XT+ options: YT} : null;}-function ext() {+function oxt() {return {sorts: l7(G.sort, G.dir),- layout: $bt(),+ layout: axt(),state: G.state || "",trash: G.state === "trash"};}-function txt(e) {+function sxt(e) {return Z.catalogTagRows.map((t) => ({...t,selected: Z.tagPressed(e.tag, t.k)}));}-function nxt(e) {+function cxt(e) {return {name: e.k,ringHtml: `<span data-tier-initial>${B(_n(e.k))}</span>${Ea({@@ -114382,14 +114502,14 @@ function nxt(e) {})}`};}-function rxt(e) {+function lxt(e) {return {name: e.k,fallback: gn(e.k, 2),logo: e.has_logo ? Ca(e.k, "icon", e.logo_version) : ""};}-function ixt(e) {+function uxt(e) {Z.catalogFilterProps?.tiers || (Z.barsRendered = "", t9({tiers: null,state: e.state || ""@@ -114405,8 +114525,8 @@ async function n9() {G.seed || "",B7()]);- ixt(n);- let [i, a] = await Ybt(t);+ uxt(n);+ let [i, a] = await txt(t);if (e !== Z.barsRequestSeq) return;let o = r + "\n" + JSON.stringify([i, a]);if (o === Z.barsRendered) {@@ -114433,25 +114553,25 @@ async function n9() {})), t9({tiers: {key: String(Z.barsRequestSeq),- performers: a.performers.map(nxt),- studios: a.studios.map(rxt)+ performers: a.performers.map(cxt),+ studios: a.studios.map(lxt)},empty: c,- tags: txt(n),+ tags: sxt(n),tagFirst: d.length + p.length,views: Z.catalogViews(),state: n.state || ""}), i9(), O7.sidebarCatalog = {kind: "catalog",key: String(++O7.sidebarContentSeq),- facets: xxt(i, t)+ facets: Dxt(i, t)}, w9({content: O7.sidebarCatalog,filters: { ...n },latest: null});}-function axt(e, t) {+function dxt(e, t) {_9.total = e, G.state === "trash" && (_7.trashCount = {total: _9.total,shown: t@@ -114460,7 +114580,7 @@ function axt(e, t) {shown: t} });}-function oxt() {+function fxt() {return Ys({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",@@ -114482,7 +114602,7 @@ function r9(e) {t.tag = e ? Z.withTagToggled(t.tag, e) : "";});}-function sxt(e) {+function pxt(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -114504,7 +114624,7 @@ function sxt(e) {}function i9() {t9({- combo: sxt(G),+ combo: pxt(G),comboHidden: !Z.catalogOnScreen()});}@@ -114516,43 +114636,43 @@ async function a9() {filters: G},detailReturnBarsContext: null- }), v9(!1), G.state === "ads") return mxt(e);+ }), v9(!1), G.state === "ads") return bxt(e);if (Z.controller.page === "/junk-files" && o9(), T7(), j7(), t7(location.pathname) && G.browse !== "folders") {if (await w7.entityShapesReady, !$.surfaceCurrent(e)) return;- uyt();+ gyt();} else n7();- return i9(), R("#count").classList.remove("manage-static", "junkcount"), lxt(e);+ return i9(), R("#count").classList.remove("manage-static", "junkcount"), hxt(e);}-function cxt(e) {+function mxt(e) {Z.controller.settle(e);}function o9() {let e = R("#grid");- Nc(e), cP(e), Z.controller.clear(), e.innerHTML = "";+ Nc(e), sP(e), Z.controller.clear(), e.innerHTML = "";}-function lxt(e) {- return dxt("/", pxt, e, { place: nSt });+function hxt(e) {+ return _xt("/", yxt, e, { place: cSt });}-function uxt(e) {- return dxt("/junk-files", gxt, e);+function gxt(e) {+ return _xt("/junk-files", Sxt, e);}function s9() {- return !!nP(R("#grid"));+ return !!tP(R("#grid"));}function c9() {return Z.controller.taken(s9());}function l9(e) {- sP(R("#grid"), e);+ oP(R("#grid"), e);}-function dxt(e, t, n, r = {}) {+function _xt(e, t, n, r = {}) {let i = R("#grid");Z.controller.page && Z.controller.page !== e && o9();let a = Z.controller.begin(e, s9()), o = t();if (!a.mount) return l9(o), a.settled;Nc(i);- let s = () => cP(i);- return a.signal.addEventListener("abort", s, { once: !0 }), oP(e, o, {+ let s = () => sP(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), aP(e, o, {...r,container: i,isCurrent: () => $.surfaceCurrent(n) && a.isCurrent()@@ -114562,17 +114682,17 @@ function dxt(e, t, n, r = {}) {}function u9() {let e = V7();- return rE({+ return nE({active: B7() || e,home: e,portrait: G.orient === "竖屏"});}function d9(e = "正在读取作品") {- return fz(e, fxt());+ return dz(e, vxt());}-function fxt() {- return G ? iE(u9()) : 16 / 9;+function vxt() {+ return G ? rE(u9()) : 16 / 9;}function f9() {c9() && (Nc(R("#grid")), l9({@@ -114583,7 +114703,7 @@ function f9() {seekSeconds: Q.appSettings.seekSeconds}));}-function pxt() {+function yxt() {let e = decodeURIComponent(location.pathname), t = Yt(e), n = G.state === "trash";return {mode: "catalog",@@ -114596,7 +114716,7 @@ function pxt() {seekSeconds: Q.appSettings.seekSeconds,revision: Z.controller.revision,wireDrag: g9,- settled: cxt,+ settled: mxt,skeletonHtml: () => d9(),filters: { ...G },batchSize: Q.appSettings.batchSize,@@ -114605,9 +114725,9 @@ function pxt() {mix: t && e !== "/wall" && !n && G.browse !== "folders",shorts: t && e !== "/wall" && !B7() && G.orient !== "竖屏" && !n && G.browse !== "folders",countRow: R("#count"),- onCount: axt,+ onCount: dxt,onCountFailed: () => t9({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Q.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : iL({+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Q.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : rL({jav: B7() && !t,configurable: dl,filtered: !t@@ -114615,11 +114735,11 @@ function pxt() {canLoadMore: () => R("#stats").hidden && R("#index").hidden};}-function mxt(e) {+function bxt(e) {let t = R("#count");- return Z.controller.page === "/junk-files" && s9() && !Z.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (o9(), T7("正在读取垃圾文件")), j7(), i9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), uxt(e);+ return Z.controller.page === "/junk-files" && s9() && !Z.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (o9(), T7("正在读取垃圾文件")), j7(), i9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), gxt(e);}-async function hxt(e, t) {+async function xxt(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await Ut("/api/batch", {@@ -114644,9 +114764,9 @@ async function hxt(e, t) {throw K5.actionFailure("操作", e), e;}}-function gxt() {+function Sxt() {return {- ...oG(location.search),+ ...aG(location.search),helpers: Z.junkQueueHelpers,actions: Z.junkQueueActions,batchSize: Q.appSettings.batchSize,@@ -114654,7 +114774,7 @@ function gxt() {selectMode: Qc,selected: new Set(Xc),countRow: R("#count"),- settled: cxt,+ settled: mxt,skeletonHtml: () => vJ("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"@@ -114662,8 +114782,8 @@ function gxt() {canLoadMore: () => R("#stats").hidden && R("#index").hidden};}-function _xt() {- Z.initialParams = new URLSearchParams(location.search), Z.resolveSort = (e, t, n = Q.appSettings.defaultSort) => vvt(e, t, Q.appSettings, n), Sl(Cvt(yvt(location, Q.appSettings, K5.rollSeed))), Z.searchValueSnapshot = {+function Cxt() {+ Z.initialParams = new URLSearchParams(location.search), Z.resolveSort = (e, t, n = Q.appSettings.defaultSort) => wvt(e, t, Q.appSettings, n), Sl(kvt(Tvt(location, Q.appSettings, K5.rollSeed))), Z.searchValueSnapshot = {text: "",scrollLeft: 0}, Z.cancelSearchDissolve = () => {}, Z.rememberSearchValue = (e = R("#q")) => {@@ -114684,33 +114804,33 @@ function _xt() {};};}-function vxt() {+function wxt() {G5.handler(R("#wallBtn"), "onclick", () => {y7(!1, !0);let e = c7(), t = {...a7.activeFilterState(),jav: B7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), $.navigatePath(UTe(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), $.navigatePath(WTe(void 0, t));}), Z.mixRelatedCache = /* @__PURE__ */ new Map(), Z.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, Z.tagList = (e = G.tag) => String(e || "").split(",").filter(Boolean), Z.tagPressed = (e, t) => Z.tagList(e).includes(String(t)), Z.withTagToggled = (e, t) => {let n = Z.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, Z.gridHelpers = {badgeHtml: (e, t) => Q.srcBadge(e, t),- titleHtml: (e, t) => CO(e, t),- displayName: (e, t) => SO(e, t),+ titleHtml: (e, t) => SO(e, t),+ displayName: (e, t) => xO(e, t),tagLabel: (e) => Lc(e)}, Z.gridActions = {wallPlayer: async (e, t, n) => {let r = await A5(_9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: Gbt,- open: (e, t) => Wbt(e, t),- openResource: (e, t) => j5()?.miniplayerTakesCard(e) ? j5().miniplayerPlay(e.id) : Hbt(e, t),+ wallDetails: Zbt,+ open: (e, t) => Xbt(e, t),+ openResource: (e, t) => j5()?.miniplayerTakesCard(e) ? j5().miniplayerPlay(e.id) : Jbt(e, t),openShort: (e) => j5()?.miniplayerTakesCard(e) ? j5().miniplayerPlay(e.id) : x9(e.id),openShorts: () => x9(),- openMix: (e, t) => Nxt(e, e, !0, t),+ openMix: (e, t) => zxt(e, e, !0, t),openEntity: (e, t) => m7(e, t),openUnowned: () => X7({ owner: "none" }, !0),toggleTag: (e) => {@@ -114722,10 +114842,10 @@ function vxt() {});},toggleSelection: (e, t) => b7(e, t),- watchLater: (e, t) => Kbt(e, t),- rate: (e, t, n, r) => Jbt(e, t, n, r),- resourceOperation: (e, t) => qbt(e, t),- mixRelated: (e) => Ubt(e),+ watchLater: (e, t) => Qbt(e, t),+ rate: (e, t, n, r) => ext(e, t, n, r),+ resourceOperation: (e, t) => $bt(e, t),+ mixRelated: (e) => Ybt(e),canFlip: () => !Qc && !h9() && !window.__scrolling && !Z.reduceMotion()}, Z.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({@@ -114755,7 +114875,7 @@ function vxt() {href: e.k ? Kt[e.k] : "/"})), Z.TAGS_FIRST = 26, G5.listen(R("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), Qbt().setView(t.dataset.catalogView));+ t && !e.defaultPrevented && (e.preventDefault(), ixt().setView(t.dataset.catalogView));}), Z.catalogOnScreen = () => R("#index").hidden && R("#stats").hidden, Z.COMBO_LABELS = {creator: "创作者",studio: "厂牌",@@ -114764,7 +114884,7 @@ function vxt() {Z.catalogFilterProps && t9({ comboHidden: !0 });};}-function yxt() {+function Txt() {Z.junkQueueHelpers = { badgeHtml: (e, t) => Q.srcBadge(e, t) }, Z.junkQueueActions = {navigate: (e) => {Qc && y7(!1, !0), $.route(e);@@ -114781,10 +114901,10 @@ function yxt() {return a7.sourceHint(e.message);}},- operate: (e, t) => hxt(e, t)+ operate: (e, t) => xxt(e, t)};}-Z.controller = new wvt();+Z.controller = new Avt();//#endregion//#region src/application/preferences.jsvar Q = {@@ -114819,18 +114939,18 @@ async function p9() {if (!e.isActive) return Q.sourceOnline;Q.sourceOnline = {}, Q.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Q.sourceOnline).includes(!1)), zbt(), Q.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Q.sourceOnline).includes(!1)), Gbt(), Q.sourceOnline;}function m9() {let e = $.surfacePath();if (!Yt(e) || e === "/junk-files") return a9();let t = Q.nextCatalogLoad();- return vP(Y7(), {+ return _P(Y7(), {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state}), t;}-function bxt(e) {+function Ext(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -114851,7 +114971,7 @@ function bxt(e) {cost: "free"};}-function xxt(e, t) {+function Dxt(e, t) {let n = (e, t = (e) => e.label || Lc(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),@@ -114862,7 +114982,7 @@ function xxt(e, t) {value: e.k,label: yn[e.k] || e.k,n: e.n ?? null,- dot: bxt(e.k),+ dot: Ext(e.k),...Q.sourceOffline(e.k) ? { offline: Q.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -114874,17 +114994,17 @@ function xxt(e, t) {duration: !!e.stats?.duration};}-async function Sxt(e = !1) {+async function Oxt(e = !1) {if (e && (document.hidden || !Yt(decodeURIComponent(location.pathname)) || _9.stageOpen() || _9.immerseOpen() || Qc || Xc.size || document.activeElement === R("#q"))) return !1;if (!R("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = $.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- Iyt();+ Hyt();return;}let n = t === "reopen" ? e : "/stats";- n === e ? $.navigatePath(location.pathname + location.search + location.hash, !0, _P.navigation.location.state) : $.navigatePath(n);+ n === e ? $.navigatePath(location.pathname + location.search + location.hash, !0, gP.navigation.location.state) : $.navigatePath(n);} else if (R("#index").hidden) {G.sort = "seed", G.dir = "", G.seed = K5.rollSeed(), Cl(), Y5(), t9({ refreshing: !0 });try {@@ -114902,47 +115022,47 @@ async function Sxt(e = !1) {function h9() {return document.body.classList.contains("censor");}-function Cxt(e) {+function kxt(e) {document.body.classList.toggle("censor", e), Q.settingsStore.notify();}-function wxt(e) {- localStorage.setItem(Q.CENSOR_KEY, e ? "1" : "0"), Cxt(e), e && Nc();+function Axt(e) {+ localStorage.setItem(Q.CENSOR_KEY, e ? "1" : "0"), kxt(e), e && Nc();}-function Txt(e) {+function jxt(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Q.settingsStore.notify();}function g9(e) {return Cs(e, { drag: !0 });}-function Ext() {+function Mxt() {["#nrow", "#count"].forEach((e) => g9(R(e))), document.querySelectorAll(".tier,.srow").forEach(g9);}-function Dxt() {+function Nxt() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function Oxt() {+function Pxt() {Q.sourceOnline = {}, Q.sourceProblems = {}, Q.sourceOffline = (e) => Q.sourceOnline[e] === !1, Q.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Q.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"- }, Q.offlineReason = (e) => Q.sourceProblems[e] || Q.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Q.settingsStore = qT(), Q.appSettings = Q.settingsStore.value, Q.saveSettings = () => Q.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Q.appSettings.hoverDelaySeconds}s`), to(Q.appSettings.uiSounds), so(), YT(), Jue(), pde(), sE(), cE(), Q.catalogLoadWaiters = [], Q.nextCatalogLoad = () => new Promise((e) => Q.catalogLoadWaiters.push(e)), Q.handOff = (e) => (Q.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Q.settingsEffects = {- theme: () => YT(),+ }, Q.offlineReason = (e) => Q.sourceProblems[e] || Q.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Q.settingsStore = KT(), Q.appSettings = Q.settingsStore.value, Q.saveSettings = () => Q.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Q.appSettings.hoverDelaySeconds}s`), to(Q.appSettings.uiSounds), so(), JT(), Yue(), mde(), oE(), sE(), Q.catalogLoadWaiters = [], Q.nextCatalogLoad = () => new Promise((e) => Q.catalogLoadWaiters.push(e)), Q.handOff = (e) => (Q.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Q.settingsEffects = {+ theme: () => JT(),uiSounds: () => {to(Q.appSettings.uiSounds), Q.appSettings.uiSounds && no("toggle-on");},- glowFrame: () => oE(),+ glowFrame: () => aE(),glow: () => {- oE(), sE();+ aE(), oE();},batchSize: () => {location.pathname === "/" && a9();},defaultSort: () => {- G.sort = Q.appSettings.defaultSort, G.dir = LT(G.sort, Q.appSettings.defaultSort, Q.appSettings.defaultSortDirection), Cl(), location.pathname === "/" && m9();+ G.sort = Q.appSettings.defaultSort, G.dir = IT(G.sort, Q.appSettings.defaultSort, Q.appSettings.defaultSortDirection), Cl(), location.pathname === "/" && m9();},sortDirection: () => {- G.dir = LT(G.sort, Q.appSettings.defaultSort, Q.appSettings.defaultSortDirection), Cl(), location.pathname === "/" && m9();+ G.dir = IT(G.sort, Q.appSettings.defaultSort, Q.appSettings.defaultSortDirection), Cl(), location.pathname === "/" && m9();},hoverDelay: () => {Q.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {@@ -114950,16 +115070,16 @@ function Oxt() {}), document.documentElement.style.setProperty("--hover-delay", `${Q.appSettings.hoverDelaySeconds}s`);},seekSeconds: () => f9(),- groupCollapse: () => jbt(),- feedAutoScroll: () => fyt(),- feedCompilations: () => dyt(),+ groupCollapse: () => Lbt(),+ feedAutoScroll: () => vyt(),+ feedCompilations: () => _yt(),miniplayer: () => {Q.appSettings.miniplayer || j5()?.closeMiniplayer();},javImage: () => {- oee(document, Q.appSettings.javImage), f9(), document.querySelectorAll("img[data-jav-image].cover").forEach(pc), Mxt();+ oee(document, Q.appSettings.javImage), f9(), document.querySelectorAll("img[data-jav-image].cover").forEach(pc), Rxt();},- searchHistoryLimit: () => sP(R("#searchMenu"), { historyLimit: Q.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => oP(R("#searchMenu"), { historyLimit: Q.appSettings.searchHistoryLimit })}, Q.syncGlassOptics = () => {}, Q.placeSidebarHead = () => {}, Q.SRCICON = {...Object.fromEntries(Object.entries(So).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : z(t)])),online: z("rss")@@ -114968,8 +115088,8 @@ function Oxt() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Q.SRCICON[e] || "") + "</span>";}, Q.emptyState = qo;}-function kxt() {- Q.CENSOR_KEY = "peach-censor", Cxt(localStorage.getItem(Q.CENSOR_KEY) === "1");+function Fxt() {+ Q.CENSOR_KEY = "peach-censor", kxt(localStorage.getItem(Q.CENSOR_KEY) === "1");}//#endregion//#region src/application/media.js@@ -114984,14 +115104,14 @@ var _9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function Axt() {+function Ixt() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function jxt() {+function Lxt() {return j5()?.exit() || Promise.resolve();}function v9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {@@ -115005,13 +115125,13 @@ function v9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailReturnNeedsRestore: !1}), q7(), e && $.route(nl || "/");}-function Mxt() {+function Rxt() {j5()?.repaintPoster();}function y9(e, t, n, r, i = null, a = {}) {t = +t;let o = ol?.kind === e && (e === "playlist" ? ol.playlistId : ol.seedId) === t;- r && !o && Sl({ detailReturnPath: location.pathname + location.search }), r && HN();+ r && !o && Sl({ detailReturnPath: location.pathname + location.search }), r && VN();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -115024,25 +115144,25 @@ function y9(e, t, n, r, i = null, a = {}) {if (a.autoplay && (s.autoplay = !0), r) {E9();let e = $.queueOpenRequest = {- seq: _P.navigation.seq,+ seq: gP.navigation.seq,cancelled: !1};$.requestedQueue = () => b9(n == null ? null : +n, !1, s, i, !0, e), Sl({ queueOpens: ml + 1 });} else return b9(n == null ? null : +n, !1, s, i, r);}-function Nxt(e, t = e, n = !0, r = null) {+function zxt(e, t = e, n = !0, r = null) {return y9("mix", e, t, n, r);}-function Pxt(e, t = e, n = !0, r = null) {+function Bxt(e, t = e, n = !0, r = null) {return y9("editions", e, t, n, r);}-function Fxt(e, t = e, n = !0, r = null) {+function Vxt(e, t = e, n = !0, r = null) {return y9("parts", e, t, n, r);}-function Ixt(e, t = null, n = !0) {+function Hxt(e, t = null, n = !0) {return y9("playlist", e, t, n);}-function Lxt() {+function Uxt() {return !!R("#grid").querySelector("[data-id],[data-mix-seed]") || !R("#index").hidden || !R("#stats").hidden;}async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {@@ -115052,8 +115172,8 @@ async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {return;}Nc(), e = e == null ? null : +e;- let o = r?.isConnected ? r : rl?.isConnected ? rl : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : il, c = Lxt(), l = al || !t && !c, u = Jc.type === "item" ? Yc : a7.cloneBarsContext(c7());- t ? Sl({ detailReturnPath: location.pathname + location.search }) : i || Sl({ detailReturnPath: WN() || nl }), t && HN(), j5()?.showing() !== "item" && v9(!1, !0, {+ let o = r?.isConnected ? r : rl?.isConnected ? rl : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : il, c = Uxt(), l = al || !t && !c, u = Jc.type === "item" ? Yc : a7.cloneBarsContext(c7());+ t ? Sl({ detailReturnPath: location.pathname + location.search }) : i || Sl({ detailReturnPath: UN() || nl }), t && VN(), j5()?.showing() !== "item" && v9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), Sl({@@ -115064,7 +115184,7 @@ async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), Sl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && $.route("/assets/" + e, !1, GN("item"));+ } }), Sl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && $.route("/assets/" + e, !1, WN("item"));let d = await A5(_9.stageHost);if (a?.cancelled) return;let f = a ? {@@ -115091,39 +115211,39 @@ async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {selectMode: Qc,selected: new Set(Xc),seekSeconds: Q.appSettings.seekSeconds,- resume: t || e == null ? null : Axt()+ resume: t || e == null ? null : Ixt()}), q7();}-async function Rxt() {+async function Wxt() {let e = a7.cloneBarsContext(Yc), t = nl || "/", n = al;- await jxt(), v9(!1, !1, { miniplayer: !1 }), Sl({ detailReturnBarsContext: null }), UN(), Sl({ barsContext: e || {+ await Lxt(), v9(!1, !1, { miniplayer: !1 }), Sl({ detailReturnBarsContext: null }), HN(), Sl({ barsContext: e || {type: "home",filters: G} }), n && $.managedPagePath(new URL(t, location.href).pathname) ? $.navigatePath(t) : ($.route(t), n ? Sl({ pageOpens: pl + 1 }) : (n9(), location.pathname === "/playlists" && Sl({ pageOpens: pl + 1 })));}-async function zxt(e, t = !0) {+async function Gxt(e, t = !0) {if (t) {- Sl({ detailReturnPath: location.pathname + location.search }), D9("/works/" + encodeURIComponent(e), "jav", () => zxt(e, !1));+ Sl({ detailReturnPath: location.pathname + location.search }), D9("/works/" + encodeURIComponent(e), "jav", () => Gxt(e, !1));return;}- let n = _P.navigation.seq, r = a7.cloneBarsContext(c7()), i = !Lxt(), a = WN() || (i ? "/jav?tab=discover" : nl) || "/jav?tab=discover";+ let n = gP.navigation.seq, r = a7.cloneBarsContext(c7()), i = !Uxt(), a = UN() || (i ? "/jav?tab=discover" : nl) || "/jav?tab=discover";j5()?.showing() !== "jav" && v9(!1, !0, { miniplayer: !1 }), Sl({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), Nc();let [o, s] = await Promise.all([A5(_9.stageHost), H("/healthz")]);- _P.navigation.seq === n && (await o.open({+ gP.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void Rxt(),+ close: () => void Wxt(),navigate: (e) => $.navigatePath(e),canonicalCode: (t) => {- _P.navigation.seq === n && t && t !== e && vP("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ gP.navigation.seq === n && t && t !== e && _P("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state});},openTag: (e) => {@@ -115139,9 +115259,9 @@ async function zxt(e, t = !0) {}), q7());}async function x9(e = null, t = !0) {- t ? (_9.requestedImmerseId = e, $.route("/immerse")) : (j5()?.closeMiniplayer(), await (await ivt(_9.immerseHost)).open(e));+ t ? (_9.requestedImmerseId = e, $.route("/immerse")) : (j5()?.closeMiniplayer(), await (await uvt(_9.immerseHost)).open(e));}-function Bxt() {+function Kxt() {_9.total = 0, _9.facets = null, _9.stageHost = {player: {settings: () => Q.appSettings,@@ -115157,11 +115277,11 @@ function Bxt() {openItem: (e) => void b9(e)}, _9.stageOpen = () => !!j5()?.isOpen();}-function Vxt() {+function qxt() {_9.itemDetailHelpers = {badgeHtml: (e, t, n) => Q.srcBadge(e, t, n),- titleHtml: (e) => CO(e),- displayName: (e) => SO(e),+ titleHtml: (e) => SO(e),+ displayName: (e) => xO(e),javImage: () => Q.appSettings.javImage,tagLabel: (e) => Lc(e),isDurationTag: (e) => Sn.has(e),@@ -115172,11 +115292,11 @@ function Vxt() {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => Ubt(e),+ mixRelated: (e) => Ybt(e),wireDrag: (e) => g9(e),wireDragReorder: (e, t) => Ks(e, t)}, _9.itemDetailActions = {- close: () => Rxt(),+ close: () => Wxt(),present: (e) => {Sl({ presentedItem: e });let t = Yc;@@ -115184,14 +115304,14 @@ function Vxt() {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : a7.emptyEntityFilters()- } }), sl && ($.queueOpenRequest = null, $.route(`/assets/${e.id}?${sl}`, !1, GN("item")), Sl({ pendingQueueRoute: null })), n9();+ } }), sl && ($.queueOpenRequest = null, $.route(`/assets/${e.id}?${sl}`, !1, WN("item")), Sl({ pendingQueueRoute: null })), n9();},redirect: (e) => {let t = !!sl;e.kind === "follow" ? ($.queueOpenRequest = null, Sl({pendingQueueRoute: null,followDetailReturnPath: nl || "/"- }), $.route(`/posts/${e.id}`, !t, GN("follow")), L9(e.id, !1, null, !0)) : e.kind === "item" ? b9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? k9("/playlists") : Iyt() : v9(!1);+ }), $.route(`/posts/${e.id}`, !t, WN("follow")), L9(e.id, !1, null, !0)) : e.kind === "item" ? b9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? k9("/playlists") : Hyt() : v9(!1);},openQueueItem: (e, t, n = !0) => void y9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {@@ -115215,14 +115335,14 @@ function Vxt() {behavior: "smooth"});},- addToPlaylist: (e) => Fyt(e),- saveMix: (e) => Pyt(e),+ addToPlaylist: (e) => Vyt(e),+ saveMix: (e) => Byt(e),editPlaylist: () => k9("/playlists"),openPlaylists: () => k9("/playlists"),- reveal: (e) => xyt(e),- sync: (e) => Syt(e),+ reveal: (e) => Dyt(e),+ sync: (e) => Oyt(e),trashChanged: async (e, t) => {- G.state === "ads" && (t || e === "trash") && (t || (UN(), v9(!0, !1, { miniplayer: !1 })), await a9());+ G.state === "ads" && (t || e === "trash") && (t || (HN(), v9(!0, !1, { miniplayer: !1 })), await a9());},toast: (e, { undo: t } = {}) => K5.actionReceipt(e, { undo: t }),failure: (e, t) => K5.actionFailure(e, t)@@ -115230,7 +115350,7 @@ function Vxt() {filters: () => G,seekSeconds: () => Q.appSettings.seekSeconds,sourceOffline: (e) => Q.sourceOffline(e),- displayName: (e) => SO(e),+ displayName: (e) => xO(e),route: (e) => $.route("/immerse?id=" + e, !0),closed: () => X7(),openItem: (e) => void b9(e),@@ -115252,7 +115372,7 @@ var S9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function Hxt() {+async function Jxt() {dee(), await S9.writePostSetupTutorialDone(!1), await C9();}async function C9() {@@ -115306,20 +115426,20 @@ async function C9() {}), G5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function Uxt() {+function Yxt() {if (Sl({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), S9.postSetupTutorialDone = null, S9.postSetupTutorialNeedsReopen = !1, fl) {nc("pending"), S9.postSetupTutorialDone = !1, S9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), vP(e, {+ e.searchParams.delete("onboarding"), _P(e, {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), vP(e, {+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), _P(e, {replace: !0,- state: _P.navigation.location.state+ state: gP.navigation.location.state})), t === "on" && import("/dev/agentation.js").catch(() => {});}S9.postSetupTutorialTasks = async () => {@@ -115433,7 +115553,7 @@ var $ = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function Wxt() {+function Xxt() {let e = z5();e ? e.navChanged() : R("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(G7(e.dataset.nav))));}@@ -115449,32 +115569,32 @@ function w9(e = {}) {}, z5()?.render(O7.sidebarProps);}function T9() {- w9(), Wxt(), K7();+ w9(), Xxt(), K7();}function E9() {$.queueOpenRequest && ($.queueOpenRequest.cancelled = !0), $.queueOpenRequest = null, $.requestedQueue = null, Sl({ pendingQueueRoute: null });}function D9(e, t, n) {- E9(), HN(), $.requestedOverlay = {+ E9(), VN(), $.requestedOverlay = {path: e,open: n- }, $.route(e, !1, GN(t));+ }, $.route(e, !1, WN(t));}function O9() {- $.surfaceEpoch++, Z.barsRequestSeq++, w7.syncPageTitle(location.href), w9(), UN(), C9();+ $.surfaceEpoch++, Z.barsRequestSeq++, w7.syncPageTitle(location.href), w9(), HN(), C9();}function k9(e) {$.route(e), Sl({ pageOpens: pl + 1 });}-function Gxt() {+function Zxt() {$.routeMeta = (e) => {- let t = JN(e);+ let t = qN(e);return t ? { route: t } : null;- }, $.routePathOf = (e, t) => Object.keys(qN).find((n) => qN[n][e] === t), $.catalogPage = (e) => Yt(e) || e === "/trash", $.managedPagePath = (e) => {- let t = JN(e);- return !!t && t.reload !== "reopen" && !$.catalogPage(e) && !RN(e) && e !== "/immerse";+ }, $.routePathOf = (e, t) => Object.keys(KN).find((n) => KN[n][e] === t), $.catalogPage = (e) => Yt(e) || e === "/trash", $.managedPagePath = (e) => {+ let t = qN(e);+ return !!t && t.reload !== "reopen" && !$.catalogPage(e) && !LN(e) && e !== "/immerse";}, $.openRoutePath = (e) => {- e === "/immerse" ? x9(Dxt()) : e === "/follow" ? I9() : e === "/playlists" || $.catalogPage(e) ? k9(e) : $.managedPagePath(e) ? $.navigatePath(e === "/subscriptions" ? rbt() : e) : (y7(!1, !0), k9(abt({+ e === "/immerse" ? x9(Nxt()) : e === "/follow" ? I9() : e === "/playlists" || $.catalogPage(e) ? k9(e) : $.managedPagePath(e) ? $.navigatePath(e === "/subscriptions" ? lbt() : e) : (y7(!1, !0), k9(dbt({kind: e.slice(1),q: "",scope: "local",@@ -115483,35 +115603,35 @@ function Gxt() {})));};}-function Kxt() {+function Qxt() {$.surfaceEpoch = 0, $.surfacePath = () => decodeURIComponent(location.pathname), $.surfaceRequests = null, $.surfaceToken = (e) => ({epoch: $.surfaceEpoch,path: e,signal: $.surfaceRequests?.signal- }), $.surfaceCurrent = (e) => e.epoch === $.surfaceEpoch && $.surfacePath() === e.path, $.claimSurface = (e) => (t7(e) || n7(), cP(R("#stats"), R("#index")), !Yt(e) && e !== "/trash" && o9(), $.surfaceRequests?.abort(), $.surfaceRequests = new AbortController(), $.surfaceEpoch++, $.surfaceToken(e)), $.route = (e, t = !1, n) => {- $.surfaceEpoch++, Z.barsRequestSeq++, vP(e, {+ }), $.surfaceCurrent = (e) => e.epoch === $.surfaceEpoch && $.surfacePath() === e.path, $.claimSurface = (e) => (t7(e) || n7(), sP(R("#stats"), R("#index")), !Yt(e) && e !== "/trash" && o9(), $.surfaceRequests?.abort(), $.surfaceRequests = new AbortController(), $.surfaceEpoch++, $.surfaceToken(e)), $.route = (e, t = !1, n) => {+ $.surfaceEpoch++, Z.barsRequestSeq++, _P(e, {replace: t,state: n}), w7.syncPageTitle(e), queueMicrotask(() => {K7(), R7(), w9(), C9();});}, $.navigatePath = (e, t = !1, n) => {- t ? _P.replace(e, n) : _P.push(e, n), queueMicrotask(() => {+ t ? gP.replace(e, n) : gP.push(e, n), queueMicrotask(() => {K7(), R7();});}, $.requestedOverlay = null, $.requestedQueue = null, $.queueOpenRequest = null, $.initialOverlayOpened = !1;}//#endregion//#region src/jobs.ts-function qxt(e, t, n) {+function $xt(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;}-function Jxt(e, t = 0, n = 0) {- return n > 0 ? qxt(e, t, n) : Ko(e);+function eSt(e, t = 0, n = 0) {+ return n > 0 ? $xt(e, t, n) : Ko(e);}-async function Yxt(e) {+async function tSt(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -115526,14 +115646,14 @@ async function Yxt(e) {await t(2e3);}}-function Xxt(e) {+function nSt(e) {let t = e.note || ((e) => Wo(e, {label: "任务状态",variant: "error"- })), n = e.loading || Ko, r = e.progress || ((e, t, n) => Jxt(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");+ })), n = e.loading || Ko, r = e.progress || ((e, t, n) => eSt(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;- Yxt({+ tSt({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -115583,7 +115703,7 @@ var A9 = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function Zxt(e) {+function rSt(e) {let t = (e.results || []).filter((e) => !e.ok).length;K5.toast({ text: ti(e) }, {warn: !!t,@@ -115598,7 +115718,7 @@ function Zxt(e) {function j9() {return Hi(M9());}-function Qxt() {+function iSt() {return A9.controller.read();}function M9() {@@ -115619,17 +115739,17 @@ function M9() {function N9(e) {A9.followFilter = e.status, A9.followMediaView = e.media, A9.followAuthors = new Set(e.author ? [e.author] : []), A9.followProviders = new Set(e.provider ? [e.provider] : []), A9.followWorks = new Set(e.work ? [e.work] : []), A9.followTags = new Set(e.tags), A9.followDurMin = e.durMin || 0, A9.followDurMax = e.durMax || 0, A9.followSort = e.sort, A9.followDir = e.dir, A9.followSeed = e.seed;}-function $xt() {- let e = nP(R("#stats"));+function aSt() {+ let e = tP(R("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function P9() {- return !!$xt();+ return !!aSt();}function F9(e) {- P9() && sP(R("#stats"), e);+ P9() && oP(R("#stats"), e);}-function eSt(e, t = {}) {+function oSt(e, t = {}) {return A9.controller.route(e, t);}function I9(e = !1) {@@ -115642,7 +115762,7 @@ async function L9(e, t = !0, n = null, r = !1) {}Nc(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && Sl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Sl({ followDetailReturnPath: WN() || "/follow" }), t && HN(), j5()?.showing() !== "follow" && v9(!1, !1, { miniplayer: !1 }), t && $.route(`/posts/${e}`, !1, GN("follow")), await (await A5(_9.stageHost)).open({+ t && i && !r && Sl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Sl({ followDetailReturnPath: UN() || "/follow" }), t && VN(), j5()?.showing() !== "follow" && v9(!1, !1, { miniplayer: !1 }), t && $.route(`/posts/${e}`, !1, WN("follow")), await (await A5(_9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -115650,19 +115770,19 @@ async function L9(e, t = !0, n = null, r = !1) {relatedLimit: Q.appSettings.relatedLimit > 0 ? +Q.appSettings.relatedLimit : 0,helpers: A9.followFeedHelpers,actions: A9.followDetailActions,- resume: t ? null : Axt()+ resume: t ? null : Ixt()}), q7();}-async function tSt() {- await jxt(), v9(!1, !1, { miniplayer: !1 }), UN(), $.route(ll || "/follow"), !(a7.entityPageView && a7.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && P9() ? (Qxt(), F9({ view: M9() })) : Sl({ pageOpens: pl + 1 }));+async function sSt() {+ await Lxt(), v9(!1, !1, { miniplayer: !1 }), HN(), $.route(ll || "/follow"), !(a7.entityPageView && a7.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && P9() ? (iSt(), F9({ view: M9() })) : Sl({ pageOpens: pl + 1 }));}-function nSt(e) {+function cSt(e) {let t = document.createElement("div");return t.className = "peach-react", rs(e, () => {e.textContent = "", e.append(t);}), t;}-function rSt() {+function lSt() {A9.followFeedHelpers = zc({wireDrag: (e) => {e && g9(e);@@ -115671,41 +115791,41 @@ function rSt() {e && Cs(e);},listSkeletonHtml: (e) => A9.followContentSkeletonHtml(e),- jobProgress: Xxt+ jobProgress: nSt}), A9.followFeedActions = {- loaded: (e) => _bt(e),+ loaded: (e) => Cbt(e),openDetail: (e) => L9(e),openAuthor: (e) => $.navigatePath(Qt("creator", e)),- toggleSelection: (e, t) => Gyt(e, t),+ toggleSelection: (e, t) => Zyt(e, t),setImagesOnly: (e) => {Q.appSettings.followImagesOnly = !!e, Q.saveSettings(), f7();},setPhotoLayout: (e) => {- ade(e), f7();+ ode(e), f7();},canFlip: () => !Qc && !h9() && !window.__scrolling && !Z.reduceMotion(),toast: (e, { undo: t } = {}) => K5.actionReceipt(e, { undo: t }),failure: (e, t) => K5.actionFailure(e, t),- checkReport: (e) => Zxt(e)+ checkReport: (e) => rSt(e)}, A9.followFeedShell = {skeleton: () => A9.followSkeletonHtml("正在读取关注内容"),ground: () => {- j5()?.showing() !== "follow" && (Nc(), v9(!1), A7(), !P9() && ($.claimSurface($.surfacePath()), k7({ manage: !1 }), R("#stats").querySelector(".peach-react") && cP(R("#stats")), R("#stats").replaceChildren()));+ j5()?.showing() !== "follow" && (Nc(), v9(!1), A7(), !P9() && ($.claimSurface($.surfacePath()), k7({ manage: !1 }), R("#stats").querySelector(".peach-react") && sP(R("#stats")), R("#stats").replaceChildren()));}}, A9.followDetailActions = qc({view: M9,adoptView: N9,rememberReturn: (e) => Sl({ followDetailReturnPath: e }),- close: () => void tSt(),+ close: () => void sSt(),open: (e, t, n) => void L9(e, !0, t, n),- drawer: _bt,+ drawer: Cbt,openAuthor: (e) => $.navigatePath(Qt("creator", e))}, {toast: (e, { undo: t } = {}) => K5.actionReceipt(e, { undo: t }),failure: K5.actionFailure});}-function iSt() {+function uSt() {A9.controller = Gi({location: () => location,view: M9,@@ -115723,8 +115843,8 @@ function iSt() {preferences: () => ({selectMode: Qc,selected: Zc,- photoSize: eE(),- photoLayout: tE(),+ photoSize: $T(),+ photoLayout: eE(),imagesOnly: !!Q.appSettings.followImagesOnly}),live: P9,@@ -115746,15 +115866,15 @@ function iSt() {//#endregion//#region src/application/lifecycle.jsvar R9 = { overlayScan: void 0 };-function aSt() {- Yje(), Bs(document), Ha(document.documentElement, { variant: "page" }), Ha(R("#drawerScroll")), R9.overlayScan = 0, G5.mutation(() => {+function dSt() {+ Xje(), Bs(document), Ha(document.documentElement, { variant: "page" }), Ha(R("#drawerScroll")), R9.overlayScan = 0, G5.mutation(() => {R9.overlayScan ||= G5.delay(() => {R9.overlayScan = 0, Ls();});}).observe(document.body, {childList: !0,subtree: !0- }), Ls(), ra(document.body), Z.homeHasFeed = oyt(), Z.barsRequestSeq = 0, Z.barsRendered = "", Z.catalogFilterProps = null, Z.catalogFilterMounting = null, Z.catalogTagRows = [], Z.catalogTopsPages = null, O7.sidebarProps = {+ }), Ls(), ra(document.body), Z.homeHasFeed = fyt(), Z.barsRequestSeq = 0, Z.barsRendered = "", Z.catalogFilterProps = null, Z.catalogFilterMounting = null, Z.catalogTagRows = [], Z.catalogTopsPages = null, O7.sidebarProps = {content: null,filters: {},latest: null@@ -115766,7 +115886,7 @@ function aSt() {}//#endregion//#region src/react/search/recommendations.ts-async function oSt(e) {+async function fSt(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -115790,9 +115910,9 @@ async function oSt(e) {let t = Oi(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = ki(e, n), i = l.sources.find((e) => e.id === r.source_id), a = zF(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;+ let r = ki(e, n), i = l.sources.find((e) => e.id === r.source_id), a = RF(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;(n === "images" ? c : s).push({- value: FF(r),+ value: PF(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -115808,7 +115928,7 @@ async function oSt(e) {let u = (t[4]?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: RF(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: LF(l.sources.filter((t) => t.author_key === e.key), e.k),subtitle: "关注中的作者"})), d = /* @__PURE__ */ new Map();for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {@@ -115879,7 +115999,7 @@ async function oSt(e) {}//#endregion//#region src/application/search-morph.js-function sSt(e, t, n, r, i, a, o) {+function pSt(e, t, n, r, i, a, o) {let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];return s.map((a, c) => {let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);@@ -115905,7 +116025,7 @@ var z9 = {function B9() {z9.searchControl?.close();}-function cSt(e) {+function mSt(e) {let t = e ? ma({...e,is_jav: !!e.code@@ -115924,7 +116044,7 @@ function H9(e) {if (t.classList.toggle("open", e), R("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Ns();t.classList.add("search-morphing");- let h = t.animate(sSt(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(pSt(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"@@ -115933,13 +116053,13 @@ function H9(e) {z9.searchMorph === h && V9();});}-function lSt() {+function hSt() {return _9.immerseOpen() ? P5().activeVideo() : j5()?.activeVideo() || null;}-function uSt(e) {+function gSt(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function dSt() {+function _St() {z9.searchControl = null, z9.searchActions = {search: (e) => {Z.rememberSearchValue(), v9(!1), G.q = e, Cl(), $.route(G.jav === "1" ? Y7() : G.q ? "/?q=" + encodeURIComponent(G.q) : "/", !0);@@ -115951,9 +116071,9 @@ function dSt() {A9.followMediaView = t, L9(e, !0, n);}}, z9.searchHelpers = {- pool: () => KTe(G, Ut),- recommendations: () => oSt(Ut),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? tyt(e) : cSt(e)}</span>`,+ pool: () => qTe(G, Ut),+ recommendations: () => fSt(Ut),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? syt(e) : mSt(e)}</span>`,present: (e) => po(e),dismiss: (e) => mo(e),wireScroller: (e) => Cs(e),@@ -115968,7 +116088,7 @@ function dSt() {text: e.value,scrollLeft: e.scrollLeft || Z.searchValueSnapshot.scrollLeft})- }, oP("search", {+ }, aP("search", {input: R("#q"),historyLimit: Q.appSettings.searchHistoryLimit,actions: z9.searchActions,@@ -115987,7 +116107,7 @@ function dSt() {e.currentTarget.value && Z.rememberSearchValue(e.currentTarget);});}-function fSt() {+function vSt() {z9.searchMorph = null, z9.searchMorphViewport = innerWidth, G5.listen.bind(G5, window)("resize", () => {innerWidth !== z9.searchMorphViewport && (z9.searchMorphViewport = innerWidth, V9());}, { passive: !0 }), G5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", V9), G5.handler(R("#searchBtn"), "onclick", () => {@@ -116002,7 +116122,7 @@ function fSt() {e.preventDefault(), X7(null, !0);}), G5.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = ovt();+ let t = fvt();if (t?.isOpen()) {t.close();return;@@ -116029,7 +116149,7 @@ function fSt() {}return;}- if (uSt(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (gSt(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;if (e.key === "ArrowLeft" || e.key === "ArrowRight") {let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);if (t) {@@ -116037,26 +116157,26 @@ function fSt() {return;}}- let t = lSt();+ let t = hSt();if (t) {if (e.key === "t" || e.key === "T") {e.preventDefault(), j5()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), Rfe(t, Q.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), zfe(t, Q.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), KE(t);+ e.preventDefault(), GE(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), efe(t, ".vjs-mute-control");+ e.preventDefault(), tfe(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), efe(t, ".vjs-fullscreen-control");+ e.preventDefault(), tfe(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {@@ -116068,7 +116188,7 @@ function fSt() {}//#endregion//#region src/history/links.ts-function pSt(e) {+function ySt(e) {if (e.defaultPrevented || e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return null;let t = e.target instanceof Element ? e.target.closest("a[href]") : null;if (!t || t.hasAttribute("download") || t.target && t.target.toLowerCase() !== "_self") return null;@@ -116082,9 +116202,9 @@ function pSt(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && RN(i.pathname)) return null;- let a = JN(i.pathname);- return n.startsWith("#") && !a?.section || !LN(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && LN(i.pathname)) return null;+ let a = qN(i.pathname);+ return n.startsWith("#") && !a?.section || !IN(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}//#endregion//#region src/application/composition.js@@ -116092,32 +116212,32 @@ var U9 = {shellActions: void 0,routing: void 0};-function mSt() {+function bSt() {let e = G5, t = (e) => {- e.kind === "item" ? b9(e.id, !1) : e.kind === "jav" ? zxt(e.code, !1) : e.kind === "follow" ? L9(e.id, !1) : y9(e.queue, e.key, e.item, !1);+ e.kind === "item" ? b9(e.id, !1) : e.kind === "jav" ? Gxt(e.code, !1) : e.kind === "follow" ? L9(e.id, !1) : y9(e.queue, e.key, e.item, !1);};- if (ryt(), w7.entityShapesReady = $5(), fbt(), location.pathname === "/") {+ if (lyt(), w7.entityShapesReady = $5(), vbt(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (R("#catalogPageHeading").hidden = !1);}- t7(decodeURIComponent(location.pathname)) && e7(R("#feedNew")), Cbt(), U9.shellActions = {+ t7(decodeURIComponent(location.pathname)) && e7(R("#feedNew")), kbt(), U9.shellActions = {openSettings: (e) => P7(e, !0),- closeSettings: () => ovt()?.close(!1),+ closeSettings: () => fvt()?.close(!1),openItem: (e) => void b9(e),openEntity: (e, t) => void m7(e, t),openTag: (e) => {- gbt(), r9(e);+ Sbt(), r9(e);},- openTasteSignal: Myt,+ openTasteSignal: Ryt,navigate: (e) => {- let n = new URL(e, location.href), r = LN(n.pathname, n.search);+ let n = new URL(e, location.href), r = IN(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;D9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !RN(location.pathname)) {+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !LN(location.pathname)) {$.route(e);- let t = _P.navigation.seq;- D_t(n.hash, () => _P.navigation.seq === t);+ let t = gP.navigation.seq;+ N_t(n.hash, () => gP.navigation.seq === t);} else $.navigatePath(e);},openManage: z7,@@ -116126,25 +116246,25 @@ function mSt() {receipt: (e, t) => K5.actionReceipt(e, t),toast: (e, t) => K5.toast(e, t),failure: K5.actionFailure,- revealSource: xyt,- reopenTutorial: Hxt,- routeReview: Lyt,- routeFollowManage: nbt,+ revealSource: Dyt,+ reopenTutorial: Jxt,+ routeReview: Uyt,+ routeFollowManage: cbt,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Q.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Q.appSettings.followLayout = e.layout), Q.saveSettings();},srcBadge: (e, t) => Q.srcBadge(e, t),- routeIndex: (e, { replace: t = !1 } = {}) => $.route(abt(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => $.route(dbt(e), t),savePeopleLayout: ({ layout: e }) => {Q.appSettings.peopleLayout = e, Q.saveSettings();},exitSelectMode: () => y7(!1, !1),personAvatar: (e, t, n) => S7.personAvatar(e, t, n),- authorAvatar: (e) => ibt(e),- showIndexTags: obt,- openFollowAuthor: sbt,- openFollowTag: cbt,- openPlaylist: (e, t) => void Ixt(e, t, !0),+ authorAvatar: (e) => ubt(e),+ showIndexTags: fbt,+ openFollowAuthor: pbt,+ openFollowTag: mbt,+ openPlaylist: (e, t) => void Hxt(e, t, !0),canFlip: () => !Qc && !h9() && !window.__scrolling && !Z.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (Nc(), Sl({ barsContext: {@@ -116163,7 +116283,7 @@ function mSt() {},openOverlay: (e) => {let n = $.requestedOverlay;- $.requestedOverlay = null, _P.navigation.claimed && (!yP() || $.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (yP() && ($.initialOverlayOpened = !0), t(e));+ $.requestedOverlay = null, gP.navigation.claimed && (!vP() || $.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (vP() && ($.initialOverlayOpened = !0), t(e));},closeStage: () => {_9.stageOpen() && v9(!1);@@ -116178,7 +116298,7 @@ function mSt() {},entity: {missing: (e) => {- U9.shellActions.surfaceChanged("entity", location.pathname), Oyt(e);+ U9.shellActions.surfaceChanged("entity", location.pathname), Pyt(e);},loading: (e, t, n) => a7.application.loading(e, t, n),props: (e, t, n) => a7.application.addressProps(e, t, n),@@ -116191,7 +116311,7 @@ function mSt() {},follow: A9.followFeedShell,catalog: {- defaultLoc: () => Bbt("local,115"),+ defaultLoc: () => Kbt("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {n && (O9(), K7(), R7()), t && Y5(), e === "/trash" ? (Z.clearSearchField(), j7()) : (R("#q").value = G.q, Z.rememberSearchValue()), T9(), n9(), Q.handOff(a9());},@@ -116199,25 +116319,25 @@ function mSt() {Q.handOff(a9());},fill: () => {- if (c9() || !yP() && !R("#grid").querySelector(".catalog-skeleton")) return;+ if (c9() || !vP() && !R("#grid").querySelector(".catalog-skeleton")) return;let e = R("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), lxt($.surfaceToken($.surfacePath()));+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), hxt($.surfaceToken($.surfacePath()));},release: () => {o9(), n7();}}}, U9.routing = !1, e.listen(document, "click", (e) => {- let t = pSt(e);+ let t = ySt(e);t && (e.preventDefault(), U9.shellActions.navigate(t));- }), G5.own(_P.listen((e) => {- $.queueOpenRequest && e.seq !== $.queueOpenRequest.seq && !RN(e.location.pathname) && v9(!1), U9.routing && !e.claimed && O9();- })), nvt(U9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Ebt(), Xyt(), I7(), Promise.all([+ }), G5.own(gP.listen((e) => {+ $.queueOpenRequest && e.seq !== $.queueOpenRequest.seq && !LN(e.location.pathname) && v9(!1), U9.routing && !e.claimed && O9();+ })), cvt(U9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Mbt(), nbt(), I7(), Promise.all([p9(),- wbt(),+ Abt(),w7.entityShapesReady]).then(() => e.isActive && w7.wantsDiscoveryBars() ? n9() : null).then(() => {- e.isActive && (T9(), Ext(), U9.routing = !0, Sl({ pageOpens: 1 }), O9(), q7());+ e.isActive && (T9(), Mxt(), U9.routing = !0, Sl({ pageOpens: 1 }), O9(), q7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});@@ -116225,7 +116345,7 @@ function mSt() {//#endregion//#region src/theme-transition.tsvar W9 = !1;-async function hSt(e, t) {+async function xSt(e, t) {if (W9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -116248,7 +116368,7 @@ async function hSt(e, t) {}//#endregion//#region src/application/chrome.js-function gSt() {+function SSt() {(() => {let e = G5, t = ["#brandHome",@@ -116310,7 +116430,7 @@ function gSt() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), Ut("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- cI(t.libraries);+ sI(t.libraries);let n = [["","全部媒体库",@@ -116331,7 +116451,7 @@ function gSt() {s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${B(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${B(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {- u.setOpen(!1), N7(!1), Ryt("媒体库与入库");+ u.setOpen(!1), N7(!1), Wyt("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -116348,14 +116468,14 @@ function gSt() {(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());let g = document.createElement("div");g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${z("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${z("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {- t.getAttribute("aria-pressed") !== "true" && hSt(t, () => {- Q.appSettings.theme = t.dataset.boardTheme, Q.saveSettings(), YT();+ t.getAttribute("aria-pressed") !== "true" && xSt(t, () => {+ Q.appSettings.theme = t.dataset.boardTheme, Q.saveSettings(), JT();});- })), YT();+ })), JT();let _ = document.createElement("div");_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());let v = g.querySelector("#boardGlowBtn"), y = _o(g, v, _);- e.own(y.dispose), e.own(xde(v)), fvt({+ e.own(y.dispose), e.own(Sde(v)), vvt({root: _,store: Q.settingsStore,openDetails: () => {@@ -116464,31 +116584,31 @@ function gSt() {}//#endregion//#region src/application/initialize.js-function _St() {- aSt(), Gxt(), pbt(), Kxt(), Oxt(), gvt(), _xt(), Uxt(), kyt(), Bxt(), Zyt(), vxt(), myt(), zyt(), rSt(), lbt(), Ayt(), iSt(), ubt(), jyt(), Fbt(), yxt(), dSt(), Vxt(), fSt(), kxt(), mSt(), gSt(), G5.own(o9), G5.own(E9);+function CSt() {+ dSt(), Zxt(), ybt(), Qxt(), Pxt(), Svt(), Cxt(), Yxt(), Fyt(), Kxt(), rbt(), wxt(), byt(), Gyt(), lSt(), hbt(), Iyt(), uSt(), gbt(), Lyt(), Vbt(), Txt(), _St(), qxt(), vSt(), Fxt(), bSt(), SSt(), G5.own(o9), G5.own(E9);}//#endregion//#region src/ui-kit/middle-truncate.ts-var vSt = "…", ySt = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, G9 = /* @__PURE__ */ new WeakMap(), K9 = /* @__PURE__ */ new WeakSet(), q9 = null, J9 = null, Y9 = /* @__PURE__ */ new Set(), bSt = (e) => ySt ? [...ySt.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function xSt(e, t) {- let n = bSt(e);+var wSt = "…", TSt = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, G9 = /* @__PURE__ */ new WeakMap(), K9 = /* @__PURE__ */ new WeakSet(), q9 = null, J9 = null, Y9 = /* @__PURE__ */ new Set(), ESt = (e) => TSt ? [...TSt.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));+function DSt(e, t) {+ let n = ESt(e);if (!n.length || t(e)) return String(e ?? "");- let r = 0, i = Math.max(0, n.length - 1), a = vSt;+ let r = 0, i = Math.max(0, n.length - 1), a = wSt;for (; r <= i;) {- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + vSt + (s ? n.slice(-s).join("") : "");+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + wSt + (s ? n.slice(-s).join("") : "");t(c) ? (a = c, r = e + 1) : i = e - 1;}return a;}-var SSt = Object.assign((e, t) => {- let n = getComputedStyle(e), r = (SSt.canvas ||= document.createElement("canvas")).getContext("2d");+var OSt = Object.assign((e, t) => {+ let n = getComputedStyle(e), r = (OSt.canvas ||= document.createElement("canvas")).getContext("2d");if (!r) return Infinity;r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);- Number.isFinite(a) && (i += Math.max(0, bSt(t).length - 1) * a);+ Number.isFinite(a) && (i += Math.max(0, ESt(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), CSt = (e) => {+}, { canvas: null }), kSt = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -116498,40 +116618,40 @@ var SSt = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, wSt = (e) => {+}, ASt = (e) => {let t = G9.get(e);if (!t || !e.isConnected) return;- let n = CSt(e), r = n > 0 ? xSt(t.full, (t) => SSt(e, t) <= n) : t.full;+ let n = kSt(e), r = n > 0 ? DSt(t.full, (t) => OSt(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");}, X9 = (e) => {let t = G9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, wSt(e);+ t.raf = 0, ASt(e);}));-}, TSt = (e) => {+}, jSt = (e) => {e instanceof HTMLElement && (G9.has(e) || G9.set(e, {full: e.textContent || "",rendered: e.textContent || "",raf: 0}), K9.has(e) || (K9.add(e), Y9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? q9?.observe(e.parentElement) : q9?.observe(e)), X9(e));-}, ESt = (e) => {+}, MSt = (e) => {if (e.nodeType !== Node.ELEMENT_NODE) return;let t = e;- t.matches("[data-middle-truncate]") && TSt(t), t.querySelectorAll("[data-middle-truncate]").forEach(TSt);+ t.matches("[data-middle-truncate]") && jSt(t), t.querySelectorAll("[data-middle-truncate]").forEach(jSt);};-function DSt(e = document) {+function NSt(e = document) {J9?.(), K9 = /* @__PURE__ */ new WeakSet(), Y9 = /* @__PURE__ */ new Set();let t = Y9, n = !0;q9 = new ResizeObserver((e) => e.forEach((e) => {n && (X9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(X9));}));let r = q9;- ESt(e.documentElement || e);+ MSt(e.documentElement || e);let i = new MutationObserver((e) => e.forEach((e) => {if (!n) return;- e.addedNodes.forEach(ESt);+ e.addedNodes.forEach(MSt);let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");if (!t) return;let r = G9.get(t);@@ -116565,7 +116685,7 @@ function DSt(e = document) {}//#endregion//#region src/react/result-updates.tsx-var OSt = [+var PSt = ["catalog-grid","catalog-folders","item",@@ -116590,33 +116710,33 @@ var OSt = ["follow","entity","index"-], kSt = [+], FSt = ["feed-new","jav-discoveries","jav-detail","wants","index"-], ASt = {+], ISt = {catalog: [- ...OSt,+ ...PSt,...Z9,"review","taste"],follow: Z9,- discoveries: kSt,+ discoveries: FSt,review: ["review"],artwork: [- ...OSt,+ ...PSt,...Z9,- ...kSt,+ ...FSt,"avatar-choices"]};-function jSt() {+function LSt() {let e = /* @__PURE__ */ new Set(), t = null;return (n, r) => {- for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of ASt[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of ISt[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -116629,12 +116749,12 @@ function jSt() {})), t || Promise.resolve();};}-function MSt() {+function RSt() {let e = yt({- queryKey: gk,- queryFn: ({ signal: e }) => vk(e),- refetchInterval: (e) => x_e(e.state.data)- }), t = (0, E.useRef)(void 0), [n] = (0, E.useState)(jSt), r = e.data?.result_versions;+ queryKey: hk,+ queryFn: ({ signal: e }) => _k(e),+ refetchInterval: (e) => S_e(e.state.data)+ }), t = (0, E.useRef)(void 0), [n] = (0, E.useState)(LSt), r = e.data?.result_versions;return (0, E.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -116642,57 +116762,57 @@ function MSt() {//#endregion//#region src/react/application.tsxvar Q9 = null;-function NSt(e) {+function zSt(e) {Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());}-function PSt() {+function BSt() {if (!Q9) {- let e = hvt();+ let e = xvt();Q9 = {effects: e,owners: 0- }, e.own(DSt(document)), e.own(() => {+ }, e.own(NSt(document)), e.own(() => {Nc(), W.cancelQueries();- }), e.own(rvt), e.own(rCe), e.own(uo);+ }), e.own(lvt), e.own(iCe), e.own(uo);}return Q9.owners += 1, Q9.effects.resume(), Q9;}-function FSt() {+function VSt() {let [e, t] = (0, E.useState)(null);return (0, E.useLayoutEffect)(() => {- let e = Q9 === null, n = PSt(), r = tvt(t);+ let e = Q9 === null, n = BSt(), r = svt(t);if (e) try {- _St();+ CSt();} catch (e) {throw r(), n.effects.dispose(), Q9 = null, e;}return () => {- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => NSt(n)));+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => zSt(n)));};- }, []), /* @__PURE__ */ (0, D.jsx)(hwe, {+ }, []), /* @__PURE__ */ (0, D.jsx)(gwe, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, D.jsx)(MSt, {}) : null+ background: e ? /* @__PURE__ */ (0, D.jsx)(RSt, {}) : null});}var $9 = /* @__PURE__ */ new WeakMap();-function ISt(e) {+function HSt(e) {let t = $9.get(e);if (t) return t;- let n = (0, Ct.createRoot)(e, gwe);+ let n = (0, Ct.createRoot)(e, _we);$9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {- $9.get(e) === n && ($9.delete(e), r(), Q9 && NSt(Q9));- }, (0, St.flushSync)(() => n.render(/* @__PURE__ */ (0, D.jsx)(FSt, {}))), n;+ $9.get(e) === n && ($9.delete(e), r(), Q9 && zSt(Q9));+ }, (0, St.flushSync)(() => n.render(/* @__PURE__ */ (0, D.jsx)(VSt, {}))), n;}//#endregion//#region src/react/bootstrap.tsxh();-var LSt = document.getElementById("appRoot");-if (!LSt) throw Error("主界面宿主缺失");-ISt(LSt);+var USt = document.getElementById("appRoot");+if (!USt) throw Error("主界面宿主缺失");+HSt(USt);//#endregion-export { YT as applyTheme, _P as peachHistory, Qo as popCount, pvt as showToast };+export { JT as applyTheme, gP as peachHistory, Qo as popCount, yvt as showToast };-//# debugId=4f31f79f-1d9f-4bdf-aa60-46284850bad7\ No newline at end of file+//# debugId=d61f8d2e-3895-4b7e-bfa5-ca26a8109e65\ No newline at end of filediff --git a/web/dist/peach-pages.js b/web/dist/peach-pages.jsindex 98a67bcb4..2d79276af 100644--- a/web/dist/peach-pages.js+++ b/web/dist/peach-pages.js@@ -2,7 +2,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "fc9b3421-b747-4af4-b9d4-34508708da23", e._sentryDebugIdIdentifier = "sentry-dbid-fc9b3421-b747-4af4-b9d4-34508708da23");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "728ce482-6293-4c81-988a-83f40d0d4b2f", e._sentryDebugIdIdentifier = "sentry-dbid-728ce482-6293-4c81-988a-83f40d0d4b2f");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, i, o, s) => {@@ -19678,8 +19678,43 @@ function Am({ done: e }) {});}//#endregion-//#region src/react/boardui/components/base/switch/switch.tsx+//#region src/react/boardui/components/base/buttons/icon-button.tsxvar jm = St({+ base: [+ "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",+ "bg-background-primary-default text-foreground-icon-primary",+ "border border-border-button-default shadow-xs",+ "select-none cursor-pointer",+ "transition-[background-color,border-color,box-shadow,color] duration-150 ease",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "hover:bg-background-primary-hover hover:border-border-button-hover",+ "active:bg-background-primary-active active:border-border-button-active",+ "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none"+ ].join(" "),+ size: {+ medium: "size-9",+ small: "size-8"+ },+ icon: {+ medium: "size-5 shrink-0",+ small: "size-4 shrink-0"+ }+});+function Mm({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+ return /* @__PURE__ */ (0, B.jsx)("button", {+ ref: i,+ type: r,+ className: z(jm.base, jm.size[t], n),+ ...a,+ children: /* @__PURE__ */ (0, B.jsx)(e, {+ className: jm.icon[t],+ "aria-hidden": !0+ })+ });+}+//#endregion+//#region src/react/boardui/components/base/switch/switch.tsx+var Nm = St({sm: {track: "h-4 w-7",trackRadius: {@@ -19741,8 +19776,8 @@ var jm = St({}}});-function Mm({ state: e, size: t = "md", shape: n = "pill" }) {- let r = jm[t];+function Pm({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = Nm[t];return /* @__PURE__ */ (0, B.jsx)("span", {"aria-hidden": !0,className: z("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? z("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),@@ -19752,12 +19787,12 @@ function Mm({ state: e, size: t = "md", shape: n = "pill" }) {})});}-function Nm({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+function Fm({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {return /* @__PURE__ */ (0, B.jsx)(Tp, {ref: i,...a,className: (t) => z("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Mm, {+ children: (e) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Pm, {state: e,size: n,shape: r@@ -19769,7 +19804,7 @@ function Nm({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var Pm = [+var Im = ["max-w-[calc(100vw-32px)] overflow-y-auto","rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown","transition duration-150 ease-out",@@ -19777,10 +19812,10 @@ var Pm = ["data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]","data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left","data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), Fm = "w-[266px]", Im = "flex w-full flex-col gap-1 outline-none", Lm = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" ");+].join(" "), Lm = "w-[266px]", Rm = "flex w-full flex-col gap-1 outline-none", zm = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" ");//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function Rm(e) {+function Bm(e) {return /* @__PURE__ */ (0, B.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -19796,7 +19831,7 @@ function Rm(e) {}//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function zm(e, t, n) {+function Vm(e, t, n) {(0, C.useEffect)(() => {if (!e) return;let r = (e) => {@@ -19810,7 +19845,7 @@ function zm(e, t, n) {n]);}-function Bm(e, t) {+function Hm(e, t) {let n = (0, C.useRef)(!1);return (0, C.useEffect)(() => {if (!e) return;@@ -19824,11 +19859,11 @@ function Bm(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var Vm = (0, C.createContext)("md");-function Hm({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var Um = (0, C.createContext)("md");+function Wm({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, C.useRef)(null), u = (0, C.useRef)(null), [d, f] = (0, C.useState)(!1);- zm(d, () => f(!1), [l, u]);- let p = Bm(d, l);+ Vm(d, () => f(!1), [l, u]);+ let p = Hm(d, l);return /* @__PURE__ */ (0, B.jsx)(_p, {ref: s,...c,@@ -19841,16 +19876,16 @@ function Hm({ className: e, triggerClassName: t, popoverClassName: n, size: r =children: [/* @__PURE__ */ (0, B.jsx)(xp, {className: z("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, B.jsx)(Rm, { className: z("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, B.jsx)(Bm, { className: z("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]}), /* @__PURE__ */ (0, B.jsx)(sf, {ref: u,isNonModal: !0,offset: 4,- className: z(Fm, Pm, "p-2", n),+ className: z(Lm, Im, "p-2", n),children: /* @__PURE__ */ (0, B.jsx)(eu, {items: a,- className: z(Im, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, B.jsx)(Vm.Provider, {+ className: z(Rm, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, B.jsx)(Um.Provider, {value: r,children: i})@@ -19858,17 +19893,17 @@ function Hm({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function Um({ className: e, children: t, ...n }) {- let r = (0, C.useContext)(Vm);+function Gm({ className: e, children: t, ...n }) {+ let r = (0, C.useContext)(Um);return /* @__PURE__ */ (0, B.jsx)(iu, {...n,- className: (t) => z(Lm, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),+ className: (t) => z(zm, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/core/random-id.ts-function Wm() {+function Km() {if (typeof crypto.randomUUID == "function") return crypto.randomUUID();let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;@@ -19877,56 +19912,56 @@ function Wm() {}//#endregion//#region node_modules/motion-utils/dist/es/clamp.mjs-var Gm = (e, t, n) => n > t ? t : n < e ? e : n, Km = {};+var qm = (e, t, n) => n > t ? t : n < e ? e : n, Jm = {};//#endregion//#region node_modules/motion-utils/dist/es/memo.mjs/*#__NO_SIDE_EFFECTS__*/-function qm(e) {+function Ym(e) {let t;return () => (t === void 0 && (t = e()), t);}//#endregion//#region node_modules/motion-utils/dist/es/noop.mjs-var Jm = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Ym = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Xm = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Zm = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", Qm = {+var Xm = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Zm = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Qm = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, $m = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", eh = {delta: 0,timestamp: 0,isProcessing: !1-}, $m;-function eh() {- $m = void 0;+}, th;+function nh() {+ th = void 0;}-var th = {- now: () => ($m === void 0 && th.set(Qm.isProcessing || Km.useManualTiming ? Qm.timestamp : performance.now()), $m),+var rh = {+ now: () => (th === void 0 && rh.set(eh.isProcessing || Jm.useManualTiming ? eh.timestamp : performance.now()), th),set: (e) => {- $m = e, queueMicrotask(eh);+ th = e, queueMicrotask(nh);}-}, nh = (e, t, n = 10) => {+}, ih = (e, t, n = 10) => {let r = "", i = Math.max(Math.round(t / n), 2);for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";return `linear(${r.substring(0, r.length - 2)})`;-}, rh = 2e4;-function ih(e, t = 50, n = rh, r) {+}, ah = 2e4;+function oh(e, t = 50, n = ah, r) {let i = 0, a = e.next(i);for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);return i >= n ? Infinity : i;}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs-function ah(e, t = 100, n) {+function sh(e, t = 100, n) {let { keyframes: r, velocity: i } = e, a = r && r[r.length - 1] - r[0], o = n({...e,velocity: i && a ? i * t / a : i,keyframes: [0, t]- }), s = Math.min(ih(o), rh);+ }), s = Math.min(oh(o), ah);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,- duration: /* @__PURE__ */ Xm(s)+ duration: /* @__PURE__ */ Qm(s)};}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var oh = {+var ch = {stiffness: 100,damping: 10,mass: 1,@@ -19944,63 +19979,63 @@ var oh = {minDuration: .01,maxDuration: 10,minDamping: .05-}, sh = (e) => e < 0 ? 1 / Math.max(1 + e, oh.minDamping) : Math.max(1 - e, oh.minDamping);-function ch(e, t) {+}, lh = (e) => e < 0 ? 1 / Math.max(1 + e, ch.minDamping) : Math.max(1 - e, ch.minDamping);+function uh(e, t) {if (!(e > 1)) return 1;let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);- return dh((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return ph((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function lh(e, t) {+function dh(e, t) {return e * Math.sqrt(1 - t * t);}-var uh = 12;-function dh(e, t, n) {+var fh = 12;+function ph(e, t, n) {let r = n;- for (let n = 1; n < uh; n++) r -= e(r) / t(r);+ for (let n = 1; n < fh; n++) r -= e(r) / t(r);return r;}-var fh = .001;-function ph({ duration: e = oh.duration, bounce: t = oh.bounce }) {+var mh = .001;+function hh({ duration: e = ch.duration, bounce: t = ch.bounce }) {let n, r;- oh.maxDuration;- let i = sh(t);- e = Gm(oh.minDuration, oh.maxDuration, /* @__PURE__ */ Xm(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = lh(t, i), o = Math.exp(-r);- return fh - n / a * o;+ ch.maxDuration;+ let i = lh(t);+ e = qm(ch.minDuration, ch.maxDuration, /* @__PURE__ */ Qm(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = dh(t, i), o = Math.exp(-r);+ return mh - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = lh(t * t, i);- return (-n(t) + fh > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = dh(t * t, i);+ return (-n(t) + mh > 0 ? -1 : 1) * -a * o / s;}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));- let a = 5 / e, o = dh(n, r, a), s = o * ch(i, o * e), c = s * s;+ let a = 5 / e, o = ph(n, r, a), s = o * uh(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),- duration: /* @__PURE__ */ Ym(e)+ duration: /* @__PURE__ */ Zm(e)};}-var mh = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function hh(e, t) {- if (mh(e, t)) return e;+var gh = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function _h(e, t) {+ if (gh(e, t)) return e;}-function gh(e) {- let t = hh(e.stiffness), n = hh(e.damping, !0), r = hh(e.mass), i = {+function vh(e) {+ let t = _h(e.stiffness), n = _h(e.damping, !0), r = _h(e.mass), i = {...e,- stiffness: t ?? oh.stiffness,- damping: n ?? oh.damping,- mass: r ?? oh.mass,+ stiffness: t ?? ch.stiffness,+ damping: n ?? ch.damping,+ mass: r ?? ch.mass,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = sh(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * ch(t, 2 * Math.PI / 1.2);+ let t = lh(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * uh(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, ph(i)), i.isResolvedFromDuration = !0;- (!mh(i.stiffness) || !mh(i.damping, !0)) && (i.stiffness = oh.stiffness, i.damping = oh.damping);+ } else Object.assign(i, hh(i)), i.isResolvedFromDuration = !0;+ (!gh(i.stiffness) || !gh(i.damping, !0)) && (i.stiffness = ch.stiffness, i.damping = ch.damping);}return i;}-function _h(e = oh.visualDuration, t = oh.bounce) {+function yh(e = ch.visualDuration, t = ch.bounce) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -20008,7 +20043,7 @@ function _h(e = oh.visualDuration, t = oh.bounce) {}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {done: !1,value: r- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = gh({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Xm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Xm(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = vh({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Qm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Qm(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -20016,12 +20051,12 @@ function _h(e = oh.visualDuration, t = oh.bounce) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? oh.restSpeed.granular : oh.restSpeed.default), g.restDelta = n.restDelta || (e ? oh.restDelta.granular : oh.restDelta.default);+ g.restSpeed = n.restSpeed || (e ? ch.restSpeed.granular : ch.restSpeed.default), g.restDelta = n.restDelta || (e ? ch.restDelta.granular : ch.restDelta.default);};_();let v, y, b;if (p < 1) {- let e = lh(m, p), t = {+ let e = dh(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -20059,51 +20094,51 @@ function _h(e = oh.visualDuration, t = oh.bounce) {retarget: (e, t) => {g.target = e[e.length - 1], g.delta = g.target - e[0], g.velocity = f(t), n.restSpeed && n.restDelta || _(), S.calculatedDuration = x, a.done = !1, b();},- velocity: (e) => /* @__PURE__ */ Ym(y(e)),+ velocity: (e) => /* @__PURE__ */ Zm(y(e)),next: (e) => {let t = v(e);if (u) a.done = e >= l;else {- let n = /* @__PURE__ */ Ym(y(e));+ let n = /* @__PURE__ */ Zm(y(e));a.done = Math.abs(n) <= g.restSpeed && Math.abs(g.target - t) <= g.restDelta;}return a.value = a.done ? g.target : t, a;},toString: () => {- let e = Math.min(ih(S), rh), t = nh((t) => S.next(e * t).value, e, 30);+ let e = Math.min(oh(S), ah), t = ih((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-_h.applyToOptions = (e) => {- let t = ah(e, 100, _h);- return e.ease = t.ease, e.duration = /* @__PURE__ */ Ym(t.duration), e.type = "keyframes", e;+yh.applyToOptions = (e) => {+ let t = sh(e, 100, yh);+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Zm(t.duration), e.type = "keyframes", e;};//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var vh = (e) => e !== null;-function yh(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(vh), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var bh = (e) => e !== null;+function xh(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(bh), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function bh(e, t) {+function Sh(e, t) {return {kind: e,animation: t,- timestamp: th.now(),- frameTimestamp: Qm.timestamp,- frameIsProcessing: Qm.isProcessing+ timestamp: rh.now(),+ frameTimestamp: eh.timestamp,+ frameIsProcessing: eh.isProcessing};}-function xh(e, t, n) {+function Ch(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...bh("animation-start", e),+ ...Sh("animation-start", e),options: n ? {...t,...n@@ -20113,7 +20148,7 @@ function xh(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var Sh = class {+var wh = class {constructor() {this.isResolved = !1;}@@ -20134,60 +20169,60 @@ var Sh = class {};//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function Ch(e) {+function Th(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs-var wh = (e) => e.startsWith("--");+var Eh = (e) => e.startsWith("--");//#endregion//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function Th(e, t, n) {- wh(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function Dh(e, t, n) {+ Eh(t) ? e.style.setProperty(t, n) : e.style[t] = n;}//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var Eh = {};+var Oh = {};//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function Dh(e, t) {- let n = /* @__PURE__ */ qm(e);- return () => Eh[t] ?? n();+function kh(e, t) {+ let n = /* @__PURE__ */ Ym(e);+ return () => Oh[t] ?? n();}//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var Oh = /* @__PURE__ */ Dh(() => window.ScrollTimeline !== void 0, "scrollTimeline"), kh = /*@__PURE__*/ Dh(() => {+var Ah = /* @__PURE__ */ kh(() => window.ScrollTimeline !== void 0, "scrollTimeline"), jh = /*@__PURE__*/ kh(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), Ah = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, jh = {+}, "linearEasing"), Mh = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Nh = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ Ah([+ circIn: /*@__PURE__*/ Mh([0,.65,.55,1]),- circOut: /*@__PURE__*/ Ah([+ circOut: /*@__PURE__*/ Mh([.55,0,1,.45]),- backIn: /*@__PURE__*/ Ah([+ backIn: /*@__PURE__*/ Mh([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ Ah([+ backOut: /*@__PURE__*/ Mh([.33,1.53,.69,@@ -20196,15 +20231,15 @@ var Oh = /* @__PURE__ */ Dh(() => window.ScrollTimeline !== void 0, "scrollTimel};//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function Mh(e, t) {- if (e) return typeof e == "function" ? kh() ? nh(e, t) : "ease-out" : /* @__PURE__ */ Zm(e) ? Ah(e) : Array.isArray(e) ? e.map((e) => Mh(e, t) || jh.easeOut) : jh[e];+function Ph(e, t) {+ if (e) return typeof e == "function" ? jh() ? ih(e, t) : "ease-out" : /* @__PURE__ */ $m(e) ? Mh(e) : Array.isArray(e) ? e.map((e) => Ph(e, t) || Nh.easeOut) : Nh[e];}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function Nh(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function Fh(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {let u = { [t]: n };c && (u.offset = c);- let d = Mh(s, i);+ let d = Ph(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -20218,29 +20253,29 @@ function Nh(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function Ph(e) {+function Ih(e) {return typeof e == "function" && "applyToOptions" in e;}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function Fh({ type: e, ...t }) {- return Ph(e) && kh() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function Lh({ type: e, ...t }) {+ return Ih(e) && jh() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}//#endregion//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var Ih = class extends Sh {+var Rh = class extends wh {constructor(e) {if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;- let c = Fh(e);- this.animation = Nh(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ let c = Lh(e);+ this.animation = Fh(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = yh(r, this.options, o, this.speed);- this.updateMotionValue && this.updateMotionValue(e), Th(t, n, e), this.animation.cancel();+ let e = xh(r, this.options, o, this.speed);+ this.updateMotionValue && this.updateMotionValue(e), Dh(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, xh(this, e, c);+ }, Ch(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -20268,18 +20303,18 @@ var Ih = class extends Sh {}get duration() {let e = this.animation.effect?.getComputedTiming?.().duration || 0;- return /* @__PURE__ */ Xm(Number(e));+ return /* @__PURE__ */ Qm(Number(e));}get iterationDuration() {let { delay: e = 0 } = this.options || {};- return this.duration + /* @__PURE__ */ Xm(e);+ return this.duration + /* @__PURE__ */ Qm(e);}get time() {- return /* @__PURE__ */ Xm(Number(this.animation.currentTime) || 0);+ return /* @__PURE__ */ Qm(Number(this.animation.currentTime) || 0);}set time(e) {let t = this.finishedTime !== null;- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Ym(e), t && this.animation.pause();+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Zm(e), t && this.animation.pause();}get speed() {return this.animation.playbackRate;@@ -20297,9 +20332,9 @@ var Ih = class extends Sh {this.manualStartTime = this.animation.startTime = e;}attachTimeline({ timeline: e, onAttach: t, observe: n }) {- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Oh() ? (this.animation.timeline = e, t?.(this.animation), Jm) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Ah() ? (this.animation.timeline = e, t?.(this.animation), Xm) : n(this);}-}, Lh = class {+}, zh = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -20339,10 +20374,10 @@ var Ih = class extends Sh {return this.getAll("startTime");}get duration() {- return Rh(this.animations, "duration");+ return Bh(this.animations, "duration");}get iterationDuration() {- return Rh(this.animations, "iterationDuration");+ return Bh(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -20360,7 +20395,7 @@ var Ih = class extends Sh {this.runAll("complete");}};-function Rh(e, t) {+function Bh(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -20370,18 +20405,18 @@ function Rh(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var zh = class extends Lh {+var Vh = class extends zh {then(e, t) {return this.finished.finally(e).then(() => {});}-}, Bh = /* @__PURE__ */ new WeakMap(), Vh = (e, t = "") => `${e}:${t}`;-function Hh(e) {- let t = Bh.get(e);- return t || (t = /* @__PURE__ */ new Map(), Bh.set(e, t)), t;+}, Hh = /* @__PURE__ */ new WeakMap(), Uh = (e, t = "") => `${e}:${t}`;+function Wh(e) {+ let t = Hh.get(e);+ return t || (t = /* @__PURE__ */ new Map(), Hh.set(e, t)), t;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function Uh(e, t) {+function Gh(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -20393,21 +20428,21 @@ function Uh(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function Wh(e, t) {+function Kh(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : Uh(n, e);+ return n === e ? n : Gh(n, e);}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/utils/px-values.mjs-var Gh = /* @__PURE__ */ new Set(/* @__PURE__ */ "borderWidth.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderRadius.borderTopLeftRadius.borderTopRightRadius.borderBottomRightRadius.borderBottomLeftRadius.width.maxWidth.height.maxHeight.top.right.bottom.left.inset.insetBlock.insetBlockStart.insetBlockEnd.insetInline.insetInlineStart.insetInlineEnd.padding.paddingTop.paddingRight.paddingBottom.paddingLeft.paddingBlock.paddingBlockStart.paddingBlockEnd.paddingInline.paddingInlineStart.paddingInlineEnd.margin.marginTop.marginRight.marginBottom.marginLeft.marginBlock.marginBlockStart.marginBlockEnd.marginInline.marginInlineStart.marginInlineEnd.fontSize.backgroundPositionX.backgroundPositionY".split("."));+var qh = /* @__PURE__ */ new Set(/* @__PURE__ */ "borderWidth.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderRadius.borderTopLeftRadius.borderTopRightRadius.borderBottomRightRadius.borderBottomLeftRadius.width.maxWidth.height.maxHeight.top.right.bottom.left.inset.insetBlock.insetBlockStart.insetBlockEnd.insetInline.insetInlineStart.insetInlineEnd.padding.paddingTop.paddingRight.paddingBottom.paddingLeft.paddingBlock.paddingBlockStart.paddingBlockEnd.paddingInline.paddingInlineStart.paddingInlineEnd.margin.marginTop.marginRight.marginBottom.marginLeft.marginBlock.marginBlockStart.marginBlockEnd.marginInline.marginInlineStart.marginInlineEnd.fontSize.backgroundPositionX.backgroundPositionY".split("."));//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function Kh(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Gh.has(t) && (e[n] = e[n] + "px");+function Jh(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && qh.has(t) && (e[n] = e[n] + "px");}//#endregion//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function qh(e, t, n) {+function Yh(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {@@ -20420,24 +20455,24 @@ function qh(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function Jh(e, t) {+function Xh(e, t) {let n = window.getComputedStyle(e);- return wh(t) ? n.getPropertyValue(t) : n[t];+ return Eh(t) ? n.getPropertyValue(t) : n[t];}//#endregion//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Yh(e, t, n, r) {+function Zh(e, t, n, r) {if (e == null) return [];- let i = qh(e, r), a = i.length, o = [];+ let i = Yh(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {let r = i[e], s = { ...n };typeof s.delay == "function" && (s.delay = s.delay(e, a));for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ...Wh(s, e) };- i.duration &&= /* @__PURE__ */ Ym(i.duration), i.delay &&= /* @__PURE__ */ Ym(i.delay);- let a = Hh(r), c = Vh(e, i.pseudoElement || ""), l = a.get(c);+ let i = { ...Kh(s, e) };+ i.duration &&= /* @__PURE__ */ Zm(i.duration), i.delay &&= /* @__PURE__ */ Zm(i.delay);+ let a = Wh(r), c = Uh(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -20453,33 +20488,33 @@ function Yh(e, t, n, r) {}for (let e = 0; e < o.length; e++) {let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;- !a && t[0] === null && (t[0] = Jh(r, i)), Ch(t), Kh(t, i), !a && t.length < 2 && t.unshift(Jh(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = Xh(r, i)), Th(t), Jh(t, i), !a && t.length < 2 && t.unshift(Xh(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new Ih(r);+ let { map: t, key: n, options: r } = o[e], i = new Rh(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var Xh = /*@__PURE__*/ ((e) => {+var Qh = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new zh(Yh(t, n, r, e));+ return new Vh(Zh(t, n, r, e));}return t;-})(), Zh = {+})(), $h = {selection: {- type: _h,+ type: yh,duration: .16,bounce: 0},hover: {- type: _h,+ type: yh,duration: .08,bounce: 0}};-function Qh(e) {+function eg(e) {let [t, n] = (0, C.useState)(null);return (0, C.useLayoutEffect)(() => {if (!t) return;@@ -20500,7 +20535,7 @@ function Qh(e) {let E = `translate(${b}px, ${x}px) scale(1, 1)`;if (u && a && !r.matches && T && s !== h) {let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;- l = Xh(n, { transform: [r, E] }, Zh[e]);+ l = Qh(n, { transform: [r, E] }, $h[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -20543,11 +20578,11 @@ Object.fromEntries(Object.entries({}).map(([e, t]) => [t, e])), typeof Intl < "u" && typeof Intl.Segmenter == "function" && new Intl.Segmenter(void 0, { granularity: "grapheme" }), { ...mm };//#endregion//#region src/ui-kit/scroll.ts-var $h = /* @__PURE__ */ new Map(), eg, tg = 240, ng = 50, rg = 70, ig = .55, ag = .35, og = 480;-function sg(e, t) {- return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * ig / t + 1)) * t;+var tg = /* @__PURE__ */ new Map(), ng, rg = 240, ig = 50, ag = 70, og = .55, sg = .35, cg = 480;+function lg(e, t) {+ return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * og / t + 1)) * t;}-function cg(e) {+function ug(e) {let t = null, n = 0, r = () => typeof e.animate != "function" || matchMedia("(prefers-reduced-motion:reduce)").matches, i = () => {t = null, n || e.classList.remove("edgepull");}, a = (n, r) => {@@ -20555,11 +20590,11 @@ function cg(e) {};return {drag(i) {- r() || (t?.cancel(), t = null, n = -sg(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));+ r() || (t?.cancel(), t = null, n = -lg(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));},release() {if (!n) return;- let t = n, r = dg();+ let t = n, r = pg();n = 0, e.style.removeProperty("--edge-pull"), a([{"--edge-pull": `${t}px`,easing: r.easing@@ -20567,9 +20602,9 @@ function cg(e) {},kick(t) {if (r() || n) return;- let i = -sg(t * ag, Math.min(e.clientWidth, og));+ let i = -lg(t * sg, Math.min(e.clientWidth, cg));if (!i) return;- let o = dg();+ let o = pg();a([{"--edge-pull": "0px",@@ -20585,9 +20620,9 @@ function cg(e) {}};}-function lg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {+function dg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {if (!e) return;- let o = $h.get(e);+ let o = tg.get(e);if (o) return o.options.drag ||= t, o.options.fade ||= n, o.update(), o;let s = {drag: t,@@ -20595,7 +20630,7 @@ function lg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drawheel: r,elastic: i,dragIgnore: a- }, c = new AbortController(), l = cg(e), u = null, d = 0, f = 0, p = 0, m = !1, h = 0, g = 0, _ = 0, v = 0, y = (t, n) => {+ }, c = new AbortController(), l = ug(e), u = null, d = 0, f = 0, p = 0, m = !1, h = 0, g = 0, _ = 0, v = 0, y = (t, n) => {e.dataset[t] !== n && (e.dataset[t] = n);}, b = () => ["auto",@@ -20617,7 +20652,7 @@ function lg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dracancelAnimationFrame(h), h = 0, v = 0;}, T = (t) => {let n = Math.min(Math.max(t - g, 0), 64);- if (g = t, _ += (p - _) * (1 - Math.exp(-n / rg)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(T);+ if (g = t, _ += (p - _) * (1 - Math.exp(-n / ag)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(T);else if (h = 0, v) {let e = v;v = 0, C(e);@@ -20629,11 +20664,11 @@ function lg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, draif (t.defaultPrevented || !t.cancelable || Math.abs(t.deltaY) <= Math.abs(t.deltaX) || n <= 0 || !b()) return;t.preventDefault();let r = performance.now(), i = Math.abs(t.deltaY);- r > f && (m = !1), f = r + tg;+ r > f && (m = !1), f = r + rg;let a = h ? p : e.scrollLeft, o = a + t.deltaY;p = Math.min(n, Math.max(0, o));let c = o === p ? 0 : t.deltaY;- i < ng || p === a ? (p !== a && (w(), e.scrollLeft = p), c && !h ? C(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(T)));+ i < ig || p === a ? (p !== a && (w(), e.scrollLeft = p), c && !h ? C(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(T)));}, { passive: !1 }), S(e, "mousedown", (t) => {d = 0, !(!s.drag || t.button !== 0 || e.scrollWidth - e.clientWidth <= 1) && (s.dragIgnore && (t.shiftKey || t.ctrlKey || t.metaKey || t.altKey || t.target.closest?.(s.dragIgnore)) || (t.stopPropagation(), w(), u = {x: t.pageX,@@ -20668,26 +20703,26 @@ function lg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, draoptions: s,update: x,destroy() {- c.abort(), w(), D.disconnect(), k.disconnect(), $h.delete(e), e.style.cursor = "", $h.size || (eg?.disconnect(), eg = null);+ c.abort(), w(), D.disconnect(), k.disconnect(), tg.delete(e), e.style.cursor = "", tg.size || (ng?.disconnect(), ng = null);}};- return $h.set(e, A), eg || (eg = new MutationObserver(() => {- for (let [e, t] of $h) e.isConnected || t.destroy();- }), eg.observe(document.body, {+ return tg.set(e, A), ng || (ng = new MutationObserver(() => {+ for (let [e, t] of tg) e.isConnected || t.destroy();+ }), ng.observe(document.body, {childList: !0,subtree: !0})), x(), A;}-var ug = null;-function dg() {- if (!ug) {+var fg = null;+function pg() {+ if (!fg) {let e = getComputedStyle(document.documentElement);- ug = {+ fg = {easing: e.getPropertyValue("--spring-pane").trim() || "ease",duration: parseFloat(e.getPropertyValue("--spring-pane-ms")) || 300};}- return ug;+ return fg;}["[data-stage-side-content]",@@ -20712,14 +20747,14 @@ function dg() {].join(",");//#endregion//#region src/react/components/use-horizontal-scroller.ts-function fg(e, t = !0) {+function mg(e, t = !0) {let [n, r] = (0, C.useState)(null), i = (0, C.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);return (0, C.useLayoutEffect)(() => {if (!n || !t) return;n.dataset.horizontalScroll = "";- let e = lg(n);+ let e = dg(n);return () => {e.destroy(), delete n.dataset.horizontalScroll, delete n.dataset.overflowLeft, delete n.dataset.overflowRight;};@@ -20727,58 +20762,23 @@ function fg(e, t = !0) {}//#endregion//#region src/react/components/segmented.tsx-function pg(e) {- let t = fg(Qh("selection"));+function hg(e) {+ let t = mg(eg("selection"));return /* @__PURE__ */ (0, B.jsx)(ip, {...e,ref: t});}-var mg = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", hg = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover";+var gg = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", _g = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover";//#endregion//#region src/react/settings/busy-props.ts-function gg(e) {+function vg(e) {return e ? {"aria-busy": !0,"aria-disabled": !0} : {};}//#endregion-//#region src/react/boardui/components/base/buttons/icon-button.tsx-var _g = St({- base: [- "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",- "bg-background-primary-default text-foreground-icon-primary",- "border border-border-button-default shadow-xs",- "select-none cursor-pointer",- "transition-[background-color,border-color,box-shadow,color] duration-150 ease",- "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",- "hover:bg-background-primary-hover hover:border-border-button-hover",- "active:bg-background-primary-active active:border-border-button-active",- "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none"- ].join(" "),- size: {- medium: "size-9",- small: "size-8"- },- icon: {- medium: "size-5 shrink-0",- small: "size-4 shrink-0"- }-});-function vg({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {- return /* @__PURE__ */ (0, B.jsx)("button", {- ref: i,- type: r,- className: z(_g.base, _g.size[t], n),- ...a,- children: /* @__PURE__ */ (0, B.jsx)(e, {- className: _g.icon[t],- "aria-hidden": !0- })- });-}-//#endregion//#region src/react/settings/folder-rows.tsxfunction yg({ className: e }) {return /* @__PURE__ */ (0, B.jsx)("svg", {@@ -20820,7 +20820,7 @@ function Tg({ index: e, cost: t, error: n, onChange: r }) {"aria-hidden": !0,children: "读取策略"}),- /* @__PURE__ */ (0, B.jsxs)(Hm, {+ /* @__PURE__ */ (0, B.jsxs)(Wm, {"aria-label": `媒体读取策略 ${e + 1}`,placeholder: "选择读取策略",isRequired: !0,@@ -20830,10 +20830,10 @@ function Tg({ index: e, cost: t, error: n, onChange: r }) {onSelectionChange: (e) => {(e === "free" || e === "metered") && r(e);},- children: [/* @__PURE__ */ (0, B.jsx)(Um, {+ children: [/* @__PURE__ */ (0, B.jsx)(Gm, {id: "free",children: "正常读取"- }), /* @__PURE__ */ (0, B.jsx)(Um, {+ }), /* @__PURE__ */ (0, B.jsx)(Gm, {id: "metered",children: "代理保护"})]@@ -20919,11 +20919,11 @@ function Og({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, oclassName: "flex h-9 shrink-0 items-center",children: c}) : null,- /* @__PURE__ */ (0, B.jsx)(vg, {+ /* @__PURE__ */ (0, B.jsx)(Mm, {icon: yg,"aria-label": "选择文件夹",onClick: o,- ...gg(a)+ ...vg(a)}),s ? /* @__PURE__ */ (0, B.jsx)(Tt, {variant: "danger",@@ -20943,14 +20943,14 @@ function kg({ index: e, value: t, onChange: n, options: r = bg }) {return /* @__PURE__ */ (0, B.jsx)(Cg, {label: "来源",className: "w-full @lg:w-60",- children: /* @__PURE__ */ (0, B.jsx)(Hm, {+ children: /* @__PURE__ */ (0, B.jsx)(Wm, {className: "w-full","aria-label": `媒体来源 ${e + 1}`,selectedKey: t,onSelectionChange: (e) => {e !== null && n(String(e));},- children: r.map(([e, t]) => /* @__PURE__ */ (0, B.jsxs)(Um, {+ children: r.map(([e, t]) => /* @__PURE__ */ (0, B.jsxs)(Gm, {id: e,textValue: t,children: [/* @__PURE__ */ (0, B.jsx)(km, { mark: xg(e) }), t]@@ -21046,7 +21046,7 @@ function Ig({ value: e, onChange: t, busy: n = !1 }) {return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(bm, { children: /* @__PURE__ */ (0, B.jsx)(_m, {label: "发送版本统计与错误诊断(推荐)",description: "上传版本、系统信息、故障类型、代码位置与发生次数。",- children: /* @__PURE__ */ (0, B.jsx)(Nm, {+ children: /* @__PURE__ */ (0, B.jsx)(Fm, {"aria-label": "发送版本统计与错误诊断(推荐)",isSelected: e.usage && e.errors,onChange: (n) => t({@@ -21054,7 +21054,7 @@ function Ig({ value: e, onChange: t, busy: n = !1 }) {usage: n,errors: n}),- ...gg(n)+ ...vg(n)})}) }), e.available ? null : /* @__PURE__ */ (0, B.jsx)(xm, {divided: !0,@@ -21067,7 +21067,6 @@ function Ig({ value: e, onChange: t, busy: n = !1 }) {//#endregion//#region src/react/pages/setup/setup-form.tsxvar Lg = [- "data_root","host","port","mdns_name"@@ -21089,64 +21088,64 @@ function zg(e) {}var Bg = (e) => Array.isArray(e) ? e.filter(Boolean).join(" ") : e ?? "";function Vg({ setup: e, onDone: t }) {- let n = e.questions.find((e) => e.input === "folders"), r = e.questions.filter((e) => e.input !== "folders"), i = e.media_sources.map(({ value: e, label: t }) => [e, t]), a = (t = "") => ({+ let n = e.questions.find((e) => e.input === "folders"), r = e.questions.find((e) => e.input === "folder"), i = e.questions.filter((e) => e.input !== "folders"), a = i.filter((e) => e.input !== "folder"), o = e.media_sources.map(({ value: e, label: t }) => [e, t]), s = (t = "") => ({path: t,location: e.media_source_default,root: "",- library_id: Wm(),+ library_id: Km(),library: "",cost: e.media_source_default === "local" ? "free" : ""- }), o = Dg({- initial: () => [a(n?.default ?? "")],- blank: () => a(),+ }), c = Dg({+ initial: () => [s(n?.default ?? "")],+ blank: () => s(),pickFolder: nm,describe: rm,focusAfterPick: !0- }), [s, c] = (0, C.useState)(() => Object.fromEntries(r.map((e) => [e.key, e.default]))), [l, u] = (0, C.useState)(e.access_enabled), [d, f] = (0, C.useState)(""), [p, m] = (0, C.useState)(""), [h, g] = (0, C.useState)(e.scan_now), [_, v] = (0, C.useState)(e.history_guide), [y, b] = (0, C.useState)(e.remote_reporting), [x, S] = (0, C.useState)({}), [w, T] = (0, C.useState)(""), [E, D] = (0, C.useState)(""), [O, k] = (0, C.useState)(!1), [A, j] = (0, C.useState)(!1), [M, ee] = (0, C.useState)(0), te = (0, C.useRef)(null), ne = (0, C.useRef)(null), [N, re] = (0, C.useState)(0);+ }), [l, u] = (0, C.useState)(() => Object.fromEntries(i.map((e) => [e.key, e.default]))), [d, f] = (0, C.useState)(!1), [p, m] = (0, C.useState)(""), [h, g] = (0, C.useState)(e.access_enabled), [_, v] = (0, C.useState)(""), [y, b] = (0, C.useState)(""), [x, S] = (0, C.useState)(e.scan_now), [w, T] = (0, C.useState)(e.history_guide), [E, D] = (0, C.useState)(e.remote_reporting), [O, k] = (0, C.useState)({}), [A, j] = (0, C.useState)(""), [M, ee] = (0, C.useState)(""), [te, ne] = (0, C.useState)(!1), [N, re] = (0, C.useState)(!1), [ie, ae] = (0, C.useState)(0), oe = (0, C.useRef)(null), se = (0, C.useRef)(null), [ce, le] = (0, C.useState)(0);(0, C.useEffect)(() => {- N && te.current?.querySelector("input[aria-invalid=\"true\"]")?.focus();- }, [N]);- let ie = (e) => e ? /* @__PURE__ */ (0, B.jsx)("span", {+ ce && oe.current?.querySelector("input[aria-invalid=\"true\"]")?.focus();+ }, [ce]);+ let ue = (e) => e ? /* @__PURE__ */ (0, B.jsx)("span", {role: "alert",children: e- }, N) : void 0, ae = (e) => !e.visible_when || Object.entries(e.visible_when).every(([e, t]) => s[e] === t), oe = (e, t) => c((n) => ({+ }, ce) : void 0, de = (e) => !e.visible_when || Object.entries(e.visible_when).every(([e, t]) => l[e] === t), fe = (e, t) => u((n) => ({...n,[e]: t- })), se = async (e) => {- if (e.preventDefault(), O) return;- let n = o.rows.findIndex((e) => !e.cost);+ })), pe = async (e) => {+ if (e.preventDefault(), te) return;+ let n = c.rows.findIndex((e) => !e.cost);if (n >= 0) {- j(!0), requestAnimationFrame(() => te.current?.querySelector(`[data-media-read-policy="${n}"] button`)?.focus());+ re(!0), requestAnimationFrame(() => oe.current?.querySelector(`[data-media-read-policy="${n}"] button`)?.focus());return;}- k(!0), D("");- let i = {- media_dir: o.rows,- access_enabled: l,- scan_now: h,- history_guide: _,- ...y ? { remote_reporting: {- usage: y.usage,- errors: y.errors+ ne(!0), ee("");+ let r = {+ media_dir: c.rows,+ access_enabled: h,+ scan_now: x,+ history_guide: w,+ ...E ? { remote_reporting: {+ usage: E.usage,+ errors: E.errors} } : {}};- for (let e of r) ae(e) && (i[e.key] = s[e.key] ?? "");- l && Object.assign(i, {- access_password: d,- access_confirm: p+ for (let e of i) de(e) && (r[e.key] = l[e.key] ?? "");+ h && Object.assign(r, {+ access_password: _,+ access_confirm: y});try {- t(await em(i));+ t(await em(r));} catch (e) {if (e instanceof Zp && e.status === 400 && e.errors) {- let t = e.errors, { rows: n, table: r } = Rg(t.media_dir, o.rows.length);- o.setErrors(n), T(r), S(t), Lg.some((e) => t[e]) && ee((e) => e + 1), t.access_password && u(!0), re((e) => e + 1);- } else D(rm(e));+ let t = e.errors, { rows: n, table: r } = Rg(t.media_dir, c.rows.length);+ c.setErrors(n), j(r), k(t), Lg.some((e) => t[e]) && ae((e) => e + 1), t.access_password && g(!0), le((e) => e + 1);+ } else ee(rm(e));} finally {- k(!1);+ ne(!1);}- }, ce = (e) => {- let t = Bg(x[e.key]), n = e.help.join("");+ }, me = (e) => {+ let t = Bg(O[e.key]), n = e.help.join("");if (e.input === "choice") {let r = `setup-${e.key}-label`;return /* @__PURE__ */ (0, B.jsxs)("div", {@@ -21157,20 +21156,20 @@ function Vg({ setup: e, onDone: t }) {elementType: "span",children: e.label}),- /* @__PURE__ */ (0, B.jsx)(pg, {+ /* @__PURE__ */ (0, B.jsx)(hg, {"aria-labelledby": r,orientation: "horizontal",- className: mg,- value: s[e.key] ?? e.default,- onChange: (t) => oe(e.key, t),+ className: gg,+ value: l[e.key] ?? e.default,+ onChange: (t) => fe(e.key, t),children: (e.options ?? []).map((e) => /* @__PURE__ */ (0, B.jsx)(ap, {value: e.value,- className: hg,+ className: _g,children: e.label}, e.value))}),n ? /* @__PURE__ */ (0, B.jsx)(Sm, { children: n }) : null,- t ? /* @__PURE__ */ (0, B.jsx)(Cm, { children: t }, N) : null+ t ? /* @__PURE__ */ (0, B.jsx)(Cm, { children: t }, ce) : null]}, e.key);}@@ -21181,8 +21180,8 @@ function Vg({ setup: e, onDone: t }) {inputMode: e.input === "number" ? "numeric" : void 0,autoComplete: "off",spellCheck: "false",- value: s[e.key] ?? "",- onChange: (t) => oe(e.key, t),+ value: l[e.key] ?? "",+ onChange: (t) => fe(e.key, t),leadingAddon: e.prefix ? /* @__PURE__ */ (0, B.jsx)("span", {className: "shrink-0 pl-1 text-body-regular text-text-secondary",children: e.prefix@@ -21193,13 +21192,25 @@ function Vg({ setup: e, onDone: t }) {}) : void 0,validationBehavior: "aria",isInvalid: !!t,- hint: ie(t) ?? (n || void 0)+ hint: ue(t) ?? (n || void 0)}, e.key);- }, le = o.rows.map((e) => e.path.trim()).filter(Boolean), ue = o.rows.some((e) => Sg(e.location));+ }, he = async () => {+ if (r && !d) {+ f(!0), m("");+ try {+ let e = await nm(l[r.key] ?? "");+ e && fe(r.key, e);+ } catch (e) {+ m(rm(e));+ } finally {+ f(!1);+ }+ }+ }, ge = r ? Bg(O[r.key]) || p : "", P = c.rows.map((e) => e.path.trim()).filter(Boolean), _e = c.rows.some((e) => Sg(e.location));return /* @__PURE__ */ (0, B.jsxs)("form", {- ref: te,+ ref: oe,noValidate: !0,- onSubmit: (e) => void se(e),+ onSubmit: (e) => void pe(e),"aria-labelledby": "auth-card-title",className: "flex flex-col gap-6",children: [@@ -21215,39 +21226,39 @@ function Vg({ setup: e, onDone: t }) {children: "*"})]}),- w ? /* @__PURE__ */ (0, B.jsx)(Cm, { children: w }, N) : null,+ A ? /* @__PURE__ */ (0, B.jsx)(Cm, { children: A }, ce) : null,/* @__PURE__ */ (0, B.jsx)("div", {role: "group","aria-labelledby": "setup-media-title",className: "flex flex-col gap-3",- children: o.rows.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(Og, {+ children: c.rows.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(Og, {label: `${n.label} ${t + 1}`,path: e.path,- onPath: (e) => o.edit(t, { path: e }),- error: ie(o.errors[t]),- inputRef: o.inputRef(t),- picking: o.picking === t,- onPick: () => void o.pick(t),- onRemove: o.rows.length > 1 ? () => {- o.remove(t), ne.current?.focus();+ onPath: (e) => c.edit(t, { path: e }),+ error: ue(c.errors[t]),+ inputRef: c.inputRef(t),+ picking: c.picking === t,+ onPick: () => void c.pick(t),+ onRemove: c.rows.length > 1 ? () => {+ c.remove(t), se.current?.focus();} : void 0,children: [/* @__PURE__ */ (0, B.jsxs)(wg, { children: [/* @__PURE__ */ (0, B.jsx)(kg, {index: t,value: e.location,- options: i,- onChange: (e) => o.edit(t, {+ options: o,+ onChange: (e) => c.edit(t, {location: e,cost: e === "local" ? "free" : ""})}), /* @__PURE__ */ (0, B.jsx)(Tg, {index: t,cost: e.cost ?? "",- error: A && !e.cost ? "请选择媒体读取策略" : void 0,- onChange: (e) => o.edit(t, { cost: e })+ error: N && !e.cost ? "请选择媒体读取策略" : void 0,+ onChange: (e) => c.edit(t, { cost: e })})] }), /* @__PURE__ */ (0, B.jsxs)(wg, { children: [/* @__PURE__ */ (0, B.jsx)(Cg, {label: "所属媒体库",className: "w-full @lg:w-60",- children: /* @__PURE__ */ (0, B.jsxs)(Hm, {+ children: /* @__PURE__ */ (0, B.jsxs)(Wm, {className: "w-full","aria-label": `目录所属媒体库 ${t + 1}`,selectedKey: e.library_id,@@ -21259,16 +21270,16 @@ function Vg({ setup: e, onDone: t }) {})]}),onSelectionChange: (e) => {- let n = o.rows.find((t) => t.library_id === e);- o.edit(t, {- library_id: n?.library_id || Wm(),+ let n = c.rows.find((t) => t.library_id === e);+ c.edit(t, {+ library_id: n?.library_id || Km(),library: n?.library || ""});},- children: [[...new Map(o.rows.map((e) => [e.library_id, e])).values()].map((e) => /* @__PURE__ */ (0, B.jsx)(Um, {+ children: [[...new Map(c.rows.map((e) => [e.library_id, e])).values()].map((e) => /* @__PURE__ */ (0, B.jsx)(Gm, {id: e.library_id,children: e.library || "未命名媒体库"- }, e.library_id)), /* @__PURE__ */ (0, B.jsx)(Um, {+ }, e.library_id)), /* @__PURE__ */ (0, B.jsx)(Gm, {id: "new",children: "新建媒体库"})]@@ -21282,22 +21293,22 @@ function Vg({ setup: e, onDone: t }) {placeholder: "媒体库名称",maxLength: 80,value: e.library || "",- onChange: (t) => o.rows.forEach((n, r) => {- n.library_id === e.library_id && o.edit(r, { library: t });+ onChange: (t) => c.rows.forEach((n, r) => {+ n.library_id === e.library_id && c.edit(r, { library: t });})})})] })]}, t))}),/* @__PURE__ */ (0, B.jsx)(Tt, {- ref: ne,+ ref: se,variant: "secondary",leadingIcon: Pp,className: "self-start",- onClick: o.add,+ onClick: c.add,children: "添加文件夹"}),- ue ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [+ _e ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Eg, {}),/* @__PURE__ */ (0, B.jsxs)(Sm, { children: [e.cloud.help, /* @__PURE__ */ (0, B.jsx)(wm, {href: e.cloud.link.url,@@ -21311,6 +21322,41 @@ function Vg({ setup: e, onDone: t }) {n.help.map((e) => /* @__PURE__ */ (0, B.jsx)(Sm, { children: e }, e))]}) : null,+ r ? /* @__PURE__ */ (0, B.jsxs)(Ot, {+ labelledBy: "setup-data-title",+ children: [+ /* @__PURE__ */ (0, B.jsxs)(kt, {+ id: "setup-data-title",+ children: [r.label, /* @__PURE__ */ (0, B.jsx)("span", {+ "aria-hidden": !0,+ className: "ml-0.5 text-text-error-primary",+ children: "*"+ })]+ }),+ /* @__PURE__ */ (0, B.jsxs)("div", {+ className: "flex items-start gap-2",+ children: [/* @__PURE__ */ (0, B.jsx)(Gp, {+ className: "min-w-0 flex-1",+ id: `f-${r.key}`,+ "aria-label": r.label,+ isRequired: !0,+ autoComplete: "off",+ spellCheck: "false",+ value: l[r.key] ?? "",+ onChange: (e) => fe(r.key, e),+ validationBehavior: "aria",+ isInvalid: !!ge,+ hint: ue(ge)+ }), /* @__PURE__ */ (0, B.jsx)(Mm, {+ icon: yg,+ "aria-label": "选择数据目录",+ onClick: () => void he(),+ ...vg(d)+ })]+ }),+ r.help.map((e) => /* @__PURE__ */ (0, B.jsx)(Sm, { children: e }, e))+ ]+ }) : null,/* @__PURE__ */ (0, B.jsxs)(Ot, {labelledBy: "setup-access-title",children: [@@ -21326,34 +21372,34 @@ function Vg({ setup: e, onDone: t }) {className: "text-body-2-regular text-text-secondary",children: "开启后,访问 Peach 需要先登录。"})]- }), /* @__PURE__ */ (0, B.jsx)(Nm, {+ }), /* @__PURE__ */ (0, B.jsx)(Fm, {"aria-labelledby": "setup-access-title","aria-describedby": "setup-access-description",- isSelected: l,- onChange: u+ isSelected: h,+ onChange: g})]}),/* @__PURE__ */ (0, B.jsx)(Sm, { children: "未设置密码时,能连接到 Peach 的设备可直接进入。" }),- l ? /* @__PURE__ */ (0, B.jsx)(jg, {+ h ? /* @__PURE__ */ (0, B.jsx)(jg, {label: "访问密码",- password: d,- confirmation: p,- onPassword: f,- onConfirmation: m,- passwordError: ie(Bg(x.access_password)),+ password: _,+ confirmation: y,+ onPassword: v,+ onConfirmation: b,+ passwordError: ue(Bg(O.access_password)),passwordHint: "请输入 8–256 个字符。",- confirmationInvalid: !!x.access_password+ confirmationInvalid: !!O.access_password}) : null]}),/* @__PURE__ */ (0, B.jsx)(Ot, { children: /* @__PURE__ */ (0, B.jsx)(Dm, {summary: "高级设置",- defaultOpen: M > 0,+ defaultOpen: ie > 0,children: /* @__PURE__ */ (0, B.jsx)("div", {className: "flex flex-col gap-4",- children: r.filter(ae).map(ce)+ children: a.filter(de).map(me)})- }, M) }),+ }, ie) }),/* @__PURE__ */ (0, B.jsxs)(Ot, {labelledBy: "setup-options-title",children: [@@ -21364,9 +21410,9 @@ function Vg({ setup: e, onDone: t }) {/* @__PURE__ */ (0, B.jsxs)("div", {className: "flex flex-col gap-1.5",children: [/* @__PURE__ */ (0, B.jsx)(Np, {- isSelected: h,- onChange: g,- children: zg(le)+ isSelected: x,+ onChange: S,+ children: zg(P)}), /* @__PURE__ */ (0, B.jsx)(Sm, { children: "读取已有 NFO 和封面,采集缺失资料。符合自动规则的资料会在处理完成后保存到数据库,其余资料留待确认。" })]}),/* @__PURE__ */ (0, B.jsxs)("section", {@@ -21382,8 +21428,8 @@ function Vg({ setup: e, onDone: t }) {})]}),/* @__PURE__ */ (0, B.jsx)(Np, {- isSelected: _,- onChange: v,+ isSelected: w,+ onChange: T,children: "接下来导入浏览器历史记录"}),/* @__PURE__ */ (0, B.jsx)(Sm, { children: "用于生成口味分析。完成设置后选择读取这台电脑,或导入其他设备的记录;也可稍后从「口味」进入。" })@@ -21391,19 +21437,19 @@ function Vg({ setup: e, onDone: t }) {})]}),- E ? /* @__PURE__ */ (0, B.jsx)(Cm, { children: E }) : null,- y ? /* @__PURE__ */ (0, B.jsxs)(Ot, { children: [+ M ? /* @__PURE__ */ (0, B.jsx)(Cm, { children: M }) : null,+ E ? /* @__PURE__ */ (0, B.jsxs)(Ot, { children: [/* @__PURE__ */ (0, B.jsx)(kt, { children: "版本统计与错误诊断" }),/* @__PURE__ */ (0, B.jsx)(Ig, {- value: y,- onChange: b+ value: E,+ onChange: D}),/* @__PURE__ */ (0, B.jsx)(Sm, { children: "馆藏与口味明细上传默认关闭,可在「应用与维护」查看并选择。" })] }) : null,/* @__PURE__ */ (0, B.jsx)(Tt, {type: "submit",className: "self-start",- ...gg(O),+ ...vg(te),children: "完成设置"})]@@ -21445,7 +21491,7 @@ function Hg({ onDone: e }) {}), /* @__PURE__ */ (0, B.jsx)(Tt, {type: "submit",className: "self-start",- ...gg(a),+ ...vg(a),children: a ? "正在连接数据目录…" : "使用此目录"})]});@@ -21515,4 +21561,4 @@ var Gg = document.getElementById("peach-page"), Kg = Gg ? Wg[Gg.dataset.page ??Gg && Kg && (0, w.createRoot)(Gg).render(/* @__PURE__ */ (0, B.jsx)(Kg, { data: { ...Gg.dataset } }));//#endregion-//# debugId=fc9b3421-b747-4af4-b9d4-34508708da23\ No newline at end of file+//# debugId=728ce482-6293-4c81-988a-83f40d0d4b2f\ No newline at end of file